Fixed Field Length FCC Scenario

Post on 11-Nov-2015

212 views 0 download

description

Fixed Field Length FCC Scenario

Transcript of Fixed Field Length FCC Scenario

Fixed Field Length FCC scenario

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: