> ## 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 BW OData Query

> Observe one published SAP BW or BW/4HANA OData v2 result collection.

Publish a BW OData Query in SAP Gateway and grant a read-only principal
access. Use the [REST mount](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind) and
bind `restEndpoint` to the Gateway HTTPS origin and exact result entity
set, such as `/sap/opu/odata/sap/ZQUERY_SRV/Results`. Seal the Gateway read
credential and bind the receiver and mount to the same label.

Initialize with
`{ profile: { mode: "provider", provider: "sap-bw.odata-query.observations", collection: "https://bw.example.com/sap/opu/odata/sap/ZQUERY_SRV/Results", fields: ["FiscalYear", "FiscalPeriod"], limit: 16 } }`.
Choose one to eight sortable dimension fields that together identify a
unique result row. Use a query that needs no prompt parameters or totals
rows, and configure server pages within the installed 1–100 row and 36 KiB
limit.

Each sweep follows a same-collection OData v2 skip or skip token. A final
page restarts the next sweep. Live query results can change during paging,
and omitted keys remain. This mode reads the OData Query surface.

[SAP BW OData Queries](https://help.sap.com/docs/SUPPORT_CONTENT/bwplaolap/3361382894.html)


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