Hi Guys
I have test SAP CRM IC-WEB v7.0 and I use SAP WEB Protocol,
I have an error when I Run the script with many advisers in the Controller. I am not sure if correlate the Id Session properly. And how identify the ID Session? How use the correlation function?
This is the portion of my script:
web_submit_data("uif_callback",
"Action=http://XXXX:8002/sap/webcuif/uif_callback?sap-client=250&sap-language=EN&sap-domainRelax=min&crm_handler=CL_CRM_UI_SESSION_MANAGER",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://XXXX8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=cmd", "Value=get_esid", ENDITEM,
LAST);
web_custom_request("uif_callback_2",
"URL=http://XXXX:8002/sap/webcuif/uif_callback?sap-client=250&sap-language=EN&sap-domainRelax=min&crm_handler=CL_CRM_UI_SESSION_MANAGER",
"Method=POST",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://XXXXX:8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm",
"Snapshot=t5.inf",
"Mode=HTML",
"Body=cmd=store_request&esid=(ZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRPT0=)&",
LAST);
web_url("main.htm",
"URL=http://XXXX8002/sap(ZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRPT0=)/bc/bsp/sap/crm_ui_frame/main.htm?sap-client=250&sap-language=EN&sap-domainRelax=min&saprole=ZUTIL_IC_CC",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXX8002/sap(bD1lbiZjPTI1MCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
web_custom_request("Transform_Messages.do",
"URL=http://XXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/Transform_Messages.do",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/broadcast_bar.htm",
"Snapshot=t7.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=utf-8",
"Body=xml_data=<messages filter=\"0\" >\n \n </messages>&do_sort=X",
LAST);
web_custom_request("Transform_Messages.do_2",
"URL=http://XXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/Transform_Messages.do",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://XXXX:8002/sap(bD1FTiZjPTI1MCZpPTEmZT1TbE5CVGtOSVJWcGZYMTlmTVRJNE1qTmZTblZ0OG40YUh1YVYzRE1SUXdNREVRJTNkJTNk)/bc/bsp/sap/crmcmp_ic_frame/broadcast_bar.htm",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=utf-8",
"Body=xml_data=<messages filter=\"1\" >\n \n </messages>&do_sort=X",
LAST);
Appreciate all your help
Regards