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: 

Update Delivery qty via user exits

Former Member
0 Kudos
468

Hello all,

I need to replace the delivery qty that is copied from sales order with another qty during delivery creation (or) at the time of saving the delivery. I have tried replacing the field LIPS-LFIMG in various user exits. But none had updated the delivery qty(somehow SAP again replaces the new value with the original value). If you know how to update a delivery qty thru an user exit, please give me details.

Thanks a lot

3 REPLIES 3

Former Member
0 Kudos
139

Hi Bala;

Have you tried this through the routines in transaction VOFM? An example routine is in the VOFM menu path "Data Transfer -> Deliveries". Check the code under routine 101, that may help you.

Best Regards,

John

0 Kudos
139

Thanks John for your reply. VOFM routines would have been a perfect place to change the value, but in my case the new qty can be calculated only after those VOFM routines executed. Finally the problem is solved by updating the field XLIPS-LFIMG_FLO. Seems updating XLIPS-LFIMG alone will not give the desired result. Thanks again for your time replying my question

0 Kudos
139

Hi, BBaskaran

Which exit did you use for updating XLIPS-LFIMG_FLO?

Now I replace the delivery qty by updating xvbep-lfimg_flo in VOFM routine.

It is not preferable updating xvbep,

so I want to use the exit that can update xvbep-lfimg_flo.