Skip to Content
author's profile photo Former Member
Former Member

Set User status of Maintenance order

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2010 at 06:45 AM

    Hi,

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2010 at 08:38 AM

    Completed.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.