分类: Web开发
2018-09-04 15:01:14
The Role Key is automatically determined by the Business Role the User is logged on for and it can be defined in view CRMV_UI_CONFIG. You can check method CL_BSP_DLC_CONFIGURATION2->CONSTRUCTOR to see how role key is set.
The Component Usage is automatically set by the Framework and it is derived from the component usage itself. You can check method CL_BSP_WD_VIEW_CONTROLLER->WD_VIEW_INITIALIZE to see how component usage is set.
The Object type and Subobject type is set by the application in method DO_CONFIG_DETERMINATION. For business transaction, it is set in method CL_CRM_BT_WINDOW->DO_CONFIG_DETERMINATION.
For business partner, the method CL_BP_HEAD_BPHEADOVERVIEW_IMPL->DO_CONFIG_DETERMINATION, CL_CRM_BUPA_VIEW_CONTROLLER->DO_CONFIG_DETERMINATION, and CL_BP_HEAD_ACCOUNTDETAILS_IMPL->DO_CONFIG_DETERMINATION are used to the set the object type and object subtype
If you do not know in which class the method DO_COFNIG_DETERMINATION is defined in your application, you can set breakpoint in the following class which will call the method DO_CONFIG_DETERMINATION, and debug:
CL_BSP_WD_WINDOW->DO_REQUEST
CL_BSP_WD_OVW_VIEWSET->DO_REQUEST
CL_BSP_WD_VIEW_CONTROLLER->DO_REQUEST
With this way, the breakpoints will be reached several times and you only need to debug into when it is the view you are concerned.
CL_BSP_DLC_CONFIGURATION20->IF_BSP_DLC_CONFIGURATION~GET_CONFIG_DATA is used to get the configuration.
CL_BSP_DLC_XML_STORAGE2=>PROC_ACC_SEQ_FOR_SEARCH_KEY is used to process Access Sequence for search key.
Table BSP_DL_XMLSTRX2 stores standard configuration data.
Table BSPC_DL_XMLSTRX2 stores customer configuration data.
Report BSP_CXP_CONFIG_EDIT convers the configuration to the XML and you can edit the configuration.
The customer can change the standard access sequence logic completely by implementing Badi DLC_CONFIG_ACCESS_BADI. You can refer to the following IMG documentation for details:
Customer Relationship Management -> UI Framework -> UI Framework Definition -> Business Add-Ins -> Define Configuration Access