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

Contact function creation error - changes due to SOAP integration

former_member654580
Participant
0 Kudos
720

Hi experts

Because the integration change with C4C from ODATA to SOAP was made I am creating the contact functions and then include it in the BAdi: "Assignment of business partners: adjust relationship code values".

But the functions to be created, now, option B, in: Manage your solution -> Configure your solution -> Database and Data Management | Business Partner | Contact Person -> Define functions for Contact Person.

Before, option A: Manage your solution -> Configure your solution -> Marketing | Marketing | Contacts and Profiles -> Functions for Contacts.

There is a difference of preloaded functions in the old option with the new

Option A Option B

It has its logic when I try to create the new functions

But my doubt is that many of the functions that were already preloaded in option A, C4C sends me and therefore I have to configure them in option B.

The concern is:

I have to configure what was already by the standard in A (which is required) as if it were a Z functions Additional, of course, to the Z functions that C4C will send to MKT

Best regards

Elio C

View Entire Topic
SCHNEIDERT
Active Contributor
0 Kudos

Hi Elio,

check that question from Carla and my answer there:
https://answers.sap.com/questions/13385661/configuration-error-c4c-contact-functions-dont-acc.html?c...

You have to create the functions in your "Option B" first. They have to met the ones that are sent from C4C (with leading zeros!). So, if you have a function Z6 in C4C, the external code for it which is sent to MC hast to be 00Z6.

After that you use the BAdI to map it to the functions of your interaction contacts.

It is a known error that it is not possible at the moment to create functions for the Business Partners in MC (Option B). This will be fixed by SAP next weekend.

Let me know if you need further input.

BR Tobias

klausk
Explorer
0 Kudos

Hi Tobias,

I have the same error. I already have created the functions on both levels (BP and Interaction Contact) but I still get the error the function does not exist.

I have the function Z022 in Sales and in code list mapping Z022 -> 0022. In Marketing Cloud function for BP is just 2-digits so I created the 22 and in the Interaction Contact level also just 2-digits 22 although I could use 4 digits here.

Could that be the problem I just use 2-digits on Interaction contact function instead of 4?


BR Adrian

SCHNEIDERT
Active Contributor
0 Kudos

Hi gcadri ,

how does your BAdI for the mapping look like?

BR Tobias

klausk
Explorer
0 Kudos

Hi Tobias,

thanks for the quick reply. I did not implement the BAdI yet since the functions codes for BP and IC are identical also 2-digits. Do you think I have to implement the BAdI anyway?

BR

Adrian

SCHNEIDERT
Active Contributor
0 Kudos

Hi gcadri,

I assume yes, you have to implement it. Where does your issue occur?
If you have already problems in the data replication (when the Business Partner is created), then it doesn‘t have anything to do with the BAdI.

But if you don‘t see any issues in the Message Dashboard but cannot find the functions on interaction contact, then I think the BAdI should help you.

If that does not solve your problem, we have to investigate further.

BR Tobias

klausk
Explorer
0 Kudos

Hi Tobias,

the problem occurs already while replicating the BPs and I can see the error message the funcion 22 does not exist.

BR

Adrian

SCHNEIDERT
Active Contributor
0 Kudos

Hi gcadri,

didn't you say you created the Code List Mapping in C4C from "Z022" to "0022" ? Then in my opinion the error message should say "function 0022 does not exist".

Could you please check the outgoing payload in C4C webservice message monitoring and verify that "0022" is sent to Marketing Cloud? Maybe there's an issue and C4C sends out "22".

BR Tobias