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
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
-
and an Open Network Connection to your SAP System
You will find the Connection Details in your SAP Logon Mask
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 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.