Automatic User Status Updation
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.
Paul Meehan replied
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.