cancel
Showing results for 
Search instead for 
Did you mean: 

Set User status of Maintenance order

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Completed.

ashis_lohia
Explorer
0 Kudos

Hi Alok,

Can you explain that how you have achieved it?

Former Member
0 Kudos

Hi,

Please try FM 'BAPI_TRANSACTION_COMMIT' next to the BAPI "BAPI_ISUSMORDER_USERSTATUSSET"

Former Member
0 Kudos

Thanks SARAVANAN ,

I have done the bapi commit . But it have some other problem and now I have done it.

Thanks for ur suggestion.