IT CanvassTalk to an advisor
SAP Fiori · LessonBy , SAP Trainer, 13 yrs · Published · SAP S/4HANA 2023 · all levels

OData

OData is the protocol every Fiori app uses to talk to the SAP backend. In Fiori specifically, understanding OData means knowing how apps get their data and why activating and securing these services is essential.

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.

Practice challenge

+0 XPStreak ×0
Question 1 of 3
Which statement is true of OData?

Frequently asked questions

What does OData mean in SAP Fiori?
OData is the protocol every Fiori app uses to talk to the SAP backend. In Fiori specifically, understanding OData means knowing how apps get their data and why activating and securing these services is essential.
Where does OData sit in the Fiori stack?
Each Fiori app is bound to one or more OData services that expose the backend data and operations it needs.
How is access to OData controlled?
OData services are secured by the same backend authorizations the role grants; the service checks authorization objects as it runs.
What tends to go wrong with OData in SAP Fiori?
Inactive OData service, the classic "app not working". Over-fetching data instead of using query options. Missing backend authorization for the service.
Already working on SAP and stuck on a live ticket?Get an expert SAP developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support