Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

error in file content conversion at receiver side with file adapter

Hello Friends,

I am looking to convert xml file to text file, my file look likes as follows,

and receiver side i specified content conversion parameters as follows...

record structure : HEADER,1,OPEN_ITEM,1,REVENUE_ITEM,,TAX_ITEM,

HEADER.fieldFixedlengths 6,12,25,4,8,8,2,16

HEADER.fieldFixedlengths 6,12,25,4,8,8,2,16

HEADER.fieldSeparator ´0xHH´

HEADER.endSeparator 'nl'

HEADER.fixedLengthTooShortHandling Cut

OPEN_ITEM.fieldFixedlengths 9,10,20,4,8,4,4,4,7,7,1,1,1,1,20,18,50,5,25

OPEN_ITEM.fieldSeparator ´0xHH´

OPEN_ITEM.endSeparator 'nl'

OPEN_ITEM.fixedLengthTooShortHandling Cut

REVENUE_ITEM.fieldFixedlengths 12,10,2,10,24,50,18,18,18,18,18,5,25,5,25

REVENUE_ITEM.fieldSeparator ´0xHH´

REVENUE_ITEM.endSeparator 'nl'

REVENUE_ITEM.fixedLengthTooShortHandling Cut

TAX_ITEM.fieldFixedlengths 8,2,3,5,25,25

TAX_ITEM.fieldSeparator ´0xHH´

TAX_ITEM.endSeparator 'nl'

TAX_ITEM.fixedLengthTooShortHandling Cut

friends, please go through this give me suggestion that what are parameters

we have to give for the above xml file.

the

error

which iam getting is

receiver adapter in not properly intialized.

Former Member
Former Member replied

Hi,

plz check syntax of all functions.

<i>>>>HEADER.fieldFixedlengths 6,12,25,4,8,8,2,16

>>>HEADER.fieldFixedlengths 6,12,25,4,8,8,2,16</i>

Its <b>fieldFixedLengths</b> not <b>fieldFixedlengths</b>

i think u will need key field also.

go through this link for syntax:

http://help.sap.com/saphelp_nw04/helpdata/en/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm

Thanks,

Maheshwari.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question