Quantcast
Channel: SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 188

where do these names come from

$
0
0

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]’.

0. business role.PNG

-- 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]’.

9. interaction center name.PNG

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

9-0. another tab nanme.PNG

 

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.

1. business role title.PNG


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

2-2-2. get title.PNG

The detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV->GET_FULL_TITLE:

2-2. get full title.PNG

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

 

gv_title is set when title server is initialized:

2-4-1. gv_title calls.PNG

The source codes locate in CL_CRM_UI_WINDOW_TITLE_SRV->GET_INSTANCE:

2-4. get gv_title.PNG


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

2-3-1 gv_workarea calls.PNG

The detailed codes are in CL_CRM_UI_WINDOW_TITLE_SRV->SET_WORKAREA_TITLE:

2-3. GV_workarea_title.PNG

To summarize:

0. summarize.PNG

 


-- In a work area:

 

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

9-3 set titles.PNG

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

9-3-2 set title JS codes.PNG

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

9-2. codes for get full title.PNG

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:

9-5 set workarea title.PNG

The detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV->SET_WORKAREA_TITLE:

9-4 codes for set workarea.PNG

 

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:
9-1. gv_title for IC.PNG
Detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV-> SET_TITLE:
9-1-1 codes for set gv_title.PNG

-- for non-ic roles, it is set in CRM_UI_FRAME-> WORKAREAVIEWSET.HTM:
9-6 gv_title for non-ic.PNG
Detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV-> GET_INSTANCE:
9-7 codes for gv_title in non-ic.PNG


Viewing all articles
Browse latest Browse all 188

Trending Articles