Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping issue with outbound IDOC

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.

DELVRY03

IDOC

EDI_DC40

E1EDL20 1..9999

VBELN

VKORG

.

.

E1EDL24 0..9999

POSNR

MATNR

.

.

My target structure is a SQL table Where every row will contain the following information under the access line.

access

DeliveryNumber

DeliveryLineItem

SalesOrg

Material number

.

.

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?

Thanks,

Jim

replied

Hi Jim,

Use Copy by Value Standard function for the first two header mapping element.

It should work.

Regards

Vijaya

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question