Quantcast
Channel: SCN: Message List - SAP CRM: Interaction Center
Viewing all articles
Browse latest Browse all 3700

Re: Questions about CL_CRM_IC_CLNT_EVENT_CONST

$
0
0

Hello, William.

 

As far as I understand this class contains a part of SAM (Simplified ABAP Messaging) events names constants. Not all of them. Definitely not.

 

These SAM messages are represented by class CL_SAM_MESSAGE. And particular 'event name' property is set using its method SET_STRING_PROPERTY (from interface IF_SAM_MESSAGE)

So I'd put a breakpoint in this method and wait for a property with name = 'icwc_eventname'. In value parameter you'll find event's name.

 

Examples of how to subscribe to these messages can be found in CRMCMP_IC_FRAME in header_jscripts.js file. Function subscribeSAM:

 

       var callback;       var eventManager = ICClientEventManager.getInstance( );       callback = processBSPInvoke;       eventManager.subscribe( '<%= CL_CRM_IC_CLNT_EVENT_CONST=>COM_SAP_IC_BSPINVOKE%>', callback );

 

Hope this will help you.


Viewing all articles
Browse latest Browse all 3700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>