SAP Fiori / SAP UI5 Interview Cheatsheet


1. SAP Fiori Basics

  • Fiori = Design Language + UX framework
  • Role-based, responsive, simple, coherent, delightful
  • Based on SAPUI5, OData, Fiori Launchpad
  • Runs on browser (HTML5 + JavaScript)

Types of Fiori Apps

  1. Transactional apps
  2. Analytical apps
  3. Fact sheets
  4. SAP Fiori elements apps
  5. SAP Mobile Cards / Offline apps

Fiori Architecture (Core Layers)

  • UI Layer → SAPUI5 / Fiori Elements
  • Gateway Layer → OData + SAP NW Gateway
  • Backend Layer → SAP S/4HANA / ECC
  • Database Layer → HANA

2. SAPUI5 Fundamentals

Key Concepts

  • MVC Architecture (Model-View-Controller)
  • Data binding (one-way, two-way, one-time, property binding)
  • Controls (sap.m, sap.ui.layout, sap.f)
  • Fragments vs Views
  • Formatters
  • i18n Resource handling
  • Component.js (App entry point)
  • Manifest.json (App descriptor)

Supported View Types

  • XML (most common)
  • JSON
  • HTML
  • JS

3. OData / Gateway

OData Versions

  • OData V2 (common in Fiori)
  • OData V4 (new Fiori elements templates)

Common OData Operations

  • $filter
  • $select
  • $expand
  • $batch
  • $top / $skip

Gateway T-Codes

  • SEGW → OData service development
  • /IWFND/MAINT_SERVICE → Activate service
  • /IWFND/ERROR_LOG → Debug
  • /IWBEP/REG_SERVICE → Register service

4. Fiori Launchpad

Key Components

  • Tiles / Target Mappings
  • Catalogs
  • Groups
  • Roles (PFCG)
  • LPD_CUST

Fiori App Lifecycle

  1. App development
  2. Deployment to ABAP repo
  3. Activation in FLP
  4. Role creation & assignment

5. SAPUI5 Controls (Commonly Asked)

  • sap.m.Table
  • sap.m.List
  • sap.m.Dialog
  • sap.m.ObjectListItem
  • sap.m.Page
  • sap.ui.model.odata.v2.ODataModel
  • sap.m.BusyDialog
  • sap.m.MessageToast/MessageBox

6. Fiori Elements

Metadata-driven UI using:

  • CDS Views
  • Annotations
  • OData V4
  • Template apps (List Report / Object Page)

Common Annotations

  • UI.LineItem
  • UI.SelectionFields
  • UI.FieldGroup
  • UI.Chart
  • UI.Identification
  • UI.DataPoint

7. Performance Optimization

  • Use fragment over nested views
  • Avoid synchronous OData calls
  • Use $batch requests
  • Lazy loading
  • Use XML views for better performance
  • Minimize formatter logic in views

8. Extensibility & Customization

Types of Extensions

  1. Extension Points
  2. Controller Extensions
  3. View Replacement
  4. Fragments / Custom Fields
  5. Adaptation Projects (BAS)
  6. UI Adaptation at Runtime (S/4HANA)

9. Deployment Options

  • SAP BTP (Cloud Foundry / Kyma)
  • ABAP Repository (SE80 / SE38)
  • On-Premise Fiori Frontend Server
  • Embedded deployment (S/4HANA)

10. Security

  • OAuth2 / SSO
  • Trusted RFC
  • PFCG Role integration
  • SICF activation
  • CSRF tokens for POST/PUT

11. Testing & Debugging

Debugging Tools

  • Chrome DevTools
  • UI5 Inspector extension
  • Gateway Error Log
  • Support Assistant (Ctrl+Alt+Shift+S)

Unit Testing

  • QUnit
  • OPA5

12. TOP 30 Fiori/UI5 Interview Questions

  1. Difference between SAP Fiori & SAPUI5.
  2. What is MVC in UI5?
  3. What is Component.js & Manifest.json?
  4. Types of view bindings in UI5.
  5. Explain routing in SAPUI5.
  6. Difference between Fragment and View.
  7. What are XML / JSON / JS views?
  8. What is the Fiori Launchpad?
  9. What is a Target Mapping?
  10. What is a Tile vs Catalog vs Group?
  11. How OData is consumed in UI5?
  12. What is the use of $batch?
  13. What is two-way data binding?
  14. What is a formatter?
  15. How to handle events in UI5?
  16. What is a List Report in Fiori Elements?
  17. Explain annotations in CDS.
  18. Difference between Smart Controls & UI5 controls.
  19. How to implement value help (F4)?
  20. What is component-preload?
  21. What is SAP Fiori launchpad plugin?
  22. SAPUI5 lifecycle hooks?
  23. What is manifest routing?
  24. How to extend a standard Fiori app?
  25. What are controller hooks in extension?
  26. Explain adaptation project.
  27. Workflow integration with Fiori.
  28. What is SAP Build Work Zone?
  29. Difference between OData V2 & V4.
  30. How to optimize UI5 app performance?

13. Rapid Revision: Key T-Codes

  • SEGW → OData service creation
  • /IWFND/MAINT_SERVICE → Activate service
  • SICF → Activate services
  • PFCG → Role maintenance
  • SU01 → User assignment
  • SE80 → Deploy apps

I share content relevant to Tech/Interview/Corporate/ & Anything Stuff !!

Do follow for more useful content : https://www.linkedin.com/in/vartika-gupta24/