SAP Ariba

This page explains how to connect SAP Ariba to SAP Focused Run. For the setup of the supported monitoring applications, please click on the monitoring application below.

Currently the following monitoring application are supported for SAP Ariba:

Choose Your SAP Focused Run Release

This page describes the connection setup for SAP Ariba solutions with SAP Focused Run 3.0 FP 02 or newer.

Please select the documentation appropriate for your SAP Focused Run release from the table below. 

SAP Focused Run ReleaseConnection Setup Documentation
SAP Focused Run 3.0 FP 02Stay on this page
SAP Focused Run 3.0 FP 01 and lowerSAP Ariba - up to SAP Focused Run 3.0 FP01

Setup Steps in SAP Ariba

Create Client Application in SAP Ariba API Portal

To be able to collect messages from SAP Ariba you need to be on-boarded to the SAP Ariba API portal. In this portal a client application will be created which then allows you to collect information on SAP Ariba messages.

Most customers will already have at least one person in their organization that has access to the SAP Ariba API portal. 

If no-one in your company has access, or your company does not yet have an organization in the SAP Ariba API portal, please follow the FAQ How do I create a new organization in API Developer Portal?

Once you have access to the SAP Ariba API portal please proceed is described here:

  1. Log on to the SAP Ariba API portal (you find the correct URL for your data center in the table of section "Important URLs")
  2. In the navigation pane on the left side navigate to 'Manage'
  3. Click the "+" button on top of the application list
  4. Enter an application name and a description
  5. Click the "Submit" button
  6. Click on "Actions" > "Request API Access"
  7. Select the API Integration Event Monitoring Query API for Procurement this API will be used for all SAP Ariba applications.
  8. Check the box in front of the SAP Ariba applications (Procurement, Sourcing and/or Ariba Network) that you want to assign to this client application
    1. Select all realms that you want to assign from the respective drop-down box
    2. You can use the same application for multiple realms, e.g. for mycompany and mycompany-T, and multiple applications
      • The realm is part of the URL you use to access SAP Ariba:
        • SAP Ariba Buyer Example: https://s1.ariba.com/Buyer/Main/ad/loginPage/...&realm=mycompany
        • SAP Ariba Sourcing Example: https://mycompany.sourcing.ariba.com/
      • If you only use SAP Ariba Network you won't have a realm name to provide, instead you must link the API client ID to the AN-ID after the API is assigned (see documentation in section "Link API Client ID to AN-ID (SAP Ariba Network only)")
  9. Click the "Submit" button.
  10. Ariba will approve the API access request for your client application within 24h.
  11. Continue with the steps under "Create OAuth Secret for Client Application" after the API access request is approved.

Create OAuth Secret for Client Application

After the API access for the application is provided go back to the SAP Ariba API Portal and generate an OAuth secret for your application.

  1. Log on to the SAP Ariba API portal with a user that has the Organization Admin role
  2. Click "Manage" in the left-hand menu 
  3. Find your application for Integration Monitoring under "My Applications" and select it
  4. The application should now only have the step "Your admin needs to generate the OAuth Secret for your application" open
  5. Click on "Actions" > "Generate OAuth Secret". Please note that generating a new OAuth secret invalidates any old OAuth secrets!
  6. Click Submit
  7. Download the file in the next step. It contains the Application Key, the OAuth Client Id, and the OAuth Secret.
  8. Find your SAP Ariba API URL and the SAP Ariba OAuth URL in the table in section "Important URLs" and add it to the file. 

Attention: Non-US Customers using SAP Ariba Network or SAP Ariba CIG

The following only applies to non-US customers using SAP Ariba Network or SAP Ariba Cloud Integration Gateway.

Unlike SAP Ariba Sourcing and SAP Ariba Procurement, SAP Ariba Network and SAP Ariba CIG always send their events to the Integration Monitoring event database located in the US data center (even if the service itself is hosted, e.g. in Europe). 

The Integration Monitoring event database can only be accessed by a client application created in the SAP Ariba Developer Portal for its region.

To check in which region your SAP Ariba Sourcing and SAP Ariba Procurement tenants are hosted please perform the following steps:

  1. Log on to SAP Cloud ALM
  2. Open Administration > Landscape Management
  3. Find your SAP Ariba Sourcing or Procurement cloud service
  4. Click on the service name
  5. Go to the tab "Properties"
  6. Find the value for "Data Center Location"

