SAP / SAP Mid Level (3 to 8 yrs) Interview questions
Explain the difference between OData V2 and OData V4?
OData V4 is the more recent, standardized-by-OASIS version of the protocol, with a cleaner specification and several improvements over V2, though SAP systems (and existing Fiori apps) still widely use both depending on when they were built and what framework generated the service.
| OData V2 | OData V4 |
| Older, SAP Gateway's traditional default for many years. | Newer, OASIS-standardized version; default for RAP-generated services. |
| Slightly more verbose metadata and payload format. | More streamlined payloads, improved batch/query capabilities. |
| Still very widely used in existing Fiori apps. | Increasingly the default for new SAP development (RAP, CAP). |
For a mid-level developer, the practical implication is knowing which version a given service uses, since the request/response format and certain query syntax details differ — new RAP-based services typically default to V4, while a lot of existing, older Fiori apps and services still run on V2.
More Related questions...
