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: 

Change LIPS-CHARG

gustavo_prado
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

atul_mohanty
Active Contributor
0 Kudos

Hi

Can you check the BADI - LE_SHP_DELIVERY_PROC and method - SAVE_DOCUMENT_PREPARE.

7 REPLIES 7

Former Member
0 Kudos

Hi,

please try to use

WS_DELIVERY_UPDATE

B.R.

atul_mohanty
Active Contributor
0 Kudos

Hi

Can you check the BADI - LE_SHP_DELIVERY_PROC and method - SAVE_DOCUMENT_PREPARE.

0 Kudos

Thanks Atul, it worked fine for me.

Regards,

Gustavo

0 Kudos

Thanks Gustavo.

Please close this thread.

0 Kudos

Hi Gustavo,

Good.

Please close this thread by marking correct answer to Mr.Atul.

former_member209120
Active Contributor
0 Kudos

Hi Gustavo Prado,

Please check this link...

http://scn.sap.com/message/2081981

Regards,

Ramesh.T

Former Member
0 Kudos

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