Skip to Content
test
0 %
Create OAuth communication system and user
Details
// Explore More Tutorials

Create OAuth communication system and user

04/20/2018

Create a communication system and generate a system user within the communication system.

You will learn

  • How to create a OAuth communication system and user
  • How to specify the SAP Web IDE link from SAP Cloud Platform
  • How to upload the certificate

This tutorial focuses on creating an OAuth communication systems. To create such an OAuth communication system, you must insert the link address from SAP Cloud Platform, add your host name, edit and upload a certificate so that the S/4HANA system trusts your SAP Cloud Platform subaccount.


Step 1: Open communication system application

Navigate to Communication Systems tile to start the application.

Open communication system application
Step 2: Create communication system

Create a new communication system by clicking New.

Create communication system
Step 3: Add system ID and system name

By adding a system ID, system name and clicking Create, you are able to register a new communication system.

Add system ID and system name
Step 4: Copy link address

Switch back to your SAP Cloud Platform cockpit, go to Services and select SAP Web IDE. Copy the link address of Go to Service. This will be needed in the creation process of the communication system.

Copy link address
Step 5: Add host name

Add your host name. This information can be found on SAP Cloud Platform. It corresponds to the link address copied from Step 4 of this tutorial.

Add host name
Step 6: Add inbound communication user to system

Click + to add a user for inbound communication. Inbound communication means that the here defined system is used from a communication partner to call from external into the S/4HANA system. Doing this, the user that will be added next has to be used to get authorized.

Add inbound communication user to system
Step 7: Create communication user

Click New User to create one.

Create communication user
Step 8: Add user data and password

Enter a user name and description for your user. Give your user a password and click Create.

Add user data and password
Step 9: Confirm user to add

The new user will be generated by clicking OK.

Confirm user to add
Step 10: Get SAP Cloud Platform subaccount's metadata

Switch to your SAP Cloud Platform subaccount. Open trust settings and download the metadata by clicking Get Metadata. Also copy the local provider name for later use.

Get SAP Cloud Platform subaccount’s metadata
Step 11: Create certificate from metadata

Take your downloaded metadata file from SAP Cloud Platform and open it with an editor of your choice.

  1. Copy the code between both tags in another file.
    Create certificate from metadata
  2. Add also the begin and end tag to your copied code:
          -----BEGIN CERTIFICATE-----
               your_copied_code
          -----END CERTIFICATE-----
    
    
  3. Save your changes as .cer file.
Step 12: Upload signing certificate to communication system

Go back to your SAP S/4HANA Cloud system and open your created communication system draft. Edit your draft and enable it for OAuth 2.0 by checking the enabled box. Then upload the certificate by clicking upload signing certificate. Enter the provider name, which is the subaccount’s local service provider’s name. You copied it a few steps before. Click Save.

Upload signing certificate to communication system

With this step, you’ve uploaded your certificate to your communication system. Now your S/4HANA system trusts your SAP Cloud Platform subaccount.

Next Steps

Back to top