cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Interaction Record creation logic

Former Member
0 Kudos

Hi,

My current system has custom multiple End buttons in IC toolbar. Each end creates an interaction record in CRM. Some modification needs to be done so I am looking for the code where it is created.

I can understand that the following code is responsible for creating the interaction record in method EH_ONFORWARDCALL

CREATE OBJECT ref_event_copy.

          ref_event_copy->set_name( param1-value ).

ref_event_service_copy = cl_crm_ic_services=>get_event_srv_instance( ).

          ref_event_service_copy->raise( ref_event_copy ).

Additionally in the method the following parameter is used to pass the value of End button pressed.

set parameter id 'ZENDBUTTON' field <value_for_end_button>.

I am not able to get where this parameter is used and interaction record is created.

Accepted Solutions (0)

Answers (1)

Answers (1)

bruce_li
Contributor
0 Kudos

Hi

You can debug at following method and badi.

method:

1.class   METH CL_CRM_UIU_BT_TOOLS    method               SAVE

2.CL_CRM_IC_BOL_TX_HANDLER method  IF_ICCMP_CUCOBT_BOL_TRANS~SAVE

3.CL_CRM_IC_IRECREASON_IMPL EH_ONSAVE

badi;

1.badi  ORDER_SAVE BADi check_before_save Method

2.badi   CRM_IC_IARECORD

Best Regards,

Bruce