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

Sales-Marketing integration via SOAP: Custom Fields

vervinckt_joyca
Active Contributor
1,449

Hi,

We have migrated from sales-marketing interface via odata to SOAP.

In the Extensibility chapter, there are three subjects.

One of them is "Scenario-Based Extensibility", which sais:

"As a key user, you can extend the integration in the Custom Fields and Logic app using the business context Business Partner Core View"

1) I cannot find a context called "Business Partner Core View"

2) does this mean I can no longer use all of my current custom fields that were created on context "Marketing: Corporate Account"?? If so, how to I migrate all of that info?

Also the chapter "SAP Cloud Platform Integration (CPI) with Extension Points in iFlows" is kind of vague, and is totally not explaining what to do in CPI to add and map custom fields...

Accepted Solutions (1)

Accepted Solutions (1)

Josef_Ehbauer
Product and Topic Expert
Product and Topic Expert

Dear Joyca,

let me precise your statement in a direction that existing custom fields can be used further after you have migrated integration to SOAP-technology. To do so you have

  • to create another custom attribute in the local business partner (business context "master data: business partner")
  • Use the available BADI to map the values of the new attribute from the business partner to the existing attribute of the interaction contact.
  • Afterwards reload of data from C4C as described in the migration guide

Alternatively you could create a new attribute for the business context "master data: business partner" and apply the scenario-based integraiton. In this case the new atribute will be created also in the interaction contact. This has the consequence, that segmentation content for the new attribute needs to be adjusted and a load of data from additional data success is needed as well.

Best Regards, Josef Ehbauer

vervinckt_joyca
Active Contributor
0 Likes

Thanks josef.ehbauer, I am very glad to hear that we can still use our current custom fields!

Could you clarify which Badi should be used? Is it one from this list?

Is it CUAN_BUPA_MAP_COMPANY_EXT_FLD: Business Partner mapping: Adjust corporate account extension fields?

There is no sample code in that badi for getting data from a custom field from "master data: business partner" and map it to a custom field of "marketing: corporate account", so I'm struggling currently with that badi.

Or is it another one that should be used?

Can the custom fields also be activated on the "all relationships" segmentation model somehow?

Thanks,

Joyca

vervinckt_joyca
Active Contributor
0 Likes

Hi josef.ehbauer.

So we summarized our issue into the below, and have 2 possible solutions, each with its own disadvantages.

I was wondering if any of the disadvantages would be a potential candidate for improvement on one of the next releases, and which one of the two would be the most likely to be implemented... I know you cannot give any guarantees on that, but a hint maybe?

Option 1:

Our current fields are on context "Marketing: Corporate Account".

This context does not have a tab "Business Scenarios" where the BP transfer scenario can be activated.

So we must use the custom logic in order to "link" this field, to another field on the context "Master Data: Business Partner" (that is used on the soap-interface with sales cloud).

This "corporate account" field does however have the possibility to be enabled for outbound Lead Replication.

-> is it likely that the business context "Marketing: Corporate Account" would receive the possibility to be enabled for Business Scenario BP transfer?

Option 2:

Delete our current custom fields, and replace them by fields on context "Marketing: Contact and Corporate Account".

This context does have the tab "Business Scenarios" where the BP transfer scenario can be activated.

Which automatically creates the other field on the "Master Data: Business Partner" context to be used for the soap-interface with sales cloud.

This "contact and corporate account" field does not have the possibility to be enabled for outbound Lead Replication.

-> is it likely that the business context "Marketing: contact and corporate account" would receive the possibility to be enabled for outbound Lead Replication?

Thanks in advance for any insight in this,

Joyca

Josef_Ehbauer
Product and Topic Expert
Product and Topic Expert

Hi Joyca,

we are aware that custom fields, which are enabled via the business context "master data: business partner", cannot be used for outbound lead replication backwards from Marketing Cloud to Sales Cloud. However we have this on our roadmap and plan to provide it in the 2105 release, refer to the item Handover of context information from campaign to lead in SAP Sales Cloud, part 2

BR, Josef

Answers (3)

Answers (3)

