When posting data using the API Business Partner - Replicate from Client to SAP S/4HANA Cloud, you receive the below error:
Receiver for Sender Business System ID YYYYY could not be determined
where YYYYY represents the System ID of the Sender system
SAP S/4HANA Cloud
Reproducing the Issue
Example of the setting maintained in the Communication Arrangement:
- Go to the app Communication Arrangement
- Arrangement Name : Business Partner, Customer and Supplier Integration
- Scenario ID : SAP_COM_0008
- Scenario : Business Partner, Customer and Supplier Integration
- Own System: Example2
- API-URL: https://myxxxxxx-api.s4hana.ondemand.com
- Communication System : ZZZZZ
- Select Display
- System ID: ZZZZZ
- System Name: ZZZZZ
- Host Name: myxxxxxx-api.s4hana.ondemand.com
- Logical System: Example2
- Business System: Example2
- Port: 443
Where ZZZZZ represents an example of a system
To perform the POST call:
- Login to the third-party tool
- Perform a POST operation for the API Business Partner - Replicate from Client to SAP S/4HANA Cloud
Example of the query:
where xxxxxx represents the tenant URL of the S/4HANA cloud system
Sample Request Payload as below:
The Business System in the Communication System configuration is not the same as the SenderBusinessSystemID in the request payload.
You may verify the Business System ID maintained in the app Communication System.
Business System which is maintained in the Communication System configuration must match the SenderBusinessSystemID in the request payload. In the field SenderBusinessSystemID maintain the value from the field Business System from your Communication System ZZZZZ. With your current configuration this would be Example2 for both fields SenderBusinessSystemID and RecipientBusinessSystemID.
In case you want to simulate this behaviour, use a different name for the Logical system/Business system of the Sender system. This is because in a real setup it is not feasible to replicate between the same Sender and Target.
Further, in the Communication Arrangements app, for SAP_COM_0008 you have to ensure that the Business Partner - Send Confirmation from SAP S/4HANA Cloud to Client checkbox is activated.
Business Partner, API Business Partner, API_Business_Partner, SAP_COM_0008, Communication System, SenderBusinessSystemID, RecipientBusinessSystemID, Sender system, Receiver system, Communication Arrangement, Logical System, Business System, Receiver for Sender Business System ID , KBA , LO-MD-BP-WS , Web Service for Business Partner , Problem