How To Control Layout Authorization in SAP

S_ALV_LAYO object gives authorization of layout management but if we want to control the authorization for view, deletion etc. there is no way out. Recently it happened like one user deleted some layouts and we need to control it.

Is it possible to restrict layouts user based?

Answer:

The ALV contains the S_ALV_LAYO authorization object as of Release 46C. The activity of this authorization object is checked within the ALV. This authorization object can be used to further restrict the authorization for saving layouts (predetermined by the developer). 

You will obtain the following results if the authorization does not exist for S_ALV_LAYO:

- I_SAVE = ' ' -> layouts cannot be saved

- I_SAVE = 'A' -> is set to 'U'

-> only user-specific layouts can be saved

- I_SAVE = 'X' -> is changed to ' '

-> layouts cannot be saved

- I_SAVE = 'U' -> user-specific layouts can be saved

If you do not want the ALV authorization check on the S_ALV_LAYO object, you can set the IS_LAYOUT-NO_AUTHOR parameter to 'X'. As a result, an authorization check will not occur when you call the ALV.
 

Also:

There is the authorization object S_ALV_LAYO with the authorization field 'ACTVT' (activity) and the value '23' for "Maintain".  All ALV versions (Classic, Grid Control and Grid in full screen) perform an authorization check against this object.  Users whose profile contains the value '23' are then allowed to create and maintain standard layouts and save them as defaults.

The authorization object can be checked via transaction SU21, object class BC_Z, S_ALV_LAYO and only exists from Release 46C.

SAP BC Tips

See Also
Troubleshooting On Missing Authorization

Get help for your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components Discussion Forum

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.