Create OAuth Communication System and User

You will learn

  • How to create a communication system and user in S/4HANA Cloud for SAP Web IDE
  • How to enable this communication system for OAuth

This tutorial focuses on creating an OAuth communication system. 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

完成

Log on to answer question

Step 2: Create communication system

Create a new communication system by clicking New.

Create communication system

完成

Log on to answer question

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

完成

Log on to answer question

Step 4: Get SAP Web IDE URL

Switch to your SAP Cloud Platform cockpit, go to Services and select SAP Web IDE. Copy the link address of Go to Service, paste it to some text editor and remove https:// from that SAP Web IDE’s URL. This will be needed in the creation process of the communication system.

Get SAP Web IDE URL

完成

Log on to answer question

Step 5: Set SAP Web IDE URL as host name

Switch back to the communication system maintenance in SAP S/4HANA Cloud system. Set SAP Web IDE’s URL without https:// that you got before as Host Name of the communication system.

Set SAP Web IDE URL as host name

[DONE]

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

完成

Log on to answer question

Step 7: Create communication user

Click New User to create one.

Create communication user

完成

Log on to answer question

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

完成

Log on to answer question

Step 9: Confirm user to add

The new user will be generated by clicking OK.

Confirm user to add

完成

Log on to answer question

Step 10: Get SAP Cloud Platform subaccount's signing certificate

Switch to your SAP Cloud Platform subaccount. Open trust settings, copy all data from the Signing Certificate field ( in windows: click inside and press CTRL+a) and paste it to some text editor.

Get SAP Cloud Platform subaccount’s signing certificate

完成

Log on to answer question

Step 11: Create certificate file

  1. In the text editor file that you pasted SAP Cloud Platform subaccount’s signing certificate into before, add a line with value “-----BEGIN CERTIFICATE-----” in front of the <SIGNING_CERTIFICATE> and a line with value “-----END CERTIFICATE-----” after.

    swift

    Copy

        -----BEGIN CERTIFICATE-----
             <SIGNING_CERTIFICATE>
        -----END CERTIFICATE-----
    
  1.  
  2. Save your changes as .cer file.

完成

Log on to answer question

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. Take the provider name from the CN attribute of the Signing certificate subject, that appears after upload and enter it as the provider name. 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.

完成

Log on to answer question

Step 13: Test yourself

Where do you get the link for your host name? communication system communication arrangement Go to service (SAP Cloud Platform)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值