Skip to content
SAP Ariba

How to use SAP Ariba

Data & BICommerceCost: 1 credit per runTechnical reference

What it is for

Automate procurement, contracts, and invoices with SAP Ariba.

SAP Ariba has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.

Set up the connection

Authentication type: Custom credentials

  1. 1Sign in to SAP Ariba and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a SAP Ariba step, click "Connect" and paste it into: Application Key (APIKey), API Base URL, OAuth Client ID, OAuth Client Secret, OAuth Server URL Prefix.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
Application Key (APIKey)Secret keyYes
API Base URLTextYes
OAuth Client IDTextNo
OAuth Client SecretSecret keyNo
OAuth Server URL PrefixTextNo

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • List Purchase Orders: fill in Buyer ANID; use the data selector to map values from earlier steps.
  • List Purchase Order Line Items: fill in Buyer ANID; use the data selector to map values from earlier steps.
  • Get Document Changes: fill in Realm; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Actions (14)

Operations available as flow steps. Expand each one to see its fields.

List Purchase Orders9 fields
FieldTypeRequired
Buyer ANIDTextYes
Supplier ANIDTextNo
Document NumberTextNo
Order StatusFixed listNo
Routing StatusFixed listNo
Start DateDate and timeNo
End DateDate and timeNo
Page SizeNumberNo
OffsetNumberNo
List Purchase Order Line Items8 fields
FieldTypeRequired
Buyer ANIDTextYes
Document NumberTextNo
Order StatusFixed listNo
Routing StatusFixed listNo
Start DateDate and timeNo
End DateDate and timeNo
Page SizeNumberNo
OffsetNumberNo
Get Document Changes5 fields
FieldTypeRequired
RealmTextYes
Change Sequence IDNumberNo
Include CountYes / NoNo
Page SizeNumberNo
OffsetNumberNo
Get Pending Approvables7 fields
FieldTypeRequired
RealmTextYes
Approvable TypeFixed listNo
UserTextNo
Password AdapterTextNo
Include CountYes / NoNo
Page SizeNumberNo
OffsetNumberNo
Get Catalog Items7 fields
FieldTypeRequired
RealmTextYes
Catalog NameTextYes
Supplier IDTextYes
Select FieldsTextYes
RSQL FilterTextNo
OffsetNumberYes
LimitNumberNo
Get Active Catalogs6 fields
FieldTypeRequired
RealmTextYes
Activated From DateDate and timeYes
Supplier DomainTextNo
Subscription NameTextNo
Show AllYes / NoNo
Show Additional FieldsYes / NoNo
Get Facet Data3 fields
FieldTypeRequired
RealmTextYes
Select FieldTextYes
RSQL FilterTextYes
List Invoices14 fields
FieldTypeRequired
Ariba Network IDTextYes
Filter: Buyer ANIDTextNo
Filter: Supplier ANIDTextNo
Filter: Document NumberTextNo
Filter: Document StatusFixed listNo
Filter: Routing StatusFixed listNo
Filter: Created Start DateDate and timeNo
Filter: Created End DateDate and timeNo
Filter: Updated Start DateDate and timeNo
Filter: Updated End DateDate and timeNo
Filter: Document PurposeFixed listNo
Include Invoice ProfileYes / NoNo
Page SizeNumberNo
OffsetNumberNo
Search Contract Workspaces9 fields
FieldTypeRequired
RealmTextYes
UserTextYes
Password AdapterTextYes
Select FieldsTextNo
FilterTextNo
Page SizeNumberNo
OffsetNumberNo
Include CountYes / NoNo
ExpandTextNo
Get Contract Workspace5 fields
FieldTypeRequired
RealmTextYes
UserTextYes
Password AdapterTextYes
Contract IDTextYes
ExpandTextNo
Create Contract Workspace16 fields
FieldTypeRequired
RealmTextYes
UserTextYes
Password AdapterTextYes
TitleTextYes
DescriptionLong textNo
Template IDTextNo
Effective DateDate and timeNo
Expiration DateDate and timeNo
Contract AmountNumberNo
Contract CurrencyTextNo
Owner Unique NameTextNo
Owner Password AdapterTextNo
Supplier NameTextNo
Supplier System IDTextNo
Is Test ProjectYes / NoNo
Additional FieldsJSONNo
Update Contract Workspace13 fields
FieldTypeRequired
RealmTextYes
UserTextYes
Password AdapterTextYes
Contract IDTextYes
Silent UpdateFixed listNo
TitleTextNo
DescriptionLong textNo
Effective DateDate and timeNo
Expiration DateDate and timeNo
Contract AmountNumberNo
Contract CurrencyTextNo
Amendment ReasonLong textNo
Additional FieldsJSONNo
Update Contract Status8 fields
FieldTypeRequired
RealmTextYes
UserTextYes
Password AdapterTextYes
Contract IDTextYes
ActionFixed listYes
Amendment TypeFixed listNo
Amendment ReasonLong textNo
Is Template Upgrade RequiredYes / NoNo
Delete Contract Workspace4 fields
FieldTypeRequired
RealmTextYes
UserTextYes
Password AdapterTextYes
Contract IDTextYes

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps