What RAP object contains only the fields required for a particular app?
Answer : A
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.
Which of the following are reasons to use the side-by-side extensibility pattern? (3 correct)
Answer : A, B, C
Decoupled/independent management (A): RAP and ABAP Cloud allow extension providers to develop and expose their own services based on released interfaces---reflecting independent lifecycle and management, typical of side-by-side.
Own data model with occasional consumption (B): The platform supports consuming remote services and exposing APIs---patterns consistent with side-by-side extensions that keep their own data model and integrate when needed.
Event-based/reactive (C): RAP natively supports an event-driven architecture with asynchronous, decoupled communication---ideal for side-by-side process extensions reacting to business events.
Not same LUW (D is wrong): Remote communication is asynchronous and keeps LUWs separate---indicative of side-by-side, not in-app (same-stack) processing.
When you create an exception class, what does SAP recommend you do?
(Select 3 correct answers)
Answer : A, C, E
A Recommended to define attributes for message placeholders.
C Inheriting from cx_static_check enforces compile-time checks to ensure exceptions are handled.
E Implementing if_t100_message allows integration with message classes.
B Misleading, design-time warning is about handling, not raising.
D Not a recommended practice in ABAP Cloud (system classes are not extendable).
Study Guide Reference: ABAP Objects Guide -- Defining Exception Classes.
You have the following CDS definition (aliases shown):
define view entity Z_ENTITY
as select from Z_SOURCE1 as _Source1
association to Z_SOURCE2 as Source2 on ???
{
key carrier_id as Carrier,
key connection_id as Connection,
cityfrom as DepartureCity,
cityto as ArrivalCity,
Source2
}
(The data sources are joined by the field carrier_id. The corresponding field in Z_SOURCE2 is also carrier_id.)
Which ON condition must you insert?
Answer : D
In a CDS view entity defined AS SELECT FROM, the association ON condition must use the source aliases defined in the FROM clause.
$projection is used in projection views (AS PROJECTION ON ...), not in a basic select view entity. Therefore, options using $projection (B, C) are invalid here.
Using global names (Z_SOURCE1, Z_SOURCE2) in the ON (A) ignores the declared aliases and is not the recommended/valid form within the view definition.
The correct ON clause uses the aliases _Source1 and Source2 with the matching key fields:
ON _Source1.carrier_id = Source2.carrier_id (D).
This aligns with CDS modeling rules in RAP: use aliases consistently and model associations with precise ON conditions based on keys.
Study Guide Reference: ABAP CDS Development---Associations & ON conditions; RAP Data Modeling.
Given the following code excerpt that defines an SAP HANA database table:
DEFINE TABLE demo_table
{
KEY field1 : REFERENCE TO abap.clnt(3);
KEY field2 : abap.char(1332);
@Semantics.quantity.unitOfMeasure : 'demo_table.field4'
field3 : abap.quan(2);
field4 : abap.unit(2);
}
Which field is defined incorrectly?
Answer : A
Let's evaluate each field:
field1: Defined as REFERENCE TO abap.clnt(3) --- this is correct. It follows standard definition for client fields.
field2: Defined as abap.char(1332) --- this is incorrect. In ABAP CDS view entities, the maximum length for CHAR fields is limited to 1333 bytes total row size for all fields in a view or table. A single CHAR(1332) is almost the full limit and considered impractical or invalid in real implementations.
field3: Defined as abap.quan(2) --- this is correct, representing a quantity field with 2 decimal places.
field4: Defined as abap.unit(2) --- this is correct and compatible with the @Semantics.quantity.unitOfMeasure annotation used in field3.
Therefore, field2 is the invalid field due to its excessive length, likely breaching the allowable memory layout in the HANA table or violating SAP CDS limits.
ABAP CDS Development Guide, section 2.1 -- Table definitions and ABAP type length constraints; SAP Help 3, page 6 -- maximum lengths for data elements and supported annotations.
What describes multi-column internal tables?
Answer : B
Multi-column internal tables are defined using a structured row type, meaning each row is defined by a structure (either defined inline or as a global structure type in the Dictionary).
Option B is correct because it describes how internal tables with multiple fields are built using structured rows.
Option A is incorrect because the row type must be complete and consistent.
Option C is incorrect because nested components are not a requirement.
Option D is misleading. Though ''complete data type'' may sound correct, it lacks specificity. The correct technical description is that the row type is a structure.
What can be translated?
(Select 3 correct answers)
Answer : B, D, E
In ABAP Cloud, translation is supported for:
Data element texts (short, medium, long descriptions).
Message class texts (used in MESSAGE statements).
Text symbols (defined in programs).
Not translatable:
String variables runtime values, no translation.
Text literals hard-coded, not translatable via translation tools.
Study Guide Reference: ABAP Documentation -- Text Elements and Translation in ABAP Cloud.