cancel
Showing results for 
Search instead for 
Did you mean: 

Content Conversion in Receiver File Adapter

Former Member
0 Kudos

Hi Folks,

I am trying to carry out a file content conversion on a Receiver file Adapter. I have two fields which I want populated with blank spaces. One of these fields occurs at the end of the header record, the other field occurs at the end of the footer record.

Here is what I have configured so far in my content conversion:

HEADER_RECORD.fieldFixedLengths 2,4,6,5,5,5,5,5,5,5,5,5,5,198

HEADER_RECORD.fieldContentFormatting nothing

DETAIL_RECORD.fieldFixedLengths 2,2,2,9,6,4,11,32,32,32,32,32,32,32

FOOTER_RECORD.fieldContentFormatting nothing

FOOTER_RECORD.fieldFixedLengths 2,5,253

The header record field I want populated with blank spaces has a length of 198. The Footer record I want populated with blank spaces has a length of 253. I have tried to map a constant of spaces in the message mapping. This doesn't work, I'm still not getting any values in these fields.

Any help would be appreciated,

Thanks

Eoin

Accepted Solutions (1)

Accepted Solutions (1)

Ryan-Crosby
Active Contributor
0 Kudos

Hi,

I had a similar scenario as this a while back and as long as I set a maximum length for the fields at the end of the record they were filled with the appropriate number of spaces from the FCC. Do you have the maximum length set in your data type in the ESR?

Regards,

Ryan Crosby

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your help, relevant point awarded.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Specify HEADER_RECORD.fieldContentFormatting = nothing and same for footer record. see how that helps.

Former Member
0 Kudos

Hi..

Try this.. add "0" value at the end of your "fieldFixedLengths" parameters.

Also the "fieldContentFormatting" is for Sender Adapter.

http://help.sap.com/saphelp_nw04/helpdata/EN/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm

Regards

.