Jose Bermejo
Quiz by , created more than 1 year ago

ABAP ABAP 7.50 Quiz on ABAP 2, created by Jose Bermejo on 19/11/2019.

1166
1
0
Jose Bermejo
Created by Jose Bermejo over 4 years ago
Close

ABAP 2

Question 1 of 30

1

What options do you have when setting a watchpoint?
There are 2 correct answers to this question.

Select one or more of the following:

  • Stop at any change of all variables

  • Stop at predefined conditions for a specific variable

  • Stop at any change of a specific variable

  • Stop at predefined conditions for all variables

Explanation

Question 2 of 30

1

How would you define a method of an ABAP class to prevent this method from being available in a subclass?
Please choose the correct answer.

Select one of the following:

  • Protected

  • Private

  • Abstract

  • Final

Explanation

Question 3 of 30

1

Where can you define global data types that are visible system-wide?
There are 3 correct answers to this question.

Select one or more of the following:

  • In the ABAP Dictionary

  • In a global interface

  • In a function module

  • In a method of a global class

  • In a global class

Explanation

Question 4 of 30

1

When you define local classes in ABAP, which syntactical sequence must you follow?
Please choose the correct answer.

Select one of the following:

  • The order is handled automatically

  • PUBLIC SECTION, PROTECTED SECTION, PRIVATE SECTION

  • PRIVATE SECTION, PROTECTED SECTION, PUBLIC SECTION

  • The order doesn’t matter

Explanation

Question 5 of 30

1

Which of the following structures is created when you use a table type to define one of its components?

Select one of the following:

  • Nested structure

  • Append structure

  • Flat structure

  • Deep structure

Explanation

Question 6 of 30

1

Where can you define data types that can be accessed directly by all ABAp repository objects in an SAP system?
There are 2 correct answers to this question

Select one or more of the following:

  • In a method

  • In a global class

  • In a function module

  • In the ABAP dictionary

Explanation

Question 7 of 30

1

In which database table type is there a one-to-one relationship between the Dictionary table definition and the relevant physical table in the database?

Select one of the following:

  • Internal table

  • Pooled table

  • Transparent table

  • Cluster table

Explanation

Question 8 of 30

1

How do you use a sorted internal table?
There are 2 correct answers to this question

Select one or more of the following:

  • You need to specify a key in the table declaration

  • You use APPEND to insert records at the correct position

  • You can read the records by index or key

  • You can resort the table with SORT

Explanation

Question 9 of 30

1

What are the advantages of defining texts symbols in executable programs?
There are 2 correct answers to this question

Select one or more of the following:

  • The same text symbol can be used by other programs

  • They facilitate multilingual functionality

  • They are easier to maintain than literals

  • Then can store up to 256 characters

Explanation

Question 10 of 30

1

Global data types defined in SAP systems are…
Please choose the correct answer.

Select one of the following:

  • Date types defined in the program using ABAP Dictionary types.

  • Date types does not defined Dictionary types

  • ABAP Dictionary types

  • Data defined in the program that is visible to all the routines/statements within the ABAP program

Explanation

Question 11 of 30

1

Which of the following is correct?
Please choose the correct answer.

Select one of the following:

  • None of the above

  • The screen attributes can be modified in the PROCESS BEFORE OUTPUT event block

  • The screen attributes can be modified in the PROCESS BEFORE OUTPUT and PROCESS AFTER INPUT event blocks

  • The screen attributes can be modified in the PROCESS AFTER INPUT event block

Explanation

Question 12 of 30

1

Which statement is used to generically define the data reference variable z1?
Please choose the correct answer.

Select one of the following:

  • data z1 type any table

  • data z1 type ref to data

  • data z1 type ref to PA0001

  • data z1 type any

Explanation

Question 13 of 30

1

Which of the following ABAP statements throws an error at the syntax check?
Please choose the correct answer.

Select one of the following:

  • DATA variable(5) TYPE p

  • DATA variable

  • DATA variable(5) TYPE n

  • DATA variable(5) TYPE t

Explanation

Question 14 of 30

1

You are making changes to a program that already has a transaction code linked to it. Your colleague is testing the transaction in your development system. At what point can the changed version of the program be tested?
Please choose the correct answer.

Select one of the following:

  • When you perform a syntax check on the program

  • When you save the program

  • When you release the transport requests for the program

  • When you activate the program

Explanation

Question 15 of 30

1

Which of the following statements are true?
There are 2 correct answers to this question.

Select one or more of the following:

  • Standard tables can be accessed by index.

  • Hashed tables are always accessed by index.

  • Hashed tables are accessed by a unique key

  • A sorted table is always accessed by a unique key

  • Standard tables cannot be accessed by index

