on 02-09-2016 4:33 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.