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

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

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

Overview

🎓 intermediate 30 min. ABAP DevelopmentIntermediateSAP BTP ABAP EnvironmentSAP Business Technology PlatformSAP S 4hana Cloud 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
  • βœ”IMPORTANT: This tutorial cannot be completed on a trial account. If you want to explore some of the concepts of this mission on a trial account, using OData or SOAP rather than RFC, see the following workshop: SAP BTP, ABAP Environment: Connectivity and Integration 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
    step0-overview-2402
Julie Plummer J Julie Plummer November 12, 2024
Created by November 16, 2023
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Test yourself
β€”

Step 2 More Information
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Test yourself 2. More Information

Learn more →