I need to change the values of LIPS-CHARG, because the delivery was created before the batch (MSC1N), and when the program try to make the picking, the error below occurs:
"The batches are not defined for delivery item 900002"
The solution that i found was create the batch before the picking (BAPI_BATCH_CREATE), and then change the LIPS-CHARG with the created batch to make the picking.
Somebody knows if exists some BAPI to change this information on LIPS ?
Thanks in advance.
use the user exit for changing the Delivery Batch in LIPS..........
use the below method to change the delivery externally when creating the delivery.....
program name : MV50AFZ1
" Here u can add the coding to move the required Batch to the delivery items........
is u want to chane the bacth after the delivery was created... then use belo BAPi for changing.
BAPI_INB_DELIVERY_CHANGE Change Inbound Delivery
BAPI_OUTB_DELIVERY_CHANGE BAPI for Change to Outbound Delivery