Skip to Content
0
Former Member
Apr 15, 2010 at 07:56 AM

Mapping from nested to one table (sales order) XML to IDOC

84 Views

Hello,

I have to map a xml file to the IDOC SALESORDER_CREATEFROMDAT2.SALESORDER_CREATEFROMDAT202.

How I can map the the longtext from the XML file to the IDOC struktur.

Part of the XML file, there could be n times BPosition with n times longtext. The longtext must be map with a table. I some case its a mapping from nested to mornal table.

<BPosition>

<lpos>1</lpos>

<bbl_sap_nr/>

<milvonr/>

<kurztitel/>

<anzbest/>

<anzliefer/>

<kostenpflichtig/>

<longtext>

<line>pos1 zeile1</line>

<line>pos1 zeile 2</line>

</longtext>

</BPosition>

thanks for your help.