Hi All,
I am trying to change the HU Status using FM 'STATUS_CHANGE_EXTERN' but its not working.
lx_huheader-hu_id is the Internal Handling unit number.
CONCATENATE 'HU'
lx_huheader-hu_id INTO
lv_objnr.
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
EXPORTING
client = sy-mandt
objnr = lv_objnr
user_status = 'E0002'
EXCEPTIONS
object_not_found = 1
status_inconsistent = 2
status_not_allowed = 3
OTHERS = 4.
Please guide me.
Thanks
Srinath