on 2021 Apr 25 10:05 PM
Hi Experts
With the new implementation by SAP to assign new commercial agreements for customer replication between C4C and SMC: SAP_COM_0475 and SAP_COM_0539 on the SMC side, replacing the SAP_COM_0017 that already or includes customer replication, only interactions (correct me if not I am right).
I have a problem (personally because I had already mastered the topic, URL: https://answers.sap.com/questions/13035111/marketing-areas-are-not-assigned-to-all-contactsco.html) and it is the assignment of the marketing areas to the clients that are replicated from C4C to SMC.
With these new communication agreements is not the allocation of marketing areas within CPI? Reviewing the documentation: https://help.sap.com/viewer/479c82f666a644dea23ec81af00db2c8/2011.500/en-US/9796355e4c874751a5af09d3...
Particularly in point 3, step 3, "Implement the allocation of marketing areas for business partners".
"You must implement this business plug-in (BAdI) to define the mapping of the marketing area from the local business partner to the SAP Marketing Cloud interaction contact.
" Has anyone implemented this BAdi? And I don't understand Step 4: Implement BAdI to assign a business partner to an interaction contact.
With the new agreement and the Iflows in CPI this action is not done?
What is the BAdi and how to implement it?
BR
Elio C
Request clarification before answering.
Hi Elio,
you're correct. When using the new SOA-based integration with the mentioned Communication Arrangements, the Marketing Area cannot be set via CPI. Therefore you have to use a BAdI.
Go to your Custom Fields and Logic app and switch to the Custom Logic tab.
Here you can create a new Logic (BAdI). In the Business Context "Marketing: Business Partner Mapping" select the BAdI "Business Partner Mapping: Adjust Marketing Area".
In that BAdI you or your ABAP Developer can define the Marketing Area for the Contacts and Corporate Accounts (for example set a fix value CXXGLOBAL for all of the contacts).
In the same Business Context you could create other BAdIs for example for the Function Code mapping: "Business Partner Mapping: Adjust Relationship Code Values".
The best way would be to check the BAdI-Documentation in the BAdI first to understand what it does.
BR Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi schneidert
I have a question on this point: "In the same Business Context you could create other BAdIs for example for the Function Code mapping:" Business Partner Mapping: Adjust Relationship Code Values "
This is new too, previously, wasn't it part of free text mapping?
The functions were coming through integration and were related to the functions already existing in the system.
BR
Elio C
Hi eliocentenob,
this is not the same thing. If you import freetext values for Functions (field name is PAFKT_FT) that did not exist in the system before, you could then use the Map Free Text app to map these values to existing Functions.
The BAdI mentioned above is used for the new SOA-based integration.
You need to implement this BAdI because when you replicate data from C4C to MC via SOAP, the data is written in the S/4 data model (which uses tables like BUT001). After that via processes in the backend it is "transformed" into the MC data model (e.g. tables like CUAND_CE_IC_ROOT). So, based on the "Business Partners" coming from C4C there are Interaction Contacts created (which are then used in Segmentation and so on).
So, from now you have Functions for Business Partners (4-digit code) in your system and also Functions for Interaction Contacts (two-digit code; these are the ones you already know). These functions are maintained in different places in the Configure Your Solution app.
The BAdI then maps the Functions of Business Partners to the Functions of Contacts.
This cannot be done via Map Free Text app or anything else.
Hope that makes it a little bit clearer.
BR Tobias
We applied the BAdi: Business Partner Mapping: Adjust Marketing Area, but I think it did not give me the result I expected. Indeed, when replicating the customer, the assigned marketing area is displayed in the customer's data.
But, the detail is that we are bringing clients from two companies, (Two sales areas) from C4C.
Then, a marketing area in SMC would be equivalent to a sales area in C4C in order to separate customers.
In this context, how can I separate that data?

BR
Elio C
Hi eliocentenob,
how is the mapping on CPI side done? To which field did you map your sales area coming from C4C?
If there's no standard field you could use I would propose to create a Custom Field for the Business Partner and use that one in the BAdI to set the Marketing Area. As per my knowledge that should work.
BR Tobias
| 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.