Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
992 views

C_ABAPD_2309 (1) (4)

Uploaded by

Sudhakar Lavuri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
992 views

C_ABAPD_2309 (1) (4)

Uploaded by

Sudhakar Lavuri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 245

SAP

C_ABAPD_2309
SAP Certified Associate – Back-End Developer - ABAP
Cloud

QUESTION & ANSWERS

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?

Choose the correct answer.

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

Which statement reads a single row from a database table?

Option A :

READ TABLE ...

Option B :

SELECT SINGLE < tablename > ...

Option C :

SELECT ...

Option D :

READ TABLE WITH TABLE KEY ...

Correct Answer: B

QUESTION: 4

Which part of SQL is represented by ABAP SQL?

https://www.realpdfdumps.com/
Option A :

Data Manipulation Language

Option B :

Data Control Language

Option C :

Data Definition Language

Correct Answer: A

QUESTION: 5

A functional method must have

Option A :

Exactly one importing parameter

Option B :

No changing parameters

Option C :

Exactly one exporting parameter

Option D :

Exactly one returning parameter

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

Which ABAP SQL clause allows the use of inline declarations?

Option A :

INTO CORRESPONDING FIELDS OF

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

Correct Answer: A,C

QUESTION: 10

You have shortened the length of a field in a database table. The table already contains data.

What happens when you try to activate the table?

Option A :

The table is activated with a warning that you may lose data.

Option B :

The table is activated.

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 :

A TRY...ENDTRY block must contain at least two CATCH statements.

Option B :

Some exceptions are catchable, others are uncatchable.

Option C :

All execptions are catchable.

Option D :

All uncaught exceptions lead to runtime errors.

Correct Answer: B,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 :

LEFT OUTER JOIN

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 :

At the end of the program

Option B :

At a subsequent breakpoint

Option C :

At the next ENDMETHOD statement.

Option D :

In the next line

Correct Answer: A,B

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 :

Assign the package to an application component

Option B :

Assign the package to a software component

Option C :

Declare what other packages can use the contents of the package.

Option D :

Use the letter Z or Y as the first character in the name

Correct Answer: B,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 :

Correct Answer: A,C

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.

Correct Answer: B,C

Explanation/Reference:

https://www.realpdfdumps.com/
QUESTION: 17

What can you add to a business object in the ABAP RESTful application programming model?

Note: There are 2 correct answers to this question.

Option A :

Action

Option B :

Field

Option C :

Method overwrite

Option D :

Implicit enhancement

Correct Answer: A,B

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 :

Another CDS view entity

Option C :

An internal table

Option D :

A database table

Correct Answer: B,D

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

2: System Fields - ABAP Keyword Documentation - SAP Online Help

QUESTION: 20

What RESTful Application Programming object contains only the fields required for a particular app?

Option A :

Data model view

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

required for a particular app.

References: CDS Projection Views - ABAP Keyword Documentation, CDS Projection Views in ABAP CDS:

What’s Your Flavor, Business Object Projection - ABAP Keyword Documentation

QUESTION: 21

What do you have to consider when working with interfaces?

Note: There are 3 correct answers to this question.

Option A :

Static methods, instance methods, static events, and instance events are possible interface components.

Option B :

Implementing classes may declare the interface in any visibility section.

https://www.realpdfdumps.com/
Option C :

Implementing classes must declare the interface in their public section.

Option D :

Instance methods are not implemented in an interface.

Option E :

Static methods can be implemented in an interface.

Correct Answer: A,C,D

QUESTION: 22

You want to enhance a business object to retrieve a default company code that is selected from the
database.

Which extension type must you use?

Option A :

Determination

Option B :

Association

Option C :

Action

Option D :

Validation

https://www.realpdfdumps.com/
Correct Answer: A

QUESTION: 23

Which of the following are ABAP Cloud Development Model rules?

Note: There are 2 correct answers to this question.

Option A :

Use public SAP APIs and SAP extension points.

Option B :

Reverse modifications when a suitable public SAP API becomes available.

Option C :

Build ABAP RESTful application programming model-based services.

Option D :

Build ABAP reports with either ABAP List Viewer (ALV) or SAP Fiori.

Correct Answer: A,C

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

stability and the upgradeability of the ABAP Cloud code1.

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 :

A predefined ABAP type

Option D :

A data element

Correct Answer: A,B

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

Correct Answer: A,C

QUESTION: 27

In which order do you define the visibility sections of a class?

Option A :
https://www.realpdfdumps.com/
PRIVATE SECTION. PROTECTED SECTION. PUBLIC SECTION.

Option B :

It doesn't matter.

Option C :

PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION.

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:

CLASS ltcl1 DEFINITION FOR TESTING https://www.realpdfdumps.com/


RISK LEVEL HARMLESS DURATION SHORT.
PRIVATE SECTION.

METHODS m1 FOR TESTING.

ENDCLASS.

CLASS ltcl1 IMPLEMENTATION.

METHOD m1.

DATA: go_test_object TYPE REF TO zcl_to_be_tested.

CONSTANTS: lco_exp TYPE string VALUE 'test2'.

CREATE OBJECT go_test_object.

cl_abap_unit_assert=>assert_equals(

EXPORTING

act = go_class->mv_attribute

exp = lco_exp

msg = `assert equals failed ` && go_test_object->mv_attribute && ` ` && lco_exp

).

ENDMETHOD.

ENDCLASS.

What will happen if method parameters act and exp are not equal?

Option A :

The test will be aborted.

Option B :

The tested unit will automatically be appended to a default ABAP Test Cockpit Variant.

Option C :

There will be a message in the test log.

Option D :

The tested unit cannot be transported.

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 :

The branch introduced by IF a > 10.

Option B :

Both branches.

Option C :

The branch introduced by ELSEIF a = 25.

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 :

The data type of the variable

Option B :

The current memory consumption of the variable

Option C :

The current contents of the variable

https://www.realpdfdumps.com/
Correct Answer: C

QUESTION: 34

You want to concatenate two strings. Which is the correct operator?

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 :

DATA table TYPE tt_table.

Option B :

DATA table TYPE TABLE tt_table. https://www.realpdfdumps.com/


Option C :

DATA table TYPE TABLE OF tt_table.

Option D :

DATA table TYPE REF TO tt_table.

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

2 DEFINE VIEW ENTITY demo_flight_info_join

3 AS SELECT

4 FROM scarr AS a

5 LEFT OUTER JOIN scounter AS c


https://www.realpdfdumps.com/
6 LEFT OUTER JOIN sairport AS p

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 }

In what order will the join statements be executed?

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:

The order in which the join statements will be executed is:

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.

Therefore, the join statements will be executed as follows:

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

countnum field will be filled with an initial value.

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.

References:1: Join - ABAP Keyword Documentation

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 :

When you instantiate the class.

Option B :

At the beginning of the program.

Option C :

When you call a static method of the class.

Correct Answer: A,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 :

Instance components using the name of the class.

Option B :

Instance components using the reference variable.

Option C :

Static components using the name of the class.

Option D :

Static components using the reference variable.

Correct Answer: C

QUESTION: 40

With the following class definition, what is the correct syntax for calling method b?

(Note: lo_a is a reference variable for class ZCL_A.)

CLASS zcl_a DEFINITION PUBLIC.

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 :

" anywhere in the line

Option B :

* at the beginning of a line

Option C :

// at the beginning of a line

Option D :

-- anywhere in the line

Correct Answer: A,B

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 :

Move it to a different local class.

Option B :

Make it a private attribute.

Option C :

Leave it in the public section but use the READ-ONLY addition.

Option D :

Convert it into a constant.

Correct Answer: B,C

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 :

Embedded ABAP instance in SAP S/4HANA Cloud

Option B :

SAP BTP ABAP instance

Option C :
https://www.realpdfdumps.com/
On-Premise ABAP system

Correct Answer: A,B

QUESTION: 44

What is the correct sequence of clauses in the SELECT SINGLE statement?

Option A :

You can write the clauses in any sequence.

Option B :

SELECT SINGLE FROM... FIELDS... INTO... WHERE...

Option C :

SELECT SINGLE FIELDS... FROM... INTO... WHERE...

Option D :

SELECT SINGLE FROM... FIELDS... WHERE... INTO

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 :

var is an even number.

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 :

ABAP Test Cockpit

Correct Answer: A,C

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:

LEFT( text_field, 1 ) and SUBSTRING( text_field, 1, 1 ) return the same result.

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 :

DATA(msg) = me->new_message_with_text( severity = ms-error text = |Airport does not exist| ).

Option B :

DATA(msg) = me->new_message_with_text( severity = ms-error text = |{ 'Airport does not exist'(ane) } |


).

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) ).

Correct Answer: B,D

