‎2009 Jan 29 11:30 AM
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.
‎2009 Jan 29 11:50 AM
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.
‎2009 Jan 29 11:33 AM
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..
‎2009 Jan 29 11:50 AM
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.
‎2009 Jan 29 8:50 PM