cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Marketing Area while replicating contacts, customers and transaction into Marketing Cloud

Former Member
0 Kudos
1,397

Dear Expert,

We have a requirement to replicate Accounts, Individual customers and Contacts and their interactions into SAP Marketing Cloud from other SAP systems like SAP C4C and SAP S/4HANA. For this we have used standard integration package and currently, all mentioned data is replicating successfully, but without Marketing Areas.

I have understood the concept of Marketing area represents sales org. and responsible for data separation and visibility in SAP Marketing Cloud. How we can import or control the Marketing area for incoming data? Do we need to do some mapping to connect Sales org. from SAP C4C/ SAP S/4HANA to Marketing area in SAP Marketing Cloud in standard Odata service? Is there any customization required? Can anyone please help?

Thanks,

Pawan

Accepted Solutions (0)

Answers (5)

Answers (5)

SCHNEIDERT
Active Contributor

Hi pawan.hinge,

yes, e.g. for C4C-Integration in the "Replicate Business Partner to SAP Marketing"-iFlow you can set the Marketing Areas for Corporate Accounts an Contacts.

Either you set a defined value (if you have only one Marketing Area) or you do a Mapping of fixed values or based on a condition.

For example we set the Marketing Area for Corporate Accounts based on a Custom Field in SAP Sales Cloud.

In the iFlow have a look at the Mapping and search for "MarketingArea" on right (SMC) side.

BR Tobias

SCHNEIDERT
Active Contributor
0 Kudos

Of course, for Interactions like Phone Calls that come from SAP Sales Cloud you have to use the iFlow "Replicate Business Activity to SAP Marketing".

0 Kudos

Hi Saurabh,

I´m trying to implement the BADI bringing the Marketing Area from C4C to My Corporate Accounts in the SMC.
Please, do you have a tutorial how to do that from C4C passing for CPI, and the BADI proccess in SMC?

Thanks

former_member226
Employee
Employee
0 Kudos

Hello,

Unfortunately, there is no tutorial that explains how the code for your scenario. You can just have a look at the BADI documentation, Sample/Example Code that is generated out-of-the-box something like this:

 DATA lv_marketing_area TYPE if_cuan_bupa_map_types=>ty_ic_marketing_area.
 if bp_general_data-namcountry = 'DE'.
 lv_marketing_area = 'CXXEMEA'.
 else.
 lv_marketing_area = 'CXXGLOBAL'. ""bp_general_data-include-yy_mkt_area.
 endif.
APPEND lv_marketing_area TO ic_marketing_areas.
clear lv_marketing_area.

Also pls check https://blogs.sap.com/2019/04/05/overview-for-implementing-custom-logic-in-sap-marketing-cloud/ where they explain how to write code for SAP marketing Cloud BADIs.

Thanks

Saurabh

0 Kudos

Thanks a lot 🙂

0 Kudos

Hi Tobias / Experts,

Here we are using the ilfow: "Replicate Business Partner to SAP Marketing via Business Partner Web Services", to send the BP Data from C4C to SMC, because the iflow: "Replicate Business Partner to SAP Marketing" is Deprecated.

However I didn´t find the value "MarketingAreas".

How can I pass this value from C4C to SMC?

Thank you,

Edgard

former_member226
Employee
Employee

Hi,

In the iflow "Replicate Business Partner to SAP Marketing via Business Partner Web Services" you will not find the Marketing Area because it uses the S/4 BuPa model whereas Marketing Area is part of SMC's IC data model field. Therefore, you need to implement BADI "Business Partner Mapping: Adjust Marketing Area" of context "Marketing: Business Partner Mapping" at SMC side. Here you can write a logic to map/fill the field value.

Former Member
0 Kudos

Hi schneidert ,

Thank you, I will check this.

Best Regards,

Pawan Hinge

SCHNEIDERT
Active Contributor
0 Kudos

Hi pawan.hinge,

sure. Just let me know if it helped or if you need further assistance.

BR Tobias