2010 Mar 25 12:02 PM
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
2010 Mar 25 12:28 PM
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
2010 Mar 25 12:42 PM
i have checked everything but nothing works..i have studdied this also
2010 Mar 25 1:06 PM
2010 Mar 25 1:42 PM
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.
2010 Mar 26 4:21 AM
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.
2010 Mar 31 5:39 AM
i used call transaction for this....
I could not use the BAPI mentioend above because my server is 4.7c