Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
MichalKrawczyk
Active Contributor
0 Kudos

Suppose we have a flat file that looks like this:

120 MATNR33356 60
130 MATNR44455 45

Fixed lengths are 10,20,10

1. Specify adapter type: File - sender
(because will be sending message to XI)

2. Message protocol: File Content Conversion



3. In the content conversion parameters we specify:

a) Document Name: SampleMessageType
this will appear as the TOP XML tag

b) Document Namespace: http://bcc.com.pl/sending

c) Recordset Name: Rootnode

d) Recordset Structure: Substr,*



4. Now in the additional parameters we have to add:

- Substr.fieldFixedLengths Value: 10,20,10

- Substr.fieldNames Value: POSNR,MATNR,QUANT

- Substr.processFieldNames Value: fromConfiguration
because in our example the flat file does not contain any header



And we're done.

This configuration should convert the flat file into an XML message like this:

8 Comments
Labels in this area