Fiori on RAP Part 2: OData V2 or V4 — Choosing and Migrating
Preview · a free account unlocks the full lesson
Decide between OData V2 and V4 for Fiori apps: feature differences, what Fiori elements V2 versus V4 offer, when existing V2 apps should stay, and how to plan a migration of custom apps to V4.
Visual overview
Explanation
Part 1 built a new app on RAP; Part 2 deals with deciding between OData V2 and V4, and handling existing apps.
Most S/4HANA systems contain many OData V2 services and V2-based Fiori apps, built with SEGW or with CDS using @OData.publish. RAP and CAP support V4, and new Fiori elements features target V4 specifically, so both protocols coexist in most systems rather than one fully replacing the other.
The differences that actually matter: V4 has a cleaner model with features like better batch handling, deep operations and actions with richer semantics, and the UI5 V4 model is binding-driven rather than offering a generic read() call. Fiori elements V4 adds the flexible programming model and reusable building blocks on top of that. Some V2-specific patterns, such as smart controls, simply don't exist in V4 apps.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
More lessons in this topic
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.