02-04-2010 1:31 PM
Hello,
insiede a delivery (VL03N), on an item there's a field:
LFPMG
It represent the quantity to be delivered in sales units: The system calcul this data.
My question is:
Do you know some FM or BAPI to know this data ?
tks.
02-04-2010 2:33 PM
02-04-2010 1:39 PM
table name LIPS , Field is LFIMG
You have to pass the value of the sales order in VGBEL field of LIPS ie VBELN should be passed in VGBEL
02-04-2010 2:10 PM
Hello Padmanaban ,
I think is wrong:
LFIMG on the LIPS represent: Actual quantity delivered (in sales units) and not "Quantity to be delivered in sales units" (=RV50A-LFPMG).
What do you think ?
tks.
02-04-2010 2:33 PM
02-04-2010 2:36 PM
02-04-2010 2:47 PM
It might be a result of some calculation like in PO,
We check like scheduled qty - delivered qty = qty to be delivered.
So here it might be like (VBEP-WMENG or VBEP-BMENG) - LIPS-LFIMG.
02-04-2010 4:04 PM
Hello,
following my solution:
CLEAR w_vbap.
SELECT SINGLE * INTO w_vbap FROM vbap
WHERE vbeln = wa_tvbdpl-vgbel
AND posnr = wa_tvbdpl-vgpos.
wa_tvbdpl-lfpmg = w_vbap-lsmeng * w_vbap-umvkz / w_vbap-umvkn.
wa_tvbdpl-vrkm1 = w_vbap-vrkme.
what do you think ?
tks.
02-04-2010 4:29 PM
I think you should use VBEP because it deals with Schedule lines.