Skip to Content
0
Former Member
Jul 26, 2016 at 01:45 PM

To Add Quantity in mapping in case if Line items have same Material and same sales order

552 Views

Hi all

We have an existing interface file to Idoc (DESDAV).

At present though multiple line items has same Material and same Sales Order quantity is received in each segment.

New requirement is to add Quantity.

Example:

Input:

Order1 Material1 2(Quantity)

Order1 Material1 5(Quantity)

Order4 Material3 1

Order5 Material3 10

Output:

Order1 Material1 7(Quantity)

Order4 Material3 1

Order5 Material3 10

Idoc:

E1EDL24

KDMAT (Material)

LFIMG (Quantity)

E1EDL41

BSTNR (sales order)