Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

alv problem

Former Member
0 Likes
549

Hi Folks,

I have a requirement to display different layouts for different users according to the authorization they got. For the User who has got all the authorization only he shold be able to display all the columns of the alv otherwise the layout should be use-specific

My second requirement is to remove the default checkbox coulmn which appears in the very first column of every alv grid display.

Thanks & Regards,

Santosh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
525

Hi Santosh,

You can create authorization Objects in T-Code: SU21 and grant access as per the IDs.

For the ids you can set the authorization as to change create or display.

About viewing the ALV LAyouts you will have to save the ALV Layout with the chosen fields as a variant.

The check box is appearing because in the field caatlog definition:

lwa_fieldcat-checkbox = 'X'.Do not use this in the fieldcatalog . This gives u a checkbox in the fierld catalog.

Hope this helps.

Regards,

Navin.

3 REPLIES 3
Read only

Former Member
0 Likes
525

Hi Santosh,

In the program check the authority level of the person executing the report and accordingly pass the Variant parameter in FM REUSE_ALV_GRID_DISPLAY..

Read only

Former Member
0 Likes
526

Hi Santosh,

You can create authorization Objects in T-Code: SU21 and grant access as per the IDs.

For the ids you can set the authorization as to change create or display.

About viewing the ALV LAyouts you will have to save the ALV Layout with the chosen fields as a variant.

The check box is appearing because in the field caatlog definition:

lwa_fieldcat-checkbox = 'X'.Do not use this in the fieldcatalog . This gives u a checkbox in the fierld catalog.

Hope this helps.

Regards,

Navin.

Read only

Former Member
0 Likes
525

answered