on 2008 Jul 16 9:27 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
9 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.