2007 Feb 07 3:48 AM
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
2007 Feb 07 4:32 AM