Hi Team,
Please find the solution below...
This got happen due to cache refresh/run time class regeneration indirectly for component page ‘crmcmp_ic_frame/mcmain.htm’. Even it shown as ‘active’ version then also need to reactivate it for refresh the page. After reactivation then the classes relevant to page get regenerated and page loaded properly.
This will mostly happen because of SP change or system get upgraded to newer version or due to any note changes the respective BSP components got changed by TR. So in these cases we need to reactive those BSP .HTM pages.
Please find the further details below…
After running the http watch in CH2 system, the browser stopped at component crmcmp_ic_frame/mcmain.htm
So due to this after upgrade we faced this below strange behavior..
After selecting business role IC_Agent then it gives the blank screen, try to
refresh the page again or click on URL and press enter then again it
opens the Business role selection page. Then try to select the
IC_Agent role again. This time it will become successful.
So here class cl_crmcmp_ic_comp_manager => init called once in CH2 for 'WS' work session.
where as in CDD its triggered twise, once for 'WS' work session and one more time for 'AS' Agent session. For any IC agent logged to system, then it needs to happen like one WS and one AS needs to be loaded, thats the minimum need.
fyi..
in below table have components to be loaded for work session 'WS' and agent session 'AS'.
So all the components which are need to be loaded for 'AS' is not loading
ex :
INTERACTION_MANAGER_LAUNCH - CL_CRM_IC_INIT_INTERACTION_MGR X 'AS'
* Application component initialization
SELECT * FROM crms_ic_app_comp
INTO TABLE rt_comps
WHERE active = lv_active
AND session_type = iv_session_type.
HTTP watch at CH2:
Method | Result | Type | URL |
GET | 200 | html | http://app.xyzcorp.com:8000/sap(bD1FTiZjPTMwMCZpPTEmZT1SVWxDU2tGRFRWOWZYMTlmTVRCZk9URmZBRkJXaFFVekh0V2p0ZEpmZkx4U01RJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/mcmain.htm?sap-client=300&sap-domainrelax=min&sap-language=EN |
After running the http watch in CDD system, the browser executed continuously even after the component crmcmp_ic_frame/mcmain.htm.
So now activated again for regenerating corrupted classes for .htm page.
Once agent components loaded properly then all agent relevant events in gt_subscriptions got registered then the first event triggered is bp_confirm will happen else it become like 'interaction started'. so entire flow changes. So here method set_anchor() is not triggered, so in doc flow the relationship 'CRMICANCH' is not created and it was 'CRMICCTXT'. So it fails in CRM 7.0.
Thanks,
Vij