SAPUI5 interviews in 2026 assume you know more than controls and XML views. Interviewers probe OData V4, performance tuning, and the modern toolchain. Here are the questions that actually come up, with straight answers.
Core Concepts
Q1. How does the MVC pattern work in SAPUI5?
The model holds data, the view defines the UI (XML, JS, or JSON), and the controller handles events and logic. Binding connects model and view so the UI updates automatically when data changes. Separation keeps apps testable and maintainable.
Q2. What are the key attributes of the SAPUI5 bootstrap script?
The bootstrap loads the framework from sap-ui-core.js. Common attributes: data-sap-ui-theme, data-sap-ui-libs, data-sap-ui-compatVersion, data-sap-ui-async="true", and data-sap-ui-onInit or resource roots. Async loading is the modern default and avoids blocking the page.
Q3. What is the difference between sap.m and sap.ui.table?
sap.m is the responsive mobile-first library used for Fiori apps. sap.ui.table (GridTable) is optimized for large datasets with fixed columns and scrolling, suited to desktop analytics. For thousands of rows, sap.ui.table usually wins on rendering performance.
Data Binding
Q4. What types of data binding does SAPUI5 support?
One-way, two-way, and one-time binding. One-time binds once and never updates, which is cheapest for static labels. Two-way is the default for input controls bound to models like OData or JSON.
Q5. How does the OData V4 model differ from OData V2?
V4 is the current standard: it supports deep operations, $batch by default, and stricter typing aligned with the OData 4.0 spec. The V2 model is legacy and misses features like bound actions in the same form. New apps in 2026 should use V4.
Q6. What is a formatter and when should you use one?
A formatter is a function that transforms bound data before display, e.g. turning a status code into a readable label. Use it for simple display logic only. Complex logic belongs in the controller or backend.
Keep bindings declarative. The moment you start pushing data into controls with setText in a loop, you are fighting the framework.
Views, Fragments, and Navigation
Q7. What is the difference between a view and a fragment?
A view has its own controller and lifecycle; a fragment is a reusable UI snippet without a controller of its own. Fragments are ideal for dialogs, popovers, and repeated form sections. Load them lazily to keep startup fast.
Q8. How does routing work in SAPUI5?
Routing is configured in manifest.json under sap.ui5/routing, mapping URL patterns to targets and views. The router parses the hash, instantiates the target view, and fires pattern-matched events with parameters. Always use the router for navigation instead of hardcoding view switches.
Q9. What are extension points?
Extension points are named hooks in a view where custom content can be injected without modifying the original app. They are the backbone of SAPUI5 app extensibility. Use them instead of copying and adapting standard views.
Performance and Advanced Topics
Q10. How do you optimize SAPUI5 app performance?
Enable async loading, minify with UI5 Tooling, use one-time binding where possible, and paginate large lists with growing="true". Avoid synchronous OData calls and heavy work in onInit. Measure with the UI5 Diagnostics (Ctrl+Alt+Shift+S) before guessing.
Q11. How do you handle CSRF tokens in OData calls?
Fetch the token with a HEAD or GET request carrying the X-CSRF-Token: Fetch header, then send it back on mutating requests. The OData model handles this automatically when you call refreshSecurityToken or just perform a write. Missing tokens cause 403 errors on POST/PUT/DELETE.
Q12. What is lazy loading and where do you apply it?
Lazy loading defers loading resources until they are needed. Typical uses: dialogs via fragments, additional libraries in manifest.json with lazy:true, and route targets loaded on demand. It cuts initial load time measurably.
"sap.ui5": {
"dependencies": {
"libs": {
"sap.m": { "lazy": false },
"sap.ui.table": { "lazy": true }
}
}
}
Q13. What changed for developers in recent SAPUI5 1.14x versions?
Building blocks for Fiori elements-style reuse, TypeScript support maturing, and continued OData V4 improvements. Accessibility and theming (Horizon) keep evolving. Expect questions on declarative building blocks like FilterBar or Table.
Q14. How do you debug a binding that shows no data?
Check the model is set on the right control or view, verify the binding path and model name, and look for failed network requests in DevTools. The UI5 support tools show binding info per control. Typos in paths are the most common cause.
Most SAPUI5 interview failures are not about exotic APIs. They are about binding, lifecycle, and OData fundamentals answered vaguely.
Interviewing soon? Drop your toughest question in the comments.