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: 

Picked Quantity not updated while using FM in background

Former Member
0 Kudos

Hi All,

We have a requirement to update the picking quantity in a delivery order (VL02N) through a custom screen.

Inorder to do the above operation we are using the Function Module SD_DELIVERY_UPDATE_PICKING_1. We find a strange behaviour while using this FM.

The FM updates the picking quantity when executed online, but when called in the program (By passing exactly the same parameters) it does not update the picking quantity even after using a COMMIT WORK command after the function module. While debugging it was found that the XLIPS intl. table and LIPS structure was not being populated when the FM was executed through a function call in program.

We tried using the WS_DELIVERY_UPDATE, but even this FM behaves in the

same way.

Please let us know as to how to over come this issue.

regards,

Sandeep

2 REPLIES 2

Former Member
0 Kudos

Hi Sandeep,

Try using FM WS_DELIVERY_UPDATE_2.

Regards,

Babul.

0 Kudos

Hi Babul,

Thanks for your reply. I actually tried using even the above mentioned FM. But I am faced with the same error. The problem is that in one of the includes LV50LF01 (Subroutine READ_DELIVERY) of the FM, the internal table XLIPS gets refreshed. This happens only when the FM is called in our program.

regards,

Sandeep