Skip to Content
avatar image
Former Member

Update User Status Automaticaly In Mainteance Order

Dear Experment ,

in maintenance order  ihave user status (Equipment under warranty) when i create maintenance order the automatic check for warranty is appear in maintenance order when the equipment in warranty my customer need the check box in user staus is add automatically in (Equipment under warranty)

can any customer exit or badi or impiclict enhancement for this issue .

regards Mostafa .

2.PNG (6.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 20, 2015 at 02:42 PM

    Hello Mostafa,

    I have just gone through your initial requirement fully. This can be done easily by your ABAPer by building the necessary code in the include ZXWOCU07 of the user-exit IWO10009. As suggested earlier the fm referred above will be a part of the code and changes the User-status if the condition is satisfied. The condition here is 'If the Equipment is under warranty' . You need to give the information to ABAPer, what is the parameter which decides that Equipment is under warranty. The the logic to build the above code is as under.

    • Check whether the Equipment is under warranty or not
    • If yes use the above fm to change the user status of the Order

    For using the fm you need to get the ESTAT value ( such as E0001) to give in the field USER_STATUS field of the fm). This you will get from table TJ30T by passing the Status Profile value into field STSMA and your UserStatus value (EQWR) into the field TXT04. And you will get the OBJNR value from the user-exit itself (CAUFVD_IMP-OBJNR).

    With these details your ABAPer will be well equipped to give you the product you wanted.

    Good luck

    KJogeswaraRao

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 01:58 PM

    Greetings Mostafa,

    Check user exit IWO10009 and the FM STATUS_CHANGE_EXTERN.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 03:07 PM

    Hello Mostafa,

    As you've joined the forum just few hours ago, you should go through this post to know how a discussion posted by you should be treated and closed timely. How to close a discussion and why

    Welcome to SCN

    KJogeswaraRao

    Add comment
    10|10000 characters needed characters exceeded