| |||||||||
While I replicate Sourcing Master data from SAP ERP to SAP Ariba Sourcing through SAP Integration Suite, managed gateway for spend management and SAP Business Network I get the 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 Managed Gateway for Spend&Network or the target service is available,Target System service has right ACL's declared. Managed Gateway for Spend&Network Error Code : CIG-PLT-04640
Managed Gateway for Spend&Network
This error happens because the document has the ERP system ID as the realm name in the realm ID parameter. As the ERP system ID is not a valid realm name, the integration fails to find the respective endpoint.
Correct the system ID and realm ID in the payload, such as the example below:
<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 the correct realm name.
This is explained in SAP Integration Suite, managed gateway for spend management and SAP Business Network overview guide.
SAP Help > SAP Integration Suite, Managed Gateway for Spend Management and SAP Business Network > SAP Integration Suite, Managed Gateway for Spend Management and SAP Business Network Overview Guide > Working with Master Data > Import Master Data for SAP Ariba Sourcing and SAP Ariba Contracts > Prerequisites
SAP Integration Suite Managed Gateway > Managed Gateway for Master Data > Managed Gateway for Sourcing - Master Data