cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic User Status Updation

Former Member
0 Kudos

Hi All,

I am facing a problem on automatic updation of user status.As I have a process that on the basis of one field value in a quality notification I want to update the user status automatically.

I explored something with business process but not getting the right way to use it.

Please guide me if anyone deals with the same scenario or know more about using business process with user profile.

Cheers,

Tushar

Accepted Solutions (1)

Accepted Solutions (1)

paul_meehan
Advisor
Advisor
0 Kudos

Hi,

You can have a user status set automatically following execution of a business transaction. However filling a field with a value would not generally trigger a business process so that would not influence setting of a user status value.

Look at customizing transaction OIBS, Select a user status profile. Select a user status value. Press F2 for details. Select new entries to see a list of available transactions. Selecting the set flag will ensure this user status value is set when that business transaction is executed.

Also in OIBS ensure that object type have been defined for your status profile. In this case 'Quality notification' should be marked. Do this first otherwise the list of business transactions made available won't be relevant for a notification.

-Paul

Former Member
0 Kudos

Hi Paul,

Thanks for reply.

I know this functionality but i am wondering whether we can define our own business transaction or not as per our requirement?

I am searching for it from last 2 days and i think we cant define it they are SAP predefined & non changeable.

Cheers,

Tushar

paul_meehan
Advisor
Advisor
0 Kudos

Hello Tushar,

No, you cannot define your own business transaction. As mentioned earlier setting a field value would not trigger a business transaction anyway. I think you will have to look at a user exit to check your field value then update the user status.

The exit QQMA0014 is executed at save notification. Status OBJNR is available in E_VIQMEL. So you can read the status records with function STATUS_READ. The easiest option is to check that the user has changed the user status to match the value in your field. Then reject save and tell them to set this status value.

To automatically update the status value would be more complex and there is no obvious exit designed to do it. So your programming would have to be creative to achieve this, possibly also involving some modification outside the exit.

-Paul

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tushar,

In SAP System status only automatic updated. But in User status we need to manually change. or Change the User status through ABAP.

Regards,

Babu