Name the ABAP language versions. What is not allowed in ABAP for Cloud Development?
Say your answer out loud first.
Practise another way
There are three: Standard ABAP, which is unrestricted, ABAP for Key Users, created by key user apps, and ABAP for Cloud Development. The two restricted versions limit the syntax and also limit which SAP objects you can reach: only released APIs or objects in your own software component.
In ABAP for Cloud Development you cannot write reports or dynpros, use native SQL or file access, read most SAP tables, or use most system fields like sy-datum.
Every repository object has an ABAP language version attribute. It is set on the object or derived from its package or software component, and you see it in ADT under the object's properties.
The three versions
- Standard ABAP: the full language. Only the package concept limits what you can reach.
- ABAP for Key Users: used for objects created in key user apps (for example custom logic). Smaller than the cloud version; for instance no access to custom tables and no dynamic programming.
- ABAP for Cloud Development: used for developer extensibility and in the ABAP environment.
Two kinds of restriction
- Syntax: the activation check rejects forbidden statements.
- Object access: you may use only objects released for that version, or objects in the same software component.
Not allowed in ABAP for Cloud Development (examples)
- Reports and classic UI:
REPORT,CALL SCREEN, classic lists such asWRITE. - Low-level access:
EXEC SQL,OPEN DATASET,SYSTEM CALL,SELECT ... USING CLIENTandCLIENT SPECIFIED. - Obsolete statements and enhancements such as
ENHANCEMENT-POINT. - Old asynchronous techniques:
CALL FUNCTION ... STARTING NEW TASK,RECEIVE,WAIT. SAP points toCL_ABAP_PARALLEL. - Direct reads of most SAP database tables. Use released CDS entities.
- Date and time system fields (
sy-datum,sy-uzeit,sy-timlo). Othersyfields such assy-subrc,sy-tabix,sy-unameremain usable, per SAP's cheat sheet.
" ABAP for Cloud Development
DATA(today) = cl_abap_context_info=>get_system_date( ). "ok
SELECT SINGLE * FROM i_timezone
WHERE TimeZoneID = 'EST' INTO @DATA(zone). "ok, released CDS view
DATA(bad_date) = sy-datum. "syntax error
SELECT SINGLE carrid FROM spfli INTO @DATA(c). "unreleased table: error
Dynamic code is allowed, but the release check then happens at runtime and ends in a runtime error if you name an unreleased object.
Where it applies. The three versions exist in all current ABAP platforms; Public Edition and the ABAP environment accept only the two restricted versions. Check the keyword documentation for the exact list of language elements for your release.
Names all three versions, separates syntax limits from object-access limits, and gives concrete forbidden statements plus the replacement for sy-datum.
Says 'ABAP for Cloud is a subset of ABAP' without examples or the object-access rule.
Thinking the restriction is only about syntax. The bigger limit is object access: perfectly valid syntax still fails if it reaches an unreleased SAP object.
- Where is the language version of a class set, and who can change it?
- Can a Standard ABAP object call an ABAP for Cloud Development object?
- What happens if dynamic SQL names an unreleased table?
- Why is the key user version smaller than the cloud version?
5 official pages. Confidence: high. Checked 21 Nov 2026.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.