Picked Quantity not updated while using FM in background
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
Please let us know as to how to over come this issue.