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'
EXPORTING
NUMBER = WA_FINAL-AUFNR
STATUS = USR_STATUS
INACTIVE = 'X'
IMPORTING
RETURN = WA_RETURN.
Bapi is executing successfully but it is not updating the status when I check it from IW33 .
Suggest me for it....
Thanks
Alok