2008 Aug 26 9:30 PM
In transaction QA02 there´s a object services toolbox, in service "atachment list" the list of the documents
appendend to the object is displayed and show a toolbar. I need deactivate button "delete" (some users can't delete documents).
I found information about how customize object services (http://help.sap.com/saphelp_nw04/helpdata/en/15/7b623c28695c63e10000000a11405a/frameset.htm) but not the toolbar that appear.
Any suggest.
thanks and regards
Laura
2008 Aug 27 4:01 PM
You can retrict the "DELETE" functionality in the GOS toolbar by authorization object S_OC_ROLE.
Your security consultant can restrict the authorization by using this authorization object.
* for allowing delete
AUTHORITY-CHECK OBJECT 'S_OC_ROLE'
ID 'OFFADMI'
FIELD 'ADMINISTRATOR'.
Regards,
Naimesh Patel
2008 Aug 28 9:33 PM
Thanks Naimesh! I will comment whit my consultant. ¿He only has to assing authorization object? ¿I must write some code?.
Regards
2008 Aug 28 9:38 PM
No code is required.
Your Security consultant can assign this object to the Users and don't give them the ADMINISTRATOR value.
Regards,
Naimesh Patel
2008 Sep 30 10:59 AM
Hello Naimesh,
I have exactelly the same problem as Laura. I also already know the authorization object S_OC_ROLE. The problem is: if you assign the object to a user, he is no longer able to delete attachments of other people, but he still can delete own attachements. I'm looking for a solution to allow only creating attachments, but no deleting. Do you have a hint how I can handle this?
Best regards,
Michael