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

WS_DELIVERY_UPDATE

Sofidel
Explorer
0 Likes
1,223

Hi all,

i need a BAPI or a FM to delete an HU assignment to a delivery. Any ideas?

Regards

Roberto

Hi all,

i need a BAPI or a FM to delete an HU assignment to a delivery. Any ideas?

Regards

Roberto

8 REPLIES 8
Read only

Former Member
0 Likes
1,038

look at this thread...

try this one...

WS_DELIVERY_UPDATE_2

Message was edited by: kishan negi

Read only

Former Member
0 Likes
1,038

Hai Gildo

Try with the following BAPI 'BAPI_HU_DELETE'

check with the Standard Sap Program 'LHU_BASIC_IDOCSU06'

DATA:

E1HU_DELETE LIKE E1HU_DELETE,

HUKEY LIKE BAPIHUKEY-HU_EXID,

WITHLOWERHUS LIKE BAPIHUCONTROL-DEL_WITH_LOWER_HUS,

IFPACKED LIKE BAPIHUCONTROL-DEL_IF_PACKED,

RETURN LIKE BAPIRET2

OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'BAPI_HU_DELETE'

exporting

HUKEY = HUKEY

WITHLOWERHUS = WITHLOWERHUS

IFPACKED = IFPACKED

tables

RETURN = RETURN

exceptions

OTHERS = 1.

Thanks & regards

Sreenivasulu P

Read only

Former Member
0 Likes
1,038

Hi Gildo,

Check this thread.

Thanks,

Susmitha.

Read only

Former Member
0 Likes
1,038

Hi Gildo,

try BAPIs

BAPI_INB_DELIVERY_CHANGE

BAPI_OUTB_DELIVERY_CHANGE

hope it helps...

Lokesh

pls. reward appropriate points

Read only

0 Likes
1,038

Thank you for your suggestions.

But i don't have to delete the HU. I have to delete the assignment of the HU to a delivery.

Thanks

Roberto

Read only

0 Likes
1,038

Any ideas? I don't have to delete the HU. I have to delete the ASSIGNMENT of an HU to a delivery.

Regards

Roberto

Read only

0 Likes
1,038

Hi:

Try BAPI_HU_DELETE_FROM_DEL

Regards

César

Read only

Former Member
0 Likes
1,038

Hi All

I have similar requirement, did anyone manage to find solution. Pls share

Thanks