SAP Knowledge Base Article - Public

3220190 - Error “Receiver for Sender Business System ID Could Not be Determined” While Performing a POST Call with the API Business Partner

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: 

  1. Go to the app Communication Arrangement
  2. Arrangement Name : Business Partner, Customer and Supplier Integration
  3. Scenario ID : SAP_COM_0008
  4. Scenario : Business Partner, Customer and Supplier Integration
  5. Own System: Example2
  6. API-URL: https://myxxxxxx-api.s4hana.ondemand.com
  7. Communication System : ZZZZZ
  8. Select Display
  9. System ID: ZZZZZ
  10. System Name: ZZZZZ
  11. Host Name: myxxxxxx-api.s4hana.ondemand.com
  12. Logical System: Example2
  13. Business System: Example2
  14. Port: 443

 Where ZZZZZ represents an example of a system  

 

To perform the POST call:

  1. Login to the third-party tool
  2. 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

Product

SAP S/4HANA Cloud all versions