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: 

Bapi to add deliveries to Shipment

Former Member
0 Kudos

Hi Folks,

My requirement is to add deliveries to shipment. Can anybody tell me, how to use BAPI_SHIPMENT_CHANGE to add deliveries to shipment?

Please let me know your comments and suggestions.

Thanks,

Vijay.

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

YOu can pass the delivery number to the tables parameter:

ITEMDATA-DELIVERY = delivery number.

and

ITEMDATAACTION-DELIVERY = 'A'. "A for adding

Regards,

Ravi

Former Member
0 Kudos

Hi,

I am just going through the BAPI BAPI_SHIPMENT_CHANGE

I found these lines in the code:

************************************************************************

  • CAUTION *

  • This function module is not released officially. *

  • It is not implemented in normal applications *

  • and is not well tested. *

  • (This function module is only implemented to store the knowledge *

  • for later use) *

************************************************************************

So instead of using this BAPI, I feel beterr to use someother fun module to Add deliveries to Shipment.

Can you try these fun modules:

SD_SHIPMENT_COMBINE_DELIVERIES

SD_SHIPMENT_COPY_DELIVERY_DATA

Regards,

Anji