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

How do I modify the communication view within Interaction Center?

$
0
0

I have a request to replace the queue ID (DNIS) with queue description(ie. CALL_TYPE = 'order entry)   for incoming calls. 

 

We have identified the BSP component of: ICCMP_HDR_CNTNT and view: CommunicationInfoVS but have no idea how to modify this.

 

I have done some JavaScript changes inside component ICCMP_HEADER also that are shown below :

 

 

<% data lv_descrp type /JJVC/IC_DNIS_ID.%>

     <script type="text/javascript">

       ContextAreaMCMDisplay.prototype.setDnis = function( Dnis )

       {

         var element = this.myParent.getDnisDisplayElement( );

         if( null != element )

         {

           if( " " != Dnis )

           {

             Dnis=EscapeHTML(Dnis);

             element.innerHTML = Dnis;

             Dnis = Dnis.replace(/\D/g,'');

             <%

                 data: lt_descrp type table of /JJVC/IC_DNIS_ID,

                       ls_descrp type /JJVC/IC_DNIS_ID.

 

                select * from  /JJVC/IC_DNIS_ID into CORRESPONDING FIELDS OF TABLE  lt_descrp.

                loop at lt_descrp into ls_descrp.

                %>

                  var  tel = "<%= ls_descrp-TELEFONNR %>";

                  if ( Dnis.indexOf(tel) != -1 ){

                   Dnis = "<%= ls_descrp-TELE_DESCRIPTION %>";

                  }

                <%

                ENDLOOP.

                          %>

 

             element.innerHTML = Dnis;

             element.title = Dnis;

           }          else

           {

             element.innerHTML = Dnis;

             element.title = "";

           }

         }

       }

       }

 

       contextArea.MCMDisplay.setDnis( sDnis );

 

     </script>

 

But that changes are not working.

 

 

 

Any help is appreciated!


Viewing all articles
Browse latest Browse all 3700

Latest Images

Trending Articles



Latest Images

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