Looply Academy
  • Getting Started
    • What is Looply?
    • Deployment Models
  • System Requirements
  • SAP Integration: ABAP Add-on & Access
  • Security & Identity - What IT Teams Need to Know
  • Authenticating Teams User Actions to Enterprise Systems
  • Signing Up & Onboarding Your Team
  • Looply Implementation Plan
  • Looply Integration Demos
  • Integrations
    • Microsoft Integration
    • SAP Integration
      • Installing the ABAP Looply Add-On
        • Gateway Service Setup - Single System
        • Gateway Service Setup - Hub scenario
      • Triggering or Resuming a Looply Workflow from SAP
      • Triggering SAP code from Looply
      • SAP Workflow Integration
      • Varo/Stelo Integration
      • SSL & IP address
      • SSO Authentication
  • App Management
    • Building Apps
    • Deploying apps to Teams App catalog
      • Looply Dashboard
      • Manual Installation
    • Installing Looply Apps
    • Uninstall/Update Looply Apps
    • Teams Admin center
  • Adaptive Cards
    • Building Adaptive Cards
      • Container Elements
      • Content Elements
      • Input Elements
      • Actions
    • Data Binding
    • Conditional Rendering
    • AI Assistant
    • Inline Functions
  • Workflows
    • Building Workflows
    • Triggering Workflows
    • Environment Variables & Profiles
    • Versioning Workflows
    • Using HTTP Requests
    • Using Functions
    • Using Conditionals
    • Using Branch Conditionals
    • Using Advanced Conditionals
    • Using Integrations
      • Adaptive Card Actions
      • SAP Requests
    • Using Redirects
    • Using Override Payload
    • Terminating Workflows
  • Data Vault
    • Variable Datastores
  • Monitoring & Logs
    • Monitoring Workflows
    • Error Notifications
  • API REFERENCE
    • Developer API Overview
    • Workflow API
    • Adaptive Card API
  • Team Management
    • Managing Organisations
    • Team Roles and Permissions
  • Resources
    • JavaScript Libraries
  • Tutorials
    • Creating MS Teams Apps
    • Designing Workflows
    • Building Adaptive Cards
    • Adaptive Cards with AI
    • Examining Workflow Executions
  • Support
    • Changelog
    • Contacting Support
Powered by GitBook
On this page
  • Create RFC Destination
  • Create SAP System Alias
  • Maintain SAP Gateway Settings
  • Activate SAP Gateway
  • Create Package
  • Add Service
  • oData Service Authorization
  • Transport changes
  • Activate sicf node
  1. Integrations
  2. SAP Integration
  3. Installing the ABAP Looply Add-On

Gateway Service Setup - Hub scenario

The following steps must be performed on your gateway hub system. If you are you are running Gateway on the same system Looply is installed in, you may ignore this page.

PreviousGateway Service Setup - Single SystemNextTriggering or Resuming a Looply Workflow from SAP

Last updated 3 months ago

Create RFC Destination

If one does not already exist, create an SM59 destination which points from the gateway hub to the system where Looply is installed. It is recommended that a destination with the same name is created in all systems of the landscape (pointing to the relevant system each time) so that only 1 configuration entry covering all systems is created during the following steps.

Create SAP System Alias

Create a System Alias using the RFC destination created in the previous step.

  • In NW 740+ go to the IMG in transaction SPRO and open SAP Netweaver->SAP Gateway->OData Channel->Configuration->Connection Settings->SAP Gateway to SAP System->Manage SAP System Aliases

  • In NW 7.0-731 go the IMG in transaction SPRO, and open SAP NetWeaver->Gateway->OData Channel->Configuration->Connection Settings->SAP Gateway to SAP System->Manage SAP System Aliases

  • Alternatively you could also directly edit table /IWFND/V_DFSYAL in sm30.

Maintain SAP Gateway Settings

Maintain SAP Gateway Settings using the RFC Destination and Alias created in the previous steps.

  • In NW 7.0-731 go the IMG in transaction SPRO, and open SAP NetWeaver->Gateway Service Enablement->Backend OData Channel->Connection Settings to SAP Gateway->SAP Gateway Settings

  • In NW 740+ go to the IMG in transaction SPRO and open SAP NetWeaver->SAP Gateway Service Enablement->Backend OData Channel->Connection Settings to SAP Gateway->SAP Gateway Settings

  • Alternatively, you could also directly edit table /IWBEP/C_SYSTEM in SM30.

Activate SAP Gateway

Activate SAP Gateway in every system in the landscape (if it is not already activated).

  • In NW 7.0-731 go the IMG in transaction SPRO ->SAP Netweaver->Gateway->OData Channel->Configuration->Activate or Deactivate SAP Gateway

  • In NW 740+ go to the IMG in transaction SPRO->SAP Netweaver->SAP Gateway->OData Channel->Configuration->Activate or Deactivate SAP Gateway if you are on a NW 740 system) and make sure SAP Gateway is active.

Create Package

In transaction se21, create package ZLOOPLY_SERVICE.

Add Service

In transaction /N/IWFND/MAINT_SERVICE click on “Add service”. Then insert your alias in the "System Alias" field, "/LOOPLY/*" in the "Technical Service Name" field and click on the “Get Services” button:

Select the table row and click on "Add Selected Services". Here you may change the technical names for service and model. Enter the package created in the previous step and click on the "Enable OAuth for Service" checkbox:

Back in transaction /N/IWFND/MAINT_SERVICE, select the newly created service and click on "SAP Gateway Client" to test it:

oData Service Authorization

In order for users to be able to post data to SAP (to approve a card for example), they must have authorization for the underlying oData service. To add this to a (new or existing) role, do the following:

In your Gateway hub system:

  • Add authorization object s_service to the role

  • Click on the “change” button next to “Program, transaction or functi”:

  • Select “TADIR Service” in the “Type” drop-down and add the following entry: R3TR IWSG ZSERVICE_SRV_0001

In your ECC system:

  • Add authorization object s_service to the role

  • Click on the “change” button next to “Program, transaction or functi”:

  • Select “TADIR Service” in the “Type” drop-down and add the following entry: R3TR IWSV /LOOPLY/SERVICE_SRV 0001

Transport changes

Transport all the changes made and new objects created in the above steps (including table entries) throughout your landscape.

Activate sicf node

In the system where Looply is installed, go to transaction SICF and activate the following node:

/sap/opu/odata/looply/service_srv