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 outbound delivery

Former Member
0 Likes
2,781

Hi,

I would like to know if there is a BAPI or function module that I can use to delete an outbound delivery?

Thanks in advance,

-Anthony

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,586

Hi,

Sorry..THe DLV_DEL flag is in the parameter HEADER_CONTROL.

THanks

Naren

5 REPLIES 5
Read only

Former Member
0 Likes
1,586

Hi,

Try this..

Use the BAPI BAPI_OUTB_DELIVERY_CHANGE...

IN that in the parameter TECHN_CONTROL pass DLV_DEL = 'X'.

Thanks

Naren

Read only

0 Likes
1,586

Hi Narendran,

I tried passing the delivery and 'X' on delv_del flag, however it still does not delete the delivery. It is actually doing nothing so do I need to pass something more in it.

Appreciate your help.

Thanks,

-Anthony.

Read only

Former Member
0 Likes
1,586

Hi,

Are you calling the BAPI_TRANSACTION_COMMIT FM after the Delete bapi.

Thanks

Naren

Read only

0 Likes
1,586

Hi Naren,

It did work once I put the commit in. Thanks alot for your help. I really appreciate it.

Thanks,

-Anthony.

Read only

Former Member
0 Likes
1,587

Hi,

Sorry..THe DLV_DEL flag is in the parameter HEADER_CONTROL.

THanks

Naren