Application Development 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: 

calculation

Former Member
0 Kudos

For each line item on the sales order where the material has the same material pricing group (VBAP-KONDM = MVKE-KONDM) and the item category (VBAP-PSTYV) is relevant for pricing (TVAP where TVAP-PSTYV = VBAP-PSTYV and TVAP-PRSFD = ‘X’).

Add up the order quanity (VBAP-KWMENG) of all matching line items into total order quantity.

Get the contract line item for the material (VBAP where VBAP-VBELN = VBAP-VGBEL and VBAP-POSNR = VGPOS).

Calculate net agreed quanity from contract quanity (VBAP-UMVKN) less underdelivery tolerance percentage (VBAP-UNTTO).

The condition type has to be applied if the total order quantity is less than the net agreed quanity

2 REPLIES 2

Former Member
0 Kudos

ähhhm WHAT exactly do you want from us?

you might explain a bit more.

you work wont be done by just posting your requirements here and hoping someone will post the complete code to fulfill them.

people here dont have any problem in helping, especially if they were niceley asked, but if i do YOUR work, somehow i´d as well like YOUR payment

Former Member
0 Kudos

mvke-kondm in that data is not there.then how to do it