cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to restrict users from personalizing a over view page?

Former Member
0 Kudos

Hello people

i want to restrict users from changing the Personalization  of views in an overview page. Let us say if an over view page 3 ABs and i want 1st AB to be in always expanded mode (user should not set it to  collapsed mode). is there any way to make that check box disabled either through coding or through some configuration?

Thanks In Advance

Sravya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sravya,

You can use the function profile PERSONALIZATION to define the level of

personalization that is available for the user. You can assign this

function profile with value PP_ENABLED to the business role. This means

that the central personalization page is enabled but all personalization icons

in the work area are disabled.

If you still want the user to personalize the work area and you only want to disable the

"Display Expanded" checkbox for a specifi assiment block, you can add your own coding in

method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START of class CL_BSP_DLC__TABLEPERS_IMPL.

At the end of this method, it has following coding:

************************************

        WHEN 'TRAYMODE'.

   DATA LR_CHECKBOX TYPE REF TO CL_THTMLB_CHECKBOX.

         ASSIGN P_ROW_DATA_REF->* TO <f>.

         CREATE OBJECT LR_CHECKBOX.

         LR_CHECKBOX->ID = P_CELL_ID.

         LR_CHECKBOX->CHECKED = <f>-TRAYMODE.

         LR_CHECKBOX->ONCLICK = 'TRAYMODE'.

** set replacement

         P_REPLACEMENT_BEE =  LR_CHECKBOX.

         P_STYLE           = 'text-align: center;'.

owing coding:

************************************

You can set the LR_CHECKBOX-DISABLED to TRUE for the specific assignment block, then the "Display Expanded" checkbox will be greyed out for the specific assignment block in the Personlization screen.

Best regards

Abby Ding

Answers (1)

Answers (1)

Former Member
0 Kudos

for better understanding i'm attaching the above image