06-19-2013 6:38 PM
Hi experts,
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.
Best regards,
Gustavo Prado
06-20-2013 7:23 AM
Hi
Can you check the BADI - LE_SHP_DELIVERY_PROC and method - SAVE_DOCUMENT_PREPARE.
06-20-2013 7:14 AM
06-20-2013 7:23 AM
Hi
Can you check the BADI - LE_SHP_DELIVERY_PROC and method - SAVE_DOCUMENT_PREPARE.
06-20-2013 10:40 PM
06-21-2013 8:01 AM
06-21-2013 8:08 AM
Hi Gustavo,
Good.
Please close this thread by marking correct answer to Mr.Atul.
06-20-2013 7:28 AM
06-20-2013 7:33 AM
hi.....
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
Rotine:
FORM USEREXIT_MOVE_FIELD_TO_LIPS.
" Here u can add the coding to move the required Batch to the delivery items........
EndForm.
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