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: 

Unassign Delivery from Shipment

Former Member
0 Kudos
1,217

Hello,

I've been trying to find a function module that will remove a delivery from a shipment. The only one I foud that showed promise was SD_SHIPMENT_PROCESS, but it just was not working like I expected. Does anyone know how to do this? Perhaps there is another function module that is better suited to do this.

Thanks.

2 REPLIES 2

Former Member
0 Kudos
208

Get the deliveries assigned to a shipment using RV_SHIPMENT_VIEW. Then use SD_DELIVERY_ASSIGN_TO_SHIPMENT to delete or assign delieveries. Then do a save using SD_SHIPMENTS_SAVE.

There is documentation associated with SD_DELIVERY_ASSIGN_TO_SHIPMENT.

Hope this helps,

Srinivas

0 Kudos
208

Use BAPI_SHIPMENT_CHANGE