title | description | services | author | manager | documentationcenter | ms.assetid | ms.service | ms.devlang | ms.topic | ms.tgt_pltfrm | ms.workload | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Connect to an on-premises SAP system in Azure Logic Apps | Microsoft Docs |
Connect to an on-premises SAP system from your logic app workflow through the on-premises data gateway |
logic-apps |
padmavc |
anneta |
logic-apps |
na |
article |
na |
na |
02/01/2017 |
LADocs; padmavc |
The on-premises data gateway enables you to manage data, and securely access resources that are on-premises. This topic shows how you can connect logic apps to an on-premises SAP system. In this example, your logic app requests an IDOC over HTTP and sends the response back.
Note
Current limitations:
- Your logic app times out if all steps required for the response don't finish within the request timeout limit. In this scenario, requests might get blocked.
- The file picker does not display all the available fields. In this scenario, you can manually add paths.
-
Install and configure the latest on-premises data gateway version 1.15.6150.1 or newer. How to connect to the on-premises data gateway in a logic app lists the steps. The gateway must be installed on an on-premises machine before you can proceed.
-
Download and install the latest SAP client library on the same machine where you installed the data gateway. Use any of the following SAP versions:
-
SAP Server
- Any SAP Server that support the .NET Connector (NCo) 3.0
-
SAP Client
- SAP .NET Connector (NCo) 3.0
-
The SAP connector has actions, but not triggers. So, we have to use another trigger at the start of the workflow.
-
Add the Request/Response trigger, and then select New step.
-
Select Add an action, and then select the SAP connector by typing
SAP
in the search field: -
Select SAP Application Server or SAP Message Server, based on your SAP setup. If you don't have an existing connection, you are prompted to create one.
-
Select Connect via on-premises data gateway, and enter the details for your SAP system:
-
Under Gateway, select an existing gateway, or to install a new gateway, select Install Gateway.
-
After you enter all the details, select Create. Logic Apps configures and tests the connection, making sure that the connection works properly.
-
-
Enter a name for your SAP connection.
-
The different SAP options are now available. To find your IDOC category, select from the list. Or manually type in the path, and select the HTTP response in the body field:
-
Add the action for creating an HTTP Response. The response message should be from the SAP output.
-
Save your logic app. Test it by sending an IDOC through the HTTP trigger URL. After the IDOC is sent, wait for the response from the logic app:
[!TIP] Check out how to monitor your Logic Apps.
Now that the SAP connector is added to your logic app, start exploring other functionalities:
- BAPI
- RFC
To ask questions, answer questions, and learn what other Azure Logic Apps users are doing, visit the Azure Logic Apps forum.
To help improve Azure Logic Apps and connectors, vote on or submit ideas at the Azure Logic Apps user feedback site.
- Learn how to validate, transform, and other BizTalk-like functions in the Enterprise Integration Pack.
- Connect to on-premises data from logic apps