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

SAP Marketing Cloud CUAN_IMPORT_SRV contact creating not desired corporate account

Former Member
0 Likes
422

Hello community,

We are using CUAN_IMPORT_SRV for creating contacts (persons) into our Marketing System via a dedicated interface. We have another separate interface for creating customers (corporate accounts).

Multiple contacts can be linked to a customer so we use "CompanyId" of CUAN_IMPORT_SRV in the contact interface to make the link of the contacts with the customer.

If the value of CompanyId is not existing (customer not existing in Marketing because not created by dedicated interface), the contact interface is creating the corporate account in Marketing (empty fields for all, but ID is saved). We don't want this behavior and only want a link functionality (if customer found, do the link, if not, don't do the link/don't create the customer).

Do you know why we are facing that? Is it expected?

Accepted Solutions (0)

Answers (1)

Answers (1)

nicolae_ciumac
Advisor
Advisor

Hi Ana,

yes, this is the designed and expected behaviour.

It has to do with sequencing of messages, since most of the data is loaded asynchronously, in a so-called staging area and only then, processed from there. So there's no guarantee, that the corporate account will be created first, even if it is sent before the corresponding contact.

In some cases, it might even be that the corporate account data will be replicated later (days after the contact is created); so we decided to create this link in any case, by creating a simple account containing only the origin/id.

So the question is really why do you fill the CompanyId if the account will not be created anyways?

And how will you solve the sequencing issue, if the account will be created later and the contact won't be linked in first place?

Just for the record - you can achieve your desired behaviour by custom logic - by checking the existence of the account (using CDS views) in a BAdI called "Review imported Interaction Contact data", so that if it does not exist you can clear the company id / origin and it won't be created.

Best regards,

Nico