Application Development and Automation 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: 
Read only

delete outb.delivery

Former Member
0 Likes
574

hi,

we update delivery thru inbound IDoc. If we delete one or more items in delivery from IDoc and no items remain then delivery header should also be deleted. this is the requirement.

i want to know how we can delete a outb. delivery ? any function or BAPI ? is the idea correct first of all ?

please help.

useful answers will be rewarded.

hi,

we update delivery thru inbound IDoc. If we delete one or more items in delivery from IDoc and no items remain then delivery header should also be deleted. this is the requirement.

i want to know how we can delete a outb. delivery ? any function or BAPI ? is the idea correct first of all ?

please help.

useful answers will be rewarded.

2 REPLIES 2
Read only

Former Member
0 Likes
482

Hi Pawan,

When an Inbound IDOC is triggered, it creates I/B Delivery, Goods Receipt and O/B Delivery, Picks, Packs and then generates Post Goods Issue. During this it triggers both SD Scheduling Agreement and MM Scheduling Agreement. If you delete one item in Delivery from IDOC also, it will trigger another Outbound Delivery. So u need to manually delete the Outbound delivery.

Or else u check the Process code and find the user exit which it is triggering. Modify the user exit.

Read only

0 Likes
482

If you have any user exit in process code , then try deleting delivery

using function module

ws_delivery_update

Please let me know in case you need the full detail