Jump to content

Using Logic App Standard to connect to SAP


Recommended Posts

Guest siddharth
Posted

1. Overview:

 

 

SAP Connector (25x25vv2.png.eabc9a6f536858d082b47cce9d11157c.png) is a Enterprise connector which provides a set of actions and triggers to connect to your SAP Service. Ref: SAP - Connectors | Microsoft Learn

 

The SAP connector supports the following message and data integration types from SAP NetWeaver-based systems:

 


  • Intermediate Document (IDoc)
     
     

  • Business Application Programming Interface (BAPI)
     
     

  • Remote Function Call (RFC) and Transactional RFC (tRFC)
     

 

The SAP connector uses the SAP .NET Connector (NCo) library.

 

To use the available SAP trigger and SAP actions, you need to first authenticate your connection. You can authenticate your connection with a username and password. The SAP connector also supports SAP Secure Network Communications (SNC) for authentication. You can use SNC for SAP NetWeaver single sign-on (SSO), or for additional security capabilities from external products.

 

2. Connecting and Creating a Workflow:

 

  1. Create a new Logic App Standard. Ref: Create Standard workflows in single-tenant Azure Logic Apps with the Azure portal - Azure Logic Apps | Microsoft Learn
  2. Upload all required SAP Private DLLs as Client/SDK Assembly (.NET Framework).
    largevv2px999.jpg.ded1af16e9ec247c25e71dfbbb13d9c9.jpgAll SAP Libraries (like sapnco.dll, sapnco_utils.exe, libicudecnumber.dll) were uploaded to Assemblies.
  3. Add an SAP Action to the workflow.
    mediumvv2px400.jpg.68b0f4dbbc11c429fed563d624ef3141.jpgmediumvv2px400.jpg.d431f8b5c3a2de11a0745beb2978552d.jpg
  4. Create a connection (Refer Section 2.2) and run the workflow.
    largevv2px999.jpg.8c037002379a2b92acd7211e6ced4426.jpg

2.2 Creating SAP Connections:

 

2.2.1 Using Username and Password:

 

  1. You can create a simple Username and Password connection by selecting 'Auth Type' as 'Basic' and providing required fields in 'Add Connection' pane.
    largevv2px999.jpg.29df6414627fad89b8b802ad0d20b3bd.jpg
  2. Then click Create.

2.2.2 Using SNC

 

  1. You can create a SNC connection by selecting 'Auth Type' as 'Logon Using SNC' and providing required fields in 'Add Connection' pane.
    largevv2px999.thumb.jpg.e08d361bcac28d938da1ba936a425d6d.jpg
  2. For SNC to work properly, you need to upload SAP Libraries namely (sapcrypto.dll, sapgenpse.exe, slcryptokernel.dll) using Assemblies pane in Azure portal.
    largevv2px999.jpg.f396e8e23500af6b569e0711b587015a.jpg
  3. For SNC Partner Name, enter the backend's SNC name. For example, p:CN=DV3, OU=LA, O=MS, C=US.
  4. For SNC Certificate, enter your SNC client's public certificate in base64-encoded format. Don't include the PEM header or footer. Don't enter the private certificate here because the PSE might contain multiple private certificates, but this SNC Certificate parameter identifies the client certificate that must be used for this connection.
  5. Configure PSE settings. For PSE, enter your SNC PSE as a base64-encoded binary.

    1. The PSE must contain the private client certificate, which thumbprint matches the public client certificate that you provided in the previous step.
    2. The PSE may contain additional client certificates. We recommend however that you create separate Workflow applications if you intend to authenticate with different client certificates.
    3. The PSE must have no PIN. If needed, set the PIN to empty using the SAPGENPSE utility.

[*]Then click Create.

 

NOTE: SAP Connector is in Preview and doesn't guarantee SLA and Latency requirements.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...