Skip to Content

Get Data from a Remote System Using a Remote Function Call (RFC): Scenario

Requires Customer/Partner License
Get data from an on-premise system, such as a SAP S/4HANA System, by calling a Remote Function Module in SAP BTP ABAP Environment
You will learn
  • How to create a secure RFC connection between your SAP BTP, ABAP Environment and an on-premise SAP System, e.g. SAP S/4HANA
  • How to test the connection using an ABAP handler class
julieplummer20Julie PlummerNovember 12, 2024
Created by
julieplummer20
January 18, 2024
Contributors
julieplummer20

Prerequisites

This tutorial mission was written for SAP BTP ABAP Environment. However, you should also be able to use it in SAP S/4HANA Cloud Environment in the same way.

Throughout this tutorial, replace 000 with your initials or group number.

The challenge:

There are two challenges when setting up connectivity between the SAP BTP, ABAP Environment and an on-premise ABAP System:

  • The ABAP Environment is generally located in front of any firewall, but customer on-premise systems are generally behind it
  • Remote Function Call (RFC) is not internet-enabled

The solution:

Set up a secure connection from the on-premise system to the SAP BTP, ABAP Environment.
Technically:

  1. SAP Cloud Connector opens a tunnel connection to the ABAP environment tenant using its public tenant URL
  2. After the tunnel is established, it can be used for actual data connection using the RFC or HTTP(S) protocols.
step0-overview-2402
Back to top