Symptom
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
Environment
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:
https://myxxxxxx-adm.s4hana.ondemand.com/sap/bc/srt/scs_ext/sap/businesspartnersuitebulkreplic?MessageId=${=java.util.UUID.randomUUID()}
where xxxxxx represents the tenant URL of the S/4HANA cloud system
Sample Request Payload as below:
<?xml version="1.0"?>
<glob:BusinessPartnerSUITEBulkReplicateRequest xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<BusinessPartnerSUITEReplicateRequestMessage>
<MessageHeader>
.
.
.
<SenderBusinessSystemID>Example1</SenderBusinessSystemID>
<RecipientBusinessSystemID>Example2</RecipientBusinessSystemID>
</MessageHeader>
.
.
.
.
</BusinessPartner>
</BusinessPartnerSUITEReplicateRequestMessage>
</glob:BusinessPartnerSUITEBulkReplicateRequest>
Cause
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.
Resolution
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.
Keywords
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