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: 

Delete outbound delivery

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

THanks

Naren

5 REPLIES 5

Former Member
0 Kudos

Hi,

Try this..

Use the BAPI BAPI_OUTB_DELIVERY_CHANGE...

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

Thanks

Naren

0 Kudos

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.

Former Member
0 Kudos

Hi,

Are you calling the BAPI_TRANSACTION_COMMIT FM after the Delete bapi.

Thanks

Naren

0 Kudos

Hi Naren,

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

Thanks,

-Anthony.

Former Member
0 Kudos

Hi,

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

THanks

Naren