Simplifier Makers ClubSimplifier Makers Club
  • Docs
  • Knowledge
  • F.A.Q
  • Forum
  • Courses
  • Marketplace
  • Pricing
  • Login
  • Try for free
  • German
  • English
  • Try for free
  • Docs
  • Knowledge
  • F.A.Q
  • Forum
  • Courses
  • Marketplace
  • Pricing
  • Login
  • Try for free
  • German
  • English
  • Try for free
home/Knowledge Base/Integrations/How to integrate SAP ERP (via SAP RFC)

How to integrate SAP ERP (via SAP RFC)

Written by Christian Kleinschroth
May 3, 2024

Goal of this Tutorial

Before we start, let me give you an overview of the ways we can integrate SAP. We currently offer 3 different types of connectors

  • Native SAP RFC (Remote Function Call)

  • SOAP Webservices

  • OData V2

In this Tutorial we will use the SAP RFC Connector, which is our most used Connector for SAP Integration. It is simple and versatile but also works with any SAP onPremise System ensuring maximum integrability.

Subscribe to our YouTube Channel

Prerequisites

To establish a successful connection to your SAP system, you need to know the following details:

  • the IP Address of the SAP Application Server,

  • the Instance Number,

  • the System ID

  • and optional: a SAP Router or Message Server

  • The SAP Username and Password with respective permissions

  • and an Open Network Connection to your SAP System

You will find the Connection Details in your SAP Logon Mask

For executing the RFC Wizard, your SAP User needs the following rights in SAP:

  • S_RFC with Function Module RFC_READ_TABLE
  • Permission to read the following tables TAPLT, TFDIR, TFTIT

Be aware:

The SAP Application Server needs to be reachable from your current Simplifier Installation. So, consider to open firewalls and check other security measurements in your SAP Network that might interfere with your access.

Step 1 – Create a SAP System

Now let’s start with going to the Overview for Connectors, clicking on the SAP System tab, and creating a new SAP System.

First, we need to give our new SAP System a name and a description.

The option for Connection type is custom application server, which is already selected.

  • Fill in the SAP System ID
  • Copy and Paste the Instance Number. In our case that’s 00.
  • Fill in the Client Number, which for us is 800
  • For our System we have a router to access it via internet
  • Copy and paste the router address from the SAP Logon Information our your SAP Basis Team
  • And last but not least the IP Address of the SAP Application Server itself
  • To set the Default Logon Language, fill out the Language Field under Language Tab.

To finish the Action, we click Save and Test so we can test the reachability. Note: if the SAP System is not reachable, either the address is wrong or the network cannot be reached.

Great. Now we successfully created our System!

Step 2 – Create a Login Method

Now let’s create the backend Authentication via a Technical SAP User.

Go to the Login Overview and add a new Login method.

Create a new Username and Password Login Method. In our case, SAPD4TechnicalUser and fill out the associated Authentication Credentials.

Step 3  – Create a RFC Connector

Ok, with all the prerequisites defined, we are now creating a new SAP RFC Connector for reading a list of assets of a plant. In SAP terms this is called functional locations. We are giving the connector the name SAP Assets.

For our active endpoint we are choosing the custom option. We are selecting our SAP System. The Connection pool is already configured correctly. For our login method, we are selecting our previously created login method.

Step 4  – Create a Connector Call

The SAP RFC Connector uses the official SAP function for reading the list of assets.

Our Connector Wizard automatically creates the connector call for said function module, which represents the operation of the data source.

for that, we just need to search for the name of the needed function module BAPI_FUNCLOC_GETLIST. The Wizard guides you through the rest of the required steps.

Step 5  – Test a Connector Call

After creating the call we need to test the call to ensure it works properly.

We want to read all assets of our fictional plant in Munich. This plant has the ID 1000.

So we add a new selection parameter with the Option EQ , which stands for equal.

The ID of the plant has to be set as the parameter Low and the Sign needs to be i for include.

With all the required parameters set, we can now test our connector call.

Tags:sap-rfcsapintegration

Was this article helpful?

Yes  No
Related Articles
  • Fine-tuning and Running Custom AI Models in Simplifier
  • Using the Simplifier Teams App
  • Creating a ChatBot Client for ChatGPT
  • REST: Use a CSRF Token and a Cookie to authorize Requests
  • Dynamic where-clause and repeatable statement
  • How to Use Data Services and ODataV4 REST
Leave A Comment Cancel reply

You must be logged in to post a comment.

Integrations
  • How to integrate SAP ERP (via SAP RFC)
  • Identity Provider Setup
  • How to create a REST Connector
  • Create an ODataV2 Connector
  • How to Use Data Services and ODataV4 REST
  • Dynamic where-clause and repeatable statement
  • REST: Use a CSRF Token and a Cookie to authorize Requests
  • Creating a ChatBot Client for ChatGPT
  • Using the Simplifier Teams App
  • Fine-tuning and Running Custom AI Models in Simplifier
Knowledgebase Categories
  • Getting Started 4
  • Best Practices 4
  • How to's 27
  • Layout & Design 4
  • Widgets 8
  • Cloud Services 6
  • Database Handling 1
  • Integrations 10
  • Plugins 6
  • Mobile Client 2

  Using the Simplifier Teams App

Creating a ChatBot Client for ChatGPT  

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.