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?
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.
What RAP object contains only the fields required for a particular app?
In RAP, the Projection View is designed to expose only the fields relevant for a specific app, keeping the UI lean and controlled.
Metadata extension adds UI-related metadata, not fields.
Database view technical representation, not app-specific.
Data model view defines the data structure, not app-specific projection.
Verified by RAP documentation: Projection views are application-specific representations of the underlying data model.
Study Guide Reference: SAP RAP Help -- Business Object Projection Layer.
What is a class defined as part of an ABAP program called?
In ABAP Cloud/RAP examples, test classes are created inside the development object (e.g., inside the behavior implementation) and are marked FOR TESTING---these are local classes (they live in the program/class include, not as separate global repository classes). The guides show creating test classes under the Test Classes tab and referencing the Local Types section of the implementation (friends etc.), i.e., local to the program/object.
This contrasts with global classes that exist as standalone repository objects; the RAP test patterns explicitly model the former (local) for unit tests within the object's context.
Constructors have which of the following properties?
(Select 2 correct answers)
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.
Which models must you use to develop artifacts that expose ABAP-based backend services based on semantic data models? (Select 2)
RAP defines the architecture for OData services based on CDS semantic data models and ABAP behavior---this is the current model.
The predecessor is the ABAP Programming Model for SAP Fiori (BOPF/CDS-based), which can be migrated into RAP; it also exposes ABAP backend logic via CDS semantics.
ABAP Cloud Development Model (B) is the rule set/contract (release contracts, checks), not the service-building model. CAP (C) targets Node.js/Java on BTP, not ABAP-based backend services.
Thomas Parker
10 hours agoGerald Williams
14 days agoGeorge Scott
29 days agoPaul Roberts
1 month agoAmanda Garcia
1 month agoNathan Smith
28 days agoKimberly Scott
1 month agoAnthony Thompson
24 days agoHeather Morris
21 days agoRossana
5 months agoErick
5 months agoFairy
5 months agoLyda
5 months agoMona
6 months agoTyisha
6 months agoTamar
6 months agoNida
6 months agoTambra
7 months agoCherilyn
7 months agoLorean
7 months agoAnnamae
7 months agoAnnett
8 months agoMauricio
8 months agoStevie
8 months agoHorace
8 months agoMerlyn
9 months agoHelga
9 months agoCaitlin
9 months agoJanessa
9 months agoMaile
9 months ago