Only if your SAP Ariba Sourcing or your SAP Ariba Procurement tenant are hosted in a non-US data center, you have to create two client applications.

  • One client application has to be created in the US SAP Ariba Developer Portal (https://developer.ariba.com/api/), this client application will be used to collect events from SAP Ariba Network and SAP Ariba CIG. 
    • If you don't use SAP Ariba Network, please select your SAP Ariba Souring/Procurement realm during the API assignment.
  • The second client application has to be created in the SAP Ariba Developer Portal for your region (see table in section 'Important URLs'), this client application will be used to collect events for SAP Ariba Sourcing and SAP Ariba Procurement

Please perform the steps described in the sections above for both client applications.

Important URLs

The following table contains the data centers with the respective SAP Ariba API URL and SAP Ariba OAuth URL:

Data CenterSAP Ariba API Portal URLSAP Ariba API URLSAP Ariba OAuth URL
US PRODhttps://developer.ariba.com/api/https://openapi.ariba.com/https://api.ariba.com/
EU PRODhttps://eu.developer.ariba.com/api/https://eu.openapi.ariba.com/https://api-eu.ariba.com/
CN PRODhttps://developer.ariba.cn/api/https://openapi.ariba.cn/https://api.ariba.cn/
UAE PRODhttps://mn1.developer.ariba.com/api/https://mn1.openapi.ariba.com/https://api.mn1.ariba.com/
KSA PRODhttps://mn2.developer.ariba.com/api/https://mn2.openapi.ariba.com/https://api.mn2.ariba.com/
AU PRODhttps://developer.au.cloud.ariba.com/api/https://openapi.au.cloud.ariba.com/https://api.au.cloud.ariba.com/

Link API Client ID to AN-ID (SAP Ariba Network only)

The following steps only apply to the following customers:

  • Customers who are using an SAP Ariba Network only scenario, like e.g. "Setting Up Automation of Source-to-Pay with Ariba Network (42K)" and do neither use SAP Ariba Sourcing nor SAP Ariba Procurement.
  • Non-US customers for which SAP Ariba Sourcing and SAP Ariba Procurement are located in a non-US data center

Those customers will not have a realm to assign to the client application for SAP Ariba Network. Instead they have to link the API Client ID (Oauth Client Id) to the AN-ID in SAP Ariba Network.

To do this:

  1. Log on to the SAP Ariba Developer portal after SAP Ariba Support added the requested API to your client application
  2. Copy the value in the field "Oauth Client Id"
  3. Log on to SAP Ariba Network
  4. Click on you user name in the upper right corner and navigate to "Manage Profile"
  5. Click on the option "Open API Client ID Config"
  6. Click the "Add" button
  7. Enter the Oauth Client Id you copied earlier
  8. Save you changes.

After finishing all steps you should have the following information available for the next steps in SAP Cloud ALM:

  • SAP Ariba API URL
  • SAP Ariba OAuth URL
  • OAuth client ID
  • OAuth secret
  • Application key

Setup Steps in SAP Focused Run

For SAP Ariba you can choose between the following cloud service types. Please choose the product that matches the cloud service you want to connect. 

  • SAP Ariba Cloud Integration Gateway
  • SAP Ariba Network
  • SAP Ariba Procurement
  • SAP Ariba Sourcing

Input Values for SAP Ariba

  • Tenant:
    • For SAP Ariba Procurement, SAP Ariba Sourcing and SAP Ariba CIG: Enter the realm
    • For SAP Ariba Network: Enter the AN-ID
  • Ariba Network ID (ANID): Enter the AN-ID
  • Open API Root URL: Enter your SAP Ariba API URL
  • Description: (optional)

    • Section 'Global':
      • Description: A meaningful description
    • Section 'Authentication':
      • Type: OAUTH
      • OAuth URL: Extend your SAP Ariba OAuth URL with /v2/oauth/token
      • Application key: Enter your Application Key
      • Client ID: Enter the OAuth client ID
      • Client secret: Enter the OAuth secret
    • Section 'Proxy':
      • If necessary add proxy information to connect to the cloud service