Explanation/Reference:

Only those method calls that reference a text symbol by using (ane) after the text literal create a translatable message.

QUESTION: 49

What may you not do in a subclass?

Option A :

Change the signature of an inherited method

Option B :

Add new elements

Option C :

Add a new constructor with its own signature

Correct Answer: A

Explanation/Reference:

You may not change the signature of an inherited method in a subclass.

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 :

Create, update, and delete operations

Option B :

Draft enabling

Option C :

Validations

Option D :

Determinations

Correct Answer: A,B

QUESTION: 51

Which of the following statements is true?

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

than in the ABAP language.

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 :

It may not have any importing parameters

Option B :

Its returning parameter has the type REF TO lcl_class

Option C :

It is a public method

Option D :

It is an instance method

Correct Answer: B,C

Explanation/Reference:

A factory method is a public static method. It may have any number of importing parameters, and it has a returning parameter

with the type REF TO class.

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 :

The work area is faster than the field symbol.

Option B :

The performance of both techniques is equal.

Option C :

The field symbol is faster than the work area.

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 :

The sequence of selection criteria

Option B :

The sequence of selected fields

Option C :

The sequence of data sources

https://www.realpdfdumps.com/
Option D :

The sequence of ON conditions

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

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

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

Where do you declare fields as read-only?

Option A :

In the behavior implementation

https://www.realpdfdumps.com/
Option B :

In the metadata extension

Option C :

In the behavior definition

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:

The result of adding or subtracting date fields is an integer.

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 :

TYPE C LENGTH 10 to TYPE C LENGTH 3

Option B :

TYPE P LENGTH 3 DECIMALS 2 to TYPE P LENGTH 6 DECIMALS 3

https://www.realpdfdumps.com/
Option C :

TYPE STRING to TYPE I

Option D :

TYPE DECFLOAT16 TO TYPE DECFLOAT34

Correct Answer: B,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 :

The developer of the business object creates it in the behavior implementation.

Option B :

The developer of the business object creates it as a global type.

Option C :

The system creates it automatically.

Correct Answer: C

https://www.realpdfdumps.com/
QUESTION: 62

In which object do you assign values to authorization fields?

Option A :

Authorization object

Option B :

IAM App

Option C :

Business Catalog

Option D :

Business Role

Correct Answer: B

Explanation/Reference:

You assign values to authorization fields in an IAM App.

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 :

Aggregated Call Tree

Option B :
https://www.realpdfdumps.com/
Database Accesses

Option C :

Condensed Hit List

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.

Correct Answer: B,C

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 :

Numeric function DIVISION( )

Option B :

Operator /

Option C :

Numeric function DIV( )

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

operator /, the result is a floating point number.

QUESTION: 66

Which of the following statements is true for a standard internal table?

Option A :

The key is always non-unique https://www.realpdfdumps.com/


Option B :

The key is always unique

Option C :

You can choose whether the key should be unique or non-unique

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

Which of the following are incomplete ABAP types? (2 correct)

Option A :

String

Option B :

Option C :

Option D :

Correct Answer: B,C

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

either predefined or user-defined1.

The following are incomplete ABAP types:

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.

References: 1: Generic ABAP Types - ABAP Keyword Documentation 2: C - ABAP Keyword

Documentation 3: P - ABAP Keyword Documentation 4: String - ABAP Keyword Documentation : T - ABAP

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

Correct Answer: B,C

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

You need to display an error text. Where do you create it?

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 :

The value of annotation @enduserText.Label in a data definition

Option B :

The result of a selection criteria

Option C :

The value of a text literal in the source code of an ABAP class

Option D :

The short text of a message text in a message class

Option E :

The value of a text symbol in an ABAP class

Correct Answer: A,D,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

Correct Answer: A,B,D

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 :

A list of possible entries

Option B :

A list of fields in the hit list

https://www.realpdfdumps.com/
Option C :

The field that provides the selected value

Option D :

A CDS view that provides the hit list

Correct Answer: C,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 :

Always, alias names for data sources are always mandatory.

Option B :

If the same data sources is used more than once.

Option C :

If a field name is used in several data sources.

Option D :

Never, alias names for data sources are always optional.

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 :

GROUP BY field1, field2

Option B :

GROUP BY field1, field2, field3

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 :

The SELECT statement.

Option C :

The CORRESPONDING #( )operator

Option D :

A table comprehension with VALUE #( )

Correct Answer: C,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 :

xyz( ) is a predicate function.

Option B :

xyz() is a standard function.

Option C :

xyz( ) is a processing function.

Option D :

xyz( ) is a description function.

Correct Answer: A

Explanation/Reference:

Only predicate functions can be used like logical expressions.

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 :

The built-in ABAP Dictionary type abap.char(3)

https://www.realpdfdumps.com/
Option B :

The built-in ABAP Dictionary type abap.clnt.

Option C :

The data element MANDT.

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 :

A fully-implemented method in the local class of the behavior implementation.


https://www.realpdfdumps.com/
Option B :

An empty method in the local class of the behavior implementation.

Option C :

A fully-implemented method in the global class of the behavior implementation.

Option D :

An empty method in the global class of the behavior implementation.

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

with no gaps, a suitable type of internal table would be a sorted table.

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 :

Business Add-ins (BAdls)

https://www.realpdfdumps.com/
Option D :

Business Events

Option E :

OData services

Correct Answer: B,D,E

Explanation/Reference:

Explanation

Business Events: Business events are used for event-driven integration within the ABAP environment. They are relevant for

ABAP on Cloud development.

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

in ABAP on Cloud to expose data and functionality to external applications or clients.

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-

centric integration technologies.

QUESTION: 85

Which of the following are features of Core Data Services? (3 correct)

Option A :

Structured Query Language (SQL)

Option B :

Delegation

https://www.realpdfdumps.com/
Option C :

Associations

Option D :

Annotations

Option E :

Inheritance

Correct Answer: C,D,E

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,

and cascading options34.

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

defining access control, UI rendering, OData exposure, or search capabilities5 .

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 .

You cannot do any of the following:

Inheritance: Inheritance is not a feature of CDS. Inheritance is a concept in object-oriented programming

that allows a class to inherit the properties and methods of another class. CDS does not support

object-oriented programming or classes.

Delegation: Delegation is not a feature of CDS. Delegation is a concept in object-oriented programming

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

Online Help] : [Object-Oriented Programming in ABAP | SAP Help Portal]

QUESTION: 86

When you address an object using an interface reference, which elements can you address?

Option A :

All of the public elements in the class

Option B :

All of the elements in the method

Option C :

All of the elements in the class

Option D :

All of the elements in the interface

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 :

DATA text TYPE string "#EC NEEDED .

Option B :

DATA text TYPE string. ##needed

Option C :

DATA text TYPE string. "#EC NEEDED

Option D :

DATA text TYPE string ##needed

Correct Answer: C,D

Explanation/Reference:

Pseudo comment "#EC NEDDED has to be placed after the delimiter (the period sign). Pragma ##needed is part of the

statement and has to be placed before the delimiter.

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 :

Renaming a field in a structure that is included in the table definition.

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.

Correct Answer: C,D

Explanation/Reference:

https://learning.sap.com/learning-journey/acquire-core-abap-skills/handling-changes-to-database-tables_d6d6d97a-979e-4efe-

b5c3-f3e3d85332fb

Adjustment of Database Tables

QUESTION: 89

Which of the following data types is complete?

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

Correct Answer: A,B,C

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

function because you cannot extract a month from a point in time.

QUESTION: 91

Which of the following string functions are predicate functions? (2 correct)

Option A :

count_any_of ( )

Option B :

contains_any_of ( )

Option C :

find_any_not_of ( )

Option D :

matches ( )

Correct Answer: B,D

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

that return a character-like result for an operation on the argument text1.

The following string functions are predicate 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’:

contains_any_of( val = ‘ABAP’ set = ‘ABC’ ).

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

pattern that consists of four uppercase letters:

matches( val = ‘ABAP’ regex = ‘[A-Z]{4}’ ).

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

character set ‘ABC’:

find_any_not_of( val = ‘ABAP’ set = ‘ABC’ ).

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’:

count_any_of( val = ‘ABAP’ set = ‘ABC’ ).

References: 1: String Functions - ABAP Keyword Documentation

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 :

left(lower(substring( 'mr joe doe', 4, 3)), 3) AS f2_left_lo_sub, f3,

SELECT FROM TABLE dbtabl FIELDS

Of1,

https://www.realpdfdumps.com/
substring(upper('mr joe doe'), 4, 3) AS f2_sub_up, f3,...

Option B :

SELECT FROM TABLE dbtab1

FIELDSf1,

left(lower(substring( 'mr joe doe', 4, 3)), 3) AS f2_left_lo_sub,

