cancel
Showing results for 
Search instead for 
Did you mean: 

Mass Updation of User status in Operation of Maintenance Orders

Former Member
0 Kudos

Hello Experts,

I wanted to do mass updation of User Status in Operation of Maintenance Orders?

Which solution should i use for it.

I had gone through this FM

STATUS_CHANGE_EXTERN

I_CHANGE_STATUS

but it is not helping.

Please suggest how to do it only for operation user status not Order user status?

Thanks in advance.

Regards,

Pranav Vyas.

Accepted Solutions (1)

Accepted Solutions (1)

former_member215526
Active Participant
0 Kudos

Hello Pranav Vyas,

Yes, please use STATUS_CHANGE_EXTERN with the following object:

CONCATENATE 'OV' (because it's Operation) & AFKO-AUFPL & AFVC-APLZL you can see in JEST

For the status code in table TJ30.

Regards,

Xavier

Former Member
0 Kudos

Hi Xavier,

can you tell me about the 3 Import parameters in FM 'STATUS_CHANGE_EXTERN' which i had marked in screen shot

SET_INACT

SET_CHGKZ

NO_CHECK

Regards,

Pranav vyas.

former_member215526
Active Participant
0 Kudos

Hi Pranav Vyas,

Please set "X" in SET_CHGKZ

But we must to do commit after, because the status change is executed in intenal buffer so you need to do COMMIT WORK to written in to database.

Regards,

Xavier

jogeswararao_kavala
Active Contributor
0 Kudos

There is no need for filling SET_CHGKZ,  NO_CHECK.   Also there is no need for filling SET_INACT the user-status is numbered one (Radio-button). The screen looks alright. You should test in sequence with fm BAPI_TRANSACTION_COMMIT. It will work. I have used this fm many times and it is the answer for your issue. Due to some lapses on our side we can not sacrifice a right tool. Check where you are going wrong. Share what error message you are getting (if any) in the Return table.


KJogeswaraRao



Answers (1)

Answers (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Pranav,

The expression 'It is not helping' needs to be elaborated. The fm 'STATUS_CHANGE_EXTERN'  is good and works well for user status. What is the problem?

Regards

KJogeswaraRao

Former Member
0 Kudos

Hello Jogeswara,

My Requirement is that i want the mass updation of user status of Operation in IW37 transaction.I had tried with the FM  'STATUS_CHANGE_EXTERN' with the help of my ABAPer but it is not giving appropriate result which my client wants,so I am looking for some other way for mass updation that like any BADI,Enhancement etc.

Regards,

Pranav Vyas.