I had this question posted on the wrong thread. Since I did not get any replies, I realized that I need to post this question here.
I am sending DELVRY03 type IDOC from SAP 4.6C to third party as an XML document using Business Connector. My mapping is as follows
LOOP over ‘DELVRY03/DELVRY03/IDOC’
–MAP (Header fields from E1EDL20)
–LOOP over ‘DELVRY03/DELVRY03/IDOC/E1EDL20’
----MAP (E1EDL24 fields occurs many times - Items)
----LOOP over ‘DELVRY03/DELVRY03/IDOC/E1EDL20/E1EDL24’
------MAP (E1ADRM1 fields - Shipto )
My External format requires data in the following format
Request (Record List)
–Items (Record List)
So far I have not been successful in mapping two line items under one request. I am very new to BC. I have tried several combinations by mapping my segments into temporary record lists etc. without any success. I would appreciate if someone can point me in the right direction. This will help me to proceed further.