I have written a condition for pending pr.
COMPUTE pending pr qty = EBAN-MENGE - EBAN-BSMNG .
But in case if the po is cancelled the quantitiy is not getting reverted.
When PO is cancelled PR is not getting updated.
Is there any other condition to check or any solution please.