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

Sales-Marketing integration via SOAP: error

JoycaVervinckt
Active Contributor
0 Likes
278

Hi,

We activated the new version of the sales-marketing integration via SOAP as documented on SAP Help.

Our business partner data replicates correctly, but on the business partner relationships, CPI gives the following error:

com.sap.xi.mapping.camel.XiMappingException: com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot produce target element /ns0:BusinessPartnerRelationshipSUITEBulkReplicateRequest/BusinessPartnerRelationshipSUITEReplicateRequestMessage. Queue has not enougth values in context. Target xsd requires a value for this element, but target field mapping does not produce one. Probably the xml-instance is not valid to the source xsd, or the target field mapping does not fulfill the requirement of the target xsd., cause: com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot produce target element /ns0:BusinessPartnerRelationshipSUITEBulkReplicateRequest/BusinessPartnerRelationshipSUITEReplicateRequestMessage. Queue has not enougth values in context. Target xsd requires a value for this element, but target field mapping does not produce one. Probably the xml-instance is not valid to the source xsd, or the target field mapping does not fulfill the requirement of the target xsd.

Can anyone help me with this error?

Thanks,

Joyca

Accepted Solutions (0)

Answers (1)

Answers (1)

JoycaVervinckt
Active Contributor

Never mind, it is solved.

In the CPI Value Mapping artifact, the part for Mapping of Business Partner Roles between SAP Marketing Cloud and SAP Cloud for Customer,

while the documentation sais:

"CUAN, MapBusinessPartnerRole

This is the SAP Marketing Cloud business partner role.

Expand the following table for a complete list of available business partner roles in SAP Marketing Cloud.",

what CPI actually expects (and is present in its default) is just "true" or "false", and not the actual business partner role code.