on 04-13-2012 11:18 AM
Dear Experts,
Created two PR from ME51N this t code and assigned to maintenance order .
BTW PO for PR but if GR is pending for one PR.
System should give user the error message for the pending GR, TECO should not happen.
Logic i created was,
EKBE-ELIKZ (delivery completed) IF(EKKN –MENGE= EKBE –MENGE) AND EKBE-ELIKZ=‘X’
but if once total QTY for GR is 20 mea
first time its receiving 10 later, second time its receiving 10.
now GR is received. but in tables two GR no r there. last completed GR no row is assigning 'X'
Want to compare the qty wheather its received r pending?
Valuable answers are appreciable.
Regards,
KPS.
Hello,
In case of multiple GRs, you have to add the quantity of all the material documents and then check the same with total quantity and decide whether the PO is still open or not.
You will also have to check the cancelled document. I mean if the GR document is cancelled (Movement type - 102) and a new GR is posted again (Movement type - 101), for such cases also, you have to add the logic.
You can also use debit / creadit indicator (EKBE - SHKZG) to arrive at total GR quantity
(EKBE-MENGE) which you can compare with total procured quantity (EKPO - MENGE) and decide whether the PO is still open or not.
Hope this will help you.
Thanks & Regards,
Mihir Popat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.