|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
How to disable DELETE and EDIT buttons function in attachment list
Copy standard class into your own Z
class and click on green tick/enter. Give you package name and save it in new
In the below screen double click on
Add authorization check. Coding is
AUTHORITY-CHECK OBJECT 'ZATTACH' ID 'ACTVT' FIELD '03'.
Logic is that field 03
is for display in authorization object activities. ‘D’ is an indicator for display mode. You have to assign this
object only to those users to whom you want to restrict for editing and deleting
attachments. The users without this object can still delete and edit
Zclass in T-Code SGOS
Select VIEW_ATTA in Name of Service.
Status Gen. Service should be active and enter Zclass name in class
Assign authorization object to user
and give activity 03. Now test in any attachment list. Edit and delete buttons
will be in display mode as you can see in below screen.
Following is the screen shot for the
user who has full access and I have not assigned authorization object to this
user. So this user can change and edit attachments.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards