Scenario : A output type has to be triggered after the GI(Goods Issue) and GR(Goods Receipt) are complete. Currently It is triggering after GI is complete. Not checking the GR status.
MyApproach : I got only delivery number as the Input for this. So I pulled the PO and Line Item number from EKBE (Production history) and with those two as input I pulled the ELIKZ from EKPO table which is "Delivery complete Indicator".
I created some test data and checked. Logic that I'm using is good BUT it is not working as the ELIKZ value is not changing to 'X' which says delivery complete. It is not updating the table real time eventhough goods receipt is done manually.
Hope it is clear, Please let me know if you got any ideas to fix this issue. I appreciate your efforts. Thanks.