on 2021 Feb 25 11:31 AM
Hi,
For question, I implemented the enhancement (5) Open Channel: Define Template for Outbound Interaction, but the interactions are not written. What could be gone wrong?
I am facing the same issue now, though I have implemented the above-suggested implementation.
(1) Open Channel: Define Implementations
APPEND VALUE #( implementation = 'ZOC_EXPORT'
implementation_name = 'Calling Data'
icon_name = 'message-popup'
icon_url = '' "
communication_medium = 'CC_CALL' ) TO implementations.
(4) Open Channel: Enhance Payload for Data Transfer
LOOP AT target_group_member_status ASSIGNING FIELD-SYMBOL(<ls_target_group_member_stat>).
CL_CUAN_INTERACT_CNTCT_HELPER=>GET_CONTACT_FACETS( EXPORTING IT_CONTACT_KEYS = value #( ( conv #( <ls_target_group_member_stat>-TG_MEMBER_INTERACTION_CONTACT ) ) )
IMPORTING ET_CONTACT_FACET = data(lt_contact_facet) ).
READ TABLE lt_contact_facet ASSIGNING FIELD-SYMBOL(<ls_contact_facet>) WITH KEY id_origin = 'SAP_C4C_BUPA'.
IF SY-SUBRC EQ 0.
<ls_target_group_member_stat>-communication_id = <ls_contact_facet>-id.
ENDIF.
ENDLOOP.
(5) Open Channel: Define Template for Outbound Interaction
template-id_origin = 'SAP_C4C_BUPA'.
template-interaction_type = 'OUTBOUND_CC'.
template-communication_medium = 'CC_CALL'.
DATA: lv_campaign_id TYPE cuan_initiative_id,
lr_oc_header_attribute TYPE REF TO cuan_s_oc_header_attribute,
ls_campaign_root_api TYPE cuan_s_campaign_root_api.
READ TABLE header_attributes REFERENCE INTO lr_oc_header_attribute WITH KEY param_name = if_cuan_mkt_orch_constants=>sc_open_channel_header_attr-campaign.
IF sy-subrc EQ 0.
lv_campaign_id = lr_oc_header_attribute->param_value.
ls_campaign_root_api = cl_cuan_campaign_helper_api=>campaign_root_read( EXPORTING iv_id = lv_campaign_id ).
IF ls_campaign_root_api-priority EQ cl_cuan_campaign_helper_api=>co_priority-high.
template-interaction_type = 'OUTBOUND_CC'.
else.
template-interaction_type = 'OUTBOUND_CC'.
ENDIF.
ENDIF.
I am not sure where i am wrong in this. Could you please let me know. Thank you.
Regards,
Bhaskar
Request clarification before answering.
Dear Bhaskar,
In this case , it was due to the Filter which was missing for the Implementation (5) Open Channel: Define Template for Outbound Interaction.
There is a filter check for the Implementation before calling these BADI's .
So in your case , Filter condition should be maintained as IMPLEMENTATION = 'ZOC_EXPORT' and it should call the Interaction template BADI as required which should then update the Interaction.
Hope this helps.
Best Regards,
Saravanakumar M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Bhaskar,
It will be difficult to guess without checking your system setup in this case , as there can be several reasons .I would suggest you to Create an incident to component CEC-MKT-CPG-EXE if you cannot figure it out.
Please provide all details and also the CB user that we can use to connect to the system. See this note for information on how to get this user https://launchpad.support.sap.com/#/notes/2931353.
Best Regards,
Saravanakumar M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saravan,
I had already created, so far no response though it is High priority.
Regards,
Bhaskar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
16 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.