CRM and CX Blogs by SAP
Stay up-to-date on the latest developments and product news about intelligent customer experience and CRM technologies through blog posts from SAP experts.
cancel
Showing results for 
Search instead for 
Did you mean: 
corrine_guan
Product and Topic Expert
Product and Topic Expert
877


In CRM WebUI pages, there are some tab names. For example:

-- in the business roles selection page, it shows ‘Select a business role: - [XXX XXX]’.



-- After selecting a business role IC_AGENT, if the work area is in ‘Identify Account’, the IE tab name will be ‘Identify Account – [Interaction Center]’.



If work area is changed, the tab name will change accordingly:



 

Where are these names coming from?

 

 

-- Business role selection page:

 

For this page, the title is set in BSP Application CRM_UI_START->default.htm.



How is the value of title set?  The title is set in OnCreate event for CRM_UI_START->default.htm:



The detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV->GET_FULL_TITLE:



Then let’s see how variants gv_title and gv_workarea_title come.

 

gv_title is set when title server is initialized:



The source codes locate in CL_CRM_UI_WINDOW_TITLE_SRV->GET_INSTANCE:



gv_workarea_title is set in OnCreate event for CRM_UI_START->default.htm:



The detailed codes are in CL_CRM_UI_WINDOW_TITLE_SRV->SET_WORKAREA_TITLE:



To summarize:



 

-- In a work area:

 

Tab name is set in BSP Application CRM_UI_FRAME-> WorkAreaViewSet.htm:



Javascript Codes to set title is in CRM_UI_FRAME-> lscripts.htm:



While to get full tile, it is in method CL_CRM_UI_WINDOW_TITLE_SRV->GET_FULL_TITLE:



Let’s see how the values for gv_workarea_title and gv_title are set.

gv_workarea is set from breadcrumb BSPWD_BASICS->BREADCRUMBVIEW.HTM:



The detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV->SET_WORKAREA_TITLE:



 

For gv_title, it is different between IC agent roles and non-IC roles:
-- for IC roles, it is set in _ONINITIALIZATION event of BSP Application crmcmp_ic_frame-> start.htm:

Detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV-> SET_TITLE:


-- for non-ic roles, it is set in CRM_UI_FRAME-> WORKAREAVIEWSET.HTM:

Detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV-> GET_INSTANCE:


2 Comments