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: 

Delivery - How to found the quantity to be delivered in sales units ?

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

Check LIPS-LFIMG

7 REPLIES 7

Former Member
0 Kudos

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

0 Kudos

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.

kesavadas_thekkillath
Active Contributor
0 Kudos

Check LIPS-LFIMG

0 Kudos

Hello Keshav.T

LIPS-LFIMG is wrong.

0 Kudos

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.

0 Kudos

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.

0 Kudos

I think you should use VBEP because it deals with Schedule lines.