on 09-21-2010 10:12 PM
I am using SAP's content conversion module, MessageTransformBean, to build a file from a proxy. If I send the file to a UNIX platform, everything is ok. If I send the file to a Windows platform, an extra space is added at the end of each line, making the record length 1 character too long. I changed it to comma delimited, and the extra space was not added. Is there anything special I need to do when sending to a Windows platform?
fcc Transform.Class com.sap.aii.af.sdk.xi.adapter.Conversion
fcc Transform.ContentType text/plain;charset=utf-8
fcc xml.ZH38CI_BN_US_DELTA_CA_DTL.fieldFixedLengths 1,9,4,4,1,6,1,8,16,6,6,1,6,6,1,1,3
fcc xml.ZH38CI_BN_US_DELTA_CA_DTL.fixedLengthTooShortHandling Cut
fcc xml.ZH38CI_BN_US_DELTA_CA_HDR.fieldFixedLengths 1,2,4,30,29,10,4
fcc xml.ZH38CI_BN_US_DELTA_CA_HDR.fixedLengthTooShortHandling Cut
fcc xml.ZH38CI_BN_US_DELTA_CA_TRL.fieldFixedLengths 1,8,71
fcc xml.ZH38CI_BN_US_DELTA_CA_TRL.fixedLengthTooShortHandling Cut
fcc xml.addHeaderLine 0
fcc xml.conversionType StructXML2Plain
fcc xml.recordsetStructure ZH38CI_BN_US_DELTA_CA_HDR,ZH38CI_BN_US_DELTA_CA_DTL,ZH38CI_BN_US_DELTA_CA_TRL
try using the sample module after the messagetransformbean to change Line feed character to CR/LF
http://help.sap.com/saphelp_nwpi71/helpdata/EN/96/f04142099eb76be10000000a155106/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried moving the module to every possible position, and I could not get it to work for receiver channel. Maybe I didn't have something correct, but I was able to use this solution in a sender channel. Thank you for that. FYI...I was able to get the my receiver channel working with the following parameter for each structure.
xml.XXXXXXXXXX.endSeparator '0x0D''0x0A'
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.