OData
Quick answer
OData services are secured by the same backend authorizations the role grants; the service checks authorization objects as it runs.
Key takeaways
- Each Fiori app is bound to one or more OData services that expose the backend data and operations it needs.
- A frequent setup task (and cause of errors) is activating the app’s OData service in the backend/gateway (transaction…
- OData lets apps request precisely what they need using $filter, $select, $expand, $orderby and paging ($top/$skip).
- Watch out: Inactive OData service, the classic "app not working".
OData: the Fiori data channel
Each Fiori app is bound to one or more OData services that expose the backend data and operations it needs. When the app loads or the user acts, it calls the OData service over HTTP (returning JSON), which runs the backend logic (often a CDS view) and returns the result. No OData service, no data.
Activating services
A frequent setup task (and cause of errors) is activating the app’s OData service in the backend/gateway (transaction /IWFND/MAINT_SERVICE). If the service is not active, the app shows errors or no data, one of the most common Fiori issues.
Query capabilities
OData lets apps request precisely what they need using $filter, $select, $expand, $orderby and paging ($top/$skip). Well-built apps use these to fetch minimal data, keeping performance good; poorly-built ones over-fetch.
Security
OData services are secured by the same backend authorizations the role grants; the service checks authorization objects as it runs. Frontend access and backend authorization must align for the app to work.
Common pitfalls
- Inactive OData service, the classic "app not working".
- Over-fetching data instead of using query options.
- Missing backend authorization for the service.
Want to learn this properly?
Our live, instructor-led SAP Training covers this hands-on, with real projects and a certification path.
Check your understanding
Which statement is true of OData?
- A. When the app loads or the user acts, it calls the OData service over HTTP (returning JSON), which runs the…
- B. IDoc errors interrupt document-based integration (orders, invoices, master data).
- C. Troubleshooting FI focuses on the recurring issues in financial postings and processes, posting errors…
Show answer
A. When the app loads or the user acts, it calls the OData service over HTTP (returning JSON), which runs the…
Covered in the “OData: the Fiori data channel” section of this lesson.
Which of these also applies to OData?
- A. No OData service, no data.
- B. Over-fetching instead of using query options.
- C. Using the wrong variant (e.g. create vs change vs display).
Show answer
A. No OData service, no data.
Covered in the “OData: the Fiori data channel” section of this lesson.
Which part of the Learn SAP curriculum covers OData?
- A. SAP installation
- B. SAP MM
- C. SAP Fiori
Show answer
C. SAP Fiori
This lesson sits in the SAP Fiori section of the Learn SAP course.