Problem:
User is halted by an "Authority check failed" when trying to execute the "Send" button from the web (executing the web service created for a test function module).
Solution:
In the trace, a S_SERVICE authorization object results in an RC12 which does not allow this user to execute the web service properly from the web or browser. The user can effectively run the test function module in SAP but not in web browser.
03:13:58:786 AUTH - - - S_SERVICE RC=12 SRV_NAME=FAE960F93597FBD40F79336C5AED03;SRV_TYPE=HS;
I manually added this authorization object and selected the specific web service the user is trying to execute from web browser.
Other Comments:
While researching on this topic, I found another way to approach a solution for adding this service authorization to the user.
To assign such authorizations for special Web services, proceed as follows:
1. In the role maintenance transaction (transaction PFCG), enter the name of a role, and then choose Change.
2. Under the Menu tab, choose the pushbutton Other.
3. Choose the radio button Authorization Defaults for Services.
4. Enter a name for the service. In the Type of Ext.Service field, enter WS. In the Service field, enter the required Web service.
5. Save your entries.
No comments:
Post a Comment