SAP c-abapd-2507 practice test

Exam Title: SAP Certified Associate - Back-End Developer - ABAP Cloud

Last update: Nov 27 ,2025
Question 1

You want to define the following CDS view entity with an input parameter:
define view entity Z_CONVERT
with parameters i_currency : ???
Which of the following can you use to replace ????
(Select 2 correct answers)

  • A. A built-in ABAP Dictionary type
  • B. A built-in ABAP type
  • C. A component of an ABAP Dictionary structure
  • D. A data element
Answer:

A, D


Explanation:
CDS view parameters must be defined with types that are visible in the ABAP Dictionary.
A . Built-in ABAP Dictionary type → Supported (e.g., CURR, CHAR).
D . Data element → Supported, as data elements are dictionary-level types.
B . Built-in ABAP type (like i, string) → Not supported directly, CDS requires dictionary-compatible
types.
C . Component of a structure → Not supported directly; parameters cannot reference structure
components.
This ensures that CDS definitions remain database-compatible and semantically rich, which is critical
for RAP services.
Verified Study Guide Reference: ABAP CDS Development Guide – Defining View Parameters.

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 2

Which internal table type allows unique and non-unique keys?

  • A. Hashed
  • B. Sorted
  • C. Standard
Answer:

B


Explanation:
Sorted tables can be declared with unique keys (ensuring no duplicates) or with non-unique keys
(allowing duplicates).
Hashed tables only allow unique keys.
Standard tables allow non-unique keys only.
Thus, sorted internal tables are the only type that can be configured with both unique and non-
unique keys.
Verified Study Guide Reference: ABAP Dictionary and ABAP Cloud Programming Guide – Internal
Table Types.

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 3

Constructors have which of the following properties?
(Select 2 correct answers)

  • A. The constructor is automatically called during instantiation.
  • B. The constructor can have importing parameters.
  • C. The constructor must be the first method called by the client.
  • D. The constructor can have returning parameters.
Answer:

A, B


Explanation:
A . Automatic execution → A constructor (CONSTRUCTOR) is automatically invoked when an
instance of a class is created.
B . Importing parameters → Constructors can have importing parameters to initialize the object with
values.
C . First method called by client → Not correct, because constructors are called by the system, not
the client explicitly.
D . Returning parameters → Constructors cannot return values; they only set up the object.
This behavior is consistent across ABAP Cloud OOP classes, ensuring encapsulated initialization logic.
Verified Study Guide Reference: ABAP Objects Guide – Class Constructors and Instance Constructors.

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 4

Which of the following Core Data Services built-in functions returns a result of type INT4?
(Select 2 correct answers)

  • A. dats_add_months
  • B. dats_is_valid
  • C. dats_add_days
  • D. dats_days_between
Answer:

C, D


Explanation:
dats_add_days → Returns the number of days added/subtracted to a given date → INT4.
dats_days_between → Returns the number of days between two dates → INT4.
dats_add_months → Returns a DATE, not INT4.
dats_is_valid → Returns a BOOLEAN (flag), not INT4.
In CDS, these date functions are used for calculations in queries, supporting business logic
pushdown.
Verified Study Guide Reference: ABAP CDS Functions Reference – Date and Time Functions.

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 5

You have a superclass super1 and a subclass sub1 of super1. Each class has an instance constructor
and a static constructor. The first statement of your program creates an instance of sub1.
In which sequence will the constructors be executed?

  • A. Class constructor of sub1 → Instance constructor of super1 → Instance constructor of sub1 → Class constructor of super1
  • B. Class constructor of super1 → Class constructor of sub1 → Instance constructor of super1 → Instance constructor of sub1
  • C. Instance constructor of super1 → Class constructor of super1 → Class constructor of sub1 → Instance constructor of sub1
  • D. Instance constructor of sub1 → Instance constructor of super1 → Class constructor of super1 → Class constructor of sub1
Answer:

B


Explanation:
Execution order when creating an instance of a subclass:
Class constructor of the superclass (super1) executes first.
Class constructor of the subclass (sub1) executes second.
Then the instance constructor of the superclass (super1) executes.
Finally, the instance constructor of the subclass (sub1) executes.
This sequence guarantees that both the static (class-level) and instance-level initializations of the
superclass are complete before the subclass is constructed.
Verified Study Guide Reference: ABAP Objects Programming Guide – Class and Instance Constructor
Execution Order.

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 6

Which of the following enforce ABAP Cloud rules?
(Select 2 correct answers)

  • A. ABAP release contracts
  • B. ABAP platform reuse services
  • C. ABAP compiler
  • D. ABAP runtime checks
