The fundamentals an interview usually opens with, one or two per topic, each with its full answer.
easySAPUI5 and SAP Fiori Tools
1. Describe how you set up and generate a SAPUI5 app with SAP Fiori tools.
Use BAS or VS Code with SAP Fiori tools extensions and a supported Node version. First test the OData service ($metadata, auth, data). Run the Application Generator: choose freestyle (basic) or Fiori Elements template, connect to the system/destination and service, set stable namespace/module names. The project contains webapp (Component, manifest, views, i18n), ui5.yaml with backend proxy, ui5-mock.yaml and npm scripts. Run with npm start (real backend) or start-mock (mock data), then add deploy config later.
easySAPUI5 and SAP Fiori Tools
2. Explain MVC in SAPUI5 and the role of Component.js and manifest.json.
Model holds data (OData V4, JSON, resource models), View describes the UI declaratively (XML views), Controller handles events and orchestration — kept thin. Component.js is the app entry point (extends UIComponent, loads the manifest, initializes the router). manifest.json is the app descriptor: ID, data sources, models, routing, dependencies, i18n, launchpad inbounds. This makes the app reusable in the launchpad and configurable without code.
easyBehavior Definitions
3. Why do child entities in a RAP BDEF usually have no create operation of their own, and what must the child declare?
A child cannot exist without its parent. Offering create only via the parent's association ("association _Item { create; }") guarantees every child gets a valid parent key — orphans become impossible without code. EML uses CREATE BY \_Item with %cid_ref or the parent's key.
The child declares "association _Request;" (with draft if draft-enabled) in its body, which enables read-by-association to the parent and is needed for "lock dependent by _Request" and "authorization dependent by _Request". Associations to other BOs are not declared in the BDEF.
easyService Bindings
4. What is the difference between a service definition and a service binding in RAP? Can one service definition have several bindings?
The service definition decides WHAT is exposed: which projected entities form one service and their external names (expose ZC_PurchReq as PurchaseRequest). It is protocol-neutral and contains no logic.
The service binding decides HOW and for WHOM: it binds one service definition to a protocol and purpose — OData V4 UI, OData V4 Web API, OData V2 UI/Web API — and, once published, registers it in the OData runtime so it gets a URL.
Yes: one service definition can have several bindings, e.g. a V4 UI binding for a new app and a V2 binding for a legacy consumer. A binding always points to one service definition (per service version).
Neither contains behavior: fields come from the projection, logic from the BDEF and behavior pool.
easyService Definitions
5. Write a service definition for an order app with header, items and a customer link, and explain each line.
define service ZUI_ORDER {
expose ZC_Order as Order;
expose ZC_OrderItem as OrderItem;
expose ZC_CustomerRO as Customer;
}
ZC_Order is the root projection (entity set Order); ZC_OrderItem is the composition child, redirected in ZC_Order as composition child so _Item navigation and deep create work; ZC_CustomerRO is a read-only projection the order's _Customer association is redirected to, so navigation to customer details exists. Aliases are business names used by clients. Then bind as OData V4 – UI, publish and check $metadata.
easyRAP Business Objects
6. Explain the difference between authorization, feature control and CDS access control in RAP, with an example of each.
Authorization decides WHO may do something, based on the user's roles: global authorization for create and static actions, instance authorization for update, delete and instance actions ("only buyers may create requests").
Feature control decides WHEN something is possible, based on the instance state: static (readonly, mandatory in the BDEF) or instance (get_instance_features) — "approve only in status Submitted"; Fiori greys out buttons and RAP rejects calls.
Access control (CDS DCL) decides WHICH rows a user can read: "managers see only their sales organization".
Mixing them causes errors: a state rule as authorization produces misleading "not authorized" messages; DCL does not protect changes.
easyService Bindings
7. You activated a new service binding and sent the URL to the UI developer, who gets HTTP 404. What is the difference between activating and publishing a binding, and how do you fix it?
Activating compiles the binding as a repository object and proves the service definition and projections are consistent. Publishing registers the service in the OData runtime (SAP Gateway) of this system, so HTTP requests to its URL are routed to the business object. An activated but unpublished binding returns 404.
Fix: open the binding in ADT, click Publish (Publish local service endpoint). Then verify:
• The editor shows the Service URL — copy it instead of typing.
• OData V4: the service group is visible in /IWFND/V4_ADMIN; V2: the service in /IWFND/MAINT_SERVICE.
• GET <url>$metadata returns 200 in /IWFND/GW_CLIENT.
If Publish fails with an authorization error, a Gateway administrator must grant the rights or publish.
easyOData V2
8. What are the main differences between OData V2 and V4 for an SAP developer?
V2: /sap/opu/odata/sap/<SRV>/ URLs, SEGW and many standard apps, $inlinecount=allpages, substringof(), JSON wrapped in "d" with __metadata, function imports, MERGE for partial updates, simple $expand. V4: $count=true, contains(), "value" arrays and @odata annotations, bound actions/functions, nested $expand options, JSON batch, RAP default. Both need CSRF tokens. New RAP services use V4; V2 bindings only for consumers that require V2.
easySAP Gateway
9. What is SAP Gateway, and how do embedded and hub deployments differ?
Gateway is the ABAP OData runtime: ICF entry, OData parsing, CSRF, $batch, service routing, metadata caching and logging; /IWFND is the frontend part, /IWBEP the backend part. Embedded: both in the S/4HANA system (system alias LOCAL). Hub: separate frontend server (often with the launchpad) routing to backends via system aliases (RFC). Deployment determines where services are registered, logs are found and caches cleaned. Both RAP and SEGW services run on it.
easyCDS Views
10. What is a CDS view entity, and how does it differ from a classic CDS view defined with @AbapCatalog.sqlViewName?
A CDS view entity ("define view entity") is a semantically rich data model defined in CDS and executed on the database (code pushdown). It exposes business names, keys, associations and annotations and is consumed by ABAP SQL, RAP/OData, Fiori and analytics.
The classic CDS view ("define view" with @AbapCatalog.sqlViewName) creates an additional DDIC SQL view on activation. View entities do not: activation is faster, syntax checks are stricter, and they are the basis for RAP and ABAP Cloud. Classic views are obsolete for new development; existing ones keep working and can be migrated with ADT tooling. CDS is read-only — transactional changes go through RAP BOs.
easyRAP Basics
11. Explain the RAP architecture from database table to Fiori app.
Tables store data; CDS root and child view entities (R_/I_) model it with compositions and associations; the BDEF defines behavior (operations, draft, locks, ETags, authorization, logic); the behavior pool implements validations, determinations, actions; projections (C_) and projection BDEFs tailor it per consumer; metadata extensions add UI annotations; the service definition exposes projections; the service binding publishes OData V4 (UI/Web API); Fiori Elements renders the UI; EML lets ABAP consume the BO.
easyCDS Views
12. Explain the virtual data model layers (interface, composite, consumption, and RAP R_ views). Why not put everything into one CDS view?
Interface/basic views (I_) represent one business entity close to the table with clean names, keys and associations, reused by everyone. Composite views combine basic views for a purpose. Consumption views (C_) shape data for one app or report and carry UI or analytics annotations. In RAP, R_ views form the base business object (root and children), and ZC_ projections sit on top per consumer.
One giant view mixes reusable semantics with app-specific shaping: every change for one app risks all others, annotations conflict, and performance suffers because every consumer pays for joins it does not need. Layering gives reuse, stable contracts and lean consumer views. SAP's released I_ views follow this model and are the clean-core way to read SAP data.
easyABAP Cloud and Released APIs
13. After an upgrade, an ABAP Cloud class shows warnings about a deprecated API. What do you do?
Deprecated means still released but with a successor. Read the API state and successor in ADT, plan the switch within the deprecation period, adapt the code and tests, and check semantic differences. Run ATC to find all usages across packages. Deprecated usage is technical debt — schedule it rather than ignoring warnings until the API is removed.
easyCDS Annotations
14. What are CDS annotations, which scopes and families exist, and how do they propagate?
Annotations are metadata for frameworks; they do not change the SELECT result. Scopes: entity/header, element, parameter. Families: core (@EndUserText, @AccessControl, @Metadata), @Semantics, @ObjectModel, @UI, @Consumption, @Search, @Analytics. Element annotations propagate to views built on top for the same element unless overridden or stopped with @Metadata.ignorePropagatedAnnotations; header annotations do not propagate. In RAP services they are translated into OData vocabularies in $metadata. ADT's Active Annotations view shows effective values and origins.
easyFiori Elements
15. What is SAP Fiori Elements, and how does it build UIs from a RAP service?
Fiori Elements provides floorplans (list report, object page, worklist, analytical list page, overview page) that render UIs at runtime from OData metadata and annotations — no UI5 view code. With RAP: projection views plus metadata extensions supply @UI annotations (headerInfo, lineItem, selectionField, facet, fieldGroup), the V4 UI binding publishes the service, and BDEF behavior (draft, feature control, authorization, side effects) drives editability and buttons. Freestyle UI5 is used only for needs the floorplans and flexible programming model cannot meet.
easyBehavior Implementations
16. What is a behavior pool, and what is the difference between its handler and saver classes?
The behavior pool is a global class (e.g. ZBP_R_PURCHREQ, "ABSTRACT FINAL FOR BEHAVIOR OF zr_purchreq") whose code lives in local classes in the local types include.
Handler classes (INHERITING FROM cl_abap_behavior_handler, usually one per entity) contain interaction-phase methods: determinations, validations, actions, functions, authorization, feature control, prechecks, and in unmanaged BOs create/update/delete/read/lock.
The saver class (INHERITING FROM cl_abap_behavior_saver) contains save-sequence methods: finalize, check_before_save, cleanup_finalize, adjust_numbers, save/save_modified, cleanup — needed only for unmanaged BOs, late numbering or additional/unmanaged save.
Methods are generated from the BDEF with the ADT quick fix and called by RAP, never by you.
easyOData V4
17. Explain the OData V4 contract: what does $metadata contain and which query options exist?
$metadata defines entity types (properties, types, keys), entity sets, navigation properties with bindings, actions/functions and annotations — the contract clients rely on. Query options: $select, $filter (eq, ne, gt, lt, and/or, contains, startswith), $orderby, $top/$skip, $count, $expand with nested options, $search. RAP draft entities have IsActiveEntity in the key. The RAP V4 URL includes binding, service definition and version.
easyAMDP
18. What is AMDP, and where does it fit among the code pushdown options?
AMDP is an ABAP class method (class implements if_amdp_marker_hdb) implemented in SQLScript via BY DATABASE PROCEDURE/FUNCTION FOR HDB, with a USING clause for all read objects; the ABAP runtime creates and manages the HANA procedure and it is transported with the class. Pushdown order: ABAP SQL for program logic, CDS view entities for reusable models, AMDP only for multi-step SQLScript, HANA-specific functions, CDS table function implementations or measured performance needs.
easyBehavior Definitions
19. What is a behavior definition, and what goes into its header, entity header and entity body?
The behavior definition (BDEF), written in Behavior Definition Language, is the transactional contract of a RAP BO; RAP enforces it before your code runs.
Header: implementation type and class (managed/unmanaged … implementation in class … unique), strict ( 2 ), with draft.
Entity header (define behavior for … alias …): persistent/draft table, lock master/dependent, authorization master/dependent, etag master, total etag, early/late numbering.
Entity body: create/update/delete with options, field characteristics, association operations, determinations, validations, actions, functions, draft actions, side effects and the mapping block.
Each logic element becomes a generated method in the behavior pool.
easyRAP Business Objects
20. What is a RAP business object, and how do you decide which entities belong in its composition tree?
A RAP BO is a tree of CDS entities (a root plus composition children) with a behavior definition; it is one transactional boundary — locked, checked and saved together. The root carries lock, ETag and authorization master; children depend on it.
An entity belongs in the tree if it has no lifecycle of its own and must be consistent with the root in the same transaction (e.g. request items). Entities with their own lifecycle or editors (customer, product, time entries) are separate BOs and only referenced via associations. Large or independently edited children in the tree cause lock contention and heavy drafts, so keep the tree as small as consistency requires.