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

invoice calculation

Former Member
0 Likes
392

Hi frnds,

i hav to do some calculations for invoice quantity.

Units still to be invoiceIf not history (not matching records of EKPO in EKBE)

INVOI_QTY = order_quantity = EKPO-MENGEIf there is history:INVOI_QTY =

Order_quantity – sum_of_IR + sum_of_IR_reversal, wheresum_of_IR =

sum_of_GR = sum of EKEB-BPMNG when history is a GR credit (IR:

EKEB-VGABE =2 & Credit EKEB-SHKZG = S)sum_of_IR_reversal = sum of

EKEB-BPMNG when history is a GR debit (IR: EKEB-VGABE =2 & Debit: EKEB-

SHKZG = S)

i know one function module me_calculate_history.

but unable to do the calculations.

can any one hlp me using this function module for invoice quantity.

thnking u all.

regards,

karan

1 REPLY 1
Read only

Former Member
0 Likes
331

Any help my dear frnds.

regards,

karan