Skip to Content
avatar image
Former Member

Automatic User Status Updation

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 17, 2008 at 03:30 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Jul 17, 2008 at 07:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded