C_ABAPD_2309 BUffl unknown Flashcards

1
Q

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

To update or create data.

To read and delete data.

To read data.

Both read and update data.

A

To update or create data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of a foreign key relationship between two tables in the ABAP Dictionary?

To document the relationship between the two tables

To create a corresponding foreign key relationship in the database

To ensure the integrity of data in the corresponding database tables

A

To ensure the integrity of data in the corresponding database tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which part of the business object’s definition defines its structure or the fields it contains?

Behavior definition.

Actions.

CDS view.

Validations.

A

CDS view.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the special data types of the internal tables in EML called?

EML operation types.

Derived behavior operation types.

Derived behavior definition types.

Internal behavior types.

A

Derived behavior definition types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A travel agency.

A behavior definition.

A CDS view.

An entity such as a travel agency.

A

An entity such as a travel agency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When are derived behavior definition types created?

When a business object is read.

When a developer creates a behavior definition.

When the system processes a request.

When the EML is initialized.

A

When a developer creates a behavior definition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

In a message class.

In a text pool.

In a global class.

A

In a message class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following parts of a behavior definition are generated automatically? Note: There are 2 correct answers to this question.

Draft enabling

Create, update, and delete operations

Validations

Determinations

A

Draft enabling

Create, update, and delete operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When you create a database table to generate a RAP application, you must create a client field. Which data type must it have?

The built-in ABAP Dictionary type abap.clnt.

The data element MANDT.

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

A

The built-in ABAP Dictionary type abap.clnt.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When you create a validation, what does the system generate automatically?

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

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

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

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the annotation @Consumption.ValueHelpDefiniton specify? Note: There are 2 correct answers to this question.

The field that provides the selected value

A CDS view that provides the hit list

A list of possible entries

A list of fields in the hit list

A

The field that provides the selected value

A CDS view that provides the hit list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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?

Numeric function DIV( )

Operator /

Numeric function DIVISION( )

A

