Connect to Your On-Premise System from SAP BTP, ABAP Environment Using RFC
Requires Customer/Partner License
Intermediate
30 min.
Call a remote function module located in an on-premise system, such as a SAP S/4HANA System, from the 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. This class will retrieve system information using a Remote Function Call (RFC),
RFC_GET_SYSTEM_INFO
Prerequisites
- You have set up SAP Business Technology Platform (BTP), ABAP Environment, for example by using the relevant booster: Using a Booster to Automate the Setup of the ABAP Environment
- Tutorial: Set Up SAP BTP, ABAP Environment and create Your First Console Application, for a licensed user, steps 1-2
- You have a user in an ABAP on-premise system. Examples of such on-premise systems include:
- You have connected SAP Cloud Connector, to your BTP subaccount
- You have assigned the business catalog `
**SAP_CORE_BC_COM** in a business role assigned to your user, e.g. **SAP_BR_ADMINISTRATOR (Administrator)`; you will need it to create communication artifacts - You may need to define the relevant homepage structure that should be exposed to the launchpad. In Manage Launchpad Settings, set the relevant value for EXPOSURE_HOMEPAGE_STRUCTURE. See Manage Launchpad Settings
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 ### or 000 with your initials or group number.
This tutorial is part of a mission, Get Data from an On-Premise System Using a Remote Function Call - RFC. Make sure you have fulfilled the prerequisites in the previous tutorial and that you follow each tutorial in order.
Introduction
To learn more about this scenario, see the tutorial: Get Data from a Remote System Using a Remote Function Call (RFC): Scenario


















