Hi. I am using the DELVRY03 IDOC as an outbound interface. The IDOC has multiple segments. In summary here are the two segments I am taking data from.E1EDL20 and E1EDL24. The structure in XI looks similar to this.
My target structure is a SQL table Where every row will contain the following information under the access line.
I map access to the E1EDL24 segment
I map delivery number to E1EDL20.VBELN
I map SalesOrg to E1EDL20.VKORG
I map DeliveryLineItem to E1EDL24.POSNR
I map Material to E1EDL24.MATNR
When I do a test with two segments of E1EDL24 my mapping does not work correctly.
I only get delivery number and sales org in my first record. My first record contains all the correct information buit my second target record is missing deliverynumber and sales org. These two fields are in the E1EDL20 segment which is the head segment.
Any ideas how to map delivery number and sales org so that the values come into all records?