You want to check the behavior of an ordinary class ZCL_ORDINARY with class LTCL_TEST. How do you specify LTCL_TEST as a test class?
ABAP Unit test classes are declared with the addition FOR TESTING in the class definition. RAP test guides also show the same ABAP Unit pattern for local test classes:
CLASS ltcl_sc_r_agency DEFINITION FINAL FOR TESTING
DURATION SHORT
RISK LEVEL HARMLESS.
This is the canonical way to mark an ABAP class as a test class.
Which of the following pre-defined ABAP data types is a complete data type?
p (packed number) is a complete type, as it includes decimal places and precision definition.
d (date), c (character), n (numeric text) are incomplete types; they require length specification.
Study Guide Reference: ABAP Keyword Documentation -- Predefined ABAP Types.
In RESTful Application Programming, a business object contains which parts?
Note: There are 2 correct answers to this question.
In the RAP model, a Business Object (BO) is composed of the following key parts:
A CDS view, which defines the data model layer (entity structure, projections, associations).
A Behavior Definition (BDEF), which defines the behavior layer -- what operations can be performed (create, update, delete, validations, determinations).
Therefore:
Option B and C are correct.
Option A is incorrect because 'Process definition' is not a RAP construct; process logic is handled via behavior implementation and determinations.
Option D is incorrect because 'Authentication rules' are managed externally (e.g., via IAM, authorizations), not inside the BO.
===========
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.
Sharon Scott
17 days agoAnthony Davis
1 month agoThomas Parker
2 months agoGerald Williams
2 months agoGeorge Scott
3 months agoPaul Roberts
3 months agoAmanda Garcia
3 months agoNathan Smith
3 months agoKimberly Scott
3 months agoAnthony Thompson
2 months agoHeather Morris
2 months agoRossana
6 months agoErick
6 months agoFairy
7 months agoLyda
7 months agoMona
7 months agoTyisha
7 months agoTamar
8 months agoNida
8 months agoTambra
8 months agoCherilyn
8 months agoLorean
9 months agoAnnamae
9 months agoAnnett
9 months agoMauricio
9 months agoStevie
10 months agoHorace
10 months agoMerlyn
10 months agoHelga
10 months agoCaitlin
11 months agoJanessa
11 months agoMaile
11 months ago