Hi All,

We were facing the below error in one of our standard IFlow Configuration i.e. Cost Center Replication.

com.sap.gateway.core.ip.component.odata.exception.OsciException: Request Payload: Either the OData metadata content available in the server is outdated or the request payload seems to be incorrect = https://<Base_URL>.com/odata/v2 with error => The XML is malformed

It may occurs because of the below two reasons:

  1. Configuration Issue.
  2. Structure is not compatible.

let me explain you in brief that what you need to remember to avoid this error.

  1. Configuration Issue.

In Receiver side, Address parameter is recommended to configure only with base URL , rather than a complete path till https//<Base_URL>/odata/v2. because it will take by default Odata API,so we do not need to configure whole path.

 

 

2) Structure is not compatible.

In Cost Center Replication, flow is starting from ECC end, if ECC-Cloud Platform Integration-Success factor connections are successful, SAP Cloud Platform Integration will receive Outbound XML files and InBound XML files.

You have to match manually the structure of XML after modification in Cloud Platform Integration.

PFB the XML for example :

<FOCostCenter>

  <FOCostCenter>

    <status>Active</status>

    <startDate>Demo Date</startDate>

    <name_defaultValue>Test</name_defaultValue>

    <name>Test</name>

    <externalCode>Demo</externalCode>

    <endDate>Demo Date</endDate>

    <description_defaultValue>Test</description_defaultValue>

    <description>Test</description>

  </FOCostCenter>

</FOCostCenter>

 

Match this XML with your Success Factor-Cost Center Replication Structure.

Navigate->Logon to Success Factor-> Search-> Odata Data Dictionary-> FOCostCenter.

Make sure all fields are visible in your success factor end, if not ask Employee Central team to add the missing fields which is coming from ECC .

Example: description_defaultValue is coming from ECC end but it is not visible in Success Factor.

Hope it will help.

 

Thanks!

Pravesh Shukla

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply