‎2016 Feb 17 3:40 AM
Hi Expert,
I'm new in creating authorization object.
I would like to create an authorization object to control which user can update the sales contract header status.
How could I achieve this? Is there any existing authorization object/field available in standard SAP?
Thanks.
Regards,
-Ben-
‎2016 Feb 20 3:04 AM
Hi All,
Thanks for your suggestion. I have solved this issues without authorization object but using abap control checking in enhancement when the transaction is save.
Firstly, I call the function module 'Status_Read' to get the initial user status.
After that I'll check the user status(rv45a-asttx) whether it's changed. If it's changed, prompt error message on status bar when the user click the save button.
The reason I use enhancement as there are additional logic and calculation checking need to be added as well.
Thanks.
Regards,
-Ben-
‎2016 Feb 17 3:57 AM
Hello Ben,
Go to transaction SU24 and given the transaction for which you need the authorization objects.
It will give the list of authorization objects used in that transaction.
Find out the suitable Authorization object for sales contract header status and then check about that authorization object in transaction SU21.
Regards,
Thanga
‎2016 Feb 17 11:23 AM
‎2016 Feb 20 3:04 AM
Hi All,
Thanks for your suggestion. I have solved this issues without authorization object but using abap control checking in enhancement when the transaction is save.
Firstly, I call the function module 'Status_Read' to get the initial user status.
After that I'll check the user status(rv45a-asttx) whether it's changed. If it's changed, prompt error message on status bar when the user click the save button.
The reason I use enhancement as there are additional logic and calculation checking need to be added as well.
Thanks.
Regards,
-Ben-