cancel
Showing results for 
Search instead for 
Did you mean: 

Trailing Spaces not getting retained for Receiver FCC

Former Member
0 Kudos

Hi,

We are developing a proxy to receiver FCC(Fixed length) scenario in which the last field of the target structure is 10 spaces. I have hardcoded 10 spaces in PI, but when the fixed length file is created in app directory(al11 transaction), the last 10 spaces are trimmed. I tried downloading the file to my desktop, but no luck. Apart from that, the spaces inbetween are retained

My FCC parameters configured are

Record.fieldFixedLengths = lengths of the fields

Record.fieldNames = names of the fields

Record.endSeparator = 'nl'

Record.fixedLengthTooShortHandling = ignore

Do we have a way around using FCC apart from Java or xslt mapping.

If any one has faced similar issue, please share your inputs.

Regards,

Deepika

Accepted Solutions (0)

Answers (3)

Answers (3)

praveen_sutra
Active Contributor
0 Kudos

Hi Deepika,

We faced similar issues.

When we tried to download the file from AL11 transaction the file doesnt shows the last appended blank characters.

But if you will physically check in the location u will find the values present.

You can contact basis guy to get the files from the location..

thanks and regards,

Praveen T

naveen_chichili
Active Contributor
0 Kudos

Hi Deepika,

Record.fieldContentFormatting = nothing to ensure that the value remains unaltered.

Thanks and Regards,

Naveen

Former Member
0 Kudos

Hi Naveen and Gagandeep,

Thanks for you inputs. Record.fieldContentFormatting = nothing is for sender file adapter, but anways I tried with this option and no luck

I also tried opening the file in notepad++. trailing spaces at the end are still disappearing

Any more suggestions please

Regards,

Deepika

gagandeep_batra
Active Contributor
0 Kudos

hi deepika,

did you see the message after mapping also,

& also check the payload  in adapter engine before placing the file.

Regads

gAgan

gagandeep_batra
Active Contributor
0 Kudos

Hi Deepika

did you try

Record.fieldContentFormatting = nothing

& also try to download the file in your desktop  & check in standard editor like notepad++

regards

gAgan