on 01-04-2012 2:30 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help, relevant point awarded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Specify HEADER_RECORD.fieldContentFormatting = nothing and same for footer record. see how that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.