Numeric function DIVISION( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When are you forced to define alias names for the data sources of a join?

Always, alias names for data sources are always mandatory.

If a field name is used in several data sources.

Never, alias names for data sources are always optional.

If the same data sources is used more than once.

A

If the same data sources is used more than once.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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?

REPORTED

FAILED

KEYS

A

KEYS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

Standard

Sorted

Hashed

A

Sorted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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?

Condensed Hit List

Database Accesses

Aggregated Call Tree

ABAP Stack

A

Aggregated Call Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

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.

If you leave it out, the entire line must be the same in order to be considered a duplicate

If you leave it out, the key fields of the table row must be the same in order to be considered a duplicate.

It will only work properly if the table has been sorted according to the same columns as are listed after COMPARING.

It is mandatory.

A

If you leave it out, the key fields of the table row must be the same in order to be considered a duplicate.

It will only work properly if the table has been sorted according to the same columns as are listed after COMPARING.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

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

Use program logic to avoid errors

Trap errors with Case statements

Check program for syntax errors

Trap error with Try statements

A

Use program logic to avoid errors

Trap error with Try statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

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?

sy-subrc is set to a value unequal to 0. The developer must ensure him or herself that the user cannot see the data.

sy-subrc is set to a value unequal to 0. The user is prevented from seeing the data automatically.

sy-subrc is set to 0. The developer must ensure him or herself that the user cannot see the data.

sy-subrc is set to 0. The user is prevented from seeing the data automatically.

A

sy-subrc is set to a value unequal to 0. The developer must ensure him or herself that the user cannot see the data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

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?

DATA text TYPE string. ##needed

DATA text TYPE string. “#EC NEEDED

DATA text TYPE string “#EC NEEDED .

DATA text TYPE string ##needed .

A

DATA text TYPE string. “#EC NEEDED

DATA text TYPE string ##needed .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What may you not do in a subclass?

Change the signature of an inherited method

Add new elements

Add a new constructor with its own signature

A

Change the signature of an inherited method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How do you specify table-specific properties when creating a database table in ADT?

In transaction SE16

Using appropriate annotations before the DEFINE TABLE statement

In the Properties view of the database table

Using annotations in the projection list

A

Using appropriate annotations before the DEFINE TABLE statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Which of the following expressions can you use to force a type conversion?

COND #( )

EXACT #( )

REDUCE #( )

CONV #( )

A

CONV #( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Which of the following uses of SQL function SUBSTRING( ) returns the same result as LEFT( text_field, 1)?

SUBSTRING(text_field, 0, 1)

SUBSTRING(text_field, 1, 0)

SUBSTRING(text_field, 1, 1)

A

SUBSTRING(text_field, 1, 1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

For which of the following analysis tools does ABAP Development Tools provides a dedicated perspective? Note: There are 2 correct answers to this question.

ABAP Unit

ABAP Test Cockpit

ABAP Debugger

ABAP Profiling

A

ABAP Debugger

ABAP Profiling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

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

All of the public elements in the class

All of the elements in the interface

All of the elements in the class

All of the elements in the method

A

All of the elements in the interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Which of the following data types is a numeric type? Note: There are 3 correct answers to this question.

P

DECFLOAT16

N

I

A

P

DECFLOAT16

I

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Match the sequence of execution in the dropdown list to the operation. (1 is the highest priority and 3 is the lowest priority.)

1,2,3

2,3,1

3,1,2

2,1,3

1,3,2

A

3,1,2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

4

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

  1. DATA gt_flights type standard table of demo_cds_flights.

2.

  1. SELECT

4.

  1. FROM demo_cds_flights

6.

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

8.

  1. WHERE fldate › @sy-datum

10.

  1. GROUP BY carrid, connid, fldate

12.

  1. ORDER BY carrid, connid.

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?

A

14

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

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.

It may not have any importing parameters

It is a public method

It is an instance method

Its returning parameter has the type REF TO lcl_class

A

It is a public method

Its returning parameter has the type REF TO lcl_class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

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?

The sequence of selection criteria

The sequence of ON conditions

The sequence of selected fields

The sequence of data sources

A

The sequence of ON conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

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.

UTCLONG

TIMS

DATS

DATN

TIMESTAMPL

A

UTCLONG

DATS

DATN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

The most important views in the ABAP Development Tools perspective include? Note: There are 2 correct answers.

Project Explorer View

History View

Source Code Editor View

Local View

A

Project Explorer View

Source Code Editor View

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

You can use one of the following statements to divide a character string into several substrings.

WRITE

CONCATENATE

REPLACE

SPLIT

A

SPLIT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

In our scenario, what is coded in a behavior implementation? Note: There are 2 correct answers to this question.

Update

Determinations

Validations

A

Determinations

Validations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

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?

Standard table

Internal table

Sorted table

Hashed table

A

Sorted table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

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?

xyz( ) is a processing function.

xyz( ) is a description function.

xyz( ) is a predicate function.

xyz() is a standard function.

A

xyz( ) is a predicate function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

A class lcl_plane has the subclasses lcl_passenger and lcl_cargo. Which of the following statements is true?

You can assign an instance of lcl_passenger to a reference variable with type lcl_plane.

You can only assign an instance of lcl_passenger to a reference variable with type lcl_passenger

You can assign an instance of lcl_passenger to a reference variable with type lcl_cargo.

A

You can assign an instance of lcl_passenger to a reference variable with type lcl_plane.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

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.

The CORRESPONDING #( ) operator

The UPDATE statement

The SELECT statement.

A table comprehension with VALUE #( )

A

The CORRESPONDING #( ) operator

A table comprehension with VALUE #( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

Which of the following are subject to translation in ABAP? Note: There are 3 correct answers to this question.

The value of a text symbol in an ABAP class

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

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

The result of a selection criteria

The short text of a message text in a message class

A

The value of a text symbol in an ABAP class

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

The short text of a message text in a message class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

our 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?

GROUP BY field1

GROUP BY field1, field2, field3

GROUP BY field1, field2

A

GROUP BY field1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

Which of the following can you use to specify the data type of a column in a database table?

Local type

Domain

Data element

A

Data element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

You subtract one field with type D from another field with type D. What is the data type of the result?

UTCLONG

D

I

P

A

I

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

Which of the following data types is complete?

N

C

String

P

A

String

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

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.

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

TYPE DECFLOAT16 TO TYPE DECFLOAT34

TYPE C LENGTH 10 to TYPE C LENGTH 3

TYPE STRING to TYPE I

A

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

TYPE DECFLOAT16 TO TYPE DECFLOAT34

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

In which object do you assign values to authorization fields?

IAM App

Business Role

Business Catalog

Authorization object

A

IAM App

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

Which of the following are use cases for side-by-side extensions? (2 correct)

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

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

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

A custom solution needing to be developed by a partner

A

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

A custom solution needing to be developed by a partner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

In the READ ENTITIES statement, you use an internal table with a special type (TYPE TABLE FOR READ RESULT). How is this type created?

The system creates it automatically.

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

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

A

The system creates it automatically.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

You have a result field result with TYPE P LENGTH 3 DECIMALS 2. Which of the following statements leads to an exception?

result = 1 / 16.

result = EXACT #( 1 / 8 ).

result = 8 / 16.

result = EXACT #( 1 / 2 ).

A

result = EXACT #( 1 / 8 ).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

Which of the following method calls in a RAP validation create messages which are translatable? Note: There are 2 correct answers to this question.

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

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

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

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

A

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

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

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?

The field symbol is faster than the work area.

The performance of both techniques is equal.

The work area is faster than the field symbol.

A

The field symbol is faster than the work area.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

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

The key is always non-unique

The key is always unique

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

A

The key is always non-unique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

Which of the following SQL techniques is available in ABAP SQL but NOT supported in ABAP CDS?

DISTINCT

GROUP BY

ORDER BY

UNION

A

ORDER BY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

Which of the following are building blocks of the SAP Fiori design approach?

Note: There are 3 correct answers.

Python

SAPUI5

SAP Business Application Studio

(Richtig)

SAP Fiori elements

SAP HANA Cloud

A

SAPUI5

SAP Business Application Studio

(Richtig)

SAP Fiori elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

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.

When the row type is a data element

When the row type is a structure

When the row type is a database table

When the row type is a table type

A

When the row type is a structure

When the row type is a database table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

Which of the following are tasks of the ABAP Core Data Services? Note: There are 2 correct answers to this question.

Define Business Objects in the ABAP RESTful application programming model.

Provide services for classical ABAP user interfaces.

Define tables on the database

Define views on the database.

A

Define Business Objects in the ABAP RESTful application programming model.

Define views on the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

What sequence of characters introduces an ABAP Doc comment?

”%

”@

”!

”#

A

”!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

Which of the following are reasons why a consumer-grade UX is important? Note: There are 3 correct answers to this question.

Productivity gains

Reduction in user errors

Training cost savings

Increase system performance

Strengthening of customer and partner relationships

A

Productivity gains

Reduction in user errors

Training cost savings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

During the Preparation phase of a system conversion, which of the following tasks are done? Note: There are 3 correct answers to this question.

Perform manual testing

Utilize maintenance planning

Perform custom code analysis

Perform custom code adaptation

Determine system requirements

A

Utilize maintenance planning

Perform custom code analysis

Determine system requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
60
Q

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.

Custom Code Migration app

SAP Readiness Check Tool

SAP Notes

ABAP development tools for Eclipse Quick Fix

A

Custom Code Migration app

ABAP development tools for Eclipse Quick Fix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
61
Q

Which of the following are ABAP RESTful application programming model layers? Note: There are 3 correct answers to this question.

Business Service Exposure

Domain Model and Implementation

Data Access

Data element

CDS Annotations

A

Business Service Exposure

Domain Model and Implementation

Data Access

62
Q

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

REST and CRUD

Infrastructure Independent

Application Programming Interfaces (APIs)

Microservices

Total control of infrastructure

A

Infrastructure Independent

Application Programming Interfaces (APIs)

Microservices

63
Q

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

[0..1]

[0..*]

none

[1..1]

A

[0..1]

64
Q

You have a superclass super that has three subclasses sub1, sub2, and sub3. In a TRY…CATCH block, you want to catch sub1 explicitly 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?

CATCH super. CATCH sub1. CATCH cx_root.

CATCH cx_root. CATCH sub1. CATCH super.

CATCH sub1. CATCH super. CATCH cx_root.

CATCH cx_root. CATCH super. CATCH sub1.

A

CATCH sub1. CATCH super. CATCH cx_root.

65
Q

Which of the following are essential aspects of ABAP Cloud? Note: There are 3 correct answers to this question.

ABAP development tools for Eclipse

JAVA

.NET & SOAP

ABAP RESTful application programming model

ABAP Cloud language

A

ABAP Cloud language

ABAP development tools for Eclipse

ABAP RESTful application programming model

66
Q

Which of the following are recommended clean core workstreams? Note: There are 3 correct answers to this question.

Manual testing

Review of copies

Custom code evaluation

Custom code adaptation

Simplification item checks

A

Review of copies

Custom code evaluation

Custom code adaptation

67
Q

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.

Additional fields in the extension list

Additional associations in the element list

Additional fields in the element list

Additional fields in the GROUP BY - clause

Additional expressions in the element list

A

Additional associations in the element list

Additional fields in the element list

Additional expressions in the element list

68
Q

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

As soon as you define the association.

When you add the association to the element list.

When you use the association in a path expression.

A

When you use the association in a path expression.

69
Q

Where do you create translatable texts for your exception classes?

As a message in a message class

As a text element in the text pool of the class

As a constant in the class definition

A

As a message in a message class

70
Q

Which of the following dictionary types are mapped to ABAP data type P (packed number)? Note: There are 2 correct answers to this question.

CLNT

CUKY

CURR

DEC

A

CURR

DEC

71
Q

You change the definition of a database table. In which of the following scenarios do you have to manually adjust the database table?

The database table contains data and you deleted a table field.

The database table is empty and you added a table field

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

The database table contains data and you added a table field.

A

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

72
Q

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?

Internal table

Structure

Elementary field

A

Structure

73
Q

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?

both

none

struct-%tky-airlineid = ‘UA’.

struct-airlineid = ‘LH’.

A

none

74
Q

You define a foreign key dependency in the ABAP dictionary. What effect does it have? Note: There are 2 correct answers to this question.

Generated input checks in classical user dialogues.

Generated input checks in a SAP Fiori application.

The relationship is documented on ABAP dictionary level.

Enforced data consistency on database level.

A

Generated input checks in classical user dialogues.

The relationship is documented on ABAP dictionary level.

75
Q

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.

Costs

Inheritance

Transactional Data

Sponsorship

Interfaces

A

Transactional Data

Sponsorship

Interfaces

76
Q

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

Creation of Interfaces

Implicit enhancements

Changes pursuant to an SAP Note

Clones of SAP objects

Class method overwrites

A

Implicit enhancements

Clones of SAP objects

Class method overwrites

77
Q

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

Stateless

Layered system

Serializable

Virtualization

Cacheable

A

Stateless

Layered system

Cacheable

78
Q

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

Annotation @ABAPCatalog.clientDependent: true

A corresponding setting in the Technical Table Properties.

A key field of type CLNT

A

A key field of type CLNT

79
Q

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.

Domain

Structure

Database Table

Search help

Data Element

A

Data Element

Structure

Database Table

80
Q

EXTENSIBLE_CHARACTER_NUMERIC

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.

A

EXTENSIBLE_CHARACTER_NUMERIC

81
Q

Which of the following statements may an interface contain? Note: There are 2 correct answers to this question.

PUBLIC SECTION

METHODS

METHOD… ENDMETHOD

CLASS DEFINITION

TYPES

A

METHODS

TYPES

82
Q

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.

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

Filter value in the WHERE clause.

Filter using CASE condition

Filter value using LIKE%

A

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

Filter value in the WHERE clause.

83
Q

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

Intuitive graphical tools utilizing code generation

Integrated debugger

Advanced testing capabilities

Utilization of a particular language and/or programming model

A

Intuitive graphical tools utilizing code generation

84
Q

Which of the following are reasons why software extensions are needed? Note: There are 3 correct answers to this question.

Fix standard issues

Desired customer outcomes

Customized business processes

Flexibility

Performance optimization

A

Desired customer outcomes

Customized business processes

Flexibility

85
Q

Which of the following are key parts of the clean core concept? Note: There are 3 correct answers to this question.

Usage of released APIs

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

Elimination of modifications

Deletion old versions

Strict separation between extensions and the underlying application

A

Usage of released APIs

Elimination of modifications

Strict separation between extensions and the underlying application

86
Q

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

External migration

Third-party cloud

System conversion

System landscape transformation

New implementation

A

System conversion

System landscape transformation

New implementation

87
Q

Which of the following are the stack layers that classical extensibility refers to? Note: There are 3 correct answers to this question.

Middle

Visual

Data

Key User

End User

A

Middle

Visual

Data

88
Q

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

SAP Build Apps

SAP HANA Cloud

SAP Build Work Zone

SAP Build Process Automation

S/4 HANA on premise

A

SAP Build Apps

SAP Build Work Zone

SAP Build Process Automation

89
Q

Which of the following are correct ways to add a comment in a data definition? Note: There are 2 correct answers to this question.

/…/

//

//

A

//

//

90
Q

Which of the following annotations can be mandatory in the definition of a CDS view entity?

@AccessControl.authorizationCheck

AbapCatalog.buffering.numberOfKeyFields

@Semantics.quantity.unitofMeasure

@EndUserText.label

A

@Semantics.quantity.unitofMeasure

91
Q

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.

DATA(p) = NEW cl_class( ).

o = NEW string( ).

o = NEW( ).

DATA(p) = NEW( ).

o = NEW cl_class( ).

A

DATA(p) = NEW cl_class( ).

o = NEW( ).

o = NEW cl_class( ).

92
Q

Which of the following repository objects offer a preview function? Note: There are 2 correct Answers to this question.

Behavior Definition

Data Definition

Service Binding

Service Definition

A

Service Binding

Service Definition

93
Q

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.

:X.

$parameters.X.

@X

@parameters.X

A

:X.

$parameters.X.

94
Q

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

Custom Business Objects

Custom reports

Custom Fields

Custom CDS Views

Custom Database Tables

A

Custom Fields

Custom CDS Views

Custom Business Objects

95
Q

Which of the following are essential rules of the SAP S/4HANA Cloud extensibility model? Note: There are 3 correct answers to this question.

No modifications of SAP objects

Customer upgrade projects are to be done once per year

Standard modifications

Usage of released objects only

Clear separation of extensions and SAP code

A

Usage of released objects only

Clear separation of extensions and SAP code

No modifications of SAP objects

96
Q

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.

  • comment

– comment

// comment

/* comment */

A

// comment

/* comment */

97
Q

Which of the following does the tier 2 extensibility model apply to? Note: There are 2 correct answers to this question.

SAP S/4HANA Cloud, private edition

SAP S/4HANA

SAP S/4HANA Cloud, public edition

SAP BTP, ABAP environment

A

SAP S/4HANA Cloud, private edition

SAP S/4HANA

98
Q

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 field names in the database table. Where do you define the field name mapping?

You want to replace statements in a program with expressions

In the Behavior Definition

In the Behavior Projection

In the field mapping view

In the Behavior Implementation

A

In the Behavior Definition

99
Q

Which of the following do you use as a separator between a table and field name in a CDS view definition?

Pointer(->)

Minus (-)

Period (.)

Tilde (~)

A

Period (.)

100
Q

Which of the following are ABAP RESTful application programming model extensibility options? Note: There are 3 correct answers to this question.

Data element

Behavior

Domain

Data Model

Field

A

Behavior

Data Model

Field

101
Q

NOT_ALLOWED

What are possible values for the annotation @AccessControl.authorizationCheck? Choose the 3 correct answers.

A

NOT_ALLOWED

102
Q

Where do you distinguish between OData V2 or OData V4?

Projection View

Behavior Projection

Service Definition

Service Binding

A

Service Binding

103
Q

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

The Behavior Definition Language

The ABAP Programming Language

The Structured Query Language

The Service Definition Language

A

The ABAP Programming Language

104
Q

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

Test your custom logic.

Assign your implementation to a transport request.

Create lter conditions

Modularize your code using custom libraries.

Directly access SAP database tables.

A

Test your custom logic.

Assign your implementation to a transport request.

Create lter conditions

105
Q

Which of the following features are part of the new syntax for Open SQL? Note: There are 2 correct Answers to this question.

ABAP variables escaped with :

Blank-separated column list

ABAP variables escaped with @

Comma-separated column list

A

ABAP variables escaped with @

Comma-separated column list

106
Q

Which of the following does the term “Cloud Extensibility Model” refer to?

Tier 2

Tier 4

Tier 1

Tier 3

A

Tier 1

107
Q

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.

Classical extensibility does not enable customers to have flexible processes

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

Classical extensibility does not enable customers to have competitive advantage

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

A

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

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

108
Q

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.

Combining queries as inner join

Aggregations and grouping

Nested views (View-on-View)

Expressions in the field list

Enhancement with custom fields

A

Aggregations and grouping

Nested views (View-on-View)

Expressions in the field list

109
Q

Which of the following would a custom wrapper fall under?

Tier 3

Tier 1

Tier 2

Tier 4

A

Tier 2

110
Q

How could you replace the statement CONCATENATE a b INTO c.? Note: There are 2 correct Answers to this question.

c = a && b.

c = |{ a }{ b }|.

c = a & b.

c = |a && b|.

A

c = a && b.

c = |{ a }{ b }|.

111
Q

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?

Custom fields can only be created for SAP Fiori apps that have been enabled by SAP for this type of extension.

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.

There is no specific requirement. Custom fields can basically be created for any SAP Fiori app.

You must release the SAP Fiori app for extensibility via Transaction Setup Adaptation Transport Organizer for Key User Tools (S_ATO_SETUP).

A

Custom fields can only be created for SAP Fiori apps that have been enabled by SAP for this type of extension.

112
Q

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.

@<EndUserText.label: ‘Currency Code’ currcode,

currcode @<EndUserText.label: ‘Currency Code’ ,

@EndUserText.label: ‘Currency Code’ currcode,

currcode, @>EndUserText.label: ‘Currency Code’

A

currcode @<EndUserText.label: ‘Currency Code’ ,

@EndUserText.label: ‘Currency Code’ currcode,

113
Q

You use the following expression to address the internal table gt_flights: gs_flight = gt_flights[ carrid = ‘XX’ connid = ‘9999’ ]. There is NO table entry with the specified key. What is the result of the statement?

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

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

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

gs_flight is initialized. The system triggers an exception.

A

gs_flight is initialized. The system triggers an exception.

114
Q

Which of the following new repository object types were introduced with ABAP CDS? Note: There are 3 correct Answers to this question.

Access Control

External View

Metadata Extension

Data Definition

Business Object

A

A
M
D

115
Q

The SQL statement used to read data from a database table is which of the following?

READ

SELECT

GET

FIND

A

SELECT

116
Q

In the ABAP source code, how do you navigate to the definition of a development object?

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

Double-click on the name of the object

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

A

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

117
Q

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.

Convert it into a constant.

Make it a private attribute.

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

Move it to a different local class.

A

Make it a private attribute.

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

118
Q

Which of the following can you use to denote a comment in ABAP? Note: There are 2 correct answers to this question.

” anywhere in the line

– anywhere in the line

// at the beginning of a line

  • at the beginning of a line
A

” anywhere in the line

  • at the beginning of a line
119
Q

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?

The table is not activated.

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

The table is activated.

A

The table is not activated.

120
Q

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

SAP BTP ABAP instance

On-Premise ABAP system

Embedded ABAP instance in SAP S/4HANA Cloud

A

SAP BTP ABAP instance

Embedded ABAP instance in SAP S/4HANA Cloud

121
Q

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?

A regular expression

A logical expression

A path expression

A

A path expression

122
Q

Which of the following signature elements may an instance constructor have? Note: There are 2 correct answers to this question.

Changing parameters

Importing parameters

Exceptions

Exporting parameters

A

Importing parameters

Exceptions

123
Q

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?

0

INITIAL

NULL

100

A

0

124
Q

What is the work area of an internal table?

The first row of the internal table

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

The current row of the internal table

A

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

125
Q

Which of the following can you use to fill an internal table? Note: There are 2 correct answers to this question.

VALUE #( )

READ

LOOP…ENDLOOP

APPEND

A

VALUE #( )

APPEND

126
Q

Which of the following are valid operators that can be used in arithmetic operators in ABAP? Note: There 2 correct answers.

!

*

/

x

A

*

/

127
Q

Which part of SQL is represented by ABAP SQL?

Data Manipulation Language

Data Definition Language

Data Control Language

A

Data Manipulation Language

128
Q

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

PRIVATE SECTION. PROTECTED SECTION. PUBLIC SECTION.

It doesn’t matter.

PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION.

A

PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION.

129
Q

You declare a variable using the statement DATA struct TYPE <type>. Which of the following can you use to declare a structure? Note: There are 2 correct answers to this question.</type>

A CDS view

A predefined ABAP type

A database table

A data element

A

A CDS view

A database table

130
Q

A structure struct contains a component comp. How do you address the component?

struct->comp

struct=>comp

struct-comp

struct.comp

A

struct-comp

131
Q

For the full signature of a method call when using keyword completion, you must select the method name and press which of the following?

Alt + space

Ctrl + enter

Shift + space

Shift + enter

A

Shift + enter

132
Q

Which of the following statements about exceptions are true? Note: There are 2 correct answers to this question

All uncaught exceptions lead to runtime errors.

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

Some exceptions are catchable, others are uncatchable.

All execptions are catchable.

A

Some exceptions are catchable, others are uncatchable.

All uncaught exceptions lead to runtime errors.

133
Q

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?

INNER JOIN

LEFT OUTER JOIN

UNION

UNION ALL

A

UNION

134
Q

You have defined a class containing instance attributes and static attributes. You have also declared a 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?

Static components using the name of the class.

Static components using the reference variable.

Instance components using the name of the class.

Instance components using the reference variable.

A

Static components using the name of the class.

135
Q

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

&&

&

+

++

A

&&

136
Q

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.

zcl_a->b( ).

lo_a=>b( ).

zcl_a=>b( ).

lo_a->b( ).

A

zcl_a=>b( ).

137
Q

What information do you see when you position the mouse pointer over a variable in the debugger?

The current memory consumption of the variable

The current contents of the variable

The data type of the variable

A

The current contents of the variable

138
Q

When you press F8 (Continue) in the debugger, where could the program processing next stop? Note: There are 2 correct answers to this question

At the end of the program

At the next ENDMETHOD statement.

At a subsequent breakpoint

In the next line

A

At the end of the program

At a subsequent breakpoint

139
Q

Which of the following functions can you perform both in the ADT ABAP editor and ADT debugger?

Create a breakpoint for a specific line

Start the debugger using a system command like ‘/h’

Create a watchpoint for a specific variable

A

Create a breakpoint for a specific line

140
Q

A functional method must have

Exactly one exporting parameter

Exactly one importing parameter

Exactly one returning parameter

A

Exactly one returning parameter

141
Q

What do you have to consider when working with interfaces? Note: There are 3 correct answers to this question

Instance methods are not implemented in an interface.

Static methods can be implemented in an interface.

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

Implementing classes must declare the interface in their public section.

Implementing classes may declare the interface in any visibility section.

A

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

Implementing classes must declare the interface in their public section.

Instance methods are not implemented in an interface.

142
Q

Which of the following are ABAP Cloud Development Model rules?

Note: There are 2 correct answers to this question.

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

Reverse modifications when a suitable public SAP API becomes available.

Use public SAP APIs and SAP extension points.

Build ABAP RESTful application programming model-based services.

A

Use public SAP APIs and SAP extension points.

Build ABAP RESTful application programming model-based services.

143
Q

A class my_class contains the public static method my_method. What is the correct code to call this method?

Choose the correct answer.

my_class=>my_method.

my_class=>my_method( ).

my_class->my_method( ).

my_class->my_method.

A

my_class=>my_method( ).

144
Q

Which of the following are valid data sources for a CDS view entity? Note: There are 2 correct answers to this question.

A structure

A database table

An internal table

Another CDS view entity

A

A database table

Another CDS view entity

145
Q

What must you do when you create an ABAP package? Note: There are 2 correct answers to this question

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

Assign the package to a software component

Assign the package to an application component

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

A

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

Assign the package to a software component

146
Q

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?

The branch introduced by ELSEIF a = 25.

Both branches.

The branch introduced by IF a > 10.

A

The branch introduced by IF a > 10.

147
Q

The result of the expression result = var MOD 2. is 1. What does this tell you about the value of variable var?

var is an odd number.

var is an even number.

A

var is an odd number.

148
Q

Which of the following predefined ABAP types are complete? Note: There are 2 correct answers to this question.

P

D

I

C

A

D

I

149
Q

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?

DATA table TYPE tt_table.

DATA table TYPE TABLE OF tt_table.

DATA table TYPE REF TO tt_table.

DATA table TYPE TABLE tt_table.

A

DATA table TYPE tt_table.

150
Q

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

SELECT SINGLE FROM… FIELDS… WHERE… INTO

SELECT SINGLE FROM… FIELDS… INTO… WHERE…

SELECT SINGLE FIELDS… FROM… INTO… WHERE…

A

SELECT SINGLE FROM… FIELDS… WHERE… INTO

151
Q

Which of the following characters is not allowed in the name of an ABAP class?

8

$

_

A

$

152
Q
A