05-20-2009 3:33 PM
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
05-20-2009 3:49 PM
05-21-2009 9:28 AM
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