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: 

BAPI_HU_DELETE

kanishakgupta1
Contributor
0 Kudos

Hi,

I am getting a error in all of the Bapi's related to HU.I am trying bapi_hu_empty and all the bapis which could be used to empty or delete the Hu numbers...

The follwoing error is coming :

Processing of HUs for selected objects not possible

Please suggest what is the error.........

or pls suggest any method to empty or delete the handling unit numbers in delivery

Kanishak

6 REPLIES 6

Former Member
0 Kudos

Hi,

Go through the documentation of BAPI.

Deleting HU is based on the hirecachy level. Go through below points and check.

> Deleting a container (key = KEY1) that contains a pallet (key = KEY2):

>

> Example 1:

>

> Import parameter: hukey-hu_exid = 'KEY1'

> WithLowerHus = Space

> => The pallet is unpacked and the container-HU is deleted.

>

> Example 2:

>

> Import parameter: hukey-hu_exid = 'KEY1'

> WithLowerHus = 'X'

> => Both the pallet and the container are deleted.

>

>

> Example 3:

>

> Import parameter: hukey-hu_exid = 'KEY2'

> IfPacked = 'X'

>=> The pallet is deleted.

Regards,

Shanmugavel Chandrasekaran

0 Kudos

i have checked everything but nothing works..i have studdied this also

Former Member
0 Kudos

Hi,

Try BAPI_HU_DELETE_FROM_DEL.

Thanks,

Sarbpreet

Former Member
0 Kudos

Debug... or look at the code...

if ( ls_header-vpobj = gc_obj_01 or ls_header-vpobj = gc_obj_02 or
     ls_header-vpobj = gc_obj_03 or
     ( ls_header-vpobj = '08' and not gs_general-object = '08' ) )
     and gs_general-object ne '14'.
    message e261(hufunctions) raising not_possible.
  endif.

That's the reason you're getting the message.

0 Kudos

BUt my dear friend how do i skip this message.....i have also debugged it and i am putting all the input parameters whcih are required....

Kindly send meif there are any notes.

kanishakgupta1
Contributor
0 Kudos

i used call transaction for this....

I could not use the BAPI mentioend above because my server is 4.7c