🎓beginner⏱15 min.SAP Business Technology PlatformBeginnerSAP S 4hanaSAP S 4hana Cloud
You will learn
✔How to use the existing communication scenario SAP_COM_0190
✔How to add details from the service key generated from SAP BTP to SAP S/4HANA cloud, public edition
✔How to add the details that are captured from SAP BTP in SAP S/4HANA Cloud, public edition [ACCORDION-BEGIN [Step 1: ](Create communication arrangements)] 1. Log on to the SAP S/4HANA Cloud, public edition and search for the Communication Arrangements app. ! 2. Choose New. !Choose New Communication Arrangements App3. Select the communication scenario SAP_COM_0190. !Search for SAP_COM_01904. Enter a name as Z_TEST_SAP_COM_0190 for the arrangement in Arrangement Name and choose Create. !CreateNewComApp>Results: Communication Arrangement has been created, and you’re directed to the communication arrangement page to configure further settings. Stay on the same page and proceed to the next step. [DONE] [ACCORDION-END] [ACCORDION-BEGIN [Step 2: ](Create communication system)] 1. In the Communication Arrangement page that you created in the previous step, choose New and create a New Communication System. !Creating New Comm System2. Enter the System ID as Z_TEST_SAP_COM_0190 and choose Create. !EnterSystemID3. Upon creating the communication system, stay at the same page and navigate to the Technical Data > General. You have already copied the service key from your SAP BTP Subaccount, in the generated service key. Your ecmservice URL would look like this https://api-xyz-gh-gw.cfapps.sap.hana.ondemand.com. Ensure that you copy the URL without the prefix https://. !ECMServiceURL_CopyPaste it in the Host Name. !Enter Technical Data in General Tab4. Enter the Authorization and Token Endpoints under OAuth 2.0 Settings. To enter Authorization Endpoint, copy the authentication URL listed under uaa of your service key. Delete https:// from the URL and add /oauth/ authorize as suffix to the URL. For example, <subaccountname>.authentication.sap.hana.ondemand.com/oauth/authorize. !OAuth25. Enter Token Endpoint, This is the URL that you copied while establishing trust configuration between SAP S/4HANA Cloud, public edition and SAP BTP (You can check Step 4 in Trust Configuration between SAP S/4HANA Cloud, public edition and SAP BTP Subaccount).Ensure that you remove the prefix https:// before pasting it in the field. !Entering TokenEndPoint6. In the Audience field, copy the authentication URL with https:// listed under uaa of your service key. For example, https://<subaccountname>.authentication.sap.hana.ondemand.com. Check Step 2.5 in Create a Service Instance and then a Service Key of SAP Document Management Service, Integration Option. !Audience Field7. Scroll down to the section User for Outbound Communication and choose + Add (plus button) to create new outbound user. !AddOutboundUser8. In the New Outbound User dialog, select OAuth 2.0 in Authentication Method field. Enter client ID that you copied from the service key in the OAuth 2.0 Client ID field. Enter clientsecret that you copied from the service key in the Client Secret field. !NewOutboundUserCreationChoose Create. 9. Save the Communication System. !SavetheCommsystem[DONE] [ACCORDION-END] [ACCORDION-BEGIN [Step 3: ](Enter additional properties)] 1. In the Communication Arrangement you created, in the Additional Properties section, maintain the following details: | Property Name | Property Value | :————- | :————- | File Share ID | ZTEST | File Share Type | 2 | Repository ID | MyTutONBRepo. Ensure that you’ve added the externalID as repo ID that you onboarded while executing the tutorial Create a Repository Using the Onboarding API for Google Drive. Refer to the Step2.4. | Description | For tutorial purposes !AdditionalProperties_comm2. In Outbound Services section, maintain the following details: | Field Name | Value | :————- | :————- | Path | /browser | Port | 443 !OutboundServices_path3. Choose Save. [DONE] [ACCORDION-END]
From the generated service key, you copied the ecmservice URL. Your ecmservice URL would look something like https://api-xyz-dm-gw.cfapps.sap.hana.ondemand.com/.
You’ve copied the clientid, clientsecret, and tokenurl parameters generated in the same subaccount of Cloud Foundry environment where Document Management Service, Integration Option instance is created.
Enter a name as Z_TEST_SAP_COM_0190 for the arrangement in Arrangement Name and choose Create.
!CreateNewComApp
Results: Communication Arrangement has been created, and you’re directed to the communication arrangement page to configure further settings.
Stay on the same page and proceed to the next step.
Step 2Create communication system
+
In the Communication Arrangement page that you created in the previous step, choose New and create a New Communication System.
!Creating New Comm System
Enter the System ID as Z_TEST_SAP_COM_0190 and choose Create.
!EnterSystemID
Upon creating the communication system, stay at the same page and navigate to the Technical Data > General.
You have already copied the service key from your SAP BTP Subaccount, in the generated service key. Your ecmservice URL would look like this https://api-xyz-gh-gw.cfapps.sap.hana.ondemand.com. Ensure that you copy the URL without the prefix https://.
!ECMServiceURL_Copy
Paste it in the Host Name.
!Enter Technical Data in General Tab
Enter the Authorization and Token Endpoints under OAuth 2.0 Settings.
To enter Authorization Endpoint, copy the authentication URL listed under uaa of your service key. Delete https:// from the URL and add /oauth/ authorize as suffix to the URL. For example, <subaccountname>.authentication.sap.hana.ondemand.com/oauth/authorize.
Scroll down to the section User for Outbound Communication and choose + Add (plus button) to create new outbound user.
!AddOutboundUser
In the New Outbound User dialog, select OAuth 2.0 in Authentication Method field.
Enter client ID that you copied from the service key in the OAuth 2.0 Client ID field. Enter clientsecret that you copied from the service key in the Client Secret field.
!NewOutboundUserCreation
Choose Create.
Save the Communication System.
!SavetheCommsystem
Step 3Enter additional properties
+
In the Communication Arrangement you created, in the Additional Properties section, maintain the following details:
Share feedback on this tutorial or join the conversation in SAP Community.
Submit detailed feedbackDiscuss in Community
Steps
Step 1 of 3
1. Create communication arrangements2. Create communication system3. Enter additional properties
Joule
AI Notice
Joule is an AI assistant. Generative AI may produce inaccurate, incomplete, or biased information. Always verify important details before acting on them.
Conversations are sent to SAP-hosted large language models for processing. Do not include personal data, credentials, or confidential information in your messages.
Joule's responses are based on the SAP tutorial catalog and may not reflect the latest product changes. For authoritative guidance, consult the linked tutorials and official SAP documentation.