Webclient UI Switch related processing

In Webclient UI workbench the poweful functionality is provided to ensure that the given feature is only available, if the bound business switch is in active status. For example you can open component BP_HEAD and find many view are added to overview area with a related business switch.

The same logic for navigation link and component usage:

in this blog we have discussed the ui configuration logic and know the customer configuration precedes the sap configuration. After the correct configuration is determined and IF it is sap configuration, framework will load the configuration xml data with the logic below:

1. if pre_proc_active_config_s is X ( we will discuss how this flag is initialized later )

For customer configuration, the configuration data is always loaded from table BSP_DL_XMLSTRX2.

In order to verify the described process above, I create a simple component with one overview page which contains only one assignment block which are bound to a business switch. The switch is set as deactivated.

Then I launch the UI. Since it is the first time the UI is accessed, it is apprarently that no entry for ZSWITCH in table BSP_DL_XMLST_PR,

so data is fetched from BSP_DL_XMLSTRX2 instead. BSP_DL_XMLSTRX2 stores configuration data which does not take switch handling into consideration.

thanks, Jerry. Great documents. But one question, how is one entry be added into table BSP_DL_XMLST_PR then? If one is making personalization, the entry should be created in personalization tables. How one configuration be added into table BSP_DL_XMLST_PR? I encounter one issue, the page itself seems no switch used, but there is one entry in table BSP_DL_XMLST_PR, how could that happen? The view is CRM_BSP_PERS/GenSettings, it is the personalization popup, which does not have personalization button at all.