C_ABAPD_2309 (1) (4)
C_ABAPD_2309 (1) (4)
C_ABAPD_2309
SAP Certified Associate – Back-End Developer - ABAP
Cloud
https://www.realpdfdumps.com/
QUESTION: 1
A class my_class contains the public static method my_method. What is the correct code to call this method?
Option A :
my_class->my_method.
Option B :
my_class=>my_method.
Option C :
my_class->my_method( ).
Option D :
my_class=>my_method( ).
Correct Answer: D
QUESTION: 2
Which extensibility type does SAP recommend you to enhance the existing Ul for an SAP Fiori app?
Option A :
Developer
Option B :
Key user
Option C :
https://www.realpdfdumps.com/
Classic
Option D :
Side-by-side
Correct Answer: B
QUESTION: 3
Option A :
Option B :
Option C :
SELECT ...
Option D :
Correct Answer: B
QUESTION: 4
https://www.realpdfdumps.com/
Option A :
Option B :
Option C :
Correct Answer: A
QUESTION: 5
Option A :
Option B :
No changing parameters
Option C :
Option D :
Correct Answer: D
https://www.realpdfdumps.com/
QUESTION: 6
You declare a variable as follows: DATA var TYPE I VALUE 100. Subsequently, you use the statement CLEAR
var. What is the value of var after the CLEAR statement?
Option A :
Option B :
INITIAL
Option C :
100
Option D :
NULL
Correct Answer: A
QUESTION: 7
A structure struct contains a component comp. How do you address the component?
Option A :
struct=>comp
Option B :
struct->comp
Option C :
struct.comp
https://www.realpdfdumps.com/
Option D :
struct-comp
Correct Answer: D
QUESTION: 8
Option A :
Option B :
FROM
Option C :
FIELDS
Option D :
INTO TABLE
Correct Answer: D
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 9
Which of the following can you use to fill an internal table? Note: There are 2 correct answers to this
question.
Option A :
VALUE #( )
Option B :
READ
Option C :
APPEND
Option D :
LOOP...ENDLOOP
QUESTION: 10
You have shortened the length of a field in a database table. The table already contains data.
Option A :
The table is activated with a warning that you may lose data.
Option B :
Option C :
https://www.realpdfdumps.com/
The table is not activated.
Correct Answer: C
QUESTION: 11
Which of the following statements about exceptions are true? Note: There are 2 correct answers to this
question
Option A :
Option B :
Option C :
Option D :
QUESTION: 12
You want to read data from two database tables so that the SELECT statement returns a single result set that
contains no duplicate entries. Which of the following techniques would you use?
Option A :
UNION
https://www.realpdfdumps.com/
Option B :
Option C :
UNION ALL
Option D :
INNER JOIN
Correct Answer: A
QUESTION: 13
When you press F8 (Continue) in the debugger, where could the program processing next stop? Note: There
are 2 correct answers to this question
Option A :
Option B :
At a subsequent breakpoint
Option C :
Option D :
https://www.realpdfdumps.com/
QUESTION: 14
What must you do when you create an ABAP package? Note: There are 2 correct answers to this question
Option A :
Option B :
Option C :
Declare what other packages can use the contents of the package.
Option D :
QUESTION: 15
Which of the following predefined ABAP types are complete? Note: There are 2 correct answers to this
question.
Option A :
Option B :
Option C :
D
https://www.realpdfdumps.com/
Option D :
QUESTION: 16
When does SAP recommend to use a sorted or a hashed table respectively? (2 correct)
Option A :
A hashed table, when you read a subset in a loop and specify a part of the key from the left without gaps.
Option B :
A hashed table, when you read a single record and specify the complete key.
Option C :
A sorted table, when you read a subset in a loop and specify a part of the key from the left without gaps.
Option D :
A sorted table, when you read a single record and specify non-key fields.
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 17
What can you add to a business object in the ABAP RESTful application programming model?
Option A :
Action
Option B :
Field
Option C :
Method overwrite
Option D :
Implicit enhancement
https://www.realpdfdumps.com/
QUESTION: 18
Which of the following are valid data sources for a CDS view entity? Note: There are 2 correct answers to this
question.
Option A :
A structure
Option B :
Option C :
An internal table
Option D :
A database table
QUESTION: 19
When processing an internal table with the statement LOOP AT itab ... ENDLOOP, what system variable
contains the current row number?
Option A :
sy-linno
Option B :
sy-index
Option C :
https://www.realpdfdumps.com/
sy-subrc
Option D :
sy-tabix
Correct Answer: D
Explanation/Reference:
When processing an internal table with the statement LOOP AT itab… ENDLOOP, the system variable that contains the current
row number is sy-tabix. The sy-tabix variable is a predefined field of the system structure sy that holds the index or the row
number of the current line in an internal table loop. The sy-tabix variable is initialized with the value 1 for the first loop pass
and is incremented by 1 for eachsubsequent loop pass. The sy-tabix variable can be used to access or modify the current line
of the internal table using the index access12. References: 1: LOOP AT itab - ABAP Keyword Documentation - SAP Online Help
QUESTION: 20
What RESTful Application Programming object contains only the fields required for a particular app?
Option A :
Option B :
Metadata extension
Option C :
Database view
Option D :
Projection view
https://www.realpdfdumps.com/
Correct Answer: D
Explanation/Reference:
A projection view is a RESTful Application Programming object that contains only the fields required for a
particular app. A projection view is a CDS view entity that defines a projection on an existing CDS view entity
or CDS DDIC-based view. A projection view exposes a subset of the elements of the projected entity, which
are relevant for a specific business service. A projection view can also define aliases, virtual elements, and
annotations for the projected elements. A projection view is the top-most layer of a CDS data model and
prepares data for a particular use case. A projection view can have different provider contracts depending on
the type of service it supports, such as transactional query, analytical query, or transactional interface.
A database view is a CDS DDIC-based view that defines a join or union of database tables. A database view
has an SQL view attached and can be accessed by Open SQL or native SQL. A database view can be used as a
projected entity for a projection view, but it does not contain only the fields required for a particular app.
A metadata extension is a RESTful Application Programming object that defines additional annotations for a
CDS view entity or a projection view. A metadata extension can be used to enhance the metadata of a CDS
data model without changing theoriginal definition. A metadata extension does not contain any fields, but only
annotations.
A data model view is a CDS view entity that defines a data model based on database tables or other CDS view
entities. A data model view can have associations, aggregations, filters, parameters, and annotations. A data
model view can be used as a projected entity for a projection view, but it does not contain only the fields
References: CDS Projection Views - ABAP Keyword Documentation, CDS Projection Views in ABAP CDS:
QUESTION: 21
Option A :
Static methods, instance methods, static events, and instance events are possible interface components.
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
Option E :
QUESTION: 22
You want to enhance a business object to retrieve a default company code that is selected from the
database.
Option A :
Determination
Option B :
Association
Option C :
Action
Option D :
Validation
https://www.realpdfdumps.com/
Correct Answer: A
QUESTION: 23
Option A :
Option B :
Option C :
Option D :
Build ABAP reports with either ABAP List Viewer (ALV) or SAP Fiori.
Explanation/Reference:
Use public SAP APIs and SAP extension points. This rule ensures that the ABAP Cloud code is stable,
reliable, and compatible with the SAP solutions and the cloud operations. Public SAP APIs and SAP
extension points are the only allowed interfaces and objects to access the SAP platform and the SAP
applications. They are documented, tested, and supported by SAP. They also guarantee the lifecycle
Build ABAP RESTful application programming model-based services. This rule ensures that the ABAP
Cloud code follows the state-of-the-art development paradigm for building cloud-ready business
services. The ABAP RESTful application programming model (RAP) is a framework that provides a consistent end-to-end
programming model for creating, reading, updating, and deleting (CRUD) business data. RAP also supports draft handling,
authorization checks, side effects, validations, and custom actions. RAP exposes the business services as OData services that
https://www.realpdfdumps.com/
can be consumed by SAP Fiori apps or other clients2
QUESTION: 24
You declare a variable using the statement DATA struct TYPE . Which of the following can you use to declare
a structure? Note: There are 2 correct answers to this question.
Option A :
A CDS view
Option B :
A database table
Option C :
Option D :
A data element
QUESTION: 25
You are writing a SELECT statement that reads data using a CDS view entity. In the field list, you want to
read a field from an associated table. What do you use?
Option A :
A regular expression
Option B :
A logical expression
https://www.realpdfdumps.com/
Option C :
A path expression
Correct Answer: C
QUESTION: 26
Which of the following signature elements may an instance constructor have? Note: There are 2 correct
answers to this question.
Option A :
Importing parameters
Option B :
Changing parameters
Option C :
Exceptions
Option D :
Exporting parameters
QUESTION: 27
Option A :
https://www.realpdfdumps.com/
PRIVATE SECTION. PROTECTED SECTION. PUBLIC SECTION.
Option B :
It doesn't matter.
Option C :
Correct Answer: C
QUESTION: 28
In the RESTful Application Programming model where do you implement non-standard operations for
customized business-logic behavior?
Option A :
In a determination
Option B :
In a validation
Option C :
In an action
Correct Answer: C
QUESTION: 29
In a test method you call method cl_abap_unit_assert=>assert_equals( ..) in the following way:
ENDCLASS.
METHOD m1.
cl_abap_unit_assert=>assert_equals(
EXPORTING
act = go_class->mv_attribute
exp = lco_exp
).
ENDMETHOD.
ENDCLASS.
What will happen if method parameters act and exp are not equal?
Option A :
Option B :
The tested unit will automatically be appended to a default ABAP Test Cockpit Variant.
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: C
QUESTION: 30
You have declared two reference variables, ref1 and ref2. ref1 points to an object. You now execute the
statement ref2 = ref1. What happens?
Option A :
The ABAP system creates a copy of the object to which ref1 is pointing and assigns its address to ref2.
There are now two objects.
Option B :
The ABAP system assigns the address of the object to which ref1is pointing to reference variable ref2.
There is only one object.
Correct Answer: B
QUESTION: 31
The IF condition IF a > 10. is followed by the ELSEIF condition ELSEIF a = 25.The variable a has the value 25.
Which code branch or branches are executed?
Option A :
Option B :
Both branches.
Option C :
https://www.realpdfdumps.com/
Correct Answer: A
QUESTION: 32
Which of the following characters is not allowed in the name of an ABAP class?
Option A :
Option B :
Option C :
Correct Answer: A
QUESTION: 33
What information do you see when you position the mouse pointer over a variable in the debugger?
Option A :
Option B :
Option C :
https://www.realpdfdumps.com/
Correct Answer: C
QUESTION: 34
Option A :
&
Option B :
&&
Option C :
Option D :
++
Correct Answer: B
QUESTION: 35
The type tt_table is defined as follows: TYPES tt_table TYPE STANDARD TABLE OF st_connection WITH NON-
UNIQUE KEY carrier_id connection_id. Which DATA statement would you use to create an internal table with
this type?
Option A :
Option B :
Option D :
Correct Answer: A
QUESTION: 36
When you declare an internal table, you must specify how many rows it may contain.
Option A :
TRUE
Option B :
FALSE
Correct Answer: B
QUESTION: 37
Given the following Core Data Service View Entity Data Definition:
1 @AccessControl.authorizationCheck: #NOT_REQUIRED
3 AS SELECT
4 FROM scarr AS a
7 ON p.id = c.airport
8 ON a.carrid = c.carrid
9{
10 a.carrid AS carrier_id,
11 p.id AS airport_id,
12 c.countnum AS counter_number
13 }
Option A :
sairport will be joined to scounter first and the result will be joined with scarr.
Option B :
scarr will be joined with sairport first and the result will be joined with scounter.
Option C :
scarr will be joined with scounter first and the result will be joined with sairport.
Option D :
scounter will be joined to sairport first and the result will be joined with scarr.
Correct Answer: A
Explanation/Reference:
scarr will be joined with scounter first and the result will be joined with sairport.
This is because the join statements are nested from left to right, meaning that the leftmost data source is joined
with the next data source, and the result is joined with the next data source, and so on. The join condition for
each pair of data sources is specified by the ON clause that follows the data source name. The join type for
each pair of data sources is specified by the join operator that precedes the data source name. In this case, the
https://www.realpdfdumps.com/
join operator is LEFT OUTER JOIN, which means that all the rows from the left data source are included in
the result, and only the matching rows from the right data source are included.If there is no matchingrow from
the right data source, the corresponding fields are filled with initial values1.
First, scarr AS a will be joined with scounter AS c using the join condition a.carrid = c.carrid. This
means that all the rows from scarr will be included in the result, and only the rows from scounter that
have the same value for the carrid field will be included. If there is no matching row from scounter, the
Second, the result of the first join will be joined with sairport AS p using the join condition p.id =
c.airport. This means that all the rows from the first join will be included in the result, and only the rows
from sairport that have the same value for the id field as the airport field from the first join will be
included. If there is no matching row from sairport, the id field will be filled with an initial value.
QUESTION: 38
The static constructor is executed when the class is addressed for the first time. When might this be? Note:
There are 2 correct answers to this question.
Option A :
Option B :
Option C :
QUESTION: 39
You have defined a class containing instance attributes and static attributes. You have also declared a
https://www.realpdfdumps.com/
reference variable but not yet created a new instance of the class. Which components of the class can you
access at this point, and how?
Option A :
Option B :
Option C :
Option D :
Correct Answer: C
QUESTION: 40
With the following class definition, what is the correct syntax for calling method b?
PUBLIC SECTION.
CLASS-METHODS b.
ENDCLASS.
Option A :
lo_a->b( ).
Option B :
lo_a=>b( ).
https://www.realpdfdumps.com/
Option C :
zcl_a=>b( ).
Option D :
zcl_a->b( ).
Correct Answer: C
QUESTION: 41
Which of the following can you use to denote a comment in ABAP? Note: There are 2 correct answers to this
question.
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
QUESTION: 42
Your class contains a public instance attribute attr. How could you ensure that its value can only be changed
within the class? Note: There are 2 correct answers to this question.
Option A :
Option B :
Option C :
Option D :
QUESTION: 43
An ABAP Cloud Project in ABAP Development Tools (ADT) allows you to connect to what kinds of system?
Note: There are 2 correct answers to this question
Option A :
Option B :
Option C :
https://www.realpdfdumps.com/
On-Premise ABAP system
QUESTION: 44
Option A :
Option B :
Option C :
Option D :
Correct Answer: D
QUESTION: 45
The result of the expression result = var MOD 2. is 1. What does this tell you about the value of variable var?
Option A :
Option B : https://www.realpdfdumps.com/
var is an odd number.
Correct Answer: B
QUESTION: 46
For which of the following analysis tools does ABAP Development Tools provides a dedicated perspective?
Note: There are 2 correct answers to this question.
Option A :
ABAP Debugger
Option B :
ABAP Unit
Option C :
ABAP Profiling
Option D :
Explanation/Reference:
There are no dedicated perspectives for ABAP Test Cockpit and ABAP Unit.
QUESTION: 47
Which of the following uses of SQL function SUBSTRING( ) returns the same result as LEFT( text_field, 1)?
https://www.realpdfdumps.com/
Option A :
SUBSTRING(text_field, 1, 1 )
Option B :
SUBSTRING(text_field, 1, 0 )
Option C :
SUBSTRING(text_field, 0, 1 )
Correct Answer: A
Explanation/Reference:
QUESTION: 48
Which of the following method calls in a RAP validation create messages which are translatable? Note: There
are 2 correct answers to this question.
Option A :
Option B :
Option C :
DATA(msg) = me->new_message_with_text( severity = ms-error text = 'Airport does not exist ' ).
Option D :
https://www.realpdfdumps.com/
DATA(msg) = me->new_message_with_text( severity = ms-error text = 'Airport does not exist'(ane) ).
Explanation/Reference:
Only those method calls that reference a text symbol by using (ane) after the text literal create a translatable message.
QUESTION: 49
Option A :
Option B :
Option C :
Correct Answer: A
Explanation/Reference:
QUESTION: 50
Which of the following parts of a behavior definition are generated automatically? Note: There are 2 correct
https://www.realpdfdumps.com/
answers to this question.
Option A :
Option B :
Draft enabling
Option C :
Validations
Option D :
Determinations
QUESTION: 51
Option A :
There are more predefined types in the ABAP Dictionary than in the ABAP language.
Option B :
There is exactly the same number of predefined types in the ABAP Dictionary than in the ABAP language.
Option C :
There are more predefined types in the ABAP language than in the ABAP Dictionary.
https://www.realpdfdumps.com/
Correct Answer: A
Explanation/Reference:
Several predefined types in the ABAP Dictionary are mapped to the same predefined type in the ABAP language. For example,
types CHAR, MANDT, CUKY, UNIT are all mapped to type C. Therefore there are more predefined types in the ABAP Dictionary
QUESTION: 52
Your class lcl_class has a factory method factory. Which of the following are properties of factory? Note:
There are 2 correct answers to this question.
Option A :
Option B :
Option C :
It is a public method
Option D :
It is an instance method
Explanation/Reference:
A factory method is a public static method. It may have any number of importing parameters, and it has a returning parameter
https://www.realpdfdumps.com/
QUESTION: 53
In a loop that processes an internal table and modifies the contents, you replace a work area with a field
symbol. What do you expect to happen to the performance of the loop?
Option A :
Option B :
Option C :
Correct Answer: C
QUESTION: 54
You analyze ABAP code with an ABAP SQL SELECT. The FROM clause contains a nested joins but there are no
brackets. What do you look at to find out in which sequence the joins are evaluated?
Option A :
Option B :
Option C :
https://www.realpdfdumps.com/
Option D :
Correct Answer: D
Explanation/Reference:
The sequence in which the nested joins are evaluated is derived from the sequence of the ON conditions.
QUESTION: 55
Option A :
Hashed
Option B :
Standard
Option C :
Sorted
Correct Answer: C
Explanation/Reference:
The internal table type that allows both unique and non-unique keys is the standard table. A standard table has
an internal linear index that can be used to access the table entries. The key of a standard table is always
non-unique, which means that the table can contain duplicate entries. However, the system does not check the
uniqueness of the key when inserting new entries, so the programmer can ensure that the key is unique by
using appropriate logic. A standard table can be accessed either by using the table index or the key, but the
https://www.realpdfdumps.com/
response time for key access is proportional to the table size.
The other two internal table types, sorted and hashed, do not allow non-unique keys. A sorted table is filled in
sorted order according to the defined table key, which must be unique. A sorted table can be accessed either by
using the table index or the key, but the response time for key access is logarithmically proportional to the
table size. A hashed table can only be accessed by using a unique key, which must be specified when declaring
the table. A hashed table has no index, and the response time for key access is constant, regardless of the table
size.
References: Internal Tables - ABAP Keyword Documentation, SAP ABAP: Types Of Internal Table
Declaration - dan852.com
QUESTION: 56
In the validation, you use the READ ENTITIES statement to read the data entered by the user. Which
parameter of the validation method do you use to ensure that the correct data is retrieved?
Option A :
FAILED
Option B :
REPORTED
Option C :
KEYS
Correct Answer: C
QUESTION: 57
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Correct Answer: C
QUESTION: 58
You subtract one field with type D from another field with type D. What is the data type of the result?
Option A :
Option B :
Option C :
UTCLONG
Option D :
Correct Answer: A
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 59
You have a result field resultwith TYPE P LENGTH 3 DECIMALS 2. Which of the following statements leads to
an exception?
Option A :
result = EXACT #( 1 / 8 ).
Option B :
result = EXACT #( 1 / 2 ).
Option C :
result = 1 / 16.
Option D :
result = 8 / 16.
Correct Answer: A
QUESTION: 60
Which of the following assignments between variables of different data types is guaranteed to be free of
rounding, truncation, field overflow, or type mismatches? Note: There are 2 correct answers to this question.
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
Explanation/Reference:
Conversions from type string to type I can cause exceptions if the contents of the string cannot be represented as an integer.
Conversions from a longer character field to a shorter field are subject to truncation.
QUESTION: 61
In the READ ENTITIES statement, you use an internal table with a special type (TYPE TABLE FOR READ
RESULT). How is this type created?
Option A :
Option B :
Option C :
Correct Answer: C
https://www.realpdfdumps.com/
QUESTION: 62
Option A :
Authorization object
Option B :
IAM App
Option C :
Business Catalog
Option D :
Business Role
Correct Answer: B
Explanation/Reference:
QUESTION: 63
After profiling an ABAP application you want to analyze the sequence in which procedural units were called.
Which of the following trace analysis tools do you go to?
Option A :
Option B :
https://www.realpdfdumps.com/
Database Accesses
Option C :
Option D :
ABAP Stack
Correct Answer: A
Explanation/Reference:
Neither the Condensed Hit List nor the Database Accesses tool allow you to analyze the sequence in which procedural units
were called.
QUESTION: 64
You are using the DELETE ADJACENT DUPLICATES statement. Which of the following statements about the
COMPARING addition are true? Note: There are 2 correct answers to this question.
Option A :
If you leave it out, the entire line must be the same in order to be considered a duplicate
Option B :
It will only work properly if the table has been sorted according to the same columns as are listed after
COMPARING.
Option C :
If you leave it out, the key fields of the table row must be the same in order to be considered a duplicate.
Option D :
https://www.realpdfdumps.com/
It is mandatory.
QUESTION: 65
You want to calculate the ratio of two numeric values in ABAP SQL. The result should be rounded to exactly 1
decimal. What do you use to calculate the division?
Option A :
Option B :
Operator /
Option C :
Correct Answer: A
Explanation/Reference:
Only function DIVISION( ) allows you to specify the number of decimals. DIV( ) returns an integer value and when you use
QUESTION: 66
Option A :
Option C :
Correct Answer: A
QUESTION: 67
Which of the following expressions can you use to force a type conversion?
Option A :
EXACT #( )
Option B :
REDUCE #( )
Option C :
CONV #( )
Option D :
COND #( )
Correct Answer: C
Explanation/Reference:
COND #( ) is a conditional expression. EXACT #( ) demands a lossless conversion. The expression for forcing a type conversion
https://www.realpdfdumps.com/
is CONV #( ). REDUCE creates a result of a data type specified using type from one or more iteration expressions
QUESTION: 68
Option A :
String
Option B :
Option C :
Option D :
Explanation/Reference:
Incomplete ABAP types are types that do not specify all the attributes of a data type, such as the length, the
number of decimal places, or the value range. Incomplete types can only be used for the typing of field
symbols and formal parameters, not for the definition of data objects or constants. Incomplete types can be
https://www.realpdfdumps.com/
C. C is a type for character strings with a generic length. The length of the character string has to be
specified when a data object or a constant is defined with this type. For example, DATA text TYPE c
LENGTH 10 defines a data object named text with a type c and a length of 10 characters2.
D. P is a type for packed numbers with a generic length and a generic number of decimal places. The
length and the number of decimal places of the packed number have to be specified when a data object
or a constant is defined with this type. For example, DATA amount TYPE p LENGTH 8 DECIMALS 2
defines a data object named amount with a type p, a length of 8 bytes, and 2 decimal places3.
The following are not incomplete ABAP types, because they specify all the attributes of a data type:
A. String is a type for variable-length character strings. The length of the character string is determined
at runtime and can vary from 0 to 2,147,483,647 characters. The length does not have to be specified
when a data object or a constant is defined with this type. For example, DATA text TYPE string defines
a data object named text with a type string and a variable length4.
B. T is a type for time values in the format HHMMSS. The length of the time value is fixed at 6
characters and does not have to be specified when a data object or a constant is defined with this type.
For example, DATA time TYPE t defines a data object named time with a type t and a length of 6
characters.
Keyword Documentation
QUESTION: 69
In our scenario, what is coded in a behavior implementation? Note: There are 2 correct answers to this
question.
Option A :
Update
https://www.realpdfdumps.com/
Option B :
Determinations
Option C :
Validations
Explanation/Reference:
Validations and determinations are coded in the behavior implementation. But In the managed implementation scenario, the
RAP framework takes care of the standard operations create, update and delete.
QUESTION: 70
Option A :
In a global class.
Option B :
In a text pool.
Option C :
In a message class.
Correct Answer: C
https://www.realpdfdumps.com/
QUESTION: 71
Which of the following are subject to translation in ABAP? Note: There are 3 correct answers to this question.
Option A :
Option B :
Option C :
Option D :
Option E :
Explanation/Reference:
The values of text-like annotations, messages, and text symbols are subject to translation. But literals in the ABAP source code
are not.
QUESTION: 72
Which of the following data types is a numeric type? Note: There are 3 correct answers to this question.
Option A :
https://www.realpdfdumps.com/
P
Option B :
Option C :
Option D :
DECFLOAT16
Explanation/Reference:
ABAP supports the numeric data types i, int8, p, decfloat16, decfloat34, and f, plus the internal types b and s. In the other hand
the data type n corresponds to the special type NUMC in ABAP Dictionary. From a technical perspective, the built-in data type
NUMC describes objects of the type CHAR with a maximum length of 255 characters. It is intended for numerical texts. This is
not checked however when writing to or reading from database fields of this type. Automatic checks are only made for dynpro
fields typed with reference to NUMC. In ABAP, NUMC is assigned to the special type n and the associated rules apply.
QUESTION: 73
What does the annotation @Consumption.ValueHelpDefiniton specify? Note: There are 2 correct answers to
this question.
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
QUESTION: 74
You check a user's authorization to view data using an AUTHORITY-CHECK statement. What happens if the
user does not have the requisite authorization?
Option A :
sy-subrc is set to a value unequal to 0. The user is prevented from seeing the data automatically.
Option B :
sy-subrc is set to 0. The user is prevented from seeing the data automatically.
Option C :
sy-subrc is set to a value unequal to 0. The developer must ensure him or herself that the user cannot see
the data.
Option D :
sy-subrc is set to 0. The developer must ensure him or herself that the user cannot see the data.
Correct Answer: C
https://www.realpdfdumps.com/
QUESTION: 75
Which of the following can you use to specify the data type of a column in a database table?
Option A :
Local type
Option B :
Data element
Option C :
Domain
Correct Answer: B
QUESTION: 76
When are you forced to define alias names for the data sources of a join?
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: B
Explanation/Reference:
Alias names for the data sources are optional unless the same data source is used more than once.
QUESTION: 77
Your ABAP SQL SELECT statement contains the following FIELDS list: field1, field2, sum( field4 ). Only one of
the following GROUP BY clauses causes a syntax error. Which one?
Option A :
Option B :
Option C :
GROUP BY field1
Correct Answer: C
Explanation/Reference:
Fields field1 and field2 are listed in the FIELDS list outside of the aggregate function. These two fields are mandatory in the
GROUP BY clause. It is allowed (but not very common) to have more fields in the GROUP BY clause than necessary.
QUESTION: 78
A class lcl_plane has the subclasses lcl_passenger and lcl_cargo. Which of the following statements is true?
https://www.realpdfdumps.com/
Option A :
You can only assign an instance of lcl_passenger to a reference variable with type lcl_passenger
Option B :
You can assign an instance of lcl_passenger to a reference variable with type lcl_plane.
Option C :
You can assign an instance of lcl_passenger to a reference variable with type lcl_cargo.
Correct Answer: B
QUESTION: 79
Which of the following can you use to copy data from one internal table to another? Note: There are 2 correct
answers to this question.
Option A :
The UPDATEstatement
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
QUESTION: 80
An ABAP built-in function xyz( ) is called in the following way: IF xyz( …. ) . … ENDIF. What does this tell
you about the nature of the function?
Option A :
Option B :
Option C :
Option D :
Correct Answer: A
Explanation/Reference:
QUESTION: 81
When you create a database table to generate a RAP application, you must create a client field. Which data
type must it have?
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Correct Answer: B
Explanation/Reference:
Explanation
https://education.hana.ondemand.com/education/pub/mmcp/index.html?library=library.txt&show=project!PR_40AB455BABB1E
6AD:demo#16
QUESTION: 82
When you create a validation, what does the system generate automatically?
Option A :
Option C :
Option D :
Correct Answer: B
QUESTION: 83
You want to read data from an internal table using some, but not all, of its key fields. The fields you want to
use are at the beginning of the key with no gaps. What kind of internal table is suitable?
Option A :
Standard table
Option B :
Sorted table
Option C :
Internal table
Option D :
Hashed table
https://www.realpdfdumps.com/
Correct Answer: B
Explanation/Reference:
f you want to read data from an internal table using only some of its key fields and those fields are at the beginning of the key
In a sorted table, the key fields are used for sorting the table, and you can perform range queries on those key fields. When
you want to access data using only some of the key fields, and they are at the beginning of the key with no gaps, a sorted
table is more appropriate. You can use a binary search to efficiently find the data based on the specified key fields.
QUESTION: 84
Which of the following integration frameworks have been released for ABAP cloud development? Note: There
are 3 correct answers to this question
Option A :
SOAP consumption
Option B :
CDS Views
Option C :
https://www.realpdfdumps.com/
Option D :
Business Events
Option E :
OData services
Explanation/Reference:
Explanation
Business Events: Business events are used for event-driven integration within the ABAP environment. They are relevant for
CDS Views: Core Data Services (CDS) is a framework for defining and consuming semantically rich data models. CDS views are
widely used for data modeling and can be used for data retrieval and manipulation in ABAP on Cloud.
OData Services: OData is a standardized protocol for building and consuming RESTful APIs. OData services are commonly used
As for SOAP consumption and Business Add-ins (BAdIs), these are more commonly associated with traditional ABAP
development and may not be as prevalent in ABAP on Cloud development, which tends to focus more on modern and cloud-
QUESTION: 85
Option A :
Option B :
Delegation
https://www.realpdfdumps.com/
Option C :
Associations
Option D :
Annotations
Option E :
Inheritance
Explanation/Reference:
Core Data Services (CDS) is a framework for defining and consuming semantically rich data models in SAP
HANA. CDS supports various features that enhance the capabilities of SQL and enable developers to create
data models that are optimized for performance, readability, and extensibility12. Some of the features of CDS
are:
Associations: Associations are a way of defining relationships between CDS entities, such as tables or
views. Associations enable navigation and path expressions in CDS queries, which allow accessing data
from related entities without explicit joins. Associations also support cardinality, referential constraints,
Annotations: Annotations are a way of adding metadata to CDS entities or their elements, such as fields
or parameters. Annotations provide additionalinformation or instructions for the CDS compiler, the
database, or the consumers of the CDS views. Annotations can be used for various purposes, such as
Structured Query Language (SQL): SQL is the standard language for querying and manipulating data in
relational databases. CDS is based on SQL and extends it with additional features and syntax. CDS
supports SQL features such as joins, aggregations, filters, expressions, functions, and subqueries. CDS
also supports SQL Script, which is a scripting language for stored procedures and functions in SAP
HANA .
that allows a class to inherit the properties and methods of another class. CDS does not support
that allows an object to delegate some of its responsibilities to another object. CDS does not support
https://www.realpdfdumps.com/
object-oriented programming or objects.
References: 1: Core Data Services (CDS) | CAPire 2: Core Data Services [CDS] in SAP S/4 HANA | SAP
Blogs 3: Associations in Core Data Services (CDS) | SAP Help Portal 4: [CDS DDL - Association - ABAP
Keyword Documentation - SAP Online Help] 5: [Annotations in Core Data Services (CDS) | SAP Help Portal]
: [CDS DDL - Annotation - ABAP Keyword Documentation - SAP Online Help] : [Structured Query
Language (SQL) | SAP Help Portal] : [CDS DDL - SQL Features - ABAP Keyword Documentation - SAP
QUESTION: 86
When you address an object using an interface reference, which elements can you address?
Option A :
Option B :
Option C :
Option D :
Correct Answer: D
QUESTION: 87
Your ATC check finds a variable text that is not used statically. You want to suppress this finding using either
a pseudo-comment or a pragma. Which of the following options are syntactically correct?
https://www.realpdfdumps.com/
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
Pseudo comment "#EC NEDDED has to be placed after the delimiter (the period sign). Pragma ##needed is part of the
QUESTION: 88
Which of the following actions cause an indirect change to a database table requiring a table conversion? (2
correct)
Option A :
Changing the field labels of a data element that is used in the table definition.
Option B :
Option C :
https://www.realpdfdumps.com/
Deleting a field from a structure that is included in the table definition.
Option D :
Shortening the length of a domain used in a data element that is used in the table definition.
Explanation/Reference:
https://learning.sap.com/learning-journey/acquire-core-abap-skills/handling-changes-to-database-tables_d6d6d97a-979e-4efe-
b5c3-f3e3d85332fb
QUESTION: 89
Option A :
String
Option B :
https://www.realpdfdumps.com/
P
Option C :
Option D :
Correct Answer: A
Explanation/Reference:
The data types C, N, and P are all incomplete, and require a length (and, for type P , number of decimal places). Type STRING is
complete.
QUESTION: 90
EXTRACT_MONTH( ) is a generic SQL function which can handle input of different types. Which of the
following built-in types are allowed for this function? Note: There are 3 correct answers to this question.
Option A :
DATS
Option B :
UTCLONG
Option C :
DATN
Option D :
TIMESTAMPL
https://www.realpdfdumps.com/
Option E :
TIMS
Explanation/Reference:
Like all other generic SQL functions EXTRACT_MONTH supports only timestamps of type UTCLONG. It does not support
TIMESTAMP and TIMESTAMPL. But it supports both date types, DATN and DATS. Time fields are not a valid input for this specific
QUESTION: 91
Option A :
count_any_of ( )
Option B :
contains_any_of ( )
Option C :
find_any_not_of ( )
Option D :
matches ( )
https://www.realpdfdumps.com/
Explanation/Reference:
String functions are expressions that can be used to manipulate character-like data in ABAP. String functions
can be either predicate functions or non-predicate functions. Predicate functions are string functions that return
a truth value (true or false) for a condition of the argument text. Non-predicate functions are string functions
B. contains_any_of(): This function returns true if the argument text contains at least one of the
characters specified in the character set. For example, the following expression returns true, because the
text ‘ABAP’ contains at least one of the characters ‘A’, ‘B’, or ‘C’:
D. matches(): This function returns true if the argument text matches the pattern specified in the regular
expression. For example, the following expression returns true, because the text ‘ABAP’ matches the
The following string functions are not predicate functions, because they return a character-like result, not a
truth value:
A. find_any_not_of(): This function returns the position of the first character in the argument text that is
not contained in the character set. If no such character is found, the function returns 0. For example, the
following expression returns 3, because the third character of the text ‘ABAP’ is not contained in the
C. count_any_of(): This function returns the number of characters in the argument text that are
contained in the character set. For example, the following expression returns 2, because there are two
characters in the text ‘ABAP’ that are contained in the character set ‘ABC’:
QUESTION: 92
What would be the correct expression to change a given string value 'mr joe doe' into 'JOE' in an ABAP SQL
field list?
Option A :
Of1,
https://www.realpdfdumps.com/
substring(upper('mr joe doe'), 4, 3) AS f2_sub_up, f3,...
Option B :
FIELDSf1,
f3,
Option C :
FIELDS
f1,
f3,
Option D :
FIELDSf1,
f3,
Correct Answer: A
Explanation/Reference:
The correct expression to change a given string value ‘mr joe doe’ into ‘JOE’ in an ABAP SQL field list is
C. SELECT FROM TABLE dbtabl FIELDS Of1, substring(upper(‘mr joe doe’), 4, 3) AS f2_sub_up, f3,…
upper: This function converts all lowercase characters in a string to uppercase. For example, upper(‘mr
substring: This function returns a substring of a given string starting from a specified position and with a
example, AS f2_sub_up assigns the name f2_sub_up to the expression substring(upper(‘mr joe doe’), 4,
3).
A. SELECT FROM TABLE dbtabl FIELDS Of1, upper(left( ‘mr joe doe’, 6)) AS f2_up_left, f3,…:
This expression uses the wrong SQL function for strings to get the desired result. The left function
returns the leftmost characters of a string with a specified length, ignoring the trailing blanks. For
example, left( ‘mr joe doe’, 6) returns ‘mr joe’. Applying the upper function to this result returns ‘MR
B. SELECT FROM TABLE dbtabl FIELDS Of1, left(lower(substring( ‘mr joe doe’, 4, 3)), 3) AS
f2_left_lo_sub, f3,…: This expression uses unnecessary and incorrect SQL functions for strings to get
the desired result. The lower function converts all uppercase characters in a string to lowercase. For
example, lower(substring( ‘mr joe doe’, 4, 3)) returns ‘joe’. Applying the left function to this result with
the same length returns ‘joe’ again, which is not the same as ‘JOE’.
D. SELECT FROM TABLE dbtabl FIELDS Of1, substring(lower(upper( ‘mr joe doe’ ) ), 4, 3) AS
f2_sub_lo_up, f3,…: This expression uses unnecessary and incorrect SQL functions for strings to get the
desired result. The lower function converts all uppercase characters in a string to lowercase, and the
upper function converts all lowercase characters in a string to uppercase. Applying both functions to the
same string cancels out the effect of each other and returns the original string. For example,
lower(upper( ‘mr joe doe’ ) ) returns ‘mr joe doe’. Applying the substring function to this result returns
References: 1: SQL Functions for Strings - ABAP Keyword Documentation - SAP Online Help 2: sql_func -
QUESTION: 93
Which of the following are principles of cloud native? Note: There are 3 correct answers to this question.
Option A :
Option B :
Infrastructure Independent
Option C :
https://www.realpdfdumps.com/
Option D :
Option E :
Microservices
QUESTION: 94
Option A :
"@
Option B :
"#
Option C :
"!
Option D :
"%
Correct Answer: C
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 95
Which of the following features of SAP Build is oriented towards a citizen developer?
Option A :
Option B :
Option C :
Option D :
Integrated debugger
Correct Answer: C
QUESTION: 96
In an ABAP class, you work with a structured data object struct. The structure type of struct contains a
named include %tky and the included structure contains a component airlineid. Which of the following
statements leads to a syntax error?
Option A :
struct-%tky-airlineid = 'UA'.
Option B :
none
https://www.realpdfdumps.com/
Option C :
both
Option D :
struct-airlineid = 'LH'.
Correct Answer: B
QUESTION: 97
Which of the following are reasons why software extensions are needed? Note: There are 3 correct answers
to this question.
Option A :
Option B :
Flexibility
Option C :
Option D :
Performance optimization
Option E :
https://www.realpdfdumps.com/
QUESTION: 98
Which of the following are the three possibilities for a customer to implement SAP S/4HANA? Note: There are
3 correct answers to this question.
Option A :
Option B :
System conversion
Option C :
External migration
Option D :
New implementation
Option E :
Third-party cloud
QUESTION: 99
You define a CDS view entity with an association. When is the association translated into a join on database
level?
Option A :
Option B :
https://www.realpdfdumps.com/
When you use the association in a path expression.
Option C :
Correct Answer: B
QUESTION: 100
Which of the following are recommended clean core workstreams? Note: There are 3 correct answers to this
question.
Option A :
Review of copies
Option B :
Option C :
Option D :
Option E :
Manual testing
https://www.realpdfdumps.com/
QUESTION: 101
Option A :
Option B :
Option C :
Correct Answer: A
Explanation/Reference:
QUESTION: 102
You define a dictionary table type with a dictionary type as row type. When does the resulting internal table
have columns that you can address with column names? Note: There are 2 correct answers to this question.
Option A :
Option B :
Option C :
https://www.realpdfdumps.com/
When the row type is a data element
Option D :
QUESTION: 103
Which of the following annotations can be mandatory in the definition of a CDS view entity?
Option A :
@Semantics.quantity.unitofMeasure
Option B :
@AccessControl.authorizationCheck
Option C :
AbapCatalog.buffering.numberOfKeyFields
Option D :
@EndUserText.label
Correct Answer: A
Explanation/Reference:
Annotations @Semantics.amount.currencyCode and @Semantics.quantity.unitOfMeasure are enforced by the syntax check for
https://www.realpdfdumps.com/
QUESTION: 104
During the Preparation phase of a system conversion, which of the following tasks are done? Note: There are
3 correct answers to this question.
Option A :
Option B :
Option C :
Option D :
Option E :
QUESTION: 105
Which of the following are types of indirect modifications? Note: There are 3 correct answers to this question.
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Implicit enhancements
Option D :
Option E :
Creation of Interfaces
QUESTION: 106
Which of the following are factors to consider when choosing between system conversions and new
implementations? Note: There are 3 correct answers to this question.
Option A :
Costs
Option B :
Inheritance
Option C :
Transactional Data
Option D :
Interfaces
https://www.realpdfdumps.com/
Option E :
Sponsorship
QUESTION: 107
Which of the following tools can be used to analyze the performance of individual SQL statements? Note:
There are 2 correct answers to this question.
Option A :
SQL Trace
Option B :
Option C :
Option D :
SQL Monitor
QUESTION: 108
Which of the following dictionary types are mapped to ABAP data type P (packed number)? Note: There are 2
correct answers to this question.
https://www.realpdfdumps.com/
Option A :
CLNT
Option B :
CURR
Option C :
CUKY
Option D :
DEC
QUESTION: 109
You define a foreign key dependency in the ABAP dictionary. What effect does it have? Note: There are 2
correct answers to this question.
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
Foreign key dependencies are not passed on to the database and they are ignored by modern programming techniques that
QUESTION: 110
Which of the following extensions are allowed on a CDS view that does not contain the annotation,
ABAPCatalog.viewEnhancementCategory? Note: There are 3 correct answers to this question.
Option A :
Option B :
Option C :
Option D :
Option E :
https://www.realpdfdumps.com/
QUESTION: 111
You change the definition of a database table. In which of the following scenarios do you have to manually
adjust the database table?
Option A :
Option B :
Option C :
The database table contains data and you deleted a table field.
Option D :
The data base table contains data and you added a table field.
Correct Answer: C
Explanation/Reference:
When the table is empty, it is deleted and created again. A new table field is added with the ALTER TABLE statement.
QUESTION: 112
You define a CDS view entity with an input parameter. In which operand positions can you use the input
parameter? Note: There are 2 correct answers to this question.
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Option D :
QUESTION: 113
Option A :
Floating point types and integer types can NOT be used in the same expression.
Option B :
Option C :
Decimal types and integer types can NOT be used in the same expression.
Option D :
https://www.realpdfdumps.com/
Explanation/Reference:
ABAP SQL arithmetic expressions have different restrictions depending on the data type of the operands. The
Floating point types and integer types can be used in the same expression, as long as the integer types
are cast to floating point types using the cast function. For example, CAST ( num1 AS FLTP ) / CAST (
num2 AS FLTP ) is a valid expression, where num1 and num2 are integer types.
The operator / is allowed only in floating point expressions, where both operands have the type FLTP or
f. For example, num1 / num2 is a valid expression, where num1 and num2 are floating point types. If the
Decimal types and integer types can be used in the same expression, as long as the expression is a
decimal expression. A decimal expression has at least one operand with the type DEC, CURR, or
QUAN or p with decimal places. Forexample, num1 + num2 is a valid expression, where num1 is a
The operator ** is allowed only in floating point expressions, where both operands have the type FLTP
or f. For example, num1 ** num2 is a valid expression, where num1 and num2 are floating point types.
If the operator ** is used in an integer expression or a decimal expression, a syntax error occurs.
References: sql_exp - sql_arith - ABAP Keyword Documentation, SQL Expressions, Arithmetic Calculations -
QUESTION: 114
An ABAP class defines an attribute with the following statement: DATA the_attribute TYPE /DMO/AGENCY.
Dictionary object /DMO/AGENCY is a database table definition. What kind of data object is the_attribute?
Option A :
Internal table
Option B :
Elementary field
Option C :
Structure
https://www.realpdfdumps.com/
Correct Answer: C
QUESTION: 115
Which of the following are ABAP RESTful application programming model layers? Note: There are 3 correct
answers to this question.
Option A :
Data element
Option B :
Option C :
CDS Annotations
Option D :
Option E :
Data Access
Explanation/Reference:
The following are ABAP RESTful application programming model layers: Data Access, Domain Model and Implementation, and
https://www.realpdfdumps.com/
QUESTION: 116
You want to extend a dictionary database table with a field ZZMYFIELD. The dictionary database table
definition contains annotation @ABAPCatalog.enhancement.category. For which of the following annotation
values can field ZZMYFIELD have built-in type INT4? Note: There are 2 correct answers to this question.
Option A :
#EXTENSIBLE_CHARACTER
Option B :
#NOT_EXTENSIBLE
Option C :
#EXTENSIBLE_CHARACTER_NUMERIC
Option D :
#EXTENSIBLE_ANY
Explanation/Reference:
INT4 is a numeric type. This requires enhancement category #EXTENSIBLE_ANY or at least enhancement category
#EXTENSIBLE_CHARACTER_NUMERIC.
QUESTION: 117
Which of the following are building blocks of the SAP Fiori design approach?
Option A :
SAPUI5
Option C :
Option D :
Option E :
Python
QUESTION: 118
Which of the following are tasks of the ABAP Core Data Services? Note: There are 2 correct answers to this
question.
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
Define Business Objects in the ABAP RESTful application programming model.
Explanation/Reference:
ABAP Core Data services are used to define semantically enriched views, and Business Objects in the ABAP RESTful application
programming model. Defining database tables and providing services for classical ABAP user interfaces are tasks of the ABAP
dictionary.
QUESTION: 119
Which of the following are reasons why a consumer-grade UX is important? Note: There are 3 correct
answers to this question.
Option A :
Option B :
Option C :
Option D :
Option E :
Productivity gains
https://www.realpdfdumps.com/
Correct Answer: C,D,E
QUESTION: 120
Which of the following are principles of REST architecture? Note: There are 3 correct answers to this
question.
Option A :
Serializable
Option B :
Stateless
Option C :
Layered system
Option D :
Virtualization
Option E :
Cacheable
QUESTION: 121
Which of the following are part of SAPs LCNC toolset? Note: There are 3 correct answers to this question.
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Option D :
Option E :
QUESTION: 122
You define a database table in the ABAP Dictionary. What is needed to make the database table client
dependent?
Option A :
Option B :
Option C :
Correct Answer: C
https://www.realpdfdumps.com/
Explanation/Reference:
QUESTION: 123
go_sub1->subl_meth1(...).
with which predicate condition can you ensure that the CAST will work?
Option A :
IS BOUND
Option B :
IS SUPPLIED
Option C :
IS INSTANCE OF
Option D :
IS NOT INITIAL
Correct Answer: C
Explanation/Reference:
The predicate condition that can be used to ensure that the CAST will work is IS INSTANCE OF. The IS
https://www.realpdfdumps.com/
INSTANCE OF predicate condition checks whether the operand is an instance of the specified class or
interface. This is useful when you want to perform a downcast, which is a conversion from a more general
type to a more specific type. A downcast can fail if the operand is not an instance of the target type, and this
can cause a runtime error. Therefore, you can use the IS INSTANCE OF predicate condition to check whether
the downcast is possible before using the CAST operator12. For example:
The following code snippet uses the IS INSTANCE OF predicate condition to check whether the
variable g_super is an instance of the class lcl_super. If it is, the CAST will work and the variable
DATA: g_super TYPE REF TO lcl_super, g_sub1 TYPE REF TO lcl_sub1. IF g_super IS INSTANCE OF
method or a function module has been supplied by the caller. This is useful when you want to handle
different cases depending onwhether the parameter has a value or not. However, this predicate condition
has nothing to do with the CAST operator or the type of the operand12.
IS NOT INITIAL: The IS NOT INITIAL predicate condition checks whether the operand has a
non-initial value. This is useful when you want to check whether the operand has been assigned a value
or not. However, this predicate condition does not guarantee that the CAST will work, because the
operand may have a value but not be an instance of the target type12.
IS BOUND: The IS BOUND predicate condition checks whether the operand is a bound reference
variable. This is useful when you want to check whether the operand points to an existing object or
not. However, this predicate condition does not guarantee that the CAST will work, because the operand
References: 1: Predicate Expressions - ABAP Keyword Documentation - SAP Online Help 2: ABAP -
QUESTION: 124
Given the following Core Data Service View Entity Data Definition:
ON Sprojection.material Material.material
https://www.realpdfdumps.com/
{
key so_item_key,
parent_key,
posnr,
_SalesOrder,
_ScheduleLine,
_Material.material as mat
Using ABAP SQL, which select statement selects the mat field on line "_Material.material as mat"?
Option A :
Option B :
Option C :
Option D :
Correct Answer: B
Explanation/Reference:
Using ABAP SQL, the select statement that selects the mat field on line #17 is:
This statement selects the mat field from the CDS view demo_sales_cds_so_i_ve, which is defined on line #1.
The CDS view demo_sales_cds_so_i_ve is a projection view that projects the fields of the CDS view
demo_sales_cds_so_i, which is defined on line #2. The CDS view demo_sales_cds_so_i is a join view that
joins the fields of the database table demo_sales_so_i, which is defined on line #3, and the CDS view
https://www.realpdfdumps.com/
demo_sales_cds_material_ve, which is defined on line #4. The CDS view demo_sales_cds_material_ve is a
value help view that provides value help for the material field of the database table demo_sales_so_i. The mat
field is an alias for the material field of the database table demo_sales_so_i, which is defined on line #91.
A. SELECT mat FROM Material… is not valid because Material is not a valid data source in the given
C. SELECT mat FROM demo_sales_so_i… is not valid because demo_sales_so_i is not a valid data
source in the given code. There is no CDS view named demo_sales_so_i, only a database table. To
access a database table, the keyword TABLE must be used, such as SELECT mat FROM TABLE
demo_sales_so_i…
D. SELECT mat FROM demo sales cds material ve… is not valid because demo sales cds material ve is
not a valid data source in the given code. There is no CDS view or database table named demo sales cds
material ve. The correct name of the CDS view is demo_sales_cds_material_ve, with underscores
instead of spaces.
QUESTION: 125
Which of the following are tools that can be used to adapt custom code manually or automatically? Note:
There are 2 correct answers to this question.
Option A :
Option B :
SAP Notes
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: A,C
Explanation/Reference:
The Custom Code Migration app and ABAP development tools for Eclipse Quick Fix can be used to adapt custom code manually
or automatically.
QUESTION: 126
Which of the following are correct ways to add a comment in a data definition? Note: There are 2 correct
answers to this question.
Option A :
/*...*/
Option B :
//
Option C :
/*…/*
Option D :
"
Explanation/Reference:
The correct ways to add a comment in a data definition are // and /*...*/ .
https://www.realpdfdumps.com/
QUESTION: 127
Option A :
In a sorted internal table, specifying the primary key partially from the left without gaps.
Option B :
In a standard internal table, specifying the primary key partially from the left without gaps.
Option C :
Option D :
Option E :
In a hashed internal table, specifying the primary key partially from the left without gaps.
Explanation/Reference:
For hashed internal tables, specifying the primary key partially from the left without gaps is false. In a hashed internal table,
the key must be complete and without gaps for optimal performance.
Hashed tables use a hash algorithm to calculate a hash code based on the key fields, and this code is used to determine the
storage location of the data in the table. If the primary key is specified partially or with gaps, it can lead to hash collisions,
where different entries end up with the same hash code. This can result in degraded performance and defeat the purpose of
To ensure fast and efficient access in a hashed internal table, you should specify the complete primary key without any gaps.
https://www.realpdfdumps.com/
QUESTION: 128
Option A :
none
Option B :
[1..1]
Option C :
[0..1]
Option D :
[0..*]
Correct Answer: C
QUESTION: 129
Option A :
Option B :
https://www.realpdfdumps.com/
gv_target = EXACT #( 2 / gco_intl ).
Option C :
Option D :
Option E :
Explanation/Reference:
https://www.realpdfdumps.com/
DATA: gv_target TYPE c LENGTH 5.
https://www.realpdfdumps.com/
DATA: gv_target TYPE d.
QUESTION: 130
The term "Local Platform APIs" is directly associated with which of the following?
https://www.realpdfdumps.com/
Option A :
Option B :
Option C :
Option D :
SAP HANA
Explanation/Reference:
The term "Local Platform APIs" is directly associated with SAP S/4HANA Cloud, ABAP environment and SAP BTP, ABAP
environment.
QUESTION: 131
Which of the following SQL techniques is available in ABAP SQL but NOT supported in ABAP CDS?
Option A :
GROUP BY
Option B :
ORDER BY
Option C :
https://www.realpdfdumps.com/
UNION
Option D :
DISTINCT
Correct Answer: B
Explanation/Reference:
QUESTION: 132
Which type of legacy code does SAP recommend you eliminate when you review modifications as part of an
SAP S/4HANA systemconversion? (2 correct)
Option A :
Option B :
Option C :
Code that has less than 10% usage according to usage statistics
Option D :
https://www.realpdfdumps.com/
Explanation/Reference:
SAP recommends that you eliminate the following types of legacy code when you review modifications as
Code that now is identical to a standard SAP object. This type of code is redundant and unnecessary, as
it does not provide any additional functionality or customization. It can also cause conflicts or errors
during the system conversion, as the standard SAP object may have changed or been replaced inSAP
S/4HANA. Therefore, you should delete this type of code and use the standard SAP object instead.
Code that can be redesigned as a key user extension. This type of code is usually related to UI or
business logic adaptations that can be achieved using the in-app tools provided by SAP S/4HANA. By
redesigning this type of code as a key user extension, you can simplify and standardize your code base,
reduce maintenance efforts, and avoid compatibility issues during the system conversion. Therefore, you
should migrate this type of code to the key user extensibility framework and delete the original code.
The other types of legacy code are not recommended to be eliminated, as they may still be relevant or
necessary for your business processes. However, you should still review and adjust them according to the SAP
S/4HANA simplification items and best practices. These types of code are:
Code that supports a critical business process. This type of code is essential for your business operations
and cannot be easily replaced or removed. However, you should check if this type of code is compatible
with SAP S/4HANA, and if not, you should adapt it accordingly. You should also consider if this type
of code can be optimized or enhanced using the new features and capabilities of SAP S/4HANA.
Code that has less than 10% usage according to usage statistics. This type of code is rarely used and may
not be worth maintaining or converting. However, you should not delete this type of code without
verifying its relevance and impact on your business processes. You should also consider if this type of code can be replaced or
consolidated with other code that has higher usage or better performance.
References: Custom Code Management (CCM) During an SAP S/4HANA Conversion, Custom Code
QUESTION: 133
Which of the following are key parts of the clean core concept? Note: There are 3 correct answers to this
question.
Option A :
Elimination of modifications
Option B :
https://www.realpdfdumps.com/
Deletion old versions
Option C :
Option D :
Option E :
QUESTION: 134
Which of the following ABAP Dictionary objects can you use as data types in ABAP code? Note: There are 3
correct answers to this question.
Option A :
Structure
Option B :
Data Element
Option C :
Database Table
Option D :
Domain
https://www.realpdfdumps.com/
Option E :
Search help
QUESTION: 135
Which of the following statements may an interface contain? Note: There are 2 correct answers to this
question.
Option A :
TYPES
Option B :
CLASS DEFINITION
Option C :
PUBLIC SECTION
Option D :
METHOD... ENDMETHOD
Option E :
METHODS
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 136
Option A :
If the user is authorized for 'CNTRY = 'DE' then the return code is always 0.
Option B :
If the user is NOT authorized for 'CNTRY' = 'DE' OR for 'ACTVT' = '03 then the program will terminate.
Option C :
If the user is authorized for 'CNTRY = 'DE' AND for 'ACTVT = '03 then the return code is 0.
Option D :
AUTHORITY CHECK verifies whether a user is authorized for /DMO/TRVL" with the listed field values.
Explanation/Reference:
sy-subrc Meaning
0 Authorization successful or no check was carried out. An authorization for the authorization object was found in the user
4 Authorization check not successful. One or more authorizations were found for the authorization object in the user master
record and they include the value sets, but not the values specified, or incorrect authorization fields or too many fields were
specified.
12 No authorization was found for the authorization object in the user master record.
https://www.realpdfdumps.com/
24 This return code is no longer set.
QUESTION: 137
Which of the following are essential aspects of ABAP Cloud? Note: There are 3 correct answers to this
question.
Option A :
JAVA
Option B :
Option C :
Option D :
Option E :
QUESTION: 138
Which statement can you use to change the contents of a row of data in an internal table?
Option A :
Update table
Option B :
Insert table
Option C :
Modify table
Option D :
Append table
Correct Answer: C
Explanation/Reference:
The statement that can be used to change the contents of a row of data in an internal table is MODIFY table.
The MODIFY table statement can be used to change the contents of one or more rows of an internal table,
either by specifying the table index, the table key, or a condition. The MODIFY table statement can also be
used to change the contents of a database table, by specifying the table name and a work area or an internal
table. The MODIFY table statement can use the TRANSPORTING addition to specify which fields should be
changed, and the WHERE addition to specify which rows should be changed.
The other statements are not suitable for changing the contents of a row of data in an internal table, as they
APPEND table: This statement can be used to add a new row of data to the end of an internal table,
https://www.realpdfdumps.com/
either by specifying a work area or an inline declaration. The APPEND table statement does not change
the existing rows of the internal table, but only increases the number of rows by one.
INSERT table: This statement can be used to insert a new row of data into an internal table, either by
specifying the table index, the table key, or a sorted position. The INSERT table statement does not
change the existing rows of the internal table, but only shifts them to make room for the new row. The
INSERT table statement can also be used to insert a new row of data into a database table, by specifying
the table name and a work area or an inline declaration. UPDATE table: This statement can be used to update the contents of a
table name and a work area or an internal table. The UPDATE table statement can use the SET addition
to specify which fields should be updated, and the WHERE addition to specify which rows should be
updated. The UPDATE table statement does not affect the internal table, but only the corresponding
database table.
References: MODIFY table - ABAP Keyword Documentation, APPEND table - ABAP Keyword
Documentation, INSERT table - ABAP Keyword Documentation, UPDATE table - ABAP Keyword
Documentation
QUESTION: 139
Which of the following are the stack layers that classical extensibility refers to? Note: There are 3 correct
answers to this question.
Option A :
End User
Option B :
Visual
Option C :
Key User
Option D :
Data
Option E :
https://www.realpdfdumps.com/
Middle
QUESTION: 140
You have a superclass super that has three subclasses sub1, sub2, and sub3. In a TRY...CATCH block, you
want to catch sub1explicitly and sub2 and sub3 via their superclass. You also want to catch any other
exceptions using cx_root. What is the correct sequence of CATCH statements?
Option A :
Option B :
Option C :
Option D :
Correct Answer: C
Explanation/Reference:
CATCH statements must start with the most specific option (a single subclass), progress in order up the inheritance hierarchy,
https://www.realpdfdumps.com/
QUESTION: 141
You maintain a transactional application for flight travels that was developed with the ABAP RESTful
Application Model (RAP Model). You want to offer an additional button for cancelling a travel. Which of the
following building blocks need to be edited? Note: There are 3 correct answers to this question.
Option A :
Service Definition
Option B :
Option C :
Behavior Definition
Option D :
Data Model
Option E :
Behavior Projection
QUESTION: 142
Which of the following does the tier 2 extensibility model apply to? Note: There are 2 correct answers to this
question.
Option A :
SAP S/4HANA
Option B : https://www.realpdfdumps.com/
SAP S/4HANA Cloud, public edition
Option C :
Option D :
Explanation/Reference:
QUESTION: 143
You have written a program that uses inline declarations and assigns values using expressions. The global
data declarations contain the following statement: DATA o TYPE REF TO cl_class. Which of the following are
valid statements? Note: There are 3 correct answers to this question.
Option A :
o = NEW cl_class( ).
https://www.realpdfdumps.com/
Option B :
DATA(p) = NEW( ).
Option C :
o = NEW( ).
Option D :
o = NEW string( ).
Option E :
QUESTION: 144
You have a field currcode in a CDS view definition. You want to annotate the field with a label.
Which of the following are syntactically correct? Note: There are 2 correct answers to this question.
Option A :
Option B :
Option C :
Option D :
QUESTION: 145
Which of the following are "public released interfaces" under the SAP S/4HANA Cloud extensibility model?
Note: There are 3 correct answers to this question.
Option A :
Option B :
BAP
Option C :
Extension Points
Option D :
Remote APIs
Option E :
Local APIs
Explanation/Reference:
Remote APIs, local APIs, and extension points are "public released interfaces" under the SAP S/4HANA Cloud extensibility
model.
https://www.realpdfdumps.com/
QUESTION: 146
Option A :
1. b is joined with c
2. a is joined with b
Option B :
1. b is joined with c.
2. b is joined with a.
Option C :
1. a is joined with b
2. b is joined with c
Option D :
1. a is joined with b
2. b is joined with c
https://www.realpdfdumps.com/
Correct Answer: A
Explanation/Reference:
The nested join is evaluated from the top to the bottom in the order of the ON conditions. This means that the
join expression is formed by assigning each ON condition to the directly preceding JOIN from left to right.
The join expression can be parenthesized implicitly or explicitly to show the order of evaluation. In this case,
SELECT * FROM (a INNER JOIN (b INNER JOIN c ON b~c = c~c) ON a~b = b~b)
This means that the first join expression is b INNER JOIN c ON b~c = c~c, which joins the columns of tables
b and c based on the condition that b~c equals c~c. The second join expression is a INNER JOIN (b INNER
JOIN c ON b~c = c~c) ON a~b = b~b, which joins the columns of table a and the result of the first join
expression based on the condition that a~b equals b~b. The final result set contains all combinations of rows
References: 1: SELECT, FROM JOIN - ABAP Keyword Documentation - SAP Online Help
QUESTION: 147
Which of the following does the term "Cloud Extensibility Model" refer to?
Option A :
Tier 1
Option B :
Tier 3
Option C :
Tier 4
Option D :
Tier 2
Correct Answer: A
https://www.realpdfdumps.com/
Explanation/Reference:
QUESTION: 148
You want to search for custom code that needs to be adjusted. Which of the following tools can you use?
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: B
QUESTION: 149
Which objects are created when a Data Definition is activated? Choose the 2 correct answers.
Option A :
Role View
Option B :
CDS View
Option C :
Option D :
SQL View
Option E :
Activation View
QUESTION: 150
In SAP S/4HANA, a replacement object is assigned to transparent table ANEA. Which uses of table ANEA do
you have to correct when migrating an SAP ERP system to SAP S/4HANA? Note: There are 2 correct Answers
to this question.
Option A :
Option C :
Option D :
QUESTION: 151
Which of the following are challenges with trying to use classical extensibility in SAP S/4HANA Cloud? Note:
There are 2 correct answers to this question.
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: B,C
Explanation/Reference:
In SAP S/4HANA Cloud, there are no customer-specific customer update projects, and in SAP S/4HANA Cloud, all software
QUESTION: 152
Option A :
SELECT FROM /dmo/connection FIELDS carrid, airpfrom, MAX( distance ) AS dist_max, MIN( distance ) AS
dist_min GROUP BY carrid, airpfrom INTO TABLE @DATA(It_hits).
Option B :
SELECT FROM /dmo/connection FIELDS carrid, airpfrom GROUP BY carrid, connid INTO TABLE
@DATA(It_hits).
Option C :
SELECT FROM /dmo/connection FIELDS MAX( distance ) AS dist_max, MIN( distance ) AS dist_min INTO
TABLE @DATA(It_hits).
Option D :
SELECT FROM /dmo/connection FIELDS carrid, airpfrom, MAX( distance ) AS dist_max, MIN( distance ) AS
dist_min INTO TABLE @DATA(It_hits).
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 153
Which of the following are factors to consider in deciding what extensibility option to use? Note: There are 3
correct answers to this question.
Option A :
Extension uniqueness
Option B :
Extension testing
Option C :
Option D :
Option E :
Extension architecture
https://www.realpdfdumps.com/
QUESTION: 154
4.
8. go_sub1->sub1_meth1(...).
10. go_sub2->sub2_meth1(...).
With Icl_super being superclass for Icl_sub1 and Icl_sub2 and with methods sub1_meth1 and sub2_meth1
being subclass-specific methods of Ic_sub1 or Icl_sub2, respectively.
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: A,D
Explanation/Reference:
Casting
In the case of casting, we are actually only talking about the assignment of an instance to a reference that does not have the
same type as the instance, but the two objects are known to one another through an interface or via inheritance. Let's take the
To do this, we now create a reference variable that refers to the superclass LCL_VEHICLE. In the first example we create a new
instance of the object and can call the SPEED_UP method directly.
1. DATA:
3.
4. go_vehicle = NEW #( ).
5. go_vehicle->speed_up( ).
In the next step we create a new instance of the type LCL_CAR, i.e. a special variant of LCL_VEHICLE, and assign the object to
our reference. The assignment works because the variable is of an equivalent or more general derivation of the class.
2. go_vehicle->speed_up( ).
However, we do not get to the special method of the class LCL_CAR via the reference variable, since the variable refers to
LCL_VEHICLE and thus only knows the SPEED_UP method. At this point we have to do a CAST first.
2. go_casted_car->open_luggage_space( ).
After the CAST we have a new reference variable of the type LCL_CAR via which we can then call the corresponding method
https://www.realpdfdumps.com/
and thus also use the functions of LCL_CAR. This is also possible with a chaining.
Let's take the example from the beginning again and try to cast our reference of the type LCL_VEHICLE to the class LCL_CAR. In
this case we will get an exception because the more general instance cannot be cast on a more specific instance. The more
specific instance has more specific characteristics and more attributes that may not yet have been initialized.
1. TRY.
3. go_casted_vehicle->open_luggage_space( ).
4.
5. CATCH cx_sy_move_cast_error.
6. ENDTRY.
The complete example from this chapter therefore looks like this:
1. DATA:
3.
4. go_vehicle = NEW #( ).
5. go_vehicle->speed_up( ).
6.
7. TRY.
9. go_casted_vehicle->open_luggage_space( ).
10.
12. ENDTRY
13.
15. go_vehicle->speed_up( ).
16.
18. go_casted_car->open_luggage_space( ).
19.
Conclusion
Working with objects and instances can be a bit confusing at first, but it follows a very precise logic. With inheritance, you can
easily reuse source code, but you have to pay attention to the specialties when accessing it.
https://www.realpdfdumps.com/
QUESTION: 155
Which of the following new repository object types were introduced with ABAP CDS? Note: There are 3
correct Answers to this question.
Option A :
Metadata Extension
Option B :
Data Definition
Option C :
Access Control
Option D :
Business Object
Option E :
External View
QUESTION: 156
Option A :
Behavior Projection
Option B :
Service Binding
https://www.realpdfdumps.com/
Option C :
Projection View
Option D :
Service Definition
Correct Answer: B
QUESTION: 157
You are creating an enhancement implementation using key user extensibility. Which of the following can
you do in the web-based ABAP editor? Note: There are 3 correct Answers to this question.
Option A :
Option B :
Option C :
Option D :
Option E :
https://www.realpdfdumps.com/
Correct Answer: A,B,E
QUESTION: 158
In the following ABAP SQL code, what are valid case distinctions? (2 correct)
Option A :
2. FIELDS f1,
3. CASE f2
7. END AS f_case
Option B :
2. FIELDS F1,
6. ENDCASE AS f_case
Option C :
2. FIELDS F1,
6. END AS f_case
Option D :
6. ENDCASE AS f_case
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 159
Which of the following do you use as a separator between a table and field name in a CDS view definition?
Option A :
Minus (-)
Option B :
Period (.)
Option C :
Pointer(->)
https://www.realpdfdumps.com/
Option D :
Tilde (~)
Correct Answer: B
QUESTION: 160
What are possible values for the annotation @AccessControl.authorizationCheck? Choose the 3 correct
answers.
Option A :
#NOT_ALLOWED
Option B :
#FULL_ACCESS
Option C :
#NOT_REQUIRED
Option D :
#GRANT_SELECT
Option E :
#CHECK
Option F :
#PFCG_AUTH
https://www.realpdfdumps.com/
QUESTION: 161
BAdIs are classified under which of the following extension types in SAP S/4HANA Cloud?
Option A :
Option B :
Side-By-Side Extension
Option C :
Developer Extension
Option D :
Correct Answer: C
QUESTION: 162
Which of the following are valid sort operations for internal tables? (3 correct)
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
SORT itab.
Option E :
Explanation/Reference:
Sorted tables cannot be sorted using SORT and applying the statement SORT to sorted tables is prohibited by the syntax. If the
system only detects that a sorted table is to be sorted at runtime, a non-handleable exception is raised if this action could
modify the existing sorting. The latter occurs in the following cases:
if the addition BY is used to specify a different sort key as the initial part of the table key.
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapsort_itab.htm
QUESTION: 163
Which building blocks of the ABAP RESTful Programming Model (RAP) are part of the Core Data Services
(CDS)? Note: There are 2 correct answers to this question.
Option A :
Service Definition
https://www.realpdfdumps.com/
Option B :
Behavior Definition
Option C :
Behavior Implementation
Option D :
Projection View
QUESTION: 164
You use the following expression to address the internal table gt_ights: gs_ight = gt_ights[ carrid = 'XX'
connid = '9999' ]. There is NO table entry with the specified key. What is the result of the statement?
Option A :
Option B :
Option C :
Option D :
Correct Answer: C
https://www.realpdfdumps.com/
QUESTION: 165
You want to use the extensibility app, Custom Fields and Logic, to define custom fields for an SAP Fiori app.
Which of the following conditions is a prerequisite for this activity?
Option A :
You must release the SAP Fiori app for extensibility using the Enable Fields for Use transaction in the
Custom Fields and Logic (SCFD_EUI) app.
Option B :
There is no specific requirement. Custom fields can basically be created for any SAP Fiori app.
Option C :
Custom fields can only be created for SAP Fiori apps that have been enabled by SAP for this type of
extension.
Option D :
You must release the SAP Fiori app for extensibility via Transaction Setup Adaptation Transport Organizer
for Key User Tools (S_ATO_SETUP).
Correct Answer: C
QUESTION: 166
You want to define the following CDS view entity with an input parameter:
Option A :
Option B :
https://www.realpdfdumps.com/
A data element
Option C :
Option D :
Explanation/Reference:
The possible replacements for “???” in the CDS view entity definition with an input parameter are A. built-in
ABAP type and C. A data element. These are the valid types that can be used to specify the data type of an
input parameter in a CDS view entity. A built-in ABAP type is a predefined elementary type in the ABAP
language, such as abap.char, abap.numc, abap.dec, etc.A data element is a reusable semantic element in the
ABAP Dictionary that defines the technical attributes and the meaning of a field12. For example:
The following code snippet defines a CDS view entity with an input parameter currency of type
Define view entity Z_CONVERT With parameters currency : abap.cuky as select from … { … }
The following code snippet defines a CDS view entity with an input parameter currency of type waers,
Define view entity Z_CONVERT With parameters currency : waers as select from … { … }
B. A built-in ABAP Dictionary type: This is not a valid type for an input parameter in a CDS view
entity. A built-in ABAP Dictionary type is a predefined elementary type in the ABAP Dictionary, such
as CHAR, NUMC, DEC, etc. However, these types cannot be used directly in a CDS view entity
definition. Instead, they have to be prefixed with abap.to form a built-in ABAP type, as explained
above12.
D. A component of an ABAP Dictionary structure: This is not a valid type for an input parameter in a
CDS view entity. A component of an ABAP Dictionary structure is a field that belongs to a structure
type, which is a complex type that consists of multiple fields.However, an input parameter in a CDS
view entity can only be typed with an elementary type, which is a simple type that has no internal
structure12.
https://www.realpdfdumps.com/
QUESTION: 167
You implement a SELECT statement in ABAP. When do you use the key word FIELDS?
Option A :
When the position of the fields list is after the GROUP BY clause.
Option B :
When the position of the fields list is after the FROM clause.
Option C :
When the position of the fields list is after the ORDER BY clause.
Option D :
When the position of the fields list is after the UNION clause.
Correct Answer: B
QUESTION: 168
Option A :
Tier 3
Option B :
Tier 4
Option C :
https://www.realpdfdumps.com/
Tier 2
Option D :
Tier 1
Correct Answer: C
QUESTION: 169
Which of the following are valid ways to insert a comment in a Data Definition (DDL source)? Note: There are
2 correct Answers to this question.
Option A :
-- comment
Option B :
// comment
Option C :
* comment
Option D :
/* comment */
Explanation/Reference:
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abencds_general_syntax_rules.htm
https://www.realpdfdumps.com/
QUESTION: 170
You have attached a system field to an input parameter of a CDS view entity as follows:
language: spras...
Option A :
Option B :
The value of sy-langu will be passed to the CDS view automatically both when you use the -1 CDS
https://www.realpdfdumps.com/
Option C :
You can still override the default value with a value of your own.
Option D :
The value of sy-langu will be passed to the CDS view automatically when you use the CDS view in ABAP
but not when you use it in another view entity
Explanation/Reference:
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abencds_f1_parameter_annotations.htm
https://learning.sap.com/learning-journeys/acquire-core-abap-skills/defining-cds-views-with-input-parameters_bccd42ca-1dcb-
4dfa-9ca7-903d4030e855
QUESTION: 171
You have two internal tables itab1 and itab2.What is true for using the expression itab1 = corresponding #(
itab2 )? Note: There are 2 correct answers to this question.
Option A :
Fields with the same name but with different types may be copied from itab2 to itab1.
Option B :
itab1 and itab2 must have at least one field name in common.
Option C :
Fields with the same name and the same type will be copied from itab2 to itab1.
https://www.realpdfdumps.com/
Option D :
Explanation/Reference:
The expression itab1 = corresponding #( itab2 ) is a constructor expression with the component operator
CORRESPONDING that assigns the contents of the internal table itab2 to the internal table itab1. The
B: itab1 and itab2 must have at least one field name in common. This is because the component operator
CORRESPONDING assigns the identically named columns of itab2 to the identically named columns of
itab1 by default, according to the rules of MOVE-CORRESPONDING for internal tables. If itab1 and
itab2 do not have any field name in common, the expression will not assign any value to itab1 and it will
C: Fields with the same name and the same type will be copied from itab2 to itab1. This is because the
component operator CORRESPONDING assigns the identically named columns of itab2 to the
identically named columns of itab1 by default, according to the rules of MOVE-CORRESPONDING for
internal tables. If the columns have the same name but different types, the assignment will try to perform
a conversion between the types, which may result in a loss of precision, a truncation, or a runtime error,
A: Fields with the same name but with different types may be copied from itab2 to itab1. This is not
true, as explained in statement C. The assignment will try to perform a conversion between the types,
which may result in a loss of precision, a truncation, or a runtime error, depending on the types
involved1
D: itab1 and itab2 must have the same data type. This is not true, as the component operator CORRESPONDING can assign the
different type, as long as theyhave at least one field name in common. The target type of the expression
is determined by the left-hand side of the assignment, which is itab1 in this case. The expression will
create an internal table of the same type as itab1 and assign it to itab11
QUESTION: 172
Which of the following tasks are typically done in a Projection view of the ABAP RESTful Application
Programming Model (RAP)? Note: There are 2 correct Answers to this question.
https://www.realpdfdumps.com/
Option A :
Option B :
Option C :
Option D :
QUESTION: 173
Which of the following new features are supported by the CDS Views but not by the ABAP Dictionary Views?
Option A :
Option B :
Option C :
Option D :
QUESTION: 174
You use the Code Inspector to Search for Potential Functional Issue. Which of the following checks are
presets in FUNCTIONAL_DB variant of the Code Inspector? Note: There are 2 correct Answers to this question.
Option A :
Search problematic statements for result of SELECT or OPEN CURSOR without ORDER BY
Option B :
Option C :
Option D :
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 175
Option A :
Option B :
Option C :
Option D :
Correct Answer: A
https://www.realpdfdumps.com/
QUESTION: 176
Why would you use Access Controls with CDS Views? (2 correct)
Option A :
Only the data corresponding to the user's authorization is transferred from the database to the
application layer.
Option B :
The system field sy-subrc is set, giving you the result of the authorization check
Option C :
Option D :
All of the data from the data sources is loaded into your application automatically and filtered there
according to the user's authorization.
Explanation/Reference:
You would use Access Controls with CDS Views for the following reasons:
A. Only the data corresponding to the user’s authorization is transferred from the database to the
application layer. This is true because Access Controls allow you to define CDS roles that specify the
authorization conditions for accessing a CDS view. The CDS roles are evaluated for every user at
runtimeand the system automatically adds the restrictions to the selection conditions of the CDS view.
This ensures that only the data that the user is authorized to see is read from the database and transferred
to the application layer. This improves the security and the performance of the data access1.
C. You do not have to remember to implement AUTHORITY CHECK statements. This is true because
Access Controls provide a declarative and centralized way of defining the authorization logic for a CDS
view. You do not have to write any procedural code or use the AUTHORITY CHECK statement to
check the user’s authorization for each data source or field. The system handles the authorization check
The following reasons are not valid for using Access Controls with CDS Views:
https://www.realpdfdumps.com/
B. The system field sy-subrc is set, giving you the result of the authorization check. This is false because
the system field sy-subrc is not used by Access Controls. The sy-subrc field is used by the
AUTHORITY CHECK statement to indicate the result of the authorization check, but Access Controls
do not use this statement. Instead, Access Controls use CDS roles to filter the data according to the
user’s authorization2.
D. All of the data from the data sources is loaded into your application automatically and filtered there
according to the user’s authorization. This is false because Access Controls do not load all the data from
the data sources into the application layer. Access Controls filter the data at the database layer, where
the data resides, and only transfer the data that the user is authorized to see to the application layer. This
reduces the data transfer and the memory consumption of the application layer1.
References: 1: Access Controls | SAP Help Portal 2: ABAP CDS - Access Control - ABAP Keyword
Documentation
QUESTION: 177
Which of the following are ABAP RESTful application programming model extensibility options? Note: There
are 3 correct answers to this question.
Option A :
Domain
Option B :
Field
Option C :
Data Model
Option D :
Data element
Option E :
Behavior
https://www.realpdfdumps.com/
Correct Answer: B,C,E
QUESTION: 178
Which of the following ways can you use to address input parameter X in the CDS view definition? Note:
There are 2 correct answers to this question.
Option A :
@parameters.X
Option B :
@X
Option C :
$parameters.X.
Option D :
:X.
QUESTION: 179
Which of the following are currently available ABAP platform reuse services? Note: There are 3 correct
answers to this question.
Option A :
Sapscript
Option B :
Email Service
Option D :
Change Documents
Option E :
Smartforms
QUESTION: 180
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
Not all ATC findings are critical and you might decide to ignore them. Some others might turn out to be false alarms at a closer
look. An example for such a false alarm is a dynamic usage of a variable, which is invisible for the static code check.
Pseudo Comments
You can suppress certain ATC findings by adding a specific comment at the end of the source code line with the finding. In the
example, the pseudo comment "#EC NEEDED is used. EC stands for Extended Check in this case.
Like any other comment, a pseudo comment is not visible for the ABAP syntax check and the ABAP compiler. We call it a
pseudo comment, because it has an influence on the Extended Check and ATC.
Pragmas
Other findings you can suppress by adding a certain keyword starting with ## to the ABAP statement. These keywords are
called Pragmas. It is very important that pragmas are placed inside the ABAP statement, not after it. In the example, pragma
##needed is used, and it is placed before the period sign that ends the DATA statement.
QUESTION: 181
You develop a transactional application with the ABAP RESTful Application Programming Model(RAP). Not all
field names in the data model view are identical to the eld names in the database table. Where do you define
the field name mapping?
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Option D :
Option E :
Correct Answer: A
QUESTION: 182
Which of the following are use cases for side-by-side extensions? Note: There are 2 correct answers to this
question.
Option A :
Option B :
Creating custom applications integrating data from SAP S/4HANA Cloud and SAP Ariba
Option C :
Option D :
QUESTION: 183
Which of the following repository objects offer a preview function? Note: There are 2 correct Answers to this
question.
Option A :
Service Binding
Option B :
Behavior Definition
Option C :
Service Definition
Option D :
Data Definition
QUESTION: 184
You have written the following code: START-OF-SELECTION. LOOP AT itab INTO DATA(line). * ENDLOOP. The
system creates a variable called Line. When is it created and when can you address it?
Option A :
It is created at the beginning of the program. You can access it any time after the declaration.
https://www.realpdfdumps.com/
Option B :
It is created at the beginning of the program. You can access it only within the loop.
Option C :
It is created when the LOOP statement is processed. You can access it any time after the declaration.
Option D :
It is created when the LOOP statement is processed. You can access it only within the loop.
Correct Answer: C
QUESTION: 185
You use remote client proxy in ABAP. You create an Exception Class for errors related to proxy consumption.
Which of the following do you use as a superclass?
Option A :
CX_UUID_ERROR
Option B :
CX_WEB_MESSAGE_ERROR
Option C :
CX_RAP_QUERY_PROVIDER
Option D :
CX_HTTP_DEST_PROVIDER_ERROR
Correct Answer: C
https://www.realpdfdumps.com/
QUESTION: 186
You want to define an ABAP Core Data Services (CDS) view that totals the NET_AMOUNT column for each
sales order (column SOJD). Which SELECT statement would you use in the definition? Please choose the
correct answer.
Option A :
Option B :
Option C :
Option D :
Correct Answer: B
QUESTION: 187
There are many syntax differences between SAP HANA SQLScript and Open SQL. Which of the following rules
are common ground between the two languages? Note: There are 2 correct Answers to this question.
Option A :
Option B :
Option C : https://www.realpdfdumps.com/
Statements are ended with a period (.)
Option D :
QUESTION: 188
Which of the following are essential rules of the SAP S/4HANA Cloud extensibility model? Note: There are 3
correct answers to this question.
Option A :
Option B :
Option C :
Standard modifications
Option D :
Option E :
https://www.realpdfdumps.com/
QUESTION: 189
You define a core data services (CDS) View. For which of the following expressions and built in functions
must you provide alias? There are 3 correct answers to this question.
Option A :
Currency Conversion
Option B :
Unit conversion
Option C :
CASE expression
Option D :
Option E :
CASTE Expression
QUESTION: 190
Which of the following are key user extensibility tools? Note: There are 3 correct answers to this question.
Option A :
Option B :
Custom Fields
https://www.realpdfdumps.com/
Option C :
Option D :
Custom reports
Option E :
QUESTION: 191
Option A :
Option B :
Option C :
database table
Option D :
https://www.realpdfdumps.com/
Correct Answer: A,C
Explanation/Reference:
In ABAP SQL, an alias is a temporary name that can be assigned to a field or a database table in a query. An alias can be used
to make the query more readable, to avoid name conflicts, or to access fields or tables with long names. An alias is created
with the AS keyword and is only valid for the duration of the query1.
The following are examples of how to assign an alias to a field or a database table in ABAP SQL:
• field (from field list): A field is a column of a table or a view that contains data of a certain type. A field can be assigned an
alias in the field list of a SELECT statement, which specifies the fields that are selected from the data source. For example, the
following query assigns the alias name to the field carrname of the table scarr:
The alias name can be used instead of carrname in other clauses of the query, such as WHERE, GROUP BY, ORDER BY, and so
on2.
• database table: A database table is a collection of data that is organized in rows and columns. A database table can be
assigned an alias in the FROM clause of a SELECT statement, which specifies the data source that is selected from. For
example, the following query assigns the alias c to the table scarr:
The alias c can be used instead of scarr in other clauses of the query, such as WHERE, JOIN, GROUP BY, ORDER BY, and so on3.
The following are not valid for assigning an alias in ABAP SQL:
• order criterion (from order by clause): An order criterion is a field or an expression that is used to sort the result set of a
query in ascending or descending order. An order criterion cannot be assigned an alias in the ORDER BY clause of a SELECT
statement, because the alias is not visible in this clause. The alias can only be used in the clauses that follow the clause where
it is defined1.
• group criterion (from group by clause): A group criterion is a field or an expression that is used to group the result set of a
query into subsets that share the same values. A group criterion cannot be assigned an alias in the GROUP BY clause of a
SELECT statement, because the alias is not visible in this clause. The alias can only be used in the clauses that follow the
References: 1: ALIASES - ABAP Keyword Documentation 2: SELECT List - ABAP Keyword Documentation 3: FROM Clause - ABAP
Keyword Documentation
https://www.realpdfdumps.com/
QUESTION: 192
After you created a database table in the RESTful Application Programming model, what do you create next?
Option A :
Option B :
A service definition
Option C :
A metadata extension
Option D :
A projection view
Correct Answer: A
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 193
Given the following Core Data Services View Entity Data Definition,
1. 1 @AccessControl.authorizationCheck: #NOT_REQUIRED
3. 3 AS SELECT FROM
4. 4
5. 5 {
6. 6 KEY field_1,
7. 8 field_2,
8. 9 field_3
9. }
which of the following types are permitted to be used for on line #4?
https://www.realpdfdumps.com/
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
The < source > clause in the CDS View Entity Data Definition can be used to specify the data source for the
view entity. The < source > clause can accept different types of data sources, depending on the type of the view
entity1.
A database table from the ABAP Dictionary: This is a valid type of data source for a CDS View Entity
Data Definition. A database table from the ABAP Dictionary is a table that is defined in the ABAP
Dictionary using the keyword TABLE or TABLE OF. The name of the database table must be unique
within its namespace and must not contain any special characters2.
A CDS DDIC-based view: This is also a valid type of data source for a CDS View Entity Data
Definition. A CDS DDIC-based view is a view that is defined in the Core Data Services using the
keyword DEFINE VIEW ENTITY. The name of the CDS DDIC-based view must be unique within its
An external view from the ABAP Dictionary: This is not a valid type of data source for a CDS View
Entity Data Definition. An external view from the ABAP Dictionary is a view that is defined in an
external application using any language supported by SAP, such as SQL, PL/SQL, or Java. The name of
the external view must be unique within its namespace and must not contain any special characters4.
A database view from the ABAP Dictionary: This is not a valid type of data source for a CDS View
Entity Data Definition. A database view from the ABAP Dictionary is a view that is defined in an
external application using any language supported by SAP, such as SQL, PL/SQL, or Java. The name of
https://www.realpdfdumps.com/
the database view must be unique within its namespace and must not contain any special characters4.
References: 1: CDS DDL - DEFINE VIEW ENTITY - ABAP Keyword Documentation - SAP Online Help 2:
ABAP Dictionary Tables - SAP Online Help 3: CDS DDL - DEFINE VIEW ENTITY - ABAP Keyword
Documentation - SAP Online Help 4: ABAP Dictionary Views - SAP Online Help
QUESTION: 194
Option A :
Option B :
Option C :
Option D :
Correct Answer: D
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 195
In RESTful Application Programming, a business object contains which parts? Note: There are 2 correct
answers to this question.
Option A :
CDS view
Option B :
Behavior definition
Option C :
Authentication rules
https://www.realpdfdumps.com/
Option D :
Process definition
Explanation/Reference:
Check here
In the ABAP RESTful Application Programming model (RAP), a business object defines a particular entity, such as a travel
agency. Its definition has two parts; a CDS view, which defines the structure of the object or, in other words, the fields that it
contains, and a behavior definition, which describes what you can do with the business object.
The behavior definition specifies which of the standard operations, create, update, delete are allowed. It can also contain the
definition of validations, determinations, and actions. Validations check that the data is correct when you create or update a
record. Determinations modify instances of business objects based on trigger conditions. Actions are non-standard operations
which you use to provide customized, business-logic-specific behavior. Approving a purchase order or canceling a flight are
QUESTION: 196
Given the following Core Data Services View Entity Data Definition:
@AccessControl.authorizationCheck: #NOT_REQUIRED
KEY so_key,
https://www.realpdfdumps.com/
buyer_id AS BuyerID,
currency_sum AS currencySum
You want to provide a short description of the data definition for developers that will be attached to the
database view. Which of the followingannotations would do?
Option A :
@EndUser.Text.label
Option B :
@UI.badge.title.label
Option C :
@UI.headerinto.description.label
Option D :
@EndUserText.quickInfo
Correct Answer: D
Explanation/Reference:
The annotation that can be used to provide a short description of the data definition for developers that will be
attached to the database view is the @EndUserText.label annotation. This annotation is used to specify a text
label for the data definition that can be displayed in the development tools or in the documentation. The
annotation can be inserted on line #27 in the code snippet provided in the question12. For example:
The following code snippet uses the @EndUserText.label annotation to provide a short description of
‘CDS view for flight data’ "short description for developers define view ZCDS_VIEW as select from sflight {
@UI.headerInfo.description.label: This annotation is used to specify a text label for the description field
https://www.realpdfdumps.com/
of the header information of a UI element. This annotation is not relevant for the data definition of a
database view12.
@UI.badge.title.label: This annotation is used to specify a text label for the title field of a badge UI
element. This annotation is not relevant for the data definition of a database view12.
@EndUserText.quickInfo: This annotation is used to specify a quick information text for the data
definition that can be displayed as a tooltip in the development tools or in the documentation. This
annotation is not the same as a short description or a label for the data definition12.
References: 1: ABAP CDS - SAP Annotations - ABAP Keyword Documentation - SAP Online
Help 2: ABAP CDS - Data Definitions - ABAP Keyword Documentation - SAP Online Help
QUESTION: 197
What is the purpose of a foreign key relationship between two tables in the ABAP Dictionary?
Option A :
Option B :
Option C :
Correct Answer: C
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 198
What are advantages of using a field symbol for internal table row access? (2 correct)
Option A :
The row content is copied to the field symbol instead to a work area.
Option B :
Option C :
MODIFY statement to write changed contents back to the table is not required.
Option D :
https://www.realpdfdumps.com/
Explanation/Reference:
Before process the LOOP the FIELD1 has A and B values respectively.
After process the LOOP we can see that was changes as per the fieldsymbol. FIELD1 now is S.
https://www.realpdfdumps.com/
Conclusions :
If we change any field of structure in field symbol, the corresponding field in internal will get updated. We don’t need to write
the MODIFY statement which we would have written if we had used work area. This is because work area stores a copy of the
internal table row, whereas field symbol directly references the internal table row.
Hence processing of internal table with field symbol is faster than the processing of internal table with work area.
https://blogs.sap.com/2017/09/05/dynamic-programming-in-abap-part-1-introduction-to-field-symbols/
QUESTION: 199
Given the following Core Data Services View Entity Data Definition:
https://www.realpdfdumps.com/
The “demo_cds_assoc_spfli” data source referenced in line #4 contains a field “connid” which you would like
to expose in the element list. Which of the following statements would do this if inserted on line #8?
Option A :
demo_ods_assoc_spfli.connid
Option B :
demo_ods_assoc_spfli-connid/
Option C :
spfli-connid,
Option D :
_spfli.connid/
Correct Answer: D
Explanation/Reference:
The statement that can be used to expose the field “connid” of the data source “demo_ods_assoc_spfli” in the
element list is A. demo_ods_assoc_spfli.connid,. This statement uses the dot notation to access the field
“connid” of the data source “demo_ods_assoc_spfli”, which is an association defined on line #4. The
association “demo_ods_assoc_spfli” links the data source “demo_ods” with the table “spfli” using the field
“carrid”. The statement also ends with a comma to separate it from the next element in the list12.
https://www.realpdfdumps.com/
You cannot do any of the following:
B. demo_ods_assoc_spfli-connid/: This statement uses the wrong syntax to access the field “connid” of
the data source “demo_ods_assoc_spfli”. The dash notation is used to access the components of a
structure or a table, not the fields of a data source. The statement also ends with a slash, which is not a
C. spfli-connid,: This statement uses the wrong data source name to access the field “connid”. The data
source name should be “demo_ods_assoc_spfli”,not “spfli”. The statement also uses the wrong syntax to
D. _spfli.connid/: This statement uses the wrong data source name and the wrong separator to access the
field “connid”. The data source name should be “demo_ods_assoc_spfli”, not “_spfli”. The statement
also ends with a slash, which is not a valid separator for the element list12.
References: 1: ABAP CDS - SELECT, select_list - ABAP Keyword Documentation - SAP Online
Help 2: ABAP CDS - SELECT, from - ABAP Keyword Documentation - SAP Online Help
QUESTION: 200
Option A :
READ ENTITIES.
Option B :
DELETE ENTITIES.
Option C :
UPDATE ENTITIES.
Option D :
MODIFY ENTITIES.
Correct Answer: A
https://www.realpdfdumps.com/
QUESTION: 201
What are some characteristics of secondary keys for internal tables? Note: There are 3 correct answers to
this question.
Option A :
Secondary keys must be chosen explicitly when you actually read from an internal table.
Option B :
Multiple secondary keys are allowed for any kind of internal table.
Option C :
Option D :
Option E :
Explanation/Reference:
Secondary keys are additional keys that can be defined for internal tables to optimize the access to the table
using fields that are not part of the primary key. Secondarykeys can be either sorted or hashed, depending on
the table type and the uniqueness of the key. Secondary keys have the following characteristics1:
A. Secondary keys must be chosen explicitly when you actually read from an internal table. This means
that when you use a READ TABLE or a LOOP AT statement to access an internal table, you have to
specify the secondary key that you want to use with the USING KEY addition. For example, the
following statement reads an internal table itab using a secondary key sec_key:
If you do not specify the secondary key, the system will use the primary key by default2.
https://www.realpdfdumps.com/
B. Multiple secondary keys are allowed for any kind of internal table. This means that you can define
more than one secondary key for an internal table, regardless of the table type. For example, the
following statement defines an internal table itab with two secondary keys sec_key_1 and sec_key_2:
DATA itab TYPE SORTED TABLE OF ty_itab WITH NON-UNIQUE KEY sec_key_1 COMPONENTS
You can then choose which secondary key to use when you access the internal table1.
D. Sorted secondary keys do NOT have to be unique. This means that you can define a sorted secondary
key for an internal table that allows duplicate values for the key fields. A sorted secondary key
maintains a predefined sorting order for the internal table, which is defined by the key fields in the order
in which they are specified. For example, the following statement defines a sorted secondary key
sec_key for an internal table itab that sorts the table by field1 in ascending order and field2 in
descending order:
DATA itab TYPE STANDARD TABLE OF ty_itab WITH NON-UNIQUE SORTED KEY sec_key
You can then access the internal table using the sorted secondary key with a binary search algorithm, which is
The following are not characteristics of secondary keys for internal tables, because:
C. Hashed secondary keys do NOT have to be unique. This is false because hashed secondary keys must
be unique. This means that you can only define a hashed secondary key for an internal table that does
not allow duplicate values for the key fields. A hashed secondary key does not have a predefined sorting
order for the internal table, but uses a hash algorithm to store and access the table rows. For example,
the following statement defines a hashed secondary key sec_key for an internal table itab that hashes the
DATA itab TYPE STANDARD TABLE OF ty_itab WITH UNIQUE HASHED KEY sec_key
You can then access the internal table using the hashed secondary key with a direct access algorithm, which is
very fast.
E. Secondary keys can only be created for standard tables. This is false because secondary keys can be
created for any kind of internal table, such as standard tables, sorted tables, and hashed tables. However,
the type of the secondary key depends on the type of the internal table. For example, a standard table
can have sorted or hashed secondary keys, a sorted table can have sorted secondary keys, and a hashed
References: 1: Secondary Table Key - ABAP Keyword Documentation 2: READ TABLE - ABAP Keyword
Documentation 3: Sorted Tables - ABAP Keyword Documentation : Hashed Tables - ABAP Keyword
Documentation
QUESTION: 202
You have a superclass super1 and a subclass sub1 of super1. Each class has an instance constructor and a
https://www.realpdfdumps.com/
static constructor. The first statement of your program creates an instance of sub1. In which sequence will
the constructors be executed?
Option A :
1, 4, 3, 2
Option B :
1, 4, 2, 3
Option C :
4, 1, 3, 2
Option D :
4, 1, 2, 3
Correct Answer: B
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 203
What are some of the reasons that Core Data Services are preferable to the classical approach to data
modeling? (2 correct)
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
They avoid data transfer completely
Explanation/Reference:
Core Data Services (CDS) offer several advantages over the classical approach to data modeling, and two of the correct
reasons are:
1. They implement code pushdown: CDS views enable code pushdown, which means that data-intensive operations and
calculations can be executed directly in the database layer, reducing the amount of data transferred between the database
and the application server. This can lead to significant performance improvements as it minimizes the network overhead and
2. They avoid data transfer completely: CDS views can be used to filter and aggregate data directly in the database, which
means that only the results of the query are transferred to the application server. In contrast to the classical approach, where
you might retrieve large datasets and then filter or aggregate them on the application server, CDS views can significantly
reduce the amount of data transferred, resulting in more efficient data processing and reduced network traffic.
The other options are not accurate because CDS views are designed to optimize data retrieval by pushing computation and
filtering to the database layer, thus avoiding unnecessary data transfer to the application server.
The classic SAP development approach has been to keep the unnecessary load away from the database. Developers would
select the required data from a database and do further processing and manipulation on the application server. The code
would become complex (as its majority has been built for performance reasons) through the use of indexes and added no value
With the invention of SAP HANA database and consequent introduction of ABAP CDS Views this approach has changed. The
new programming paradigm is called ‘code pushdown’ or “code to data”. The rule-of-thumb is to ‘do as much as possible in the
And “as much as possible” means: all expensive calculations, aggregations and string operations should be done on the
database level with only the resulting sets to be transferred to the application layer. SAP HANA database is optimised to
complete such tasks. This leads to performance gains and reduction of the the complex application code. For comparison –
huge amounts of data had to be transferred for processing with the classic approach. In some cases this could cause short
SAP HANA is capable of aggregating on the fly. There is no need for pre-built aggregates and indexes since the data is
organized using column stores. Also, in an S/4HANA system the data model has been simplified, by getting rid of tables
The classic vs code pushdown (data centric approach) comparison can be represented by the following diagram:
So, what does ‘code pushdown’ really mean? I am using an example of a CDS View below to explain:
https://www.realpdfdumps.com/
Apart from regular fields selection from database table SBOOK this CDS view:
• Uses a cases statement, based on the value of CLASS field it will return a corresponding value: ‘Economy’, ‘Business’, ‘First’.
• Does a currency conversion from source currency to USD using a built-in function
• Calculates the difference between order date and flight date using a built-in function
In the classic approach, all these calculations and conversions would have been done on the application server in ABAP. With
QUESTION: 204
IF .
EXPORTING
param1 = valuel
param2- value2
previous value3.
ENDIF.
Option A :
Option B :
Option C :
"zcx1" is a dictionary structure, and "param1" and "param2" are same-named components of this
structure.
Option D :
https://www.realpdfdumps.com/
The code creates an exception object and raises an exception.
Explanation/Reference:
Correct answers:
This statement is correct. The code is raising an exception of type zcx1 using the RAISE EXCEPTION TYPE statement. The
EXPORTING clause is used to pass parameters (param1, param2, and previous) along with the exception.
This statement is correct. In ABAP, when you define an exception class (such as zcx1), you can define parameters within the
class. These parameters are then accessible using predefined names (like param1, param2, etc.) when you raise the exception.
In the provided code, param1, param2, and previous are assumed to be parameters defined within the exception class zcx1.
Other options are incorrect because "zcx1" is typically a custom exception class defined in ABAP and not a dictionary structure
and "previous" is not expected to reference a previous exception; rather, it is a parameter being passed with the exception.
QUESTION: 205
In the assignment.
Option A :
TYPE DEFLOAT16
Option B :
TYPE P DECIMALS 3
Option C :
TYPE I
https://www.realpdfdumps.com/
Option D :
TYPE P DECIMALS 2
Correct Answer: C
Explanation/Reference:
QUESTION: 206
Option A :
A travel agency.
Option B :
A CDS view.
Option C :
A behavior definition.
Option D :
Correct Answer: D
https://www.realpdfdumps.com/
Explanation/Reference:
QUESTION: 207
When processing a loop with the statement DO... ENDDO, what system variable contains the implicit loop
counter?
Option A :
sy-linno
Option B :
sy-tabix
Option C :
sy-subrc
https://www.realpdfdumps.com/
Option D :
sy-index
Correct Answer: D
Explanation/Reference:
When processing a loop with the statement DO… ENDDO, the system variable that contains the implicit loop counter is sy-
index. The loop counter is a numeric value that indicates how many times the loop has been executed. The loop counter is
initialized to 1 before the first execution of the loop and is incremented by 1 after each execution. The loop counter can be
used to control the number of loop iterations or to access the loop elements by index. The loop counter can also be accessed or
modified within the loop body, but this is not recommended as it may cause unexpected results or errors1.For example, the
following code snippet uses the loop counter sy-index to display the numbers from 1 to 10:
1 2 3 4 5 6 7 8 9 10
QUESTION: 208
Given the following code excerpt that defines an SAP HANA database table:
@Semantics.quantity.unitOfMeasure : 'demo_table.field4'
field3 : abap.quan(2);
field4 : abap.unit(2);
...
https://www.realpdfdumps.com/
Option A :
field1
Option B :
field4
Option C :
field3
Option D :
field2
Explanation/Reference:
field1 -> Reference CLNT to class w/o interface cannot be used in DB table ZDEMO_TABLE
field2 -> - DB length of the key of table ZDEMO_TABL is too big (>900)
field3 -> OK
field4 -> OK
https://www.realpdfdumps.com/
QUESTION: 209
Which part of the business object's definition defines its structure or the fields it contains?
Option A :
Behavior definition.
Option B :
Actions.
Option C :
Validations.
Option D :
CDS view.
Correct Answer: D
QUESTION: 210
In which products must you use the ABAP Cloud Development Model? Note: There are 2 correct answers to
this question.
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
Explanation/Reference:
The ABAP Cloud Development Model is the ABAP development model to build cloud-ready business apps, services, and
extensions. It comes with SAP BTP and SAP S/4HANA. It works with public or private cloud, and even on-premise1. However,
thecomplete ABAP Cloud Development Model, including the cloud-optimized ABAP language and public local SAP APIs and
extension points, is available only in SAPBTPABAP Environment and in the 2208/2022 versions of the SAP S/4HANA editions1.
Therefore, you must use the ABAP Cloud Development Model in SAP BTP, ABAP environment and SAP S/4HANA Cloud, private
edition. You can also use it in SAP S/4HANA on premise, but it is not mandatory. You cannot use it in SAP S/4HANA Cloud, public
edition, because it does not allow custom ABAP code2. References: 1: ABAP Cloud | SAP Blogs 2: SAP S/4HANA Cloud
QUESTION: 211
In ABAP SQL, which of the following retrieves the association field_Airline-Name of a CDS view?
Option A :
\Airline-Name
Option B :
/_Airline Name
Option C :
@_Airline-Name
https://www.realpdfdumps.com/
Option D :
"_Airline Name
Correct Answer: A
Explanation/Reference:
QUESTION: 212
Option A :
INDEX TABLE
Option B :
STANDARD TABLE
Option C :
HASHED TABLE
Option D :
SORTED TABLE
https://www.realpdfdumps.com/
Correct Answer: A
Explanation/Reference:
https://help.sap.com/doc/saphelp_snc70/7.0/en-US/74/83015785d811d295a800a0c929b3c3/content.htm?no_cache=true
QUESTION: 213
For what kind of applications would you consider using on-stack developer extensions? (2 correct)
Option A :
Applications that provide APIs for side by side SAP BTP apps
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
Correct Answer: A,B
Explanation/Reference:
Developer extensions are oriented towards the traditional ABAP developer persona. Using released extension points,
developers are able to implement more complex use cases. Some of the possibilities are as follows:
Extensions that run in the same logical unit of work (LUW) as SAP applications
Extensions that will serve as a remote application programming interface (API) for side-by-side applications
https://learning.sap.com/learning-journey/practicing-clean-core-extensibility-for-sap-s-4hana-cloud/explaining-developer-
extensibility_f2683861-d69e-4a59-9e3e-01e3cc20fb0f
QUESTION: 214
Class super has subclass sub. Which rules are valid for the sub constructor? (2 correct)
Option A :
Option B :
Import parameters can only be evaluated after calling the constructor of super.
https://www.realpdfdumps.com/
Option C :
The constructor of super must be called before using any components of your own instance.
Option D :
Events of your own instance cannot be raised before the registration of a handler in super.
Explanation/Reference:
Explanation
https://learning.sap.com/learning-journeys/acquire-core-abap-skills/implementing-inheritance_bfdb59f7-0f99-48b9-b019-
a7b766830ecc
https://www.realpdfdumps.com/
QUESTION: 215
Option A :
Read entity
Option B :
Select entity
Option C :
Find entity
Option D :
Get entity
Correct Answer: A
Explanation/Reference:
https://learning.sap.com/learning-journeys/develop-extensions-using-sap-s-4hana-cloud-abap-environment/accessing-rap-
objects-via-eml-entity-manipulation-language-_ce6fa2d5-7936-4b09-a6b7-134d34695880
https://www.realpdfdumps.com/
QUESTION: 216
As a consultant you are posed the following question from a client who is using SAP S/4HANA Cloud, public
edition and also SAP BTP, ABAP environment.
"We are currently using an SAP Fiori app based on SAP Fiori elements that analyzes open orders. We have
determined that it should be extendedvia a new button on the UI which will perform an on-the-fly calculation
and display the result in a quick popup for the enduser. We have beeninformed by SAP that all underlying
stack layers for the SAP Fiori app have been extensibility enabled."
Based on this which of the following extension types would you recommend to the customer to add the new
button?
Option A :
Option B :
Option C :
Option D :
QUESTION: 217
???
cityfrom as DepartureCity,
cityto as Arrivalcity,_Source2
Option A :
ON $projection.Carrier = Source2.carrier
Option B :
ON $projection.carrier_id= Z_Source2.carrier_id
Option C :
ON Z_Source1.carrier_id=7_Source2 carrier_id
Option D :
https://www.realpdfdumps.com/
Correct Answer: B
QUESTION: 218
Given the following code in an SAP S/4HANA Cloud private edition tenant:
METHODS: m1.
ENDCLASS.
METHOD m1.
ENDMETHOD.
ENDCLASS.
The class zcl_demo_class is in a software component with the language version set to "ABAP Cloud". The
function module ZF1' is in a different software component with the language version set to "Standard ABAP".
Both the class and function module are customer created. Regarding line #6, which of the following are valid
statements?
Option A :
Option B :
'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development.
Option C :
Option D :
ZF1" can be called if a wrapper is created for it but the wrapper itself is not released for cloud
development
https://www.realpdfdumps.com/
Correct Answer: A,B
Explanation/Reference:
The ABAP Cloud Development Model requires that only public SAP APIs and extension points are used to
access SAP functionality and data. These APIs and extension points are released by SAP and documented in
the SAP API BusinessHub1. Customer-created function modules are not part of the public SAP APIs and are
not released for cloud development. Therefore, calling a function module directly from an ABAP Cloud class
is not allowed and will result in a syntax error. However, there are two possible ways to call a function module
Create a wrapper class or interface for the function module and release it for cloud development. A
wrapper is a class or interface that encapsulates the function module and exposes its functionality
through public methods or attributes. The wrapper must be created in a software component with the
language version set to “Standard ABAP” and must be marked as released for cloud development using
the annotation @EndUserText.label. The wrapper can then be called from an ABAP Cloud class using
Use the ABAP Cloud Connector to call the function module as a remote function call (RFC) from an
ABAP Cloud class. The ABAP Cloud Connector is a service that enables the secure and reliable
communication between SAP BTP, ABAP environment and on-premise systems. The function module
must be exposed as an RFC-enabled function module in the on-premise system and must be registered in
the ABAP Cloud Connector. The ABAP Cloud class can then use the class cl_rfc_destination_service to
get the destination name and the class cl_abap_system to create a proxy object for the function
module. The proxy object can then be used to call the function module3.
References: 1: SAP API Business Hub 2: Creating an ABAP Cloud Project | SAP Help Portal 3: Calling
QUESTION: 219
INTERFACE if1.
METHODS m1.
ENDINTERFACE.
...
INTERFACES if1.
ENDCLASS. https://www.realpdfdumps.com/
...
...
...
ENDCLAS.
...
What are valid statements? Note: There are 3 correct answers to this question
Option A :
Option B :
Option C :
Option D :
Option E :
Explanation/Reference:
o This statement is not valid. The correct syntax to refer to the method declared in the interface in a class is
o This statement is valid. Class CL2 has a data member mo_if1 of type REF TO if1, indicating that it is using the interface if1.
o This statement is valid. In a class implementing an interface, the interface method is accessed using the syntax
o This statement is not valid. While Class CL1 implements the interface (INTERFACES if1), the usage of the interface is typically
associated with having an attribute of the interface type or implementing the methods declared in the interface. In this snippet,
it's not explicitly shown how the interface is used within CL1.
o This statement is valid. Class CL1 is declared to implement the interface if1 (INTERFACES if1), indicating that it provides an
QUESTION: 220
field1 = row-field1
field2 = row-field2
fieldn = row-fieldn )
Option A :
Option B : https://www.realpdfdumps.com/
row is only visible within the loop.
Option C :
Option D :
Explanation/Reference:
The FOR statement is used to iterate over the content of the internal table source_itab. It defines a loop that processes each
row in source_itab.
source_itab is used as the source internal table for the loop. The loop iterates over the rows of source_itab and performs
operations on each row, populating the fields field1, field2, ..., fieldn in target_itab.
However, after the loop, the processed values are stored in target_itab. source_itab itself is not limited in visibility only within
the loop; it remains visible and can be used outside the loop as well.
https://www.realpdfdumps.com/
QUESTION: 221
What are the special data types of the internal tables in EML called?
Option A :
Option B :
Option C :
Option D :
Correct Answer: D
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 222
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
https://www.realpdfdumps.com/
https://www.realpdfdumps.com/
QUESTION: 223
In what order are objects created to generate a RESTful Application Programming application?
1. Database table
3. Service definition
Option A :
1, 4, 3, 2
Option B :
3, 2, 1, 4
Option C :
1, 4, 3, 2
Option D :
2, 3, 4, 1
Correct Answer: C
Explanation/Reference:
Creating a RESTful Application Programming (API) application typically involves several steps, and the order in which you
create various components may vary depending on your specific project and development process. However, a common order
1. Database Table: In most cases, you'll start by defining the database structure. You create the necessary tables and fields to
store the data that your REST API will expose. This is where your data is stored, and it's a fundamental part of your application.
4. Data Model View: After creating the database tables, you'll typically define a data model view. This view helps you define
how the data is presented and structured within your application. It's important to have a clear understanding of your data
https://www.realpdfdumps.com/
model before exposing it through an API.
3. Service Definition: With your data model in place, you can create a service definition. This defines how the data will be
exposed as an API. You specify the entity sets, properties, and operations that the service will provide. This is a critical step in
2. Service Binding: Finally, you can create a service binding projection view. This view is used to define how your service
definition is exposed as a RESTful API. You specify the mapping between the service definition and the HTTP methods (GET,
POST, PUT, DELETE, etc.) that your API will support. You also configure the URL structure for your API endpoints.
So, the order is typically from the database table to the data model view, then the service definition, and finally, the service
binding projection view. However, it's essential to adapt these steps to your specific project's requirements and follow best
QUESTION: 224
What RESTful Application Programming feature is used to ensure the uniqueness of a semantic key?
Option A :
Action
Option B :
Determination
https://www.realpdfdumps.com/
Option C :
Validation
Correct Answer: C
Explanation/Reference:
The RESTful Application Programming feature that is used to ensure the uniqueness of a semantic key is
determination. A determination is a type of behavior implementation that defines a logic that is executed
automatically when certain events occur, such as create, update, delete, or activate. A determination can be
used to calculate or derive values for certain fields, such as semantic keys, based on other fields or external
sources. A determination can also be used to check the uniqueness of a semantic key by comparing it with the
existing values in the database or the transaction buffer. A determination can use the ABAP SQL or the EML
syntax to access and manipulate data. A determination can be defined usingthe DETERMINE action clause in
the behavior definition of a CDS view entity or a projection view. A determination can also be annotated with
the @ObjectModel.determination annotation to specify the event, the timing, and the scope of the
determination12
The other RESTful Application Programming features are not used to ensure the uniqueness of a semantic key,
Validation: A validation is a type of behavior implementation that defines a logic that is executed
automatically when certain events occur, such as create, update, delete, or activate. A validation can be
used to check the consistency and correctness of the data, such as mandatory fields, data types, value
ranges, or business rules. A validation can use the ABAP SQL or the EML syntax to access and
manipulate data. A validation can be defined using the VALIDATE action clause in the behavior
definition of a CDS view entity or a projection view. A validation can also be annotated with the
@ObjectModel.validation annotation to specify the event, the timing, and the scope of the validation12
Action: An action is a type of behavior implementation that defines a logic that is executed explicitly by
the user or the application. An action can be used to perform a specific business operation, such as
An action can use the ABAP SQL or the EML syntax to access and manipulate data. An action can be
defined using the ACTION clause in the behavior definition of a CDS view entity or a projection
view. An action can also be annotated with the @ObjectModel.action annotation to specify the name,
Keyword Documentation
https://www.realpdfdumps.com/
QUESTION: 225
Option A :
Option B :
To read data.
Option C :
To delete data.
Option D :
Correct Answer: D
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 226
which of the following data declarations will always work without truncation or rounding? Note: There
Option A :
Option B :
Option C :
Option D :
DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16 DECIMALS 2.
Explanation/Reference:
https://www.realpdfdumps.com/
String to C truncate
The data declarations that will always work without truncation or rounding for the assignment gv_target =
gv_source are B and C. This is because the target data type string is a variable-length character type that can
hold any character string, including those of data types c (fixed-length character) and d (date). The assignment
of a character or date value to a string variable will not cause any loss of information or precision, as the string
A. DATA gv_source TYPE string, to DATA gv_target TYPE c.: This data declaration may cause
truncation for the assignment gv_target = gv_source. This is because the target data type c is a
fixed-length character type that has a predefined length. If the source value of type string is longer than
the target length of type c, the source value will be truncated on the right to fit the target length12.
https://www.realpdfdumps.com/
D. DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16
DECIMALS 2.: This data declaration may cause rounding for the assignment gv_target = gv_source.
This is because the target data type p is a packed decimal type that has a predefined length and number
of decimal places. If the source value of type p has more decimal places than the target type p, the
References: 1: ABAP Data Types - ABAP Keyword Documentation - SAP Online Help 2: ABAP Assignment
QUESTION: 227
INTERFACE if1.
METHODS m1.
ENDINTERFACE.
PUBLIC SECTION.
INTERFACES if1.
METHODS m2.
ENDCLASS.
go_if1 = go_cl1.
Option A :
https://www.realpdfdumps.com/
Option B :
Option C :
Option D :
Instead of go cl1 = NEW #(...) you could use go if1 = NEW cl1(....).
Option E :
Instead of go_cl1 = NEW #() you could use go_iff - NEW #(...).
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 228
Option A :
Option B :
Option C :
Option D :
Correct Answer: C
Explanation/Reference:
QUESTION: 229
Which of the following are parts of the definition of a new database table? (2 correct)
Option A :
https://www.realpdfdumps.com/
Extension
Option B :
Option C :
Partitioning attributes
Option D :
Field list
QUESTION: 230
3. ???
4. {
7. cityfrom as DepartureCity,
8. cityto as Arrivalcity,
9. _Source2
10. }
Option A :
ON _Source1.carrier_id = _Source2.carrier_id
https://www.realpdfdumps.com/
Option B :
ON $projection.Carrier = Source2.carrier
Option C :
Option D :
ON $projection.carrier_id = _Source2.carrier_id
Correct Answer: A
Explanation/Reference:
3. on _Source1.carrier_id = _Source2.carrier_id
4. {
7. cityfrom as DepartureCity,
8. cityto as ArrivalCity,
9. _Source2
10. }
QUESTION: 231
https://www.realpdfdumps.com/
What is the sequence priority when evaluating a logical expression?
Option A :
NOT
Option B :
AND
Option C :
OR
Option D :
NOT/AND/OR
Correct Answer: D
Explanation/Reference:
https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenlogexp_boole.htm
• AND
• OR
• EQUIV
• NOT
•()
When combining multiple Boolean operators, the system implicitly parenthesizes all logical expressions that are not closed by
explicit parentheses according to the following hierarchy (operator order, precedence). This expresses the strength of the
1. All Boolean operators NOT are combined with the adjacent logical expression to the right to a logical expression.
2. All logical expressions joined using AND are combined as one logical expression.
3. All logical expressions joined using OR are combined as one logical expression.
https://www.realpdfdumps.com/
4. All logical expressions joined using EQUIV are combined as one logical expression.
The logical expressions of a parenthesis level are processed from the left to the right. If the value of a logical expression
determines the total value of the parenthesis level, the remaining logical expressions are not evaluated. The dynamic parts of
the expressions that are not evaluated, such as field symbols or reference variables, are not checked for validity in this case.
QUESTION: 232
In a RESTful Application Programming application, in which objects do you bind a CDS view to create a value
help?Note: There are 3 correct answers to this question.
Option A :
Metadata extension
Option B :
Option C :
Behavior definition
Option D :
Service definition
Option E :
https://www.realpdfdumps.com/
Projection view
Explanation/Reference:
In a RESTful Application Programming (RAP) application using SAP's ABAP programming language, a CDS (Core Data Services)
view can be bound to different objects to create a value help. Here are the correct answers:
Projection view: A projection view is a CDS view that defines the structure of the data to be retrieved. When creating a value
help, you often want to define the list of values or the structure of the data that should be available for selection. Binding a
Data model view: Data model views are used to define the overall data model in a CDS file. They provide a way to organize
different CDS views. Binding a CDS data model view can be relevant when you want to create a value help that involves
Service definition: In the context of a RESTful service, a service definition in ABAP allows you to expose CDS views as OData
services. By binding a CDS view to a service definition, you can make the data available for consumption through a RESTful
API. This can be useful when you want to provide value help as part of a larger service.
QUESTION: 233
What are some features of a unique secondary key? Note: There are 2 correct answers to this question.
Option A :
Option B :
Option C :
https://www.realpdfdumps.com/
Option D :
Explanation/Reference:
Check here
A unique secondary key has two purposes – firstly to speed up access to the table, and secondly to ensure that the key
combination of all of the rows in the table is unique. Consequently, the system must always keep the key up to date and uses a
Any operation that changes the contents of the internal table (filling or changing its contents) leads to the index either being
created (first access) or updated (subsequent accesses). Read accesses are always fast because the secondary index is always
already up to date.
QUESTION: 234
Option A :
Structure
https://www.realpdfdumps.com/
Option B :
Simple variable
Option C :
Internal table
Correct Answer: A
Explanation/Reference:
Based on the following code, the variable type of connection_full is a structure. A structure is a complex data type that consists
of a group of related data objects, called components, that have their own data types and names. A structure can be defined
using the TYPES statement or based on an existing structure type, such as a CDS view entity or a CDS DDIC-based view. In this
case, the variable connection_full is declared using the TYPE addition, which means that it has the same structure type as the
CDS view entity /DMO/I_Connection. The CDS view entity /DMO/I_Connection is a data model view that defines a data model
based on the database table /DMO/Connection. The CDS view entity /DMO/I_Connection has the following components: carrid,
connid, airpfrom, airpto, distance, and fltime. Therefore, the variable connection_full has the same components as the CDS
view entity /DMO/I_Connection, and each component has the same data type and length as the corresponding field in the
database table /DMO/Connection. References: CDS Data Model Views - ABAP Keyword Documentation, DATA - ABAP Keyword
QUESTION: 235
go_super = go_sub.
When accessing the subclass instance through go_super, what can you do? Note: There are 2 correct
answers to this question.
https://www.realpdfdumps.com/
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
When accessing the subclass instance through go_super, you can do both of the following:
Access the inherited private components: A subclass inherits all the private attributes and methods of its
superclass, unless they are explicitly overridden by the subclass. Therefore, you can access the inherited
private componentsof the superclass through go_super, as long as they are not hidden by other attributes
Access the inherited public components: A subclass inherits all the public attributes and methods of its
superclass, unless they are explicitly overridden by the subclass. Therefore, you can access the inherited
public components of the superclass through go_super, as long as they are not hidden by other attributes
Call a subclass specific public method: A subclass does not have any public methods that are not
inherited from its superclass. Therefore, you cannot call a subclass specific public method through go_super12.
Call inherited public redefined methods: A subclass does not have any public methods that are redefined
from its superclass. Therefore, you cannot call inherited public redefined methods through go_super12.
References: 1: Object Oriented - ABAP Development - Support Wiki 2: Inheritance and Instantiation - ABAP
Keyword Documentation
https://www.realpdfdumps.com/
QUESTION: 236
Which RESTful Application Programming object can be used to organize the display of fields in an app?
Option A :
Service definition
Option B :
Projection view
Option C :
Metadata extension
Option D :
Correct Answer: C
Explanation/Reference:
Metadata extensions can be used to influence the display of fields in an app, especially in the context of SAP Fiori applications
In SAP Fiori and OData services, metadata extensions are annotations that provide additional information about the data
model. These annotations can include details about how fields should be presented in the user interface. Annotations like
UI.LineItem, UI.FieldGroup, UI.SelectionFields, etc., are examples of metadata extensions that can impact the organization and
display of fields.
1. Field Labeling: You can specify labels for fields to improve their readability in the UI.
2. Field Grouping: You can group related fields together using the UI.FieldGroup annotation.
3. Sorting and Filtering: Annotations like UI.LineItem can influence how fields are displayed in a list or table, including sorting
https://www.realpdfdumps.com/
Here is a simplified example of how you might use metadata extensions to organize the display of fields:
1. @UI: {
2. lineItem: [
6. ],
7. selectionFields: ['ID']
8. }
9. entity MyEntity {
13. }
In this example, the @UI annotations are metadata extensions that provide information about how the fields (ID, Name,
So, in summary, while metadata extensions themselves don't handle the display directly, they provide additional information to
the frontend framework (like SAPUI5) on how to organize and present the fields in the user interface.
QUESTION: 237
Setting a field to read-only in which object would make the field read-only in all applications of the RESTful
Application Programming model?
Option A :
Service definition
Option B :
Behaviour definition
https://www.realpdfdumps.com/
Option C :
Projection view
Option D :
Metadata extension
Correct Answer: B
Explanation/Reference:
The object that can be used to set a field to read-only in all applications of the RESTful Application
Programming model (RAP) is the behaviour definition. The behaviour definition is a CDS artefact that defines
the business logic and the UI behaviour of a business object. A business object is a CDS entity that represents
a business entity or concept, such as a customer, an order, or a product. The behaviour definition can specify
the properties of the fields of a business object, such as whether they are mandatory, read-only, or
transient. These properties are valid for all applications that use the business object, such as transactional,
The following code snippet defines a behaviour definition for a business object ZI_PB_APPLICATION.
It sets the field APPLICATION to read-only for all applications that use this business object:
A. Service definition: A service definition is a CDS artefact that defines the interface and the binding of
a service. A service is a CDS entity that exposes the data and the functionality of one or more business
https://www.realpdfdumps.com/
objects as OData, InA, or SQL services. A service definition can specify the properties of the fields of a
service, such as whether they are filterable, sortable, or aggregatable. However, these properties are only
valid for the specific service that uses the business object, not for all applications that use the business
object12.
C. Projection view: A projection view is a CDS artefact that defines a view on one or more data sources,
such as tables, views, or associations. A projection view can select, rename, or aggregate the fields of
the data sources, but it cannot change the properties of the fields, such as whether they are read-only or
not. The properties of the fields are inherited from the data sources or the behaviour definitions of the
business objects12.
D. Metadata extension: A metadata extension is a CDS artefact that defines additional annotations for a
CDS entity, such as a business object, a service, or a projection view. A metadata extension can specify
the properties of the fields of a CDS entity for UI or analytical purposes, such as whether they are
visible, editable, or hidden. However, these properties are only valid for the specific UI or analytical
application that uses the metadata extension, not for all applications that use the CDS entity12.
References: 1: ABAP CDS - Data Definitions - ABAP Keyword Documentation - SAP Online Help 2: ABAP
QUESTION: 238
In a subclass sub1 you want to redefine a component of a superclass super. How do you achieve this? (2
correct)
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
Explanation/Reference:
You add the clause REDEFINITION to the component declaration in the subclass. This indicates that
the component is inherited from the superclass and needs to be reimplemented in the subclass. The
redefinition must happen in the same visibility section as the component declaration in the superclass.
For example, if the superclass has a public method m1, the subclass must also declare the redefined
You implement the redefined component in the subclass. This means that you provide the new logic or
behavior for the component that is specific to the subclass. The redefined component in the subclass will
override the original component in the superclass when the subclass object is used. For example, if the
superclass has a method m1 that returns ‘Hello’, the subclass can redefine the method m1 to return ‘Hi’
instead.
You implement the redefined component for a second time in the superclass. This is not possible,
because the superclass already has an implementation for the component that is inherited by the
subclass. The subclass is responsible for providing the new implementation for the redefined
You add the clause REDEFINITION to the component in the superclass. This is not necessary, because
the superclass does not need to indicate that the component can be redefined by the subclass. The
subclass is the one that needs to indicate that the component is redefined by adding the REDEFINITION
QUESTION: 239
Option B :
Option C :
Option D :
Option E :
Return code (to assign the return code of the authority check)
Explanation/Reference:
An Access Control Object (ACO) is a CDS annotation that defines the access control rules for a CDS view entity. An ACO consists
of one or more clauses that specify the role name, the data source, the access conditions, and the return code of the authority
Where (to specify the access conditions): This clause is used to define the logical expression that
determines whether a user has access to the data source or not. The expression can use the fields of the
data source, the parameters of the CDS view entity, or the predefined variables $user and $session. The
expression can also use the functions check_authorization and check_role to perform additional
authority checks12.
Define role (to specify the role name): This clause is used to assign a name to the role that is defined by
the ACO. The role name must be unique within the namespace of the CDS view entity and must not
contain any special characters. The role name can be used to reference the ACO in other annotations,
https://www.realpdfdumps.com/
such as @AccessControl.authorizationCheck or @AccessControl.grant12.
Revoke (to remove access to the data source): This clause is used to explicitly deny access to the data
source for a user who meets the conditions of the where clause. The revoke clause overrides any grant
clause that might grant access to the same user. The revoke clause can be used to implement the
Grant (to identify the data source): This is not a valid clause in an ACO. The grant clause is a separate
annotation that is used to grant access to a CDS view entity or a data source for a user who has a specific
role. The grantclause can reference an ACO by its role name to apply the access conditions defined by
the ACO12.
Return code (to assign the return code of the authority check): This is not a valid clause in an ACO. The
return code of the authority check is a predefined variable that is set by the system after performing the
access control check. The return code can be used in the where clause of the ACO to specify different
References: 1: Access Control Objects - ABAP Keyword Documentation - SAP Online Help 2: Access
QUESTION: 240
In class ZCL_CLASS_A, you use the statement DATA var TYPE ***
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Option D :
Explanation/Reference:
It is syntactically impossible to access private methods/atributes directly from outside. However, This is possible by using
QUESTION: 241
1.
2.
3.
the table.
4.
settings should you set for the spfli database table? Note:
Option A :
Option B :
Option C :
Option D :
Explanation/Reference:
Based on the given information, the spfli database table should have the following general settings:
“Storage Type” to “Row Store”: This setting determines how the data is stored in the SAP HANA database. Row store is suitable
for tables that are accessed by primary key or by a small number of columns. Column store is suitable for tables that are
https://www.realpdfdumps.com/
accessed by a large number of columns or by complex analytical queries. Since the spfli table is a large table with over one
million rows, and this program is the only one in the system that accesses the table, it is likely that the program will
use primary key access or simple queries to access the table. Therefore, row store is a better choice than column store for this
table12.
“Load Unit” to “Page Loadable”: This setting determines how the data is loaded into the memory when the table is accessed.
Page loadable means that the data is loaded in pages of 16 KB each, and only the pages that are needed are loaded. Column
loadable means that the data is loaded in columns, and only the columns that are needed are loaded. Since the spfli table is a
row store table, and this program will run rarely, it is more efficient to use page loadable than column loadable for this table.
Page loadable will reduce the memory consumption and the loading time of the table13
References: 1: Table Types in SAP HANA | SAP Help Portal 2: [Row Store vs Column Store in SAP HANA | SAP Blogs] 3: [Load
QUESTION: 242
In the assignment, data (gv_result) = 1/8. what will be the data type of gv_result?
Option A :
OTYPE I
Option B :
TYPE DEFLOAT 16
Option C :
TYPE P DECIMALS 3
Option D :
TYPE P DECIMALS 2
Correct Answer: B
https://www.realpdfdumps.com/
Explanation/Reference:
The data type of gv_result in the assignment data (gv_result) = 1/8 will be TYPE DECFLOAT 16. This is
because the assignment operator (=) in ABAP performs an implicit type conversion from the source type to the
If the target type is specified explicitly, the source value is converted to the target type.
If the target type is not specified explicitly, the source type is used as the target type, unless the source
type is a literal or an expression, in which case the target type is determined by the following priority
In this case, the target type is not specified explicitly, and the source type is an expression (1/8). Therefore, the
target type is determined by the priority order, and the first matching type is DECFLOAT16, which is a
References: 1: ABAP Assignment Rules - ABAP Keyword Documentation - SAP Online Help 2: ABAP Data
QUESTION: 243
You are designing the following select statement in ABAP Open SQL:
2. 2.
3. 3. SELECT
4. 4.
5. 5. FROM demo_cds_flights
6. 6.
8. 8.
10. 10.
14. 14.
To adhere to the most recent ABAP SQL syntax conventions from SAP, on which line must you insert the
"INTO TABLE @gt flights" clause to complete the SQL statement?
Option A :
#4
Option B :
#14
Option C :
#6
Option D :
#8
Correct Answer: B
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 244
You have a superclass superl and a subclass subl of superl. Each class has an instance constructor and a
static constructor. The first statement of your program creates an instance of subl. In which sequence will
the constructors be executed?
Answer :
https://www.realpdfdumps.com/
Explanation/Reference:
Class constructor of superl. This is because the class constructor is a static method that is executed
automatically before the class is accessed for the first time. The class constructor is used to initialize the
static attributes and components of the class. The class constructor of the superclass is executed before
the class constructor of the subclass, as the subclass inherits the static components of the superclass12
Class constructor of subl. This is because the class constructor is a static method that is executed
automatically before the class is accessed for the first time. The class constructor is used to initialize the
static attributes and components of the class. The class constructor of the subclass is executed after the
class constructor of the superclass, as the subclass inherits the static components of the superclass12
Instance constructor of superl. This is because the instance constructor is an instance method that is
executed automatically when an instance of the class is created using the statement CREATE OBJECT.
The instance constructor is used to initialize the instance attributes and components of the class. The
instance constructor of the superclass is executed before the instance constructor of the subclass, as the
subclass inherits the instance components of the superclass. The instance constructor of the subclass
must call the instance constructor of the superclass explicitly using super->constructor, unless the
Instance constructor of subl. This is because the instance constructor is an instance method that is
executed automatically when an instance of the class is created using the statement CREATE OBJECT.
The instance constructor is used to initialize the instance attributes and components of the class. The
instance constructor of the subclass is executed after the instance constructor of the superclass, as the
subclass inherits the instance components of the superclass. The instance constructor of the subclass
must call the instance constructor of the superclass explicitly using super->constructor, unless the
Keyword Documentation
https://www.realpdfdumps.com/
QUESTION: 245
Exhibit
Which of the following ABAP SQL snippets are syntactically correct ways to provide a value for the
parameter on line #4? Note: There are 2 correct answers to this question
Option A :
Option B :
Option C :
Option D :
QUESTION: 246
https://www.realpdfdumps.com/
when you attempt to activate the definition, what will be the response?
Option A :
Activation error because the field names of the union do not match
Option B :
Activation error because the field types of the union do not match
Option C :
Activation error because the key fields of the union do not match
Option D :
Activation successful
Correct Answer: C
Explanation/Reference:
https://www.realpdfdumps.com/
QUESTION: 247
Exhibit:
What are valid statements? Note: There are 3 correct answers to this question.
https://www.realpdfdumps.com/
Option A :
Option B :
Instead of go ell = NEW #(...) you could use go ifl = NEW cll(. ... ).
Option C :
Option D :
Instead of go_cll = NEW #() you could use go_iff - NEW #(...).
Option E :
Explanation/Reference:
A: This statement is valid. go_ifl may call method ml with go_ifl->ml(). This is because go_ifl is a data
object of type REF TO ifl, which is a reference to the interface ifl. The interface ifl defines a method ml,
which can be called using the reference variable go_ifl. The class cll implements the interface ifl, which
means that it provides an implementation of the method ml. The data object go_ifl is assigned to a new
instance of the class cll using the NEW operator and the inline declaration operator @DATA. Therefore,
when go_ifl->ml() is called, the implementation of the method ml in the class cll is executed123
B: This statement is valid. Instead of go_cll = NEW #(…) you could use go_ifl = NEW cll(…). This is
because go_ifl is a data object of type REF TO ifl, which is a reference to the interface ifl. The class cll
implements the interface ifl, which means that it is compatible with the interface ifl. Therefore, go_ifl
https://www.realpdfdumps.com/
can be assigned to a new instance of the class cll using the NEW operator and the class name cll. The
inline declaration operator @DATA is optional in this case, as go_ifl is already declared. The
parentheses after the class name cll can be used to pass parameters to the constructor of the class cll, if
any123
E: This statement is valid. go_ifl may call method m2 with go_ifl->m2(…). This is because go_ifl is a
data object of type REF TO ifl, which is a reference to the interface ifl. The class cll implements the
interface ifl, which means that it inherits all the components of the interface ifl. The class cll also defines
amethod m2, which is a public method of the class cll. Therefore, go_ifl can call the method m2 using
the reference variable go_ifl. The method m2 is not defined in the interface ifl, but it is accessible
through the interface ifl, as the interface ifl is implemented by the class cll. The parentheses after the
method name m2 can be used to pass parameters to the method m2, if any123
The other statements are not valid, as they have syntax errors or logical errors. These statements are:
C: This statement is not valid. go_cll may call method ml with go_cll->ifl~ml(). This is because go_cll
is a data object of type REF TO cll, which is a reference to the class cll. The class cll implements the
interface ifl, which means that it inherits all the components of the interface ifl. The interface ifl defines
a method ml, which can be called using the reference variable go_cll. However, the syntax for calling an
interface method using a class reference is go_cll->ml(), not go_cll->ifl~ml(). The interface component
selector ~ is only used when calling an interface method using an interface reference, such as
go_ifl->ifl~ml(). Using the interface component selector ~ with a class reference will cause a syntax
error123
D: This statement is not valid. Instead of go_cll = NEW #() you could use go_ifl = NEW #(…). This is
because go_ifl is a data object of type REF TO ifl, which is a reference to the interface ifl. The interface
ifl cannot be instantiated, as it does not have an implementation. Therefore, go_ifl cannot be assigned to
a new instance of the interface ifl using the NEW operator and the inline declaration operator @DATA.
This will cause a syntax error or a runtime error. To instantiate an interface, you need to use a class that
https://www.realpdfdumps.com/
Documentation, NEW - ABAP Keyword Documentation
QUESTION: 248
Option A :
Partitioning attributes
Option B :
Extension
Option C :
Field list
Option D :
Explanation/Reference:
A CDS view is a data definition that defines a data structure and a data selection from one or more data
sources. A CDS view consists of several parts, but two of them are:
Extension: An extension is an optional clause that allows a CDS view to extend another CDS view by
adding new elements, annotations, or associations. The extension clause has the syntax EXTEND VIEW
view_name WITH view_name. The first view_name is the name of the CDS view that is being
extended, and the second view_name is the name of the CDS view that is doing the extension1.
https://www.realpdfdumps.com/
Field list: A field list is a mandatory clause that specifies the elements of the CDS view. The field list
has the syntax SELECT FROM data_source { element_list }. The data_source is the name of the data
source that the CDS view selects data from, and the element_list is a comma-separated list of elements
that the CDS view exposes. The elements can be fields of the data source, expressions, associations, or
annotations2.
The following example shows a CDS view that extends another CDS view and defines a field list:
Z_CDS_Extension as select from ztable { // field list key ztable.id as ID, ztable.name as Name, ztable.age as
The other options are not parts of a CDS view, but rather related concepts:
Partitioning attributes: Partitioning attributes are attributes that are used to partition a table into smaller
subsets of data. Partitioning attributes are defined in the ABAP Dictionary for transparent tables and can
improve the performance and scalability of data access. Partitioning attributes are not part of the CDS
Semantic table attributes: Semantic table attributes are attributes that provide additional information
about the meaning and usage of a table. Semantic table attributes are defined in the ABAP Dictionary
for transparent tables and can be used to enhance the data modeling and consumption of the
table. Semantic table attributes are not part of the CDS view definition, but rather the underlying table
definition4.
References: 1: Extending CDS Views | SAP Help Portal 2: SELECT List - ABAP Keyword Documentation 3:
Partitioning Attributes - ABAP Keyword Documentation 4: Semantic Table Attributes - ABAP Keyword
Documentation
QUESTION: 249
In ABAP source code, how do you navigate to the definition of a development object?
Option A :
https://www.realpdfdumps.com/
Double-click the name of the object
Option B :
Option C :
Correct Answer: C
QUESTION: 250
The SQL statement used to read data from a database table is which of the following?
Option A :
READ
Option B :
SELECT
Option C :
GET
Option D :
FIND
Correct Answer: B
https://www.realpdfdumps.com/
Explanation/Reference:
Which extensibility type does SAP recommend you to enhance the existing Ul for an SAP Fiori app?
QUESTION: 251
How can you exit a loop in ABAP? Note: There are 2 correct answers.
Option A :
Option B :
Option C :
QUESTION: 252
For the full signature of a method call when using keyword completion, you must select the method name
and press which of the following?
Option A :
Shift + space
Option B :
Ctrl + enter
Option C : https://www.realpdfdumps.com/
Shift + enter
Option D :
Alt + space
Correct Answer: C
QUESTION: 253
Which of the following are mandatory parts of an IF statement? Note: There 2 correct answers.
Option A :
IF
Option B :
ENDIF
Option C :
ELSE
Option D :
ELSEIF
QUESTION: 254
Which of the following functions can you perform both in the ADT ABAP editor and ADT debugger?
Option A : https://www.realpdfdumps.com/
Start the debugger using a system command like ‘/h’
Option B :
Option C :
Correct Answer: B
QUESTION: 255
Which of the following are valid operators that can be used in arithmetic operators in ABAP? Note: There 2
correct answers.
Option A :
Option B :
Option C :
Option D :
https://www.realpdfdumps.com/
QUESTION: 256
Option A :
A variable with the same type as the row type of the internal table
Option B :
Option C :
Correct Answer: A
QUESTION: 257
The most important views in the ABAP Development Tools perspective include? Note: There are 2 correct
answers.
Option A :
History View
Option B :
Option C :
Option D :
Local View
https://www.realpdfdumps.com/
Correct Answer: B,C
QUESTION: 258
In the ABAP source code, how do you navigate to the definition of a development object?
Option A :
Option B :
Option C :
Correct Answer: A
QUESTION: 259
Option A :
Option B :
Option C :
QUESTION: 260
You can use one of the following statements to divide a character string into several substrings.
Option A :
SPLIT
Option B :
CONCATENATE
Option C :
REPLACE
Option D :
WRITE
Correct Answer: A
QUESTION: 261
Match the sequence of execution in the dropdown list to the operation. (1 is the highest priority and 3 is the
lowest priority.)
https://www.realpdfdumps.com/
Option A :
1,2,3
Option B :
1,3,2
Option C :
2,1,3
Option D :
3,1,2
Option E :
2,3,1
Correct Answer: D
Explanation/Reference:
https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/abenarith_operators.htm
https://www.realpdfdumps.com/
QUESTION: 262
To check whether data is found when reading data from a database table, which system variable will contain
0?
Option A :
SY-UNAME
Option B :
SY-DATUM
Option C :
SY-INDEX
Option D :
SY-SUBRC
Correct Answer: D
QUESTION: 263
Option A :
Option B :
https://www.realpdfdumps.com/
Option C :
Multiple secondary keys are allowed for any kind of internal table
Option D :
Option E :
Secondary keys must be chosen explicitly when you actually read from an internal table.
Explanation/Reference:
Check here
To speed up the access to the internal table using fields that are not part of the primary key, you can add one or more
As shown in the figure, a secondary key of an internal table can be either sorted or hashed. As with the primary key of internal
tables, a sorted key may be either unique or non-unique, while a hashed key must always be unique.
https://www.realpdfdumps.com/