To enable the SAP Ariba and Keelvar Sourcing Optimizer integration using the Keelvar SAP Ariba Connector, four APIs must be configured within SAP Ariba.
Optionally, the Keelvar SAP Ariba Connector can output data directly from the Keelvar Sourcing Optimizer event to SAP Ariba Contracts. To enable this feature, two SAP Ariba Contracts Web Services must also be configured.
This article outlines the steps required to configure the APIs and the SAP Ariba Contracts Web Services.
API Configuration
The following SAP Ariba APIs must be configured to use the Keelvar SAP Ariba Connector v2:
- External Approval API for Sourcing and Supplier Management (v2)
- Event Management API (v2)
- Surrogate Bidding API (v1)
- Sourcing Project Management API (v2)
There are three key steps to complete when configuring an API in SAP Ariba: Creating a new application, requesting API access, and generating the API details.
Configuring an API in SAP Ariba
Each of the required APIs is accessed and configured from the SAP Ariba APIs Portal. Complete the following procedure for each of the four APIs, selecting the relevant API on the Request API Access step of the procedure. Note that only someone with the Administrator role can complete this step. For each API, note and save the Application Key, the OAuth Client Id, and the OAuth Secret. This information must be submitted to Keelvar using the Keelvar SAP Ariba Connector — Configuration Data Form.
For additional information refer to the Help for SAP Ariba developer portal documentation.
- Log in to https://developer.ariba.com/
- Go to Manage > Applications.
- Create a new application.
- In the top-left corner of the page, next to the search bar, click the +
- In the Application Name field, enter a name for the application.
- In the Description field, enter a description for the application.
- Click Submit.
- Request API access.
- In the top-right corner of the page, on the card for the application you just created, click Actions, and then click Request API Access.
- From the Select an API dropdown list, select the API you want to access.
- Select the Sourcing checkbox, and then, from the dropdown list, select the required sourcing realm.
- Click Submit.
The request is sent to SAP Ariba for approval.
Note: The approval process usually takes less than 12 hours. After the request is approved, you will receive an email with further instructions.
- Generate the API details.
- In the top-right corner of the page, click the Actions button, and then click Generate OAuth Secret.
- Copy or download the information.
Note: Keelvar Sourcing Optimizer requires the Application Key, the OAuth Client Id, and the OAuth Secret. - Click Close.
SAP Ariba Contracts Web Service Configuration
If you want to output data from the Keelvar SAP Ariba Connector to SAP Ariba Contracts, you can configure the SAP Ariba Contracts Web Service.
The following Web Services must be configured to export data to SAP Ariba Contracts:
- Import Procurement Contract Workspace
- Import CLID using XML
There are two key steps to complete when configuring web services in SAP Ariba: Creating an endpoint, and activating the web service task.
Configuring an SAP Ariba Contracts Web Service
Complete the following procedure for each of the two required web services, selecting the relevant web service on the Integration Configuration step of the procedure. For each web service, note and save the endpoint username and password, and the URL from the integration configuration. This information must be submitted to Keelvar using the Keelvar SAP Ariba Connector — Configuration Data Form.
For additional information, refer to the SAP CC Web Services documentation.
- Go to your Ariba realm.
- Create an endpoint.
- Go to Administration > Integration Manager > End Point Configuration.
- Click Create New.
- In the Name field, enter a name for the endpoint.
- For Type, click Inbound.
- At the bottom if the screen, enter the username and password that will be used by the Keelvar SAP Ariba Connector when calling the API.
- Click Save.
- Activate the web service task.
- Go to Administration > Integration Manager > Integration Configuration.
- Search for the web service you want to activate.
- In the Configuration area, in the row of the web service you want to activate, click Actions, and then click Edit.
- In the Edit data import/export task area, for Status, click Enabled.
- Copy and save the URL.
- Click Save.