on 2021 Aug 24 11:34 AM
Hi guys,
Can anybody point me to where I can review the incoming data payload from C4C in SAP Marketing Cloud?
The Import Monitor shows me only part of the message.
The Message Dashboard tells me the 'Record type is hidden' for each field I want to review.
Request clarification before answering.
Thanks Joyca.
I currently have my coding like this:
DATA lv_marketing_area TYPE if_cuan_bupa_map_types=>ty_ic_marketing_area.
data: lv_string type string.
lv_string = bp_general_data-namcountry.
cl_ble_trace_writer=>write_info_message( lv_string ).
case bp_general_data-namcountry.
when 'DE'.
lv_marketing_area = '0001'.
when others.
lv_marketing_area = '0002'.
endcase.
APPEND lv_marketing_area TO ic_marketing_areas.
For some reason though, it always ends up with '0002', even if I send a German record.
I am now trying to get the value of namcountry in the trace (as you can see), but am not being successful. I have tried tracing with all available users, but no luck so far. I am afraid the integration between the businesspartner and the marketing contact is being done by a different (not tracable) user?
Any ideas?
Thanks,
Pieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With the SOAP-based integration, indeed CPI communicates to API's for Business Partners, so tracing in CPI would just get you that message.
Within Marketing Cloud then, this Business Partner is somehow converted into Marketing objects like Accounts and Contacts.
But, that process seems to be a big black box.
In Cloud it's really really hard to see payloads and to run traces. I also don't know in this case how to do that. Maybe josef.ehbauer can help.
You mention you try to debug custom logic, so I assume you alread know that there's a custom logic available for "Business Partner Mapping: Adjust Marketing Area". I'm using it too, but in our case everything coming from c4c could be on the same marketing area. This is the code that I use; maybe it helps you:
* Mapping for Marketing Area of Interaction Contact
* Example:
* a customer field ZZ_MKT_AREA holds the marketing area of the business partner. This can be mapped into the standard marketing area field of the interaction contact
* DATA lv_marketing_area TYPE if_cuan_bupa_map_types=>ty_ic_marketing_area.
* lv_marketing_area = bp_general_data-include-yy_mkt_area.
* APPEND lv_marketing_area TO ic_marketing_areas.
*Custom logic 05/01/2021 by JV: hardcode mtk area 2000 for all data coming through the SOAP interface from Sales Cloud
DATA lv_marketing_area TYPE if_cuan_bupa_map_types=>ty_ic_marketing_area.
lv_marketing_area = '2000'.
APPEND lv_marketing_area TO ic_marketing_areas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tobias,
I did that, but I am actually looking for the message from the businesspartner object to the Marketing object.
I am looking to implement a custom logic to determine the marketing area based on the country code.
As my logic is not working I am looking for a way to debug.
I tried finding the payload (into the MKT object) as well as the custom logic trace, but not successful so far. The custom logic trace is not showing any results for the interface user.
Any ideas?
Thanks,
Pieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pieter,
don‘t know that „record type is hidden“ issue, but in my opinion the best way is to have a look at SAP Cloud Integration and use the outgoing message there, that is sent to MC (the last SOAP segment).
You have to activate the trace for the corresponding iflow before.
The message Dashboard is not a good way to check the payload (as said that‘s my opinion).
Kind regards
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.