SAP Knowledge Base Article - Public

2458907 - Updating fields through PostReference API-Onboarding

Symptom

  • Subset fields(ex:Address ,city,company) inside the corporate structure is not updated properly via PostreferenceFile API.

Environment

  • Applicable To All DataCenters.
  • API
  • Onboarding.

Resolution

  • Xml file should follow the XSD format.
  • Below is the correct format of xml file and only below fields can be updated in corporate structure.

File Format:

<?xml version="1.0" encoding="utf-8"?>
<ReferenceFiles xmlns="http://online-onboarding.com/ImportRF.xsd">
  <Company>
    <ClientCode>Testt_Company</ClientCode>
    <ATSCode>TestATS1_Company</ATSCode>
    <Name>Testing_Company</Name>
  </Company>
  <Division>
    <ClientCode>Testing_Division</ClientCode>
    <ATSCode>TestATS1_Division</ATSCode>
    <Name>Testing_Division</Name>
    <CompanyCode>Testing_Company</CompanyCode>
  </Division>
  <Location>
    <ClientCode>Testing_Location</ClientCode>
    <ATSCode>TestATS1_Location</ATSCode>
    <Address>Testing_Location</Address>
    <State>Karnataka</State>
    <City>Bangalore</City>
    <Zip>560078</Zip>
    <DivisionCode>Testing_Division</DivisionCode>
  </Location>
  <Department>
    <ClientCode>Testing_Dept</ClientCode>
    <ATSCode>TestATS1_Department</ATSCode>
    <Name>Testing_Dept</Name>
  </Department>
  <Job>
    <ClientCode>Testing_Dept</ClientCode>
    <ATSCode>TestATS1_Department</ATSCode>
    <Name>Testing_Dept</Name>
  </Job>
  <LocationDepartment>
    <LocationCode>Testing_Dept</LocationCode>
    <DepartmentCode>TestATS1_Department</DepartmentCode>
  </LocationDepartment>
  <DepartmentJob>
    <DepartmentCode>Testing_Dept</DepartmentCode>
    <JobCode>TestATS1_Department</JobCode>
  </DepartmentJob>
</ReferenceFiles>

  • if we want to update custom fields via postreferencefile API is not possible since custom fields is not supported in xsd.

  • If we add additional corporate structure levels structure,then Updating via API is not possible.

  • Additional corporate structure is solely related to that customer then it won't be supported

Keywords

  • Onboarding
  • API
  • Corporate structure through API.
, KBA , LOD-SF-OBD-API , Webservices & API's , How To

Product

SAP SuccessFactors Onboarding all versions