Issue: COMPL_DEL/Complete Delivery Flag was not getting populated for a PO Item where Transfer Process/Process Key =1 even when the Delivery Completed Indicator was marked at Item level in ECC.
Data Source:2LIS_02_ITM
Note: Field COMPL_DEL of BW is mapped via direct assignment to ECC field ELIKZ ( Delivery Completed Indicator)
Root Cause: If the COMPL_DEL / Delivery Completed Indicator is set for a PO Item in P20 via Good Receipts/automatically, the Complete Delivery flag in BW gets set for Process Key=2 indicating that the Delivery Completed Indicator was set via Good Receipts/MIGO in ECC system. In this case, the flag will not be marked for Process Key=1.
If the Delivery Completed Indicator is manually set by some user in ECC, then in BW side, the COMPL_DEL indicator gets set where Process Key=1 indicating that the Delivery Completed Indicator was set manually in the Source system.
This is a standard functionality of SAP.
Example:
24372393 – marked AUTOMATICALLY via Good Receipt.
24372394 – marked MANUALLY.
Solution: To determine whether Delivery Completed Indicator value is correctly transferred to BW or not, we should consider either of the Process Keys generated for the particular PO Item.
If it is marked for any one of them, then we can conclude that the data is being correctly extracted from ECC to BW.
Note: While transferring the data related to "Final Delivery" to third party tools, we need to make sure that for a combination of PO and PO Item, data for all the Process Keys should be transferred to avoid data discrepancy issue.