> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SAP Ariba purchase requisitions

> Read one bounded purchase requisition window from SAP Ariba Operational Reporting.

Follow the [REST mounting guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind).
Use the HTTPS production runtime listed for your realm in the SAP Ariba
developer portal. The receiver is the synchronous Procurement
Operational Reporting v2 requisition view.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import { providerEndpoint } from "@bijectionhq/app-rest";
import { secret } from "@bijectionhq/bijection";

export const token = secret();
export const applicationKey = secret();
export const remote = providerEndpoint(
  "sap-ariba.requisitions.window",
  "https://openapi.ariba.com",
  "/api/procurement-reporting-details/v2/prod/views/Requisition_SourcingSystem_Updated",
  {
    kind: "multiSecret",
    bindings: [
      { kind: "header", name: "Authorization", prefix: "Bearer ", secret: token },
      { kind: "header", name: "apiKey", secret: applicationKey },
    ],
  },
  data,
);
```

Pass `remote` as `receivers.provider` and bind the mount under the same `data` label. Seal the OAuth access token and application key separately
for the receiver. Renew the held access token at expiry.

As the mount's operator, call `source.initialize` with the
realm and a fixed UTC update window of up to 30 days.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  profile: {
    mode: "provider",
    provider: "sap-ariba.requisitions.window",
    selection: "example-realm",
    start: "2026-01-01T00:00:00Z",
    end: "2026-01-31T00:00:00Z",
    limit: 40,
  },
}
```

Each transaction publishes the page's rows and retains Ariba's page token
for the same window. Requisitions are keyed by `UniqueName`. The source
publishes `TimeUpdated` and defaults to `Name` and `StatusString` for the
other fields. Supply `fields` to replace that projection with up to 24
view fields. Missing requisitions leave prior observations in place.
Each page accepts up to 40 rows and 36 KiB. Choose a window that fits the
provider's synchronous result limit. Asynchronous jobs and attachments
are outside this mode.

The source completes on the terminal page. Use the revision and gap instant
from `source.health` to reset the same window. Install a fresh mount to
read another window or realm. The bundled parser is required.

[SAP Ariba synchronous reporting](https://help.sap.com/docs/ariba-apis/operational-reporting-api-for-procurement/usages-of-operational-reporting-api-for-procurement)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.