Header Ads

SAP WEB UI : Personalization configuration .


It is possible to lock/disable this feature for few users who are belonging to same business role but not randomly.

We have a function profile which can be used to achieve this. Function profiles are assigned at the business role level in the Business Role Customizing as in below picture. The function profile ID is PERSONALIZATION and the value you need to set is PP_ENABLED. This would move the personalization links in Work Area which means you will not see Assignment Block Personalization and Page Personalization for this Business role.

It can take other values as well and below is the documentation on that:
PERSONALIZATION:
       You can use this function profile to define the level of personalization that is available for the user in the WebClient UI. You can assign this function profile to every business role, and use one of the following predefined profile values that are delivered in table PERSCV_PROFILE:
  • ALL_ENABLED
    • This means that the central personalization page and all personalization icons in the work area are enabled.
  • ALL_DISABLED
    • This means that the central personalization page and all personalization icons in the work area are disabled.
  • PP_ENABLED
    • This means that the central personalization page is enabled, but all personalization icons in the work area are disabled.
  • WA_ENABLED
    • This means that the central personalization page is disabled, but all personalization icons in the work area are enabled. 

NOTE : In the standard system, this function profile is not assigned to any business role. This means that all personalization options are available. This is equivalent to the profile value ALL_ENABLED.

CRM->UI Framework-> Business role .........

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

If you want to enter a logic depending on the view which is rendered, you should consider a modification in the following method:  CL_THTMLB_TAB_CONTAINER->RENDER_STANDARD_BUTTONS :
      `#PERSONALIZATION#`
      IS_STANDARD_BUTTONS-PERSONALIZE_PARAMETER
         INTO LV_PERS_IMAGE->ONCLICK.
    LV_PERS_IMAGE->TYPE    = CL_THTMLB_UTIL=>GC_ICON_PERSONALIZE.
    CONCATENATE ID `_pers` INTO  LV_PERS_IMAGE->ID.
    LV_PERS_HTML = LV_PERS_IMAGE->IF_BSP_BEE~RENDER_TO_STRING( M_PAGE_CONTEXT ).
    IF NOT IS_STANDARD_BUTTONS-FOREIGN_PAGE_ID_PERS IS INITIAL. 


Powered by Blogger.