cancel
Showing results for 
Search instead for 
Did you mean: 

Layout changes - is there any authorisation possible?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member212745
Active Contributor
0 Kudos

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.

Answers (2)

Answers (2)

JL23
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

I have the same situation, I tried removing the Activity 23 for S_ALV_LAYO auth object, but it disabled/ grayed out the user specific check box and not the default check box. Do you know what is being missed here?

Former Member
0 Kudos

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.