cancel
Showing results for 
Search instead for 
Did you mean: 

Throw Alert without polling

Former Member
0 Kudos

Hello Members!

Is it possible to throw an alert to the Agent's 'Alert box' without the use of SAM Polling?

I found the CL_CRM_IC_ABAP_ALERT class, but this uses the polling to send an alert.

Many Thanks for your help.

Regards,

Attila

Accepted Solutions (0)

Answers (2)

Answers (2)

Sigrid
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Attila,

You might also check SAP KBA 1822577 which explains how to set up this new type of user triggered, polling free (JSON) alerts. It can be used in all scenarios which do not require real time notifications, ex. scenarios without telephony integration (non CTI scenarios) and it reduces network traffic. You might also check section "References" which mentions SAP notes improving related coding.



Don't forget to check if you have enhanced CRMCMP_IC_FRAME/HiddenView. If yes, you might compare the view layout in your enhanced component with the SAP standard one and ensure that it has all necessary coding after activation of business function CRM_IC_CEBP (check ).


Good breakpoints for analysis are:

  • class cl_crm_ic_poll_free_alert_util, method: is_sam_mode_alert
  • class:  CL_CRM_IC_AH_TRIGGER_ALERT,  method: IF_CRM_SMF_ACTION_HANDLER~EXECUTE
  • class CL_CRM_IC_ABAP_ALERT, method IF_CRM_IC_ALERT_SERVICE~SEND_ALERT_MESSAGE

Best Regard,

Sigrid

Former Member
0 Kudos

The normal real time alert is based on polling but there is one new functionality called user-triggered alert which can be used without polling. I think it belongs to business function CRM_IC_CEBP, may be you can activate that in your sand-box system and try.

Once it is activated go to SPRO

Interaction Center WebClient  Basic Functions  Communication Channels  Define Communication Processing Profiles for the configuration.

Regards,

Shobhit