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

WebSocket RFC to Cloud Using SAP Business Connector

Learn how to connect an on-premise system prior to 1909 to cloud using WebSocket RFC.

Overview

🎓 intermediate 40 min. ABAP ConnectivityIntermediateABAP Development

You will learn

  • โœ”How to setup a WebSocket RFC connection from an on-premise system to a cloud system using SAP Business Connector.
Felix Draeger F Felix Draeger February 29, 2024
Created by March 9, 2023
Contributors

Prerequisites

Prerequisites

Steps

Intro

In this tutorial, wherever XXX appears, use a number (e.g. 000).


Step 1 Introduction
โ€”

The following tutorial describes how to establish a connection between an on-premise ABAP system and a cloud-based ABAP system.

Technically, the connection works as follows:

  1. The on-premise ABAP system makes an RFC request for an RFC destination of type T.
  2. At this RFC destination, an SAP Business Connector (SAP BC) is registered. It receives the request, transforms it into a WebSocket/HTTPS-based request and forwards it to the cloud-based ABAP system.
  3. The cloud-based ABAP system processes the request and returns the response back to the SAP BC.
  4. The SAP BC transforms the response back to classic RFC protocol and returns it to the originating on-premise system.

System URL
System URL

SAP BC acts as a middleware between the classic CPIC-based RFC protocol and the WebSocket-based RFC protocol that can be tunneled through firewalls into the cloud without problems.

If the on-premise ABAP System is an S/4HANA version 1909 or newer, the underlying ABAP platform can perform WebSocket RFC calls without any additional component. The business connector is not required in this case.

Step 2 Setting up the source system
+
Step 3 Allow SAP BC to register at the RFC destination
+
Step 4 Communication management in the target system
+
Step 5 Create a communication user in the target system
+
Step 6 Create a communication system
+
Step 7 Create a communication arrangement
+
Step 8 Define connection parameters for the cloud system in SAP BC
+
Step 9 Define connection parameters for the on-premise system in SAP BC
+
Step 10 Define routing for function modules
+
Step 11 Test the connection
+
Step 12 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 12
1. Introduction 2. Setting up the source system 3. Allow SAP BC to register at the RFC destination 4. Communication management in the target system 5. Create a communication user in the target system 6. Create a communication system 7. Create a communication arrangement 8. Define connection parameters for the cloud system in SAP BC 9. Define connection parameters for the on-premise system in SAP BC 10. Define routing for function modules 11. Test the connection 12. Test yourself

Learn more →