cancel
Showing results for 
Search instead for 
Did you mean: 

File content conversion - Receiver config

Former Member
0 Kudos

Dear Experts ,

I am transferring data from an Idoc to a target structure ( flat file ) using file content conversion . But the problem is regarding the sequential order of writing the data .

>E1EDL24 ( parent ) [ IDoc ]

xxxxx

yyyyy

zzzzz

>E1EDL26 (child)

xxxxx

My target structure i have defined into which i pass the values from IDoc is as follows .No heirarchy , bcoz i want the child to be written in the next line

ROOTNODE

E1EDL24

xxxx

yyyy

zzzz

E1EDL26

xxxx

when the file content conversion is done it has to write to the target as below and they are unbounded repetitions

E1EDL24 xxxxx yyyyy zzzzzzz -


parent [ Flat File - Using file content conversion ]

E1EDL26 xxxxx -


child

E1EDL24 xxxxx yyyyy zzzzzzz

E1EDL26 xxxxx

E1EDL24 xxxxx yyyyy zzzzzzz

E1EDL26 xxxxx

Even my target payload is xml coming as below

<E1EDL24>

<SEGNAM>E1EDL24</SEGNAM>

<POSNR>000010</POSNR>

<MATNR>1SDA056161R1</MATNR>

<ARKTX>E3N3200/WMP/3P/PR121/LSI</ARKTX>

<WERKS>AEAV</WERKS>

<LFIMG>5</LFIMG>

<ABRDT>20120209</ABRDT>

<POSEX>000000</POSEX>

<VGBEL>4200512544</VGBEL>

<VGPOS>000010</VGPOS>

- <E1EDL26>

<SEGNAM>E1EDL26</SEGNAM>

<PSTYV>ARV</PSTYV>

</E1EDL26> </E1EDL24>

- <E1EDL24>

<SEGNAM>E1EDL24</SEGNAM>

<POSNR>000020</POSNR>

<MATNR>1SDA059669R1</MATNR>

<ARKTX>E3 WFP 3P HR-HR NEW</ARKTX>

<WERKS>AEAV</WERKS>

<LFIMG>5</LFIMG>

<ABRDT>20120209</ABRDT>

<POSEX>000000</POSEX>

<VGBEL>4200512544</VGBEL>

<VGPOS>000020</VGPOS>

- <E1EDL26>

<SEGNAM>E1EDL26</SEGNAM>

<PSTYV>ARV</PSTYV>

</E1EDL26> </E1EDL24>

It is giving me configuration error .

Should subnodes or child be mentioned in the record set structure or not. if not how will i clearly wite it to the next line as a child for every time it writes a parent unbounded times .

So can anyone tell me if the problem is with mapping or parent child relation or how do i map to get it in the sequence . Your replies can be really helpful

-Thanks in advance

Regards

Ganga

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Bhaskar ,

The above link is emphasizing on the field separator and not the substructure . I have a root node and a substructure which will be repetative in the target structure . So i guess configuration is the problematic area . My question is should the substructures also be included in the recordset structure in receiver file adapter

Regards

Ganga

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You cannot go for deep nested XML structure with the FCC configuration parameters. You might need conversion agent tool to do this.

Edited by: Baskar Gopal on Feb 10, 2012 11:41 AM

Former Member
0 Kudos

HI Bhaskar ,

This is not even so deeply nested . Its just one parent and child that it has to write in the flat file with unbounded times . The output xml is generated perfectly but giving the configuration error . in passing the values . Want to know how to write the child segments in the configuration profile in the content conversion parameters .

Regards

Ganga