Docs
Sign in

Ariba

SAP Ariba is a procurement and supplier network where companies send purchase orders, receive supplier invoices, run catalogs and manage contracts, and this connector lets TAO read that information and, with a person's approval, create, update or change the state of contract workspaces.

Screenshot to add: The SAP Ariba card on the My Connectors page, with the Add button.

What you can do

Illustrative examples.

  • "Which Ariba purchase orders did we send to Acme?"
  • "What has Acme invoiced us through Ariba?"
  • "Which Ariba contract workspaces expire this year?"
  • "Close that contract workspace." (A person approves it first. This cannot be undone.)

Before you connect

Ariba is several SAP APIs behind one connection. TAO picks the right one for each tool. You supply the sign-in and the identity details.

The secret. It has three parts joined by colons: clientId:clientSecret:applicationKey. All three must come from the same application on the SAP Ariba Developer Portal. The application key is shown on the application. The OAuth client ID sits beside it. The client secret comes from Actions > Generate OAuth Secret and is shown only once. (An API key is a code that identifies the calling program. An OAuth client ID and secret are a program's username and password.) Mixing parts from different applications gives a 400 error that names none of them.

The other fields. Only the first is always required. The rest depend on which tools you use.

FieldNeeded forWhat to enter
Environment stage (required)Everythingprod or sandbox. This is the last segment of the runtime URL in your Developer Portal application details, not the whole URL. TAO will not guess, because it can close a contract.
Your Ariba Network ID (ANID)Purchase order and invoice readsYour own buyer ID from SAP Business Network (Manage Profile, Account Settings). Not a supplier's.
Ariba realmApprovals, catalogs and contractsThe short site identifier, such as acme or acme-T for a test site. Not a URL or display name.
Act on behalf of (Ariba user id)Contract toolsThe Ariba user the changes are recorded against. Ariba shows this user, not the person who asked TAO.
Password adapter nameContract toolsThe name of an authentication adapter in your realm, for example PasswordAdapter1. It is a name, not a password.
API hostOptionalBlank means openapi.ariba.com (US). Other regions are listed in the field help. Host only, no path.
OAuth server hostOptionalBlank means api.ariba.com (US). It must match your application's data centre.
API product path overridesOptionalNormally blank. Use only if a call says "the service requested is not available".
Filter syntaxOptionalBlank means odata. Set params only if reads report that filters were contradicted.

A missing field is reported when a tool needs it, naming the field. You may licence only the Business Network side or only the Contracts side.

One setup step happens in another SAP product. The code says the buyer must paste the OAuth client ID into their SAP Business Network settings, and a gap there looks like an ordinary sign-in failure.

Your platform administrator must also switch the connector on under Admin > Platform Config > Connectors. It is added switched off.

Connect it

  1. Open the connector list

    Go to Settings > Connectors (the My Connectors page) and find SAP Ariba.

  2. Click Add

    A window opens for the connection.

  3. Paste the three-part secret

    Enter clientId:clientSecret:applicationKey in the secret box.

  4. Fill in the fields

    Enter Environment stage, then the identity fields for the tools you plan to use.

  5. Save

    Click Save. Verify on the connection row checks the secret's format. It does not contact Ariba.

Tools

This connector has 12 tools: 9 reads, 2 changes that wait for human approval, and 1 change that waits for approval and cannot be undone.

Tool nameWhat it doesRead or Write
ariba_list_purchase_ordersLists purchase order headers from SAP Business Network. The one to try first.Read
ariba_list_purchase_order_itemsLists the line items on purchase orders.Read
ariba_list_invoicesLists supplier invoice headers received over Business Network.Read
ariba_list_pending_approvalsLists what is waiting for approval. TAO cannot approve or reject these. It can only report them.Read
ariba_list_document_changesLists changes to approvable documents. Pass the last sequence id back to continue from where you stopped.Read
ariba_list_active_catalogsLists active catalogs in a realm. A start date is required.Read
ariba_get_catalog_itemsReads the items in one catalog for one supplier.Read
ariba_search_contract_workspacesFinds contract workspaces. The entry point for contracts.Read
ariba_get_contract_workspaceReads one contract workspace in full.Read
ariba_create_contract_workspaceCreates a contract workspace, owned by the connection's Ariba user. An amount needs both a value and a currency.Write (approval)
ariba_update_contract_workspaceChanges fields on a workspace, such as title or dates.Write (approval)
ariba_change_contract_stateMoves a workspace through a state change (amend, hold, resume, close). Closing cannot be undone. TAO must confirm the workspace title, read from the record.Write (approval, cannot be undone)

Total: 12 tools.

Limits and good to know

  • Cannot approve. There is no approve or reject tool here, only the pending list.
  • Close is final. The state tool is treated as cannot-be-undone for every transition, not just close. A chat set to skip approvals cannot skip it.
  • No delete. Deleting a contract workspace is deliberately not offered.
  • Wrong path or missing data? A "service requested is not available" error means the API path is wrong, not that data is missing. Use API product path overrides.
  • Not tested live. The product notes say no call has reached a real Ariba tenant. One of the seven routing entries (the contract state change) is marked unconfirmed in the code.
  • Quotas. SAP's per-tenant quota is unknown. The notes say a low daily quota could make some reads impractical.