Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have commitment date that plan for delivery date.
In other table I have actual _date for occuring date for delivery.
I have to calculate ranges between these two dates.
For instance : 01 line_item planned date: 01.10.2019 on the other hand vendor completed for this line item in 05.10.2019.
I understtod from quantity. Eket.quantity = cumulative sum EKES.quantity.
Thanks
EKET :
EBELN | EBELP | LINE_ITEM | Quantity | Commitment_DATE
100 0001 01 10 01.10.2019(dd.mm.yyyy)
100 0001 02 20 09.10.2019
EKES:
EBELN | EBELP | DELIVERY_ITEM | Quantity | Actual_DATE
100 0001 01 1 01.10.2019
100 0001 02 7 03.10.2019
100 0001 03 2 05.10.2019
100 0001 04 10 09.10.2019
100 0001 05 5 21.10.2019
100 0001 06 5 22.10.2019
What is the expected result you are looking for?
EBELN | EBELP | LINE_ITEM | Quantity | Commitment_DATE | NEW_DATE_COLUMN
100 0001 01 10 01.10.2019 05.10.2019
100 0001 02 20 09.10.2019 22.10.2019
LINE_ITEM | Quantity | Commitment_DATE | NEW_DATE_COLUMN
01 10 01.10.2019 05.10.2019
02 20 09.10.2019 22.10.2019