cancel
Showing results for 
Search instead for 
Did you mean: 

How to change equipment status in IE02 automatically?

Former Member
0 Kudos

Hi experts,

I want to change equipment status automatically. Current status is in ready state.. i want to change it to In market.

I found 'STATUS_CHANGE_EXTERN' FM, how can I implement that.

Regards,

Asmita

Accepted Solutions (0)

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

I have checked. it is working.

I have put the following code in the include ZXEQMU02  of user-exit IEQM0003.



CALL FUNCTION 'STATUS_CHANGE_EXTERN'
   EXPORTING
     OBJNR       = DATA_EQUI-OBJNR
     USER_STATUS = 'E0002'.


COMMIT
WORK.

The above code changed the Equipment user status to AVLB (E0002) when I saved the Equipment (IE02). Then I cross checked by changing the code in the above syntax to E0006 (INST). The status again changed back to INST when the Equipment Saved through IE02. You need to have the user status codes from table TJ30T against your texts, by inputting the values of Status  Profile (STSMA) and the User Status text (TXT04).

So, the FM is working well through this Exit. Rest, you can improvise the code to suit to your further requirements.

Best of Luck.

KJogeswaraRao

jogeswararao_kavala
Active Contributor
0 Kudos

Try through user-exit IEQM0003.