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

Successfactors to CPI

rohit0418
Explorer
0 Kudos
1,079

Hi All,

Need to pull data from Successfactors through CPI and i want to updated the data into successfactors.

able to get the data from SFSF and failing in CPI payload.

Encoding: UTF-8

<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"><entry><content type="application/xml"><m:properties><d:key m:null="true"></d:key><d:status>ERROR</d:status><d:editStatus m:null="true"></d:editStatus><d:message>externalCode is a required field/association in Object Senior Manager Lookup.</d:message><d:index m:type="Edm.Int32">0</d:index><d:httpCode m:type="Edm.Int32">500</d:httpCode><d:inlineResults m:type="Bag(SFOData.UpsertResult)"></d:inlineResults></m:properties></content></entry><entry><content type="application/xml"><m:properties><d:key m:null="true"></d:key><d:status>ERROR</d:status><d:editStatus m:null="true"></d:editStatus><d:message>externalCode is a required field/association in Object Senior Manager Lookup.</d:message><d:index m:type="Edm.Int32">1</d:index><d:httpCode m:type="Edm.Int32">500</d:httpCode><d:inlineResults m:type="Bag(SFOData.UpsertResult)"></d:inlineResults></m:properties></content></entry></feed>

How to fix this one can anyone help me.

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Rohit,

As per the error it clearly states you need to have below

externalCode is a required field/association in Object Senior Manager Lookup

In successfactors goto Odata API data dictionary.Navigate to entity you are looking for and look out for this field.If it of type Picklist check with your SFSF consultant to give your export of Picklist and then use externalCode value of the field which you want to pass.

Regards,

Sriprasad Shivaram Bhat

Answers (1)

Answers (1)

hopefbest1
Explorer
0 Kudos

hello

Can I ask a question?

Regarding the following attribute "m:null="true"", How to define the XSD file to generate the XML data with this attribute inside SAP CPI, or What should I do to generate the XML data with this attribute?

<d:key m:null="true"></d:key>

<d:editStatus m:null="true">

best Regards.

hopefbest.

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Yu,

Appreciate if you could raise a new question and will try to help you.

Regards,

Sriprasad Shivaram Bhat