C_ABAPD_2309 BUffl unknown Flashcards
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.
To update or create data.
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
To ensure the integrity of data in the corresponding database tables
Which part of the business object’s definition defines its structure or the fields it contains?
Behavior definition.
Actions.
CDS view.
Validations.
CDS view.
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.
Derived behavior definition types.
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.
An entity such as a travel agency.
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.
When a developer creates a behavior definition.
You need to display an error text. Where do you create it?
In a message class.
In a text pool.
In a global class.
In a message class.
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
Draft enabling
Create, update, and delete operations
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)
The built-in ABAP Dictionary type abap.clnt.
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.
An empty method in the local class of the behavior implementation.
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
The field that provides the selected value
A CDS view that provides the hit list
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( )
Numeric function DIVISION( )
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.
If the same data sources is used more than once.
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
KEYS
Which internal table type allows unique and non-unique keys?
Standard
Sorted
Hashed
Sorted
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
Aggregated Call Tree
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.
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.
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
Use program logic to avoid errors
Trap error with Try statements
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.
sy-subrc is set to a value unequal to 0. The developer must ensure him or herself that the user cannot see the data.
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 .
DATA text TYPE string. “#EC NEEDED
DATA text TYPE string ##needed .
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
Change the signature of an inherited method
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
Using appropriate annotations before the DEFINE TABLE statement
Which of the following expressions can you use to force a type conversion?
COND #( )
EXACT #( )
REDUCE #( )
CONV #( )
CONV #( )
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)
SUBSTRING(text_field, 1, 1)
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
ABAP Debugger
ABAP Profiling
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
All of the elements in the interface
Which of the following data types is a numeric type? Note: There are 3 correct answers to this question.
P
DECFLOAT16
N
I
P
DECFLOAT16
I
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
3,1,2
4
You are designing the following select statement in ABAP Open SQL:
- DATA gt_flights type standard table of demo_cds_flights.
2.
- SELECT
4.
- FROM demo_cds_flights
6.
- FIELDS carrid, connid, fldate, SUM(payment_sum), currency
8.
- WHERE fldate › @sy-datum
10.
- GROUP BY carrid, connid, fldate
12.
- 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?
14
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
It is a public method
Its returning parameter has the type REF TO lcl_class
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
The sequence of ON conditions
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
UTCLONG
DATS
DATN
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
Project Explorer View
Source Code Editor View
You can use one of the following statements to divide a character string into several substrings.
WRITE
CONCATENATE
REPLACE
SPLIT
SPLIT
In our scenario, what is coded in a behavior implementation? Note: There are 2 correct answers to this question.
Update
Determinations
Validations
Determinations
Validations
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
Sorted table
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.
xyz( ) is a predicate function.
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.
You can assign an instance of lcl_passenger to a reference variable with type lcl_plane.
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 #( )
The CORRESPONDING #( ) operator
A table comprehension with VALUE #( )
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
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
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
GROUP BY field1
Which of the following can you use to specify the data type of a column in a database table?
Local type
Domain
Data element
Data element
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
I
Which of the following data types is complete?
N
C
String
P
String
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
TYPE P LENGTH 3 DECIMALS 2 to TYPE P LENGTH 6 DECIMALS 3
TYPE DECFLOAT16 TO TYPE DECFLOAT34
In which object do you assign values to authorization fields?
IAM App
Business Role
Business Catalog
Authorization object
IAM App
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
Creating custom applications integrating data from SAP S/4HANA Cloud and SAP Ariba
A custom solution needing to be developed by a partner
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.
The system creates it automatically.
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 ).
result = EXACT #( 1 / 8 ).
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 ‘ ).
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) } | ).
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.
The field symbol is faster than the work area.
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
The key is always non-unique
Which of the following SQL techniques is available in ABAP SQL but NOT supported in ABAP CDS?
DISTINCT
GROUP BY
ORDER BY
UNION
ORDER BY
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
SAPUI5
SAP Business Application Studio
(Richtig)
SAP Fiori elements
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
When the row type is a structure
When the row type is a database table
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.
Define Business Objects in the ABAP RESTful application programming model.
Define views on the database.
What sequence of characters introduces an ABAP Doc comment?
”%
”@
”!
”#
”!
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
Productivity gains
Reduction in user errors
Training cost savings
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
Utilize maintenance planning
Perform custom code analysis
Determine system requirements
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
Custom Code Migration app
ABAP development tools for Eclipse Quick Fix