SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Connect SAP Web IDE with S/4HANA Cloud System

Expose needed services (scenario SAP_COM_0013) of S/4HANA Cloud system to SAP Web IDE and maintain S/4HANA Cloud system access in SAP Business Technology Platform Subaccount

Overview

🎓 beginner 15 min. ABAP DevelopmentBeginnerABAP Extensibility

You will learn

  • How to create a communication arrangement for SAP Web IDE scenario SAP_COM_0013 in S/4HANA Cloud
  • How to create a HTTP destination to S/4HANA Cloud in SAP Business Technology Platform
  • How to create a UI project in SAP Web IDE
Raz Korn R Raz Korn November 27, 2024
Created by March 21, 2023
Contributors

Prerequisites

Prerequisites

Authorizations: Your user needs

  • a business role with business catalog Communication Management (ID: SAP_CORE_BC_COM) in your S/4HANA Cloud system
  • Administrator access to your SAP Business Technology Platform subaccount
  • Developer access to your SAP Business Technology Platform subaccount’s SAP Web IDE

Steps

Intro

You will learn how to enable SAP Business Technology Platform development with SAP Web IDE against a S/4HANA Cloud system via OAuth authentication. You will see that the communication arrangement for SAP Web IDE scenario SAP_COM_0013 in S/4HANA Cloud will expose essential services, that SAP Web IDE needs. SAP Business Technology Platform subaccount will get a destination which holds data for the connection and OAuth communication with the S/4HANA Cloud system. At the end you will see in SAP Web IDE a list of services that you can theoretically build extensions on.

Regarding the overall trust settings, you will now make your S/4HANA Cloud system trust your SAP Business Technology Platform subaccount.

S/4HANA Cloud trusts SAP Business Technology Platform
S/4HANA Cloud trusts SAP Business Technology Platform

That enables its Web IDE to request data from the S/4HANA system during Custom UI development and finally to deploy that UI to the S/4HANA Cloud system. Both processes are so called inbound requests to the S/4HANA Cloud system.

Authentication and authorization handling during runtime
Authentication and authorization handling during runtime

Additional Information

  • SAP S/4HANA Cloud Release (tutorial’s last update): 1902

Step 1 Connect S/4HANA Cloud with SAP Web IDE

Enter your S/4HANA Cloud system’s Fiori Launchpad and open the Communication Arrangements application from Communication Management.

Open communication arrangements application
Open communication arrangements application

Click New to create a communication arrangement.

Create new communication arrangement
Create new communication arrangement

Select SAP_COM_0013 as scenario, give a name and click Create.

Select SAP_COM_0013as scenario
Select SAP_COM_0013as scenario

Add your communication system to your communication arrangement. Select SCP_DEV with OAuth2.0 as communication system. Be sure that your service status of your launch SAP Web IDE is activated and click Save.

Add communication system
Add communication system

Step 2 Get S/4HANA Cloud OAuth Details
+
Step 3 Connect SAP Web IDE's SAP Business Technology Platform with S/4HANA Cloud
+
Step 4 Test connection from SAP Web IDE to S/4HANA Cloud
+
Step 5 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Connect S/4HANA Cloud with SAP Web IDE 2. Get S/4HANA Cloud OAuth Details 3. Connect SAP Web IDE's SAP Business Technology Platform with S/4HANA Cloud 4. Test connection from SAP Web IDE to S/4HANA Cloud 5. Test yourself

Learn more →