All ABAP on BTP interview questions in one place, grouped by page. Read the page when an answer needs more depth.
How to practise: cover the answer, say yours out loud in 30–60 seconds, then compare.
01 · ABAP on BTP – ABAP Environment, Steampunk & Extensibility
Q1. What is the SAP Business AI Platform, ABAP environment (Steampunk)?
A PaaS offering on SAP BTP: SAP runs a full ABAP system with an SAP HANA Cloud database, you develop only with ABAP Cloud (RAP, CDS, released APIs, ADT). Used for side-by-side extensions and new cloud apps. Until 2026 it was called SAP BTP, ABAP environment.
Q2. What is Embedded Steampunk?
The same ABAP Cloud model inside S/4HANA (developer extensibility, on-stack). Code runs in the S/4 system and can read released CDS views and use released RAP BOs locally.
Q3. What makes ABAP "ABAP Cloud"?
Language version ABAP for Cloud Development (restricted statements), only released SAP APIs, RAP + CDS as the programming model, ADT as the only IDE, Fiori / OData as UI and API. The compiler and ATC enforce it.
Q4. Can I use SE80, SAP GUI or classic reports in the ABAP environment?
No. Development is only in ADT (Eclipse or VS Code), UIs are Fiori apps, output is via services – classic list output (WRITE) and dynpros are not available.
Q5. How do transports work in the ABAP environment?
Git-based (gCTS). Development belongs to a software component with its own Git repository. Releasing a transport request in DEV pushes a commit; in TEST and PROD the admin pulls it in Manage Software Components.
Q6. Communication scenario vs communication system vs communication arrangement?
Scenario (developer) = which inbound/outbound services may be used. System (admin) = the partner and its credentials. Arrangement (admin) = scenario + system, activates the connection.
Q7. How does an ABAP environment app read data from S/4HANA on-premise?
Through a released remote API (OData/SOAP) of S/4HANA, called via a communication arrangement or BTP destination that routes through the Cloud Connector. A service consumption model gives typed proxies.
Q8. Key user, on-stack or side-by-side – how do you decide?
Key user for small changes without code; on-stack (ABAP Cloud in S/4) when logic is close to S/4 data and needs local consistency; side-by-side on BTP for separate apps, several systems, external users or AI.
Q9. You need data from MARA in ABAP Cloud. What do you do?
Use the released successor CDS view I_Product (find it in the Released Objects tree or the Cloudification Repository). If nothing is released: in Private Edition a governed wrapper; in BTP a remote API.
Q10. What is Joule for developers, ABAP AI capabilities?
Generative AI inside ADT: code completion, chat, code explanation, generation of RAP artefacts and ABAP Unit tests, explanation of ATC findings with fix proposals, plus help with custom code migration.
Q11. Joule for developers vs ABAP AI SDK?
Joule for developers helps the developer write code (design time). The ABAP AI SDK lets your application call an LLM at runtime via ISLM and the generative AI hub in SAP AI Core.
Q12. How are RAP and the ABAP environment related?
RAP is the programming model for transactional apps and APIs in ABAP Cloud, so every Fiori app or Web API you build in the ABAP environment is a RAP business object exposed through a service binding.
Q13. What is the Landscape Portal and what is system hibernation?
The Landscape Portal is SAP's central lifecycle-management tool for ABAP systems on BTP (no extra licence, role collection LandscapePortalAdminRoleCollection). Its Manage System Hibernation app stops, starts or schedules systems so DEV and TEST cost much less outside working hours; a hibernated system does not start on an HTTP call. Partners also use it to provision and update tenants of multitenant ABAP SaaS solutions.
Q14. Scenario: the sales team wants an "Order Insights" portal on top of S/4HANA sales orders for internal and external users. Which ABAP option do you choose?
Not key user (it is a real application) and not on-stack (external users, own lifecycle, events and AI). So side-by-side: in the ABAP environment if the team is ABAP-strong – a RAP app that reads API_SALES_ORDER_SRV through a communication arrangement and the Cloud Connector, with a service consumption model and a custom entity – or with CAP if the team prefers Node.js / Java. The approval logic that must stay transactional with the sales order stays on-stack as a RAP BO in S/4HANA.
Q15. Scenario: your monthly BTP bill for three ABAP systems is too high. What can you do?
Schedule hibernation of DEV and TEST outside working hours in the Landscape Portal, check that sizing (ABAP and HANA compute units) matches the real load, use the elastic scaling of the ABAP runtime instead of a permanently large system, and remove systems that are no longer needed – never hibernate PROD.
02 · ABAP for Cloud Development
Q1. What is ABAP for Cloud Development, and how is it different from ABAP Cloud?
ABAP for Cloud Development is an ABAP language version: a restricted language scope plus access only to released APIs, checked by the syntax check. ABAP Cloud is the development model built on it: this language version, released APIs, ADT as the only tool, RAP for transactional apps and CDS for the data model. Standard ABAP is the unrestricted language version used by classic code.
Q2. Explain release contracts C0, C1 and C2.
A release contract is SAP's stability promise for an object. C0 keeps extension points stable, so you can extend the object (fields, behavior). C1 keeps it stable for system-internal use, with the visibilities *Use in Cloud Development* and *Use in Key User Apps*; that is what ABAP Cloud code needs. C2 keeps a remote API (OData/SOAP) stable for external callers. C3 covers configuration content, C4 use in AMDP. You see them in ADT under *Properties* → *API State*.
Q3. How do you find out whether an SAP object is released, and what replaces it if not?
In ADT: the *Released Objects* tree and the *API State* tab. For successors: the Cloudification Repository on GitHub and its viewer, the view I_APIsWithCloudDevSuccessor, and api.sap.com. For existing code, ATC with ABAP_CLOUD_READINESS or the check *Usage of Released APIs* lists every unreleased object with its successor. Example: VBAK → I_SalesDocument, KNA1 → I_Customer.
Q4. What does "deprecated" mean for a released API?
It is still released and still works, but SAP has named a successor and will not develop the old one further. Existing code keeps running; new code uses the successor, and old code is moved in a planned way. ATC reports the use of deprecated APIs.
Q5. You need SAP functionality that has no released API. What do you do?
First search again: released views, BO interfaces (I_…TP), XCO, released classes. Then request the release through SAP Customer Influence. On S/4HANA private cloud or on-premise, build a wrapper in a Standard ABAP package around a classic API and release it with C1 for cloud development (clean core level B), so the ABAP Cloud code calls only the wrapper. In public cloud there is no Standard ABAP, so the options are key user tools, side-by-side on BTP with remote APIs, or another design.
Q6. What is XCO? Give three examples.
The Extension Components library, SAP's released general-purpose library for ABAP Cloud (classes XCO_CP*). Examples: xco_cp=>sy->date( xco_cp_time=>time_zone->user ) for the user's date, xco_cp_json=>data->from_abap( … )->to_string( ) for JSON, xco_cp_xlsx to read and write Excel, xco_cp_abap_repository for repository information and xco_cp_generation to generate objects.
Q7. Why should you not use sy-datum in ABAP Cloud, and what do you use instead?
sy-datum is the application server's local date, which has no meaning for a cloud system that serves users in many time zones; SAP lists it among the sy fields that should not be used. Use cl_abap_context_info=>get_system_date( ) for the UTC date or xco_cp=>sy->date( xco_cp_time=>time_zone->user ) for the user's date. Fields such as sy-subrc, sy-tabix and sy-uname stay allowed.
Q8. Which ATC check variants do you use and when?
ABAP_CLOUD_READINESS on classic code to see what blocks a move to ABAP Cloud; ABAP_CLOUD_DEVELOPMENT_DEFAULT on code written in ABAP for Cloud Development. In ECC or S/4HANA systems an own variant with the check *Usage of Released APIs (Cloudification Repository)*, pointed at SAP's JSON file on GitHub, analyses custom code against the current list of released APIs.
Q9. How do you run and debug code without SE38?
A global class implementing IF_OO_ADT_CLASSRUN runs with F9 in ADT and writes to the console with out->write( ). Breakpoints are set in the ADT ruler, and the Eclipse debugger opens on F9. Tests are ABAP Unit classes run with Ctrl+Shift+F10. For end users the output is a Fiori app, not a console.
Q10. Scenario: a classic report reads VBAK and KNA1, prints with WRITE and calls BAPI_USER_GET_DETAIL. Walk through the conversion.
Run ATC ABAP_CLOUD_READINESS. Replace the report with a class (IF_OO_ADT_CLASSRUN) or, for users, a CDS view on I_SalesOrder with a Fiori elements list. Replace VBAK/KNA1 with I_SalesOrder and I_Customer, sy-datum with cl_abap_context_info=>get_system_date( ), the BAPI with get_user_formatted_name( ), WRITE with out->write( ). Type fields from the released views. Switch the language version to ABAP for Cloud Development, run ABAP_CLOUD_DEVELOPMENT_DEFAULT, add a unit test, transport.
Q11. Scenario: a custom program creates sales orders with BAPI_SALESORDER_CREATEFROMDAT2. The customer moves to S/4HANA Cloud Public Edition. What changes?
The BAPI is not released, and public cloud has no Standard ABAP for a wrapper. The Cloudification Repository names the released RAP BO I_SalesOrderTP as successor, so the program becomes ABAP Cloud code that creates the order with EML (MODIFY ENTITIES OF i_salesordertp … COMMIT ENTITIES), with the BO's own validations and late numbering (CONVERT KEY to get the final number). If the call comes from outside, the released remote API (C2) is used instead.
Q12. Scenario: your team lead asks whether a utility class written last year can be used from new ABAP Cloud code in the same S/4HANA 2023 system. How do you decide?
Check its language version and dependencies. If it is Standard ABAP and uses only released APIs, switch it to ABAP for Cloud Development and re-run ATC. If it must stay Standard ABAP because it calls unreleased objects, treat it as a wrapper: check that it wraps classic APIs only (level B), give it a clean interface, release it with C1 *Use in Cloud Development* in ADT or with CL_ABAP_API_STATE, and document it so it can be replaced when SAP releases a successor.