Symptom
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
You are receiving the error message below when executing the standard Boomi process for Replicating Cost Centers from SAP ERP to Employee Central, Packaged Integration: ERP to EC Cost Center Replication v2.0:
{
"d": [
{
"key": null,
"status": "ERROR",
"editStatus": "UPSERTED",
"message": "unknown property cust_toCompany for FOCostCenter",
"index": 0,
"httpCode": 400,
"inlineResults": null
}
]
}
This KBA is also applicable for the CPI process SAP ERP or SAP S/4HANA Integration with SAP SuccessFactors Employee Central: Cost Center.
Environment
- SAP SuccessFactors HXM Suite
- Boomi
- SAP Cloud Integration (formerly called CPI)
Reproducing the Issue
- In SuccessFactors, define a custom navigation field "cust_toCompany" with Company as Destination Object under Admin Center > Configure Object Definitions > Cost Center, as below:
- In Boomi, go to Atom Management > Environment Extensions, and define the value for the process property "COMPANY_ID_TARGET_FIELD" as below:
- Execute the process
- The above value will be passed in the Upsert payload sent to SF:
"cust_toCompany": "1001" - Error occurs
Cause
The parameter COMPANY_ID_TARGET_FIELD supports only fields (custom field) and does not support associations (navigations) - this is explained in the handbook pages below:
In those pages, the following statement can be found under COMPANY_ID_TARGET_FIELD explanation: The custom field must not be a navigation field.
Since "cust_toCompany" is defined as an association to Company object, the "unknown property" error message is returned.
Resolution
Kindly create a custom field (not an association) in Cost Center object and specify this custom field name in COMPANY_ID_TARGET_FIELD parameter.
See Also
Keywords
unknown property cust_toCompany for FOCostCenter, Cost Center Integration failing, Unable to update Cost Centers in EC, Standard Cost Center iFlow in Boomi not updating the Cost Centers in EC, cpi, SAP Cloud Integration, Boomi, EC, Employee Central, company code, idoc, erp, ecc, successfactors, SF, custom, field, association, navigation, transfer, transferred, COMPANY_CODE_ID, custom field , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-BOM , Standard SF to 3rd Party Boomi Content , LOD-SF-INT-CPI , Standard SF to 3rd Party CPI (HCI) Content , Problem
SAP Knowledge Base Article - Public