on 12-08-2009 2:28 AM
Hi,
1. We have been facing a problem frequently.
The layout of reports set by an user is changed/deleted by some other user mistakenly/voluntarily.
Is there any way to restrict this.
That is, can we incorporate any authorisation into it.
2. Layouts are currently having the option "system default" and the option "user specific" is inactive.
We require just the opposite case.
Layouts can be mentioned as "user specific" and not "system default".
Please guide.
Thanks & Regards,
Siva
Hi Siva,
This can be achieved by using certain ALV declarations made by the ABAPER in the program.
In one of the my program I have made such a provision that other using id except mine cannot change the layed delcared.
For this you can take the help of your ABAPER.
PARAMETERS : p_varnt LIKE disvariant-variant DEFAULT 'OT-DEFAULT' .
Reger the above delclaration made by my abaper in my program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Layout changes are controlled with authorization object S_ALV_LAYO.
If the user has this authorization, then he can change layouts globally, without this authorization he can only create and change own user-specific layouts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In the FM REUSE_ALV_LIST_DISPLAY
Set the value for the parameter I_SAVE as per your requirement, If you use vale 'U' user cant change the global layout, they can only save as user specific layouts,which will be specific only to the user.
Prerequisite:
The IS_VARIANT parameter has the appropriate value.
See also the documentation of the IMPORTING parameter IS_VARIANT.
Value range
' ' = display variants cannot be saved
Defined display variants (e.g. delivered display variants) can be selected for presentation independently of this flag.
Changes can not be saved.
'X' = standard save
Display variants can be saved as standard display variants.
User-specific saving is not possible.
'U' = only user-specific saving
The user can only save display variants user-specifically
'A' = standard and user-specific saving
The user can save a display variant user-specifically and
as standard display variant. The user chooses in the display variant
save popup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.