Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

purchase order(sap scripts)contract

Former Member
0 Likes
322

Hi all,

We are developing new PO format for Release Order ( Contract) where in we want to print the Open order quantity & Open order value along with Contract number.

What is the best logic for Open order quantity, where in it has consider all the previous release order quantities minus the target quantity in contract.

Open order quantity = target quantity in contract - all previously release order quantities.

Thanks in advance.

MM

MM

1 REPLY 1
Read only

Former Member
0 Likes
279

For a given contract go and get all the delivered quantity from EKET table and then subtract that from the order quantity from the EKPO table. That should give you the open qty.

Regards,

Ravi

Note : Please mark all the helpful answers