Dear All ,
I m trying to update the user status of Maintenance order via a report .I m using the BAPI "BAPI_ISUSMORDER_USERSTATUSSET" for it.
Code details are as follows :
USR_STATUS-STATUS_INT = 'E0006' "TJ30T-ESTAT
USR_STATUS-STATUS_EXT = 'WIPR' "TJ30T-TXT04
USR_STATUS-LANGU = 'EN'.
CALL FUNCTION 'BAPI_ISUSMORDER_USERSTATUSSET'
NUMBER = WA_FINAL-AUFNR
STATUS = USR_STATUS
INACTIVE = 'X'
RETURN = WA_RETURN.
Bapi is executing successfully but it is not updating the status when I check it from IW33 .
Suggest me for it....