> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/guides/sap-ariba-purchase-to-pay.md).

# SAP Ariba purchase to pay: see where each order waits

Connect SAP Ariba to Duaer. It reads the steps of each purchase order, from requisition to payment, through the Operational Reporting API.
## What does Duaer read from SAP Ariba?

Each purchase order is a case, with the supplier, company code, currency and amount. The steps are Requisition created, Order created, Goods received, Invoice posted (invoice reconciliation) and Paid. Canceled or rejected documents are left out. The steps match the purchase to pay template.

## How do you connect SAP Ariba to Duaer?

1. In the SAP Ariba developer portal, create an application, request access to the Operational Reporting API for Procurement (synchronous), and get the application key and the OAuth client ID and secret.
2. In Duaer, create an SAP Ariba API credential with the realm, the API host, the OAuth host, the application key, the client ID and the client secret.
3. As an owner or admin, open Data sources, select Add source, choose SAP Ariba under Purchase to pay, choose the credential, select Check connection and confirm.

## How often does it read, and how much?

Duaer creates its own reporting views in the realm (named starting with Duaer) and reads requisitions, orders, receipts, invoice reconciliations and payments 31 days at a time; a first read starts two years back and finishes over several runs. Each run makes at most 130 API calls, to stay within Ariba's rate limits. A step is never written twice. Read only.

## What are the limits?

- The tables, views, models and fields read follow the vendor's published documentation and are not yet checked against a real system; the first real read may need adjustments.
- Purchase to pay only, and documents of the last two years only.
## Questions

### Does Duaer change documents in Ariba?

No. Duaer only creates its own reporting views and reads them.

## Related

- [Add a process source in Duaer](https://doc.duaer.com/build/process-sources.md)
- [See the process in your data and generate workflows in Duaer](https://doc.duaer.com/build/process.md)
- [Process findings and SOP conformance in Duaer](https://doc.duaer.com/build/process-findings.md)
- [Coupa purchase to pay: see where each purchase order waits](https://doc.duaer.com/guides/coupa-purchase-to-pay.md)
- [SAP S/4HANA purchase to pay: see where each order waits](https://doc.duaer.com/guides/sap-s4hana-purchase-to-pay.md)