f3,

Option C :

SELECT FROM TABLE dbtab1

FIELDS

f1,

upper(left( 'mr joe doe', 6)) AS f2_up_left,

f3,

Option D :

SELECT FROM TABLE dbtab1

FIELDSf1,

substring(lower(upper( 'mr joe doe' ) ), 4, 3) AS f2_sub_lo_up,

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,…

This expression uses the following SQL functions for strings12:

upper: This function converts all lowercase characters in a string to uppercase. For example, upper(‘mr

joe doe’) returns ‘MR JOE DOE’.

substring: This function returns a substring of a given string starting from a specified position and with a

specified length. For example, substring(‘MR JOE DOE’, 4, 3) returns ‘JOE’.


https://www.realpdfdumps.com/
AS: This keyword assigns an alias or a temporary name to a field or an expression in the field list. For

example, AS f2_sub_up assigns the name f2_sub_up to the expression substring(upper(‘mr joe doe’), 4,

3).

You cannot do any of the following:

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

JOE’, which is not the same as ‘JOE’.

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

‘joe’, which is not the same as ‘JOE’.

References: 1: SQL Functions for Strings - ABAP Keyword Documentation - SAP Online Help 2: sql_func -

String Functions - ABAP Keyword Documentation - SAP Online Help

QUESTION: 93

Which of the following are principles of cloud native? Note: There are 3 correct answers to this question.

Option A :

Application Programming Interfaces (APIs)

Option B :

Infrastructure Independent

Option C :

REST and CRUD

https://www.realpdfdumps.com/
Option D :

Total control of infrastructure

Option E :

Microservices

Correct Answer: A,B,E

QUESTION: 94

What seqence of characters introduces an ABAP Doc comment?

Option A :

"@

Option B :

"#

Option C :

"!

Option D :

"%

Correct Answer: C

Explanation/Reference:

ABAP Doc comments begin with "!

https://www.realpdfdumps.com/
QUESTION: 95

Which of the following features of SAP Build is oriented towards a citizen developer?

Option A :

Utilization of a particular language and/or programming model

Option B :

Advanced testing capabilities

Option C :

Intuitive graphical tools utilizing code generation

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 :

Desired customer outcomes

Option B :

Flexibility

Option C :

Fix standard issues

Option D :

Performance optimization

Option E :

Customized business processes

Correct Answer: A,B,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 :

System landscape transformation

Option B :

System conversion

Option C :

External migration

Option D :

New implementation

Option E :

Third-party cloud

Correct Answer: A,B,D

QUESTION: 99

You define a CDS view entity with an association. When is the association translated into a join on database
level?

Option A :

When you add the association to the element list.

Option B :
https://www.realpdfdumps.com/
When you use the association in a path expression.

Option C :

As soon as you define the association.

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 :

Custom code adaptation

Option C :

Simplification item checks

Option D :

Custom code evaluation

Option E :

Manual testing

Correct Answer: A,B,D

https://www.realpdfdumps.com/
QUESTION: 101

Where do you create translatable texts for your exception classes?

Option A :

As a message in a message class

Option B :

As a text element in the text pool of the class

Option C :

As a constant in the class definition

Correct Answer: A

Explanation/Reference:

You create texts for exception classes as a message in a message class.

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 :

When the row type is a table type

Option B :

When the row type is a database table

Option C :
https://www.realpdfdumps.com/
When the row type is a data element

Option D :

When the row type is a structure

Correct Answer: B,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

fields of type CURR and QUAN.

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 :

Perform custom code analysis

Option B :

Utilize maintenance planning

Option C :

Perform manual testing

Option D :

Determine system requirements

Option E :

Perform custom code adaptation

Correct Answer: A,B,D

QUESTION: 105

Which of the following are types of indirect modifications? Note: There are 3 correct answers to this question.

Option A :

Changes pursuant to an SAP Note

https://www.realpdfdumps.com/
Option B :

Class method overwrites

Option C :

Implicit enhancements

Option D :

Clones of SAP objects

Option E :

Creation of Interfaces

Correct Answer: B,C,D

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

Correct Answer: C,D,E

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 :

ABAP test cockpit as part of ABAP development tools for Eclipse

Option C :

ABAP call monitor

Option D :

SQL Monitor

Correct Answer: A,D

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

Correct Answer: B,D

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 :

Enforced data consistency on database level.

Option B :

Generated input checks in classical user dialogues.

Option C :

Generated input checks in a SAP Fiori application.

Option D :

The relationship is documented on ABAP dictionary level.


https://www.realpdfdumps.com/
Correct Answer: B,D

Explanation/Reference:

Foreign key dependencies are not passed on to the database and they are ignored by modern programming techniques that

build on ABAP CDS.

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 :

Additional fields in the GROUP BY - clause

Option B :

Additional associations in the element list

Option C :

Additional expressions in the element list

Option D :

Additional fields in the element list

Option E :

Additional fields in the extension list

Correct Answer: B,C,D

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 :

The database table is empty and you added a table field

Option B :

The database table is empty and you deleted a table field.

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 :

Filter value in the WHERE clause.

https://www.realpdfdumps.com/
Option B :

Filter using CASE condition

Option C :

Filter value using LIKE%

Option D :

As value for the input parameter of another CDS view entity.

Correct Answer: A,D

QUESTION: 113

Which restrictions exist for ABAP SQL arithmetic expressions? (2 correct)

Option A :

Floating point types and integer types can NOT be used in the same expression.

Option B :

The operator/is allowed only in floating point expressions.

Option C :

Decimal types and integer types can NOT be used in the same expression.

Option D :

The operator is allowed only in floating point expressions.

Correct Answer: A,C

https://www.realpdfdumps.com/
Explanation/Reference:

ABAP SQL arithmetic expressions have different restrictions depending on the data type of the operands. The

following are some of the restrictions:

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

operator / is used in an integer expression or a decimal expression, a syntax error occurs.

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

decimal type and num2 is an integer type.

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 -

ABAP Keyword Documentation

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 :

Domain Model and Implementation

Option C :

CDS Annotations

Option D :

Business Service Exposure

Option E :

Data Access

Correct Answer: B,D,E

Explanation/Reference:

The following are ABAP RESTful application programming model layers: Data Access, Domain Model and Implementation, and

Business Service Exposure.

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

Correct Answer: C,D

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?

Note: There are 3 correct answers.

Option A :

SAP HANA Cloud


https://www.realpdfdumps.com/
Option B :

SAPUI5

Option C :

SAP Fiori elements

Option D :

SAP Business Application Studio

Option E :

Python

Correct Answer: B,C,D

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 :

Provide services for classical ABAP user interfaces.

Option B :

Define views on the database.

Option C :

Define tables on the database

Option D :
https://www.realpdfdumps.com/
Define Business Objects in the ABAP RESTful application programming model.

Correct Answer: B,D

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 :

Increase system performance

Option B :

Strengthening of customer and partner relationships

Option C :

Training cost savings

Option D :

Reduction in user errors

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

Correct Answer: B,C,E

QUESTION: 121

Which of the following are part of SAPs LCNC toolset? Note: There are 3 correct answers to this question.

Option A :

S/4 HANA on premise

https://www.realpdfdumps.com/
Option B :

SAP HANA Cloud

Option C :

SAP Build Work Zone

Option D :

SAP Build Apps

Option E :

SAP Build Process Automation

Correct Answer: C,D,E

QUESTION: 122

You define a database table in the ABAP Dictionary. What is needed to make the database table client
dependent?

Option A :

A corresponding setting in the Technical Table Properties.

Option B :

Annotation @ABAPCatalog.clientDependent: true

Option C :

A key field of type CLNT

Correct Answer: C

https://www.realpdfdumps.com/
Explanation/Reference:

A database table is client dependent if it has a key field of type CLNT.

QUESTION: 123

Given this code,

DATA: go_super TYPE REF to lcl_super,

go_sub1 TYPE REF TO lcl_sub1.

go_sub1 = CAST #( go_super ).

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

g_sub1 will be assigned the value of g_super.

DATA: g_super TYPE REF TO lcl_super, g_sub1 TYPE REF TO lcl_sub1. IF g_super IS INSTANCE OF

lcl_super. g_sub1 = CAST #( g_super ). g_sub1->method( … ). ENDIF.

You cannot do any of the following:

IS SUPPLIED: The IS SUPPLIED predicate condition checks whether an optional parameter of a

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

may point to an object but not be an instance of the target type12.

References: 1: Predicate Expressions - ABAP Keyword Documentation - SAP Online Help 2: ABAP -

Predicates | SAP Community

QUESTION: 124

Given the following Core Data Service View Entity Data Definition:

AccessControl.authorizationCheck: #NOT REQUIRED