Explanation

Question 16 of 30

1

You want to select all the records from a database table where field CITY contains substring ‘BU’ in any position. Which WHERE clause can you use in an Open SQL select statement?
Please choose the correct answer.

Select one of the following:

  • WHERE city LIKE ‘_BU’

  • WHERE city LIKE ‘%BU%’

  • WHERE city LIKE ‘%BU*’

  • WHERE city LIKE ‘*BU*’

Explanation

Question 17 of 30

1

Your code contains the following statement:

READ TABLE gt_itab INTO gs_struc INDEX 1.

When defining gt_itab, which internal table types can you use?

Please choose the correct answer.

Select one of the following:

  • Sorted and hashed

  • Standard and hashed

  • Standard, sorted, and hashed

  • Standard and sorted

Explanation

Question 18 of 30

1

Which statements are allowed for processing internal tables?
There are 3 correct answers to this question.

Select one or more of the following:

  • MODIFY

  • UPDATE

  • DELETE

  • INSERT

  • SELECT

Explanation

Question 19 of 30

1

What type of ABAP Dictionary view is implemented as an INNER JOIN?

Select one of the following:

  • Maintenance view

  • Database view

  • Help view

  • Projection view

Explanation

Question 20 of 30

1

What is the correct order for using a lock object?

Select one of the following:

  • Set the lock, read the data, release the lock, change the data

  • Set the lock, read the data, change the data, release the lock

  • Read the data, set the lock, change the data, release the lock

  • release the lock, Read the data, set the lock, change the data

Explanation

Question 21 of 30

1

You want to create a transparent table in the ABAP dictionary.
When the table is physically created in the database?

Select one of the following:

  • When you activate the table

  • When you insert the table name and select create

  • When you run the database utility transaction (SE14)

  • When you save the table

Explanation

Question 22 of 30

1

What are the advantages of modularization?
There are 3 correct answers to this question

Select one or more of the following:

  • Transparency

  • Profitability across DBMS

  • Maintainability

  • Reusability

  • Performance

Explanation

Question 23 of 30

1

Which prerequisites must be fulfilled before a repository object can be transported?
There are 3 correct answers to this question

Select one or more of the following:

  • A transport layer must be assigned to the package

  • The repository object must be assigned to a package.

  • An inactive version of the repository object must exist.

  • An application component must be assigned to the repository object.

  • The repository object must be assigned to a change request.

Explanation

Question 24 of 30

1

What types of changes to the repository does SAP provide?
There are 3 correct answers to this question.

Select one or more of the following:

  • Support Packages

  • Enhancement Packages

  • Deployments from SDN.SAP.COM

  • SAP Notes

  • Transports

Explanation

Question 25 of 30

1

How can you improve the performance when accessing a large data volume database table?
Please choose the correct answer.

Select one of the following:

  • Switch the database table to fully buffered.

  • Define appropriate indexes for the database table

  • Apply the appropriate data class and size category

  • Change the table type in the dictionary

Explanation

Question 26 of 30

1

You want to loop over an internal table without copying each table row to a work area.
How can you achieve this using a field symbol?
Please choose the correct answer.

Select one of the following:

  • LOOP AT <itab> TRANSPORTING INTO <field_symbol>. ENDLOOP.

  • LOOP AT <itab> ASSIGNING <field_symbol>. ENDLOOP

  • LOOP AT <itab> INTO <field_symbol>. ENDLOOP

  • LOOP AT <itab> REFERENCE INTO <field_symbol>. ENDLOOP

Explanation

Question 27 of 30

1

What are characteristics of a hashed internal table?
There are 2 correct answers to this question.

Select one or more of the following:

  • It can have a non-unique key

  • It can be accessed using the key

  • It must have a unique key

  • It can be accessed using the index.

Explanation

Question 28 of 30

1

You are using the new debugger and you want to change the content of an internal table.
Which actions are allowed?
There are 3 correct answers to this question.

Select one or more of the following:

  • Delete table from memory

  • Delete the selected rows

  • Change row content and press Save (<CTRL> + S)

  • Delete the entire contents of a table

  • Change row content and press Enter (<ENTER>)

Explanation

Question 29 of 30

1

You need to create a piece of code that can be used by multiple programs.

Which of the following techniques for modularization does SAP recommend?

There are 2 correct answers to this question

Select one or more of the following:

  • A method in a global class

  • A function module in a function group

  • A method in a local class

  • A subroutine in a program

Explanation

Question 30 of 30

1

Where should the labels for fields be stored?

Select one of the following:

  • Table

  • Structure

  • Domain

  • Data element

  • Field

Explanation