ABAP 2

Description

ABAP ABAP 7.50 Quiz on ABAP 2, created by Jose Bermejo on 19/11/2019.
Jose Bermejo
Quiz by Jose Bermejo, updated more than 1 year ago
Jose Bermejo
Created by Jose Bermejo over 4 years ago
1162
1

Resource summary

Question 1

Question
What options do you have when setting a watchpoint? There are 2 correct answers to this question.
Answer
  • 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

Question 2

Question
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.
Answer
  • Protected
  • Private
  • Abstract
  • Final

Question 3

Question
Where can you define global data types that are visible system-wide? There are 3 correct answers to this question.
Answer
  • In the ABAP Dictionary
  • In a global interface
  • In a function module
  • In a method of a global class
  • In a global class

Question 4

Question
When you define local classes in ABAP, which syntactical sequence must you follow? Please choose the correct answer.
Answer
  • The order is handled automatically
  • PUBLIC SECTION, PROTECTED SECTION, PRIVATE SECTION
  • PRIVATE SECTION, PROTECTED SECTION, PUBLIC SECTION
  • The order doesn’t matter

Question 5

Question
Which of the following structures is created when you use a table type to define one of its components?
Answer
  • Nested structure
  • Append structure
  • Flat structure
  • Deep structure

Question 6

Question
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
Answer
  • In a method
  • In a global class
  • In a function module
  • In the ABAP dictionary

Question 7

Question
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?
Answer
  • Internal table
  • Pooled table
  • Transparent table
  • Cluster table

Question 8

Question
How do you use a sorted internal table? There are 2 correct answers to this question
Answer
  • 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

Question 9

Question
What are the advantages of defining texts symbols in executable programs? There are 2 correct answers to this question
Answer
  • 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

Question 10

Question
Global data types defined in SAP systems are… Please choose the correct answer.
Answer
  • 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

Question 11

Question
Which of the following is correct? Please choose the correct answer.
Answer
  • 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

Question 12

Question
Which statement is used to generically define the data reference variable z1? Please choose the correct answer.
Answer
  • data z1 type any table
  • data z1 type ref to data
  • data z1 type ref to PA0001
  • data z1 type any

Question 13

Question
Which of the following ABAP statements throws an error at the syntax check? Please choose the correct answer.
Answer
  • DATA variable(5) TYPE p
  • DATA variable
  • DATA variable(5) TYPE n
  • DATA variable(5) TYPE t

Question 14

Question
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.
Answer
  • 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

Question 15

Question
Which of the following statements are true? There are 2 correct answers to this question.
Answer
  • 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

Question 16

Question
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.
Answer
  • WHERE city LIKE ‘_BU’
  • WHERE city LIKE ‘%BU%’
  • WHERE city LIKE ‘%BU*’
  • WHERE city LIKE ‘*BU*’

Question 17

Question
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.
Answer
  • Sorted and hashed
  • Standard and hashed
  • Standard, sorted, and hashed
  • Standard and sorted

Question 18

Question
Which statements are allowed for processing internal tables? There are 3 correct answers to this question.
Answer
  • MODIFY
  • UPDATE
  • DELETE
  • INSERT
  • SELECT

Question 19

Question
What type of ABAP Dictionary view is implemented as an INNER JOIN?
Answer
  • Maintenance view
  • Database view
  • Help view
  • Projection view

Question 20

Question
What is the correct order for using a lock object?
Answer
  • 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

Question 21

Question
You want to create a transparent table in the ABAP dictionary. When the table is physically created in the database?
Answer
  • 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

Question 22

Question
What are the advantages of modularization? There are 3 correct answers to this question
Answer
  • Transparency
  • Profitability across DBMS
  • Maintainability
  • Reusability
  • Performance

Question 23

Question
Which prerequisites must be fulfilled before a repository object can be transported? There are 3 correct answers to this question
Answer
  • 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.

Question 24

Question
What types of changes to the repository does SAP provide? There are 3 correct answers to this question.
Answer
  • Support Packages
  • Enhancement Packages
  • Deployments from SDN.SAP.COM
  • SAP Notes
  • Transports

Question 25

Question
How can you improve the performance when accessing a large data volume database table? Please choose the correct answer.
Answer
  • 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

Question 26

Question
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.
Answer
  • 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

Question 27

Question
What are characteristics of a hashed internal table? There are 2 correct answers to this question.
Answer
  • 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.

Question 28

Question
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.
Answer
  • 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>)

Question 29

Question
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
Answer
  • A method in a global class
  • A function module in a function group
  • A method in a local class
  • A subroutine in a program

Question 30

Question
Where should the labels for fields be stored?
Answer
  • Table
  • Structure
  • Domain
  • Data element
  • Field
Show full summary Hide full summary

Similar

Gender Theorists
Hazel Meades
Nazi Germany Dates
Georgina.Smith
An Inspector calls Themes
anya14
Chemical Symbols
Keera
GCSE English Language Overview
philip.ellis
Psychology flashcards memory
eharveyhudl
Physical Description
Mónica Rodríguez
Roles of Education
Isobel Wagner
Bowlby's Theory of Attachment
Jessica Phillips
AN ECONOMIC OVERVIEW OF IRELAND AND THE WORLD 2015/16
John O'Driscoll
Creating Mind Maps with GoConqr
Sarah Egan