DEFINE VIEW ENTITY demo_sales_cds_so_i_ve

AS SELECT FROM demo_sales_so_i

ASSOCIATION TO PARENT demo_sales_cds_so_ve AS SalesOrder

ON $projection.parent key = SalesOrder.so_key

COMPOSITION [0..*] OF demo_sales_cds_i_sl_ve AS _ScheduleLine

ASSOCIATION [0..1] TO demo_sales_cds_material_ve AS _Material

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 :

SELECT mat FROM demo_sales_so_i...

Option B :

SELECT mat FROM demo_sales_cds_so_i_ve...

Option C :

SELECT mat FROM demo_sales_cds_material_ve...

Option D :

SELECT mat FROM Material...

Correct Answer: B

Explanation/Reference:

Using ABAP SQL, the select statement that selects the mat field on line #17 is:

SELECT mat FROM demo_sales_cds_so_i_ve…

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.

The other options are not valid because:

A. SELECT mat FROM Material… is not valid because Material is not a valid data source in the given

code. There is no CDS view or database table named Material.

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.

References: 1: Projection Views - ABAP Keyword Documentation

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 :

Custom Code Migration app

Option B :

SAP Notes

Option C :

ABAP development tools for Eclipse Quick Fix

Option D :

SAP Readiness Check Tool

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 :

"

Correct Answer: A,B

Explanation/Reference:

The correct ways to add a comment in a data definition are // and /*...*/ .

https://www.realpdfdumps.com/
QUESTION: 127

Which of the following results in faster access to internal tables? (3 correct)

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 :

In a sorted internal table, specifying the primary key completely.

Option D :

In a hashed internal table, specifying the primary key completely.

Option E :

In a hashed internal table, specifying the primary key partially from the left without gaps.

Correct Answer: A,C,D

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

using a hashed table.

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

Which of the following is the default cardinality of an association if no cardinality is specified?

Option A :

none

Option B :

[1..1]

Option C :

[0..1]

Option D :

[0..*]

Correct Answer: C

QUESTION: 129

Which patterns raise an exception? (3 correct)

Option A :

DATA: gv_target TYPE p DECIMALS 3.

CONSTANTS: gco_intl TYPE i VALUE 2.

gv_target = EXACT #( 2 / gco_intl ).

Option B :

DATA: gv_target TYPE p DECIMALS 2.

CONSTANTS: gco_intl TYPE i VALUE 3.

https://www.realpdfdumps.com/
gv_target = EXACT #( 2 / gco_intl ).

Option C :

DATA: gv_target TYPE string.

CONSTANTS: gco_string TYPE c LENGTH 16 VALUE '@123456789ABCDEF'.

gv_target = EXACT #( gco_string+5(5) ).

Option D :

DATA: gv_target TYPE c LENGTH 5.

CONSTANTS: gco_string TYPE string VALUE '0123456789ABCDEF'.

gv_target = EXACT #( gco_string+5(6) ).

Option E :

DATA: gv_target TYPE d.

CONSTANTS: gco_date TYPE d VALUE '20331233*.

gv_target = EXACT ( geo_date ).

Correct Answer: B,D,E

Explanation/Reference:

The first 3 options below commented raised an exception.

https://www.realpdfdumps.com/
DATA: gv_target TYPE c LENGTH 5.

CONSTANTS: gco_string TYPE string VALUE '0123456789ABCDEF'.

gv_target = EXACT #( gco_string+5(6) ).

DATA: gv_target TYPE p DECIMALS 2.

CONSTANTS: gco_intl TYPE i VALUE 3.

gv_target = EXACT #( 2 / gco_intl ).

https://www.realpdfdumps.com/
DATA: gv_target TYPE d.

CONSTANTS: gco_date TYPE d VALUE.

QUESTION: 130

The term "Local Platform APIs" is directly associated with which of the following?

https://www.realpdfdumps.com/
Option A :

SAP HANA Cloud

Option B :

SAP S/4HANA Cloud, ABAP environment

Option C :

SAP BTP, ABAP environment

Option D :

SAP HANA

Correct Answer: B,C

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:

ORDER BY is not supported in ABAP CDS views.

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 :

Code that supports a critical business process

Option B :

Code that can be redesigned as a key user extension

Option C :

Code that has less than 10% usage according to usage statistics

Option D :

Code that now is identical to a standard SAP object

Correct Answer: B,D

https://www.realpdfdumps.com/
Explanation/Reference:

SAP recommends that you eliminate the following types of legacy code when you review modifications as

part of an SAP S/4HANA system conversion:

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

Migration Guide for SAP S/4HANA 2020

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 :

Usage of released APIs

Option D :

Copying (that is, cloning) of standard code in lieu of modifications

Option E :

Strict separation between extensions and the underlying application

Correct Answer: A,C,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

Correct Answer: A,B,C

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

Correct Answer: A,E

Explanation/Reference:

Interfaces may not contain declarations of visibility sections or implementations of methods.

https://www.realpdfdumps.com/
QUESTION: 136

In a program you find this source code

AUTHORITY-CHECK OBJECT '/DWO/TRVL'

ID 'CNTRY' FIELD 'DE'

ID 'ACTVT' FIELD '03'.

Which of the following apply? (2 correct)

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.

Correct Answer: C,D

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

master record. Its value sets include the specified values.

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.

40 An invalid user ID was specified in user.

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 :

ABAP RESTful application programming model

Option C :

ABAP Cloud language

Option D :

.NET & SOAP

Option E :

ABAP development tools for Eclipse


https://www.realpdfdumps.com/
Correct Answer: B,C,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

have different purposes and effects. These statements are:

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

database table, by specifying the

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

Correct Answer: B,D,E

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 :

CATCH cx_root. CATCH super. CATCH sub1.

Option B :

CATCH cx_root. CATCH sub1. CATCH super.

Option C :

CATCH sub1. CATCH super. CATCH cx_root.

Option D :

CATCH super. CATCH sub1. CATCH cx_root.

Correct Answer: C

Explanation/Reference:

CATCH statements must start with the most specific option (a single subclass), progress in order up the inheritance hierarchy,

and end with the most generic class (CX_ROOT)

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 :

Data Model Projection

Option C :

Behavior Definition

Option D :

Data Model

Option E :

Behavior Projection

Correct Answer: B,C,E

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 :

SAP BTP, ABAP environment

Option D :

SAP S/4HANA Cloud, private edition

Correct Answer: A,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 :

DATA(p) = NEW cl_class( ).

Correct Answer: A,C,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 :

currcode, @>EndUserText.label: 'Currency Code'

Option B :

@< EndUserText.label: 'Currency Code' currcode,

Option C :

@EndUserText.label: 'Currency Code' currcode,

Option D :

currcode @< EndUserText.label: 'Currency Code' ,


https://www.realpdfdumps.com/
Correct Answer: C,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 :

Classical user exits

Option B :

BAP

Option C :

Extension Points

Option D :

Remote APIs

Option E :

Local APIs

Correct Answer: C,D,E

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

In this nested join below,

SELECT FROM t_a AS a

LEFT OUTER JOIN t_b AS b

LEFT OUTER JOIN t_c AS c

ON c~f1 = b~f1 AND c~f2 = b~f2

ON b~f1 = a~f1 WHERE...

in which way is the join evaluated?

Option A :

From the top to the bottom in the order of the on conditions :

1. b is joined with c

2. a is joined with b

Option B :

From the right to the left in the order of the tables:

1. b is joined with c.

2. b is joined with a.

Option C :

From the bottom to the top in the order of the on conditions:

1. a is joined with b

2. b is joined with c

Option D :

From the left to the right in the order of the tables:

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,

the implicit parentheses are as follows:

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

from tables a, b, and c that satisfy both join conditions.

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 :

SQL Monitor (SQLM)

Option B :

ABAP Call Monitor (SCMON)

Option C :

Usage Data (SUSG)

Option D :

Code Inspector (SCI)

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 :

Data Definition View

Option D :

SQL View

Option E :

Activation View

Correct Answer: B,D

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 :

In the FROM clause of a SELECT statement


https://www.realpdfdumps.com/
Option B :

As the line type of a table type in the ABAP Dictionary

Option C :

As the data source of a database view in the ABAP Dictionary

Option D :

In the FROM clause of a DELETE statement

Correct Answer: A,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 :

Classical extensibility does not enable customers to have competitive advantage

Option B :

In SAP S/4HANA Cloud, there are no customer-specific customer update projects

Option C :

In SAP S/4HANA Cloud, all software updates run simultaneously

Option D :

Classical extensibility does not enable customers to have flexible processes

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

updates run simultaneously.

QUESTION: 152

Which of the following ABAP SQL statements are valid? (2 correct)

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).