Answer:

C, D


Explanation:
ABAP Cloud rules are enforced by:
ABAP Compiler → performs syntax checks against ABAP Cloud rules.
ABAP Runtime Checks → ensure runtime compliance with rules (e.g., avoiding calls to unreleased
APIs).
Release contracts and platform reuse services are enablers but do not enforce rules automatically.
Verified Study Guide Reference: ABAP Cloud Documentation – Rule Enforcement via Compiler and
Runtime.

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 7

Which of the following are personas under the SAP S/4HANA Cloud Extensibility Framework?
(Select 2 correct answers)

  • A. Report Writer
  • B. Business Expert
  • C. Workflow Administrator
  • D. Citizen Developer
Answer:

B, D


Explanation:
SAP S/4HANA Cloud Extensibility Framework defines personas for extension activities:
Business Experts → implement extensions with business knowledge (using in-app extensibility).
Citizen Developers → build extensions with low-code/no-code tools.
Report Writer and Workflow Administrator are roles, but not part of extensibility personas.
Verified Study Guide Reference: ABAP Cloud Extensibility Guide – Personas in SAP S/4HANA Cloud.

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 8

Which language is used to add or change data of a business object in RAP?

  • A. Data manipulation language
  • B. Entity manipulation language
  • C. Data modification language
  • D. RAP editing language
Answer:

B


Explanation:
In RAP, changes to business object data are performed using Entity Manipulation Language (EML).
It provides ABAP statements such as READ ENTITIES, MODIFY ENTITIES, CREATE, and DELETE for RAP
BOs.
EML is the cloud-compliant equivalent of SQL DML (insert/update/delete) but tailored to RAP’s
transactional consistency.
Verified Study Guide Reference: RAP Programming Model – Entity Manipulation Language (EML).

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 9

You want to document a global class with ABAP Doc. What do you need to consider?
(Select 3 correct answers)

  • A. The documentation may contain tags like <strong> </strong>.
  • B. The documentation has to be positioned directly after the declarative statement.
  • C. The documentation can contain links to other repository object's documentation.
  • D. The documentation can be translated.
  • E. The documentation starts with !.
Answer:

B, D, E


Explanation:
ABAP Doc is the integrated documentation system for classes, interfaces, and methods. Rules:
Position → Must be placed directly after the declarative statement (B).
Translatable → ABAP Doc content can be translated (D).
Syntax → Each line must start with ! (E).
HTML tags (A) and repository links (C) are not supported.
Verified Study Guide Reference: ABAP Development Tools (ADT) Documentation – ABAP Doc
Annotations and Rules.

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 10

Given this code,
INTERFACE if1.
METHODS m1.
ENDINTERFACE.
CLASS cl1 DEFINITION.
PUBLIC SECTION.
INTERFACES if1.
METHODS m2.
ENDCLASS.
" in a method of another class
DATA go_if1 TYPE REF TO if1.
DATA go_cl1 TYPE REF TO cl1.
go_cl1 = NEW #( ... ).
go_if1 = go_cl1.
What are valid statements? (Select 3 correct answers)

  • A. Instead of go_cl1 = NEW #( ... ) you could use go_if1 = NEW cl1( ... ).
  • B. Instead of go_cl1 = NEW #( ... ) you could use go_if1 = NEW #( ... ).
  • C. go_if1 may call method m2 with go_if1->m2( ... ).
  • D. go_if1 may call method m1 with go_if1->m1( ... ).
  • E. go_cl1 may call method m1 with go_cl1->if1~m1( ... ).
Answer:

A, D, E


Explanation:
An interface reference (go_if1) can point to any object of a class that implements that interface.
Therefore, creating an instance with NEW cl1( … ) and directly assigning it to the interface-typed
variable is valid (A).
Type inference with NEW #( … ) cannot infer a class from an interface-typed target (no unique
implementing class), so (B) is invalid.
An interface reference exposes only the interface’s methods; it cannot call class-specific methods (so
(C) is invalid).
Calling interface method m1 via the interface reference is valid (D).
From the class reference, the interface method can be called (implicitly or explicitly qualified) as
go_cl1->if1~m1( … ) (E).
This reflects ABAP OO rules in ABAP Cloud (method visibility via static type, interface
implementation, and explicit interface method calls).
Study Guide Reference: ABAP Objects—Interfaces & Class Constructors; ABAP Cloud Back-End
Developer—OO fundamentals.

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Page 1 out of 7
Viewing questions 1-10 out of 80
Go To
page 2