cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Customfields

former_member536943
Participant
0 Kudos

Hello,

we have created a custom field in SAP Marketing Cloud.

It is called partner type. This partner type is a standard field in CRM on premise.
We got informed that the partnertype is not standard in yMKT and therefore we have created the before mentioned customfield.

Now we have released this custom field and it is available unter the SAP CRM ID Origin at the contact.

Now we need to do a mapping between the SAP CRM IDOC and the SAP Marketing Cloud IDOC structure in the SAP CPI but I do not know how to get in the YY1_PARTNERTYPE in the batch Parts Structure

Can you please share me your experience?

BR christof

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Christof,

Below are the few steps which might help you.

Step #1:

Navigate your IFlow and click on Resources.

Step #2:

Download the XSD schema used as target message in Message Mapping and add the below XML tag [ Sample One ]to place where you wanted inside the target structure.Upload the updated Schema in resource tab.

<xs:element nillable="true" minOccurs="0" maxOccurs="unbounded" name="YY1_PARTNERTYPE">
	<xs:simpleType>
		<xs:restriction base="xs:string" xmlns="">
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>

Step #3:

Perform the below update then you will get a new field at target side and map the source field with respective target.

Step #4:

Update the new field in communication channel like below.

Then you are good to go with IFlow deployment.

Other way around is generating the Schema directly from communication channel in which you can avoid Step #2 by following below blog .

https://blogs.sap.com/2014/12/04/odata-adapter-in-sap-hana-cloud-integration-sap-hci/

Hope it helps..!!

Regards,

Sriprasad Shivaram Bhat

Answers (0)