Correct Answer: A,C

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 :

Extension scope and size

Option D :

Extension use case

Option E :

Extension architecture

Correct Answer: C,D,E

https://www.realpdfdumps.com/
QUESTION: 154

Given this code,

1. DATA: go_super TYPE REF TO lcl_super,

2. go_sub1 TYPE REF TO lcl_sub1,

3. go_sub2 TYPE REF TO lcl_sub2.

4.

5. go_super = NEW go_sub2(...).

6. go_super = NEW go_sub1(...).

7. go_sub1 = CAST #( go_super ).

8. go_sub1->sub1_meth1(...).

9. go_sub2 = CAST #( go_super).

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.

What will happen when executing these casts? (2 correct)

Option A :

go_sub1->sub1_meth 1(…). will work.

Option B :

go_sub1 = CAST #( go_super ), will not work

go_sub2 = CAST #( go_super ), will work.

Option C :

go_sub2->sub2_meth 1(...). will work

Option D :

go_sub1 = CAST #( go_super ), will work

go_sub2 = CAST #( go_super ). will not work.

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

following class model, which we have already used in this article:

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:

2. go_vehicle TYPE REF TO lcl_vehicle.

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.

1. go_vehicle = NEW lcl_car( ).

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.

1. DATA(go_casted_car) = CAST lcl_car( go_vehicle ).

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.

1. CAST lcl_car( go_vehicle )->open_luggage_space( ).

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.

2. DATA(go_casted_vehicle) = CAST lcl_car( go_vehicle ).

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:

2. go_vehicle TYPE REF TO lcl_vehicle.

3.

4. go_vehicle = NEW #( ).

5. go_vehicle->speed_up( ).

6.

7. TRY.

8. DATA(go_casted_vehicle) = CAST lcl_car( go_vehicle ).

9. go_casted_vehicle->open_luggage_space( ).

10.

11. CATCH cx_sy_move_cast_error.

12. ENDTRY

13.

14. go_vehicle = NEW lcl_car( ).

15. go_vehicle->speed_up( ).

16.

17. DATA(go_casted_car) = CAST lcl_car( go_vehicle ).

18. go_casted_car->open_luggage_space( ).

19.

20. CAST lcl_car( go_vehicle )->open_luggage_space( ).

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

Correct Answer: B,C,E

QUESTION: 156

Where do you distinguish between OData V2 or OData V4?

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 :

Assign your implementation to a transport request.

Option B :

Test your custom logic.

Option C :

Directly access SAP database tables.

Option D :

Modularize your code using custom libraries.

Option E :

Create lter conditions

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 :

1. SELECT FROM dbtab1

2. FIELDS f1,

3. CASE f2

4. WHEN '1' THEN 'Value 1'

5. WHEN '2' THEN 'Value 2'

6. ELSE 'Value for the rest'

7. END AS f_case

8. INTO TABLE @DATA(gt_t1).

Option B :

1. SELECT FROM dbtab1

2. FIELDS F1,

3. CASE WHEN F2 = '1' THEN 'Value 1'

4. WHEN f2 < f3 AND f2 = '2' THEN 'Value 2'

5. WHEN OTHERS 'Value for the rest'

6. ENDCASE AS f_case

7. INTO TABLE @DATA(gt_t1).

Option C :

1. SELECT FROM dbtab1

2. FIELDS F1,

3. CASE WHEN F2 = '1' THEN 'Value 1

4. WHEN F2 = '2' THEN 'Value 2'


https://www.realpdfdumps.com/
5. ELSE 'Value for the rest'

6. END AS f_case

7. INTO TABLE @DATA(gt_t1).

Option D :

1. SELECT FROM dbtab1

2. FIELDS F1,CASE f2,

3. WHEN ‘1’ THEN 'Value 1',

4. WHEN ‘2’ THEN 'Value 2',

5. WHEN OTHERS "Value for the rest",

6. ENDCASE AS f_case

7. INTO TABLE @DATA(gt_t1).

Correct Answer: A,C

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

Correct Answer: A,C,E

https://www.realpdfdumps.com/
QUESTION: 161

BAdIs are classified under which of the following extension types in SAP S/4HANA Cloud?

Option A :

Classical user exit

Option B :

Side-By-Side Extension

Option C :

Developer Extension

Option D :

Key User Extension

Correct Answer: C

QUESTION: 162

Which of the following are valid sort operations for internal tables? (3 correct)

Option A :

Sort a standard table using

SORT itab ASCENDING.

Sort a sorted table using

Option B :

SORT itab BY fieldl ASCENDING field2 DESCENDING.

Sort a standard table using

https://www.realpdfdumps.com/
Option C :

SORT itab BY field1 field2.

Sort a standard table using

Option D :

SORT itab.

Sort a sorted table using

Option E :

SORT itab DESCENDING

Correct Answer: A,C,D

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.

if the addition DESCENDING is used.

if the addition AS TEXT is used.

if an attribute of an object is specified as a component in the addition BY.

Otherwise, the statement SORT is ignored for sorted tables.

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

Correct Answer: A,B

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 :

gs_ight retains its previous contents. The system sets sy-subrc to 4.

Option B :

gs_ight is initialized. The system sets sy-subrc to 4.

Option C :

gs_ight is initialized. The system triggers an exception.

Option D :

gs_ight retains its previous contents. The system triggers an exception.

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:

define view entity Z_CONVERT with parameters i_currency : ???.

Which of the following can you use to replace "???? (2 correct)

Option A :

A built-in ABAP Dictionary type

Option B :
https://www.realpdfdumps.com/
A data element

Option C :

A built-in ABAP type

Option D :

A component of an ABAP dictionary structure

Correct Answer: A,B

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

abap.cuky, which is a built-in ABAP type for currency key:

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,

which is a data element for currency key:

Define view entity Z_CONVERT With parameters currency : waers as select from … { … }

You cannot do any of the following:

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.

References:1:ABAP CDS - SELECT, parameter_list - ABAP Keyword Documentation - SAP Online

Help2:ABAP Data Types - ABAP Keyword Documentation - SAP Online Help

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

Which of the following would a custom wrapper fall under?

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 */

Correct Answer: B,D

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:

define view entity Z_ENTITY with parameters

@Environment SystemField: #SYSTEM LANGUAGE

language: spras...

What are the effects of this annotation? (2 correct)

Option A :

It is no longer possible to pass your own value to the parameter.

Option B :

The value of sy-langu will be passed to the CDS view automatically both when you use the -1 CDS

view in ABAP and in another CDS view entity (view on view)

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

Correct Answer: C,D

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 :

itab1 and itab2 must have the same data type.

Correct Answer: A,C

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

following statements are true for using this expression:

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

remain initial or unchanged1

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,

depending on the types involved1

The following statements are false for using this expression:

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

contents of an internal table of one type to another internal table of a

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

References: CORRESPONDING - Component Operator - ABAP Keyword Documentation

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 :

Enable full-text search in the application

Option B :

Define a value help for an input field

Option C :

Define the components of the service

Option D :

Define the Business Object composition

Correct Answer: A,B

QUESTION: 173

Which of the following new features are supported by the CDS Views but not by the ABAP Dictionary Views?

Note: There are 3 correct answers to this question.

Option A :

Enhancement with custom fields

Option B :

Expressions in the field list

Option C :

Aggregations and grouping

Option D :

Combining queries as inner join


https://www.realpdfdumps.com/
Option E :

Nested views (View-on-View)

Correct Answer: B,C,E

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 :

Search DB Operations in Pool or Cluster Tables

Option C :

Unsecure use of FOR ALL ENTRIES

Option D :

Complex WHERE conditions in SELECT statements

Correct Answer: A,B

Explanation/Reference:

https://www.realpdfdumps.com/
QUESTION: 175

The Entity Manipulation Language (EML) is an extension of which of the following?

Option A :

The ABAP Programming Language

Option B :

The Structured Query Language

Option C :

The Behavior Definition Language

Option D :

The Service Definition Language

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 :

You do not have to remember to implement AUTHORITY CHECK statements.

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.

Correct Answer: A,D

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

automatically and transparently for you2.

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.

Correct Answer: C,D

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 :

Knowledge Transfer Documents https://www.realpdfdumps.com/


Option C :

Email Service

Option D :

Change Documents

Option E :

Smartforms

Correct Answer: B,C,D

QUESTION: 180

Given the following code,

DATA gv_text1 TYPE string."#EC_NEEDED

DATA gv_text2 TYPE string. ##NEEDED

What are valid statements? (2 correct)

Option A :

##NEEDED is checked by the syntax checker.

Option B :

#EC_NEEDED is not checked by the syntax checker.

Option C :

The pseudo-comment is checked by the syntax checker

Option D :

The pragma is not checked by the syntax checker.