vervinckt_joyca
Active Contributor

Hi,

I found this, and I'm thinking/hoping it might be a solution.

In the list of badi's/custom logic, I found:

CUAN_BUPA_MAP_COMPANY_EXT_FLD: Business Partner mapping: Adjust corporate account extension fields

In the mkt cloud system itself, the following documentation is available:

Use

This Business Add-In (BAdI) is used to define mappings for customer fields from the local Business Partner to the SAP Marketing Cloud Interaction Contact for Corporate Accounts. This will be used for the SOA-based integration of the Business Partner. It will be called during the mapping of the local Business Partner data to the Interaction Contact data.

If a customer field is assigned to Business Context 'Business Partner Core View' and enabled also for Business Context 'Marketing: Contact and Corporate Account' via 'Business Scenario' Extensibility, the content of the Business Partner field is automatically mapped to the respective SAP Marketing Cloud field.

If the content has to be adapted or additional SAP Marketing Cloud customer fields have to be filled, this BAdI can be used.

Importing Parameters

  • BP_GENERAL_DATA: Structure for Business Partner general data

Changing Parameters

  • COMPANY_EXTENSION: Structure containing customer fields for Business Context 'Marketing: Corporate Account' in SAP Marketing.
  • INTERACTION_CONTACT_EXTENSION: Structure containing customer fields for Business Context 'Marketing: Contact and Corporate Account'

I'll need to check with a developer colleague, but I'm hoping the custom fields from Sales Cloud would be available in the "BP_GENERAL_DATA" structure, so that this badi can map those fields to my existing custom fields within COMPANY_EXTENSION on the context Marketing: Corporate Account.

former_member226
Employee
Employee

Hello,

For point 1, can you please check if context "Master Data: Business Partner" meets your need? I think old "Business Partner Core View" has been renamed to "Master Data: Business Partner" as this context contains a business scenario to extend the usage "Marketing: Transfer Business Partner Data to Interaction Contact".

For point 2, Maybe someone from the product team can confirm. But my understanding says, you need to create all fields again!

Regarding the integration flow extension, I think you can raise a ticket to SAP to update the documentation with the proper step. Nevertheless, meanwhile, you can proceed with the following steps:

1. Create a custom field in SMC and extend its usage in "Business Scenario" and "SOAP Services"

2. Configure communication scenario 0475 and download the new WSDL against each service

3. now go to CPI package and create a custom iflow(to be configured as Post Exit) with the newly downloaded WSDL and make the mapping.

Hope it helps!

BR

vervinckt_joyca
Active Contributor

Thanks Saurabh.

Maybe the presenters of this webinar https://microlearning.opensap.com/media/1_x8r6j6bz could confirm point 2?

josef.ehbauer and jenn.murphy , could you confirm that all the Custom Fields on the context Marketing: Corporate Account are not compatible with the SOAP-based integration between sales and marketing, and we need to re-create all of our custom fields on context Master Data: Business Partner?

If that is so, is there a way to migrate all the data from our old custom fields to our new custom fields?

It would also be good to mention this somewhere on the introduction of the SAP Help pages of this integration as a warning, because this will now add effort to our implementation of the setup of this SOAP-based integration 😞

Kr

Joyca

SCHNEIDERT
Active Contributor

Hi Joyca,

you're right. I checked it and wasn't able to find the Business Context. It seems that it has been renamed to "Customer Core View" with the 2011 release.

I had a similar question in the past: https://answers.sap.com/questions/13106559/enable-custom-fields-for-the-new-soap-services.html

In 2008 the Context was still named "Business Partner Core View".

But yeah, I think you have to create all of the fields again... Not sure if SAP has the possibility to migrate them in another way.

In my opinion that integration is not really finished yet... neither in the system nor in the documentation...

BR Tobias

vervinckt_joyca
Active Contributor
0 Likes

Hmm, so I understand from your topic that the context "Marketing: Contact and Corporate Account" DOES have the option to be enabled for business scenario "Marketing: Transfer Business Partner Data to Interaction Contact", while the context "Marketing: Corporate Accounts" does NOT? How strange is that :s