|
While replicating Sourcing Master data from SAP ERP to Ariba Sourcing through Cloud Integration Gateway (CIG) I am getting below error:
Document Failed during HTTP post for Customer XXXXXXXXX-T - Realm Name 111111 with HTTP Response Code :500 and Response Message: FAILED. Suggested Action : HTTP Post to Target system failed and above response message is received . Common HTTP Error Response and their suggestive actions. 500 -> Internal Server Error -> Check in the target system for exact nature of request failure. 400-4XX -> Authentication Issue,Forbidden,Not Found -> check target system provided valid authentication details in CIG or the target service is available,Target System service has right ACL's declared. CIG Error Code : CIG-PLT-04640
Make sure you are sending correct system ID and realm ID in the payload, such as below example:
<Parameter name="realm">
<value>customer_realm</value>
</Parameter>
<Parameter name="systemId">
<value>ERPCLNT123 </value>
</Parameter>
<Parameter name="Solution">
<value>Sourcing</value>
</Parameter>
<Parameter name="SystemId">
<value>ERPCLNT123</value>
</Parameter>
You can check for table ARBCIG_AUTHPARAM to see if you are using correct realm name.
This error happens because the ERP system ID was sent as a realm name in the realm ID parameter. As the ERP system ID is not a valid realm name, the integration fails to find respective endpoint.
This is explained in SAP Ariba Cloud Integration Gateway overview guide.
Strategic Sourcing