https://www.realpdfdumps.com/
Correct Answer: A,B

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.

ATC has two techniques to suppress findings:

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 :

In the Behavior Definition

https://www.realpdfdumps.com/
Option B :

In the Behavior Implementation

Option C :

In the Behavior Projection

Option D :

You want to replace statements in a program with expressions

Option E :

In the field mapping view

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 :

A custom solution needing to be developed by a partner

Option B :

Creating custom applications integrating data from SAP S/4HANA Cloud and SAP Ariba

Option C :

Adding additional business logic to an SAP S/4HANA Cloud Business Object

Option D :

Creating custom fields in an SAP S/4HANA Cloud table


https://www.realpdfdumps.com/
Correct Answer: A,B

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

Correct Answer: A,C

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 :

select from snwd_so {sojd, sum(net_amount) as sum_amount}

Option B :

select from snwd_so {so_id( sum(net_amount) as sum_amount} group by sojd

Option C :

select from snwd_so {so_id( sum(net_amount) as sum_amount} group by net_amount

Option D :

select from snwd_so {so_id( sum(net_amount) as sum_amount} order by sojd

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 :

Host variables are escaped with an at symbol (@)

Option B :

Comments can be marked by an asterisk (*) at position 1

Option C : https://www.realpdfdumps.com/
Statements are ended with a period (.)

Option D :

Key words can be upper-case or lower-case

Correct Answer: B,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 :

Customer upgrade projects are to be done once per year

Option B :

Clear separation of extensions and SAP code

Option C :

Standard modifications

Option D :

Usage of released objects only

Option E :

No modifications of SAP objects

Correct Answer: B,D,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 :

Nested CASE expression

Option E :

CASTE Expression

Correct Answer: A,B,C

QUESTION: 190

Which of the following are key user extensibility tools? Note: There are 3 correct answers to this question.

Option A :

Custom Business Objects

Option B :

Custom Fields
https://www.realpdfdumps.com/
Option C :

Custom CDS Views

Option D :

Custom reports

Option E :

Custom Database Tables

Correct Answer: A,B,C

QUESTION: 191

In ABAP SQL, which of the following can be assigned an alias? (2 correct)

Option A :

field (from field list)

Option B :

order criterion (from order by clause)

Option C :

database table

Option D :

group criterion (from group by clause)

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:

SELECT carrid, carrname AS name FROM 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:

SELECT c.carrid, c.carrname FROM scarr AS c.

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

clause where it is defined1.

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 :

A data model view

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

2. 2 DEFINE VIEW ENTITY demo_cds_data_source_matrix

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?

Note: There are 2 correct answers to this question.

https://www.realpdfdumps.com/
Option A :

A database table from the ABAP Dictionary

Option B :

An external view from the ABAP Dictionary

Option C :

A database view from the ABAP Dictionary

Option D :

A CDS DDIC-based view

Correct Answer: A,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

namespace and must not contain any special characters3.

You cannot do any of the following:

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

Which function call returns 0?

Option A :

Count( val = 'ABAP ABAP abap' sub = 'AB' ).

Option B :

find_any_of( val = 'ABAP ABAP abap' sub = 'AB').

Option C :

find_any_not_of( val = 'ABAP ABAP abap' sub = 'AB' ).

Option D :

Count_any_of( val = 'ABAP ABAP abap' sub = 'AB' ).

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

Correct Answer: A,B

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

activities that you would implement as an action.

QUESTION: 196

Given the following Core Data Services View Entity Data Definition:

@AccessControl.authorizationCheck: #NOT_REQUIRED

DEFINE VIEW ENTITY demo_sales cds so_ve_simple

AS SELECT FROM demo_sales_order AS SalesOrder

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

the data definition for the CDS view ZCDS_VIEW:

@AbapCatalog.sqlViewName: ‘ZCDS_VIEW’ @AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label:

‘CDS view for flight data’ "short description for developers define view ZCDS_VIEW as select from sflight {

key carrid, key connid, key fldate, seatsmax, seatsocc }

You cannot do any of the following:

@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 :

To create a corresponding foreign key relationship in the database

Option B :

To ensure the integrity of data in the corresponding database tables

Option C :

To document the relationship between the two tables

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 :

The field symbol can be reused for other programs.

Option C :

MODIFY statement to write changed contents back to the table is not required.

Option D :

Using a field symbol is faster than using a work area

Correct Answer: C,D

https://www.realpdfdumps.com/
Explanation/Reference:

As per line 30.

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

valid separator for the element list12.

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

access the field “connid”, as explained above12.

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

Which statement is used in EML to read data from a business object?

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 :

Hashed secondary keys do NOT have to be unique.

Option D :

Sorted secondary keys do NOT have to be unique.

Option E :

Secondary keys can only be created for standard tables.

Correct Answer: A,B,D

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:

READ TABLE itab USING KEY sec_key INTO DATA(wa).

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

field1 field2 sec_key_2 COMPONENTS field3 field4.

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

COMPONENTS field1 ASCENDING field2 DESCENDING.

You can then access the internal table using the sorted secondary key with a binary search algorithm, which is

faster than a linear search3.

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

table by field1 and field2:

DATA itab TYPE STANDARD TABLE OF ty_itab WITH UNIQUE HASHED KEY sec_key

COMPONENTS field1 field2.

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

table can have hashed secondary keys1.

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?

1. Class constructor of super1.

2. Instance constructor of sub1.

3. Instance constructor of super1.

4. Class constructor of sub1.

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 :

They implement code pushdown

Option B :

They compute results on the application server

Option C :

They transfer computational results to the application server

Option D :

https://www.realpdfdumps.com/
They avoid data transfer completely

Correct Answer: A,D

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

optimizes query execution.

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.

Why ABAP CDS Views? – Classic vs Code Pushdown approach

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

to core business functions.

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

database to get the best performance’.

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

dumps due to memory consumption limits.

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

necessary for aggregations and indexes.

The classic vs code pushdown (data centric approach) comparison can be represented by the following diagram:

Code Pushdown – Example

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

CDS Views it is possible to do so on the database level.

QUESTION: 204

Given this code,

< some coding >

IF .

RAISE EXCEPTION TYPE zcx1

EXPORTING

param1 = valuel

param2- value2

previous value3.

ENDIF.

What are valid statements? (2 correct

Option A :

"previous" expects the reference to a previous exception

Option B :

"param1" and "param2" are predefined names.

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.

Correct Answer: B,D

Explanation/Reference:

Correct answers:

"The code creates an exception object and raises an exception."

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.

"param1" and "param2" are predefined names."

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.

DATA(gv result) = 1 / 8. What will be the data type of gv result?

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

What does a business object in the ABAP RAP model define?

Option A :

A travel agency.

Option B :

A CDS view.

Option C :

A behavior definition.

Option D :

An entity such as a travel agency.

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:

DO 10 TIMES. WRITE: / sy-index. ENDDO.

The output of this code is:

1 2 3 4 5 6 7 8 9 10

References: 1: DO - ABAP Keyword Documentation

QUESTION: 208

Given the following code excerpt that defines an SAP HANA database table:

DEFINE TABLE demo_table {

KEY field1 : REFERENCE TO abap.clnt(3);

KEY field2 : abap.char(1332);

@Semantics.quantity.unitOfMeasure : 'demo_table.field4'

field3 : abap.quan(2);

field4 : abap.unit(2);

...

Which field is defined incorrectly?

https://www.realpdfdumps.com/
Option A :

field1

Option B :

field4

Option C :

field3

Option D :

field2

Correct Answer: A,D

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 :

SAP BTP, ABAP environment

Option B :

SAP S/4HANA Cloud, private edition

https://www.realpdfdumps.com/
Option C :

SAP S/4HANA Cloud, public edition

Option D :

SAP S/4HANA on premise

Correct Answer: A,C

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

Extensibility – Overview and Comparison | SAP Blogs

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

Which of the following is a generic internal table type?

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 :

Applications that access SAP S/4HANA data using complex SQL

Option C :

Applications that integrate data from several different systems

Option D :

Applications that run separate from SAP S/4HANA

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 require frequent and/or complex SQL access to data

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 :

The method signature can be changed.

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.

Correct Answer: B,C

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

In RESTful Application Programming, which EML statement retrieves an object?

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 :

RAP BO Node Extension

Option B :

RAP BO Behavior Extension

Option C :

Business Service Extension

Option D :

SAP HANA database table extension


https://www.realpdfdumps.com/
Correct Answer: B

QUESTION: 217

You have the following CDS definition:

define view entity Z_ENTITY as select from Z_SOURCE1 as _Source1

association to Z_SOURCE2 as _Source2

???

key carrier id as Carrier,

key connection_id as Connection,

cityfrom as DepartureCity,

cityto as Arrivalcity,_Source2

Which of the following ON conditions must you insert in place of "???"?

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 :

ON $projection Camer= Source2.carrier_id

https://www.realpdfdumps.com/
Correct Answer: B

QUESTION: 218

Given the following code in an SAP S/4HANA Cloud private edition tenant:

CLASS zcl_demo_class DEFINITION.

METHODS: m1.

ENDCLASS.

CLASS zcl_demo_class IMPLEMENTATION.

METHOD m1.

CALL FUNCTION 'ZF1'.

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 :

ZF1' can be called only if it is released for cloud development.

Option B :

'ZF1' can be called if a wrapper is created for it and the wrapper itself is released for cloud development.

Option C :

"ZF1" can be called whether it is released or not for cloud development

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

indirectly from an ABAP Cloud class:

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

the public methods or attributes2.

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

Remote Function Modules | SAP Help Portal

QUESTION: 219

Given this code,

INTERFACE if1.

METHODS m1.

ENDINTERFACE.

CLASS cl1 DEFINITION

...

INTERFACES if1.

ENDCLASS. https://www.realpdfdumps.com/
...

CLASS cl2 DEFINITION.

...

DATA mo_if1 TYPE REF TO if1.

...

ENDCLAS.

...

What are valid statements? Note: There are 3 correct answers to this question

Option A :

In class CL2, the interface method is named if1~m1.

Option B :

Class CL2 uses the interface.

Option C :

Class CL1 uses the interface.

Option D :

In class CL1, the interface method is named if~m1.

Option E :

Class CL1 implements the interface.

Correct Answer: B,D,E

Explanation/Reference:

1. In class CL2, the interface method is named if1~m1.

o This statement is not valid. The correct syntax to refer to the method declared in the interface in a class is

INTERFACE_NAME~METHOD_NAME. In this case, it should be if1~m1.


https://www.realpdfdumps.com/
2. Class CL2 uses the interface.

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.

3. In class CL1, the interface method is named if1~m1.

o This statement is valid. In a class implementing an interface, the interface method is accessed using the syntax

INTERFACE_NAME~METHOD_NAME. In this case, it should be if1~m1.

4. Class CL1 uses the interface.

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.

5. Class CL1 implements the interface.

o This statement is valid. Class CL1 is declared to implement the interface if1 (INTERFACES if1), indicating that it provides an

implementation for the methods declared in the interface.

Therefore, the correct statements are:

• Class CL2 uses the interface.

• In class CL1, the interface method is named if1~m1.

• Class CL1 implements the interface.

QUESTION: 220

Given this code,

target_itab= VALUE # FOR row IN source_itab(

field1 = row-field1

field2 = row-field2

fieldn = row-fieldn )

Which of the following statements are correct? (2 correct)

Option A :

FOR defines a loop that runs over the content of source_itab

Option B : https://www.realpdfdumps.com/
row is only visible within the loop.

Option C :

source_itab is only visible within the loop.

Option D :

row is a predefined name and cannot be chosen arbitrarily.

Correct Answer: A,B

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 :

Derived behavior operation types.

Option B :

EML operation types.

Option C :

Internal behavior types.

Option D :

Derived behavior definition types.

Correct Answer: D

Explanation/Reference:

https://www.realpdfdumps.com/
QUESTION: 222

What are some properties of database tables? (2 correct)

Option A :

They can have any number of key fields

Option B :

They store information in two dimensions

Option C :

They can have relationships to other tables

Option D :

They may have key fields

Correct Answer: B,C

Explanation/Reference:

They store information in two dimensions: Column store or Row Store

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

2. Service binding Projection view

3. Service definition

4. Data model view

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

to create these components in SAP Fiori is as follows:

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

building a RESTful API.

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

practices for your development platform and tools.

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,

but have different purposes and effects. These features are:

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

creating, updating, deleting, or activating an entity instance, or triggering a workflow or a notification.

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,

the description, the parameters, and the visibility of the action12

References: Behavior Implementation - ABAP Keyword Documentation, Behavior Definition - ABAP

Keyword Documentation

https://www.realpdfdumps.com/
QUESTION: 225

What is the purpose of the MODIFY ENTITIES statement in EML?

Option A :

Both read and update data.

Option B :

To read data.

Option C :

To delete data.

Option D :

To update or create data.

Correct Answer: D

Explanation/Reference:

https://www.realpdfdumps.com/
QUESTION: 226

For the assignment, gv_target = gv_source.

which of the following data declarations will always work without truncation or rounding? Note: There

are 2 correct answers to this question

Option A :

DATA gv_source TYPE string, to DATA gv_target TYPE c.

Option B :

DATA gv_source TYPE c. to DATA gv_target TYPE string.

Option C :

DATA gv_source TYPE d. to DATA gv_target TYPE string.

Option D :

DATA gv_source TYPE p LENGTH 8 DECIMALS 3. to DATA gv_target TYPE p LENGTH 16 DECIMALS 2.

Correct Answer: B,C

Explanation/Reference:

D to STRING works fine.

C to String works fine.

https://www.realpdfdumps.com/
String to C truncate

P with 3 decimals to P with 2 decimals 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

variable will adjust its length to match the source value12.

You cannot do any of the following:

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

source value will be rounded to the target number of decimal places12.

References: 1: ABAP Data Types - ABAP Keyword Documentation - SAP Online Help 2: ABAP Assignment

Rules - ABAP Keyword Documentation - SAP Online Help

QUESTION: 227

Given this code,

INTERFACE if1.

METHODS m1.

ENDINTERFACE.

CLASS cl1 DEFINITION.

PUBLIC SECTION.

INTERFACES if1.

METHODS m2.

ENDCLASS.

*in a method of another class

DATA go if1 TYPE REF TO if1.

DATA go c11 TYPE REF to c11.

go_cl1 = NEW #(...).

go_if1 = go_cl1.

What are valid statements? (3 correct)

Option A :

go_if1 may call method m1 with go_ift->m1().

https://www.realpdfdumps.com/
Option B :

go_if1 may call method m2 with go if->m2(...).

Option C :

go_cl1 may call method m1 with go_d1->if1-m1().

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 #(...).

Correct Answer: A,C,D

Explanation/Reference:

https://www.realpdfdumps.com/
QUESTION: 228

When are derived behavior definition types created?

Option A :

When a business object is read.

Option B :

When the EML is initialized.

Option C :

When a developer creates a behavior definition.

Option D :

When the system processes a request.

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 :

Semantic table attributes

Option C :

Partitioning attributes

Option D :

Field list

Correct Answer: B,D

QUESTION: 230

You have the following CDS definition:

1. define view entity Z_ENTITY as select from Z_SOURCE1 as _Source1

2. association to Z_SOURCE2 as _Source2

3. ???

4. {

5. key carrier_id as Carrier,

6. key connection_id as Connection,

7. cityfrom as DepartureCity,

8. cityto as Arrivalcity,

9. _Source2

10. }

Which of the following ON conditions must you insert in place of "???"?

Option A :

ON _Source1.carrier_id = _Source2.carrier_id
https://www.realpdfdumps.com/
Option B :

ON $projection.Carrier = Source2.carrier

Option C :

ON $projection Camer= Source2.carrier_id

Option D :

ON $projection.carrier_id = _Source2.carrier_id

Correct Answer: A

Explanation/Reference:

1. define view entity Z_ENTITY as select from Z_SOURCE1 as _Source1

2. association to Z_SOURCE2 as _Source2

3. on _Source1.carrier_id = _Source2.carrier_id

4. {

5. key carrier_id as Carrier,

6. key connection_id as Connection,

7. cityfrom as DepartureCity,

8. cityto as ArrivalCity,

9. _Source2

10. }

You can see below one example of CDS view active:

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

log_exp - Boolean Operators and Parentheses

The Boolean operators

• AND

• OR

• EQUIV

join logical expressions; the operator

• NOT

negates a logical expression.

Logical expressions can be parenthesized explicitly using

•()

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

connection between Boolean operators:

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 :

Data model view

Option C :

Behavior definition

Option D :

Service definition

Option E :
https://www.realpdfdumps.com/
Projection view

Correct Answer: B,D,E

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

CDS projection view allows you to achieve this.

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

multiple CDS views or entities.

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 :

It is updated when the modified table is read again.

Option B :

It is updated when the table is modified.

Option C :

It is created when a table is filled.

https://www.realpdfdumps.com/
Option D :

It is created with the first read access of a table.

Correct Answer: A,C

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

different update strategy to secondary keys that are non-unique.

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

/DMO/I_Connection is a CDS view.

What variable type is connection full based on the following code?

DATA connection full TYPE /DMD/I_Connection.

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

Documentation, Structure Types - ABAP Keyword Documentation

QUESTION: 235

Given this code:

DATA: go super TYPE REF TO lcl_super,

go_sub TYPE RFF TO Icl_wub.

go_sub = NEW #( ... ).

go_super = go_sub.

with lcl_super being superclass of lcl_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 :

Call a subclass specific public method.

Option B :

Access the inherited public components.

Option C :

Access the inherited private components.

Option D :

Call inherited public redefined methods.

Correct Answer: B,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

or methods in the subclass12.

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

or methods in the subclass12.

You cannot do any of the following:

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 :

Data model view

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

and ABAP RESTful Application Programming (RAP).

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.

By using metadata extensions, you can define aspects such as:

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

and filtering options.

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: [

3. { position: 10, label: 'ID', importance: #HIGH },

4. { position: 20, label: 'Name', importance: #MEDIUM },

5. { position: 30, label: 'Description', importance: #LOW }

6. ],

7. selectionFields: ['ID']

8. }

9. entity MyEntity {

10. key ID: UUID;

11. Name: String;

12. Description: String;

13. }

In this example, the @UI annotations are metadata extensions that provide information about how the fields (ID, Name,

Description) should be organized and displayed in the UI.

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,

analytical, or draft-enabled apps12. For example:

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:

define behavior for ZI_PB_APPLICATION { field ( read only ) APPLICATION; … }

You cannot do any of the following:

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

CDS - Behavior Definitions - ABAP Keyword Documentation - SAP Online Help

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 :

You implement the redefined component for a second time in super1.

Option B :

You add the clause REDEFINITION to the component in super1

https://www.realpdfdumps.com/
Option C :

You add the clause REDEFINITION to the component in sub1.

Option D :

You implement the redefined component in sub1

Correct Answer: C,D

Explanation/Reference:

To redefine a component of a superclass in a subclass, you need to do the following12:

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

method m1 as public with the REDEFINITION clause.

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 cannot do any of the following:

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

component, not the superclass.

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

clause to the component declaration in the subclass.

References:1:METHODS - REDEFINITION - ABAP Keyword Documentation - SAP Online

Help2:Redefining Methods - ABAP Keyword Documentation - SAP Online Help

QUESTION: 239

In an Access Control Object, which clauses are used? (3 correct)


https://www.realpdfdumps.com/
Option A :

Grant (to identify the data source)

Option B :

Where (to specify the access conditions)

Option C :

Define role (to specify the role name)

Option D :

Revoke (to remove access to the data source)

Option E :

Return code (to assign the return code of the authority check)

Correct Answer: A,B,C

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

check12. Some of the clauses that are used in an ACO are:

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

principle of least privilege or to enforce data segregation12.

You cannot do any of the following:

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

access conditions based on the outcome of the check12.

References: 1: Access Control Objects - ABAP Keyword Documentation - SAP Online Help 2: Access

Control in Core Data Services (CDS) | SAP Help Portal

QUESTION: 240

In class ZCL_CLASS_A, you use the statement DATA var TYPE ***

What may stand in place of ***? (2 correct)

Option A :

The name of a data element from the ABAP Dictionary

Option B :

The name of a type defined privately in class ZCL_CLASS_A

https://www.realpdfdumps.com/
Option C :

The name of a type defined privately in another class

Option D :

The name of a domain from the ABAP Dictionary

Correct Answer: A,B

Explanation/Reference:

It is syntactically impossible to access private methods/atributes directly from outside. However, This is possible by using

inside the same class.

QUESTION: 241

You are given the following information:

1.

The data source "spfli" on line #2 is anhttps://www.realpdfdumps.com/


SAP HANA
database table

2.

"spfli" will be a large table with over one million rows.

3.

This program is the only one in the system that accesses

the table.

4.

This program will run rarely.

Based on this information, which of the following general

settings should you set for the spfli database table? Note:

There are 2 correct answers to this question.

Option A :

"Storage Type" to "Column Store"

Option B :

"Load Unit to "Column Loadable"

Option C :

"Storage Type" to "Row Store"

Option D :

"Load Unit' to 'Page Loadable"

Correct Answer: C,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

Unit | SAP Help Portal]

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

target type, according to the following rules12:

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

order: DECFLOAT34, DECFLOAT16, P, F, I, C, N, X, STRING, XSTRING.

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

decimal floating point type with 16 digits of precision12.

References: 1: ABAP Assignment Rules - ABAP Keyword Documentation - SAP Online Help 2: ABAP Data

Types - ABAP Keyword Documentation - SAP Online Help

QUESTION: 243

You are designing the following select statement in ABAP Open SQL:

1. 1. DATA gt_flights type standard table of demo_cds_flights.

2. 2.

3. 3. SELECT

4. 4.

5. 5. FROM demo_cds_flights

6. 6.

7. 7. FIELDS carrid, connid, fldate, SUM(payment_sum), currency

8. 8.

9. 9. WHERE fldate › @sy-datum

10. 10.

11. 11. GROUP BY carrid, connid, fldate


https://www.realpdfdumps.com/
12. 12.

13. 13. ORDER BY carrid, connid.

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:

The sequence in which the constructors will be executed is as follows:

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

superclass is the root node object12

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

superclass is the root node object12

References: Constructors of Classes - ABAP Keyword Documentation, METHODS - constructor - ABAP

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 :

...SELECT * FROM deno_cds_param_view_entity (p_date = @

(cl_abap_context_info->get_system_date ())......SELECT * FROM deno_cds_param_view_entity (p_date -


'20230101')... )

Option B :

...SELECT * FROM deno_cds_param_view_entity (p_date - '20230101')... )

Option C :

...SELECT * FROM demo_cds_param_view_entity (p_date: 20238181')... )

Option D :

...SELECT * FROM demo_cds_param_view entity (p_date: $session.system_date)...

Correct Answer: A,B

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 :

go_if 1 may call method ml with go_ift->ml().

Option B :

Instead of go ell = NEW #(...) you could use go ifl = NEW cll(. ... ).

Option C :

go_cll may call method ml with go_dl->ifl-ml().

Option D :

Instead of go_cll = NEW #() you could use go_iff - NEW #(...).

Option E :

go_ifl may call method m2 with go if->m2(...).

Correct Answer: A,B,E

Explanation/Reference:

The following are the explanations for each statement:

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

implements the interface, such as the class cll123

References: INTERFACES - ABAP Keyword Documentation, CLASS - ABAP Keyword

https://www.realpdfdumps.com/
Documentation, NEW - ABAP Keyword Documentation

QUESTION: 248

Which of the following are parts of answers to this question.

Option A :

Partitioning attributes

Option B :

Extension

Option C :

Field list

Option D :

Semantic table attributes

Correct Answer: B,C

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:

@AbapCatalog.sqlViewName: ‘ZCDS_EXT’ define view Z_CDS_Extension extend view Z_CDS_Base with

Z_CDS_Extension as select from ztable { // field list key ztable.id as ID, ztable.name as Name, ztable.age as

Age, // extension @Semantics.currencyCode: true ztable.currency as Currency }

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

view definition, but rather the underlying table definition3.

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 :

Position the cursor on the name of the object and press F2

Option C :

Position the cursor on the name of the object and press F3

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 :

When a particular condition is met

Option B :

After a certain number of repetitions

Option C :

After a certain length of time

Correct Answer: A,B

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

Correct Answer: A,B

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 :

Create a breakpoint for a specific line

Option C :

Create a watchpoint for a specific variable

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 :

Correct Answer: A,D

https://www.realpdfdumps.com/
QUESTION: 256

What is the work area of an internal table?

Option A :

A variable with the same type as the row type of the internal table

Option B :

The current row of the internal table

Option C :

The first row of the internal table

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 :

Project Explorer View

Option C :

Source Code Editor View

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 :

Position the cursor on the name of the object and press F3

Option B :

Double-click on the name of the object

Option C :

Position the cursor on the name of the object and press F2

Correct Answer: A

QUESTION: 259

The following techniques can avoid runtime errors. (2 corrects)

Option A :

Use program logic to avoid errors

Option B :

Trap errors with Case statements

Option C :

Check program for syntax errors https://www.realpdfdumps.com/


Option D :

Trap error with Try statements

Correct Answer: A,D

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

What are characteristics of secondary keys for internal tablets? (3 correct)

Option A :

Hashed secondary keys do NOT have to be unique

Option B :

Sorted secondary keys do NOT have to be unique

https://www.realpdfdumps.com/
Option C :

Multiple secondary keys are allowed for any kind of internal table

Option D :

Secondary keys can only be created for standard tables

Option E :

Secondary keys must be chosen explicitly when you actually read from an internal table.

Correct Answer: B,C,E

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

secondary keys to the definition of your internal table.

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/

You might also like