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

MC Custom Field for Business Partner Relation

SCHNEIDERT
Active Contributor
0 Likes
1,272

Dear Experts,

in SAP Sales Cloud there's a department field that holds 4digit Code values. That one is mapped to SAP Marketing Cloud department correctly (codes are defined in customizing).

But there's another department field which holds a free text, called "DepartmentName". By default in the iFlow "Replicate Business Partner Relationship to SAP Marketing via Business Partner Web Services" this one is mapped 1:1 to SAP Marketing Cloud Business Partner.

I need that field for Interaction Contacts, too.

Is there any BAdI or any other way to map it to a Custom Field for Interaction Contact? Or to create a Custom Field on Relationship-Level to map the DepartmentName from C4C to it (like we can do for Business Partner fields)?

BR Tobias

Accepted Solutions (1)

Accepted Solutions (1)

andreasfranz
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Tobias,

you are right. My answer was not 100% precise. The mentioned BadI is limited to BP_GENERAL_DATA only mainly because when it is called the relationship data is not "at hand".

To solve this we would need another BadI. Can you be so kind to open an Influence Request for this?

best regards

Andreas

SCHNEIDERT
Active Contributor
0 Likes

Hi Andreas,

thanks for confirming.

I opened an improvement Request: https://influence.sap.com/sap/ino/#/idea/277870

Hope it will make it to a development sprint soon. Think this is necessary for all customers who already work with Business Partner Logic.

BR Tobias

Answers (2)

Answers (2)

Daniel_CX
Explorer
0 Likes

Hi Tobias,

thanks for opening the improvement request. Did you manage to find a workaround as I am in the unfortunate situation now.

Best regards,

Daniel

SCHNEIDERT
Active Contributor
0 Likes

Hi Daniel,

unfortunately there's no good workaround for that... For really necessary fields we had to create custom fields in C4C and MC on Contact Person/Account level and use them instead of the relationship fields.

BR Tobias

andreasfranz
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Thomas,

my understanding is that currently it is not possible to map a standard field of the BuPa to a custom field on IC-Level.

However: can you explain why maintaining the departments in SMC is not an option?

best regards

Andreas

SCHNEIDERT
Active Contributor
0 Likes

Hi Andreas,

for some standard fields it is possible using BAdI CUAN_BUPA_MAP_PERSON_EXT_FIELD. There we have access to the BP_GENERAL_DATA structure and can use at least some fields and also our Custom Fields. I don't know why we don't get access to ALL of the Business Partner standard fields. That would be a great improvement.

But DepartmentName is a field on Relationship level. There we only have the BAdI CUAN_BUPA_MAP_BPREL_CODE_VALUE where we only have access to BP_FUNCTION_CODE and BP_DEPARTMENT_CODE. In addition we are not able to create Custom Fields and use them in that BAdI...

We already use the departments in SMC. But the customer also uses the mentioned freetext department field in Sales Cloud (for maintaining their customers' internal departments) and we need it in SAP Marketing Cloud for a data export. Use case is that a catalog should be sent to a customer and the freetext department field should be printed on the catalog by an external agency. The export for the external agency should be done with SAP Marketing Cloud.