ABAP Test 3

Description

ABAP 7.50 ABAP Quiz on ABAP Test 3, created by Antonio de Ancos Cid on 19/09/2017.
Antonio de Ancos Cid
Quiz by Antonio de Ancos Cid, updated more than 1 year ago More Less
Antonio de Ancos Cid
Created by Antonio de Ancos Cid over 6 years ago
Antonio de Ancos Cid
Copied by Antonio de Ancos Cid over 6 years ago
9
0

Resource summary

Question 1

Question
You display the content of an internal table using an ALV grid control. The content of the internal table changes during the program. Which CL_GUI_ALV_GRID class method can you use to display the changed content? Please choose the correct answer.
Answer
  • SET_TABLE_FOR_FIRST_DISPLAY in module PAI
  • REFRESH_TABLE_DISPLAY in module PAI
  • REFRESH_TABLE_DISPLAY in module PBO
  • SET_TABLE _FOR_FIRST_DISPLAY in module PBO

Question 2

Question
What is the predefined reference variable used in ABAP OO to address the object itself? Please choose the correct answer.
Answer
  • SELF
  • SUPER
  • ME
  • THIS

Question 3

Question
What do you need to have in your program to respond to the DOUBLE_CLICK event raised by an instance of the CL_GUI_ALV_GRID class? There are 3 correct answers to this question.
Answer
  • A CATCH statement to capture the event
  • A handler class
  • A handler method for the event
  • A SET HANDLER statement to register the handler to the event
  • A method to read the registration table

Question 4

Question
Which of the following Data Types are allowed in ABAP? There are 2 correct answers to this question.
Answer
  • DECFLOAT16
  • DECFLOAT34
  • DECFLOAT64
  • DECFLOAT32

Question 5

Question
What is the purpose of implicit enhancement points? Please choose the correct answer.
Answer
  • To add fields to an SAP database table
  • To create a secondary index for an SAP database table
  • To change code in a standard SAP program
  • To add code to a standard SAP program

Question 6

Question
When is a foreign key check performed on an input/output field? Please choose the correct answer.
Answer
  • If the field refers to the dictionary field for which a append search is defined
  • If the field refers to the dictionary field for which a value help is defined
  • If the field refers to the dictionary field for which a check table is defined
  • If the field refers to the dictionary field for which a search is defined

Question 7

Question
Which of the following customer modifications options are available in the table maintenance generator? There are 2 correct answers to this question.
Answer
  • Events
  • Search helps
  • Append searches
  • Maintenance screens

Question 8

Question
What process is used to establish the automatic transport of data between the view controller's context-attributes and the UI element in its layout? Please choose the correct answer.
Answer
  • View assembly
  • Data binding
  • Context mapping
  • Data migration

Question 9

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 class
  • In a function module
  • In a global interface
  • In a method of a global class

Question 10

Question
For which of the following purposes can you use the ABAP dictionary? There are 2 correct answers to this question.
Answer
  • To maintain program translations
  • To create development classes
  • To activate logging for transparent tables
  • To create lock objects

Question 11

Question
Which of the following values are replaceable in debugger mode? Please choose the correct answer.
Answer
  • Table names
  • Field names
  • Variables
  • Constants

Question 12

Question
What can you change in the ABAP Debugger? Please choose the correct answer.
Answer
  • Value of a reference variable
  • Definition of a structure
  • Content of an internal table
  • Value of a constant

Question 13

Question
A transport company keeps track of this availability in two tables, table VEHICLES and table TRANSPORT. To accept a new transport of a certain capacity must be found in table VEHICLES. If a record is found, a record is created in table TRANSPORT. The capacity is then adjusted in table VEHICLES.\ You have four function modules at your disposal. UPD_VEHI_A and UPD_VEHI_B update a matching report in table VEHICLES. If an error occurs both issue a message of type X. If no error occurs only UPD_VEHI_A issues a message of type X. If no error occurs UPD_VEHI_B issues a message of type I. UPD_TRAN_A and UPD_TRAN_B create a single record in table TRANSPORT. If an error occurs both issues a message of type X. If no error occurs only UPD_TRAN_A issues a message of type I. Which of the following function module calls ensures a single logical unit of work? Please choose the correct answer.
Answer
  • 1. UPD_TRAN_A 2. UPD_VEHI_B
  • 1. UPD_TRAN_B 2. UPD_VEHI_B
  • 1.UPD_VEHI_A 2.UPD_TRAN_B
  • 1.UPD_VEHI_A 2.UPD_TRAN_A

Question 14

Question
Which of the following enhancement options does not require any preparation from SAP? Please choose the correct answer.
Answer
  • Explicit enhancement sections
  • New BAdIs
  • Implicit enhancement point
  • Explicit enhancement point

Question 15

Question
How can you improve the performance when accessing a large data volume database table? Please choose the correct answer.
Answer
  • Apply the appropriate data class and size category.
  • Define appropriate indexes for the database table.
  • Change the table type in the dictionary.
  • Switch the database table to fully buffered.

Question 16

Question
You define a formal parameter to a subroutine that accepts only internal table of type standard and type sorted as actual parameters. Which of the following generic ABAP data types must you use? Please choose the correct answer.
Answer
  • Sorted table
  • Index table
  • Hashed table
  • Standard table

Question 17

Question
You want to develop a validation routine for a selection screen field. If a wrong value is entered into the field an error message should be displayed and the focus should move to the field. Which event do you use to achieve this? Please choose the correct answer.
Answer
  • START-OF-SELECTION
  • END-OF-SELECTION
  • AT SELECTION-SCREEN
  • INITIALIZATION

Question 18

Question
Which property of the InputField UI element must be bound to a context attribute? Please choose the correct answer.
Answer
  • state
  • enable
  • value
  • visible

Question 19

Question
Which of the following includes are generated when you create a function group? Please choose the correct answer.
Answer
  • LxxxxUXX
  • LxxxxO01
  • LxxxxF01
  • LxxxxTOP

Question 20

Question
Which SELECT statement will always bypass the SAP table buffers? Please choose the correct answer.
Answer
  • SELECT … INTO TABLE …
  • SELECT … SINGLE …
  • SELECT … ENDSELECT.
  • SELECT … FOR UPDATE …

Question 21

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

Question 22

Question
What happens when an authorization check fails? Please choose the correct answer.
Answer
  • The program is terminated.
  • A type E message is displayed.
  • The system field SY-SUBRC is set to a value other than zero.
  • A CX_AUTH_FAILED type exception is raised.

Question 23

Question
What do global types and local types have in common? Please choose the correct answer.
Answer
  • Technical information
  • Documentation
  • Search help
  • Field labels

Question 24

Question
To which context object is the attribute LEAD_SELECTION_INDEX related? Please choose the correct answer.
Answer
  • Element
  • Supply function
  • Node
  • Attribute

Question 25

Question
Which components belong to an elementary search help? There are 2 correct answers to this question.
Answer
  • Selection method
  • Attachment to a field
  • Fixed values
  • Import / export parameters

Question 26

Question
You want to define two database tables with different structures. Both tables should contain the fields CHANGE_DATE and CHANGE_TIME. How do you implement this in order to minimize the maintenance effort? Please choose the correct answer.
Answer
  • Define the two fields in each database table separately.
  • Define the two fields in one database table and copy them to the other database table.
  • Define a structure with these two fields and include this structure in both database tables.
  • Define an append structure with these two fields and assign this append structure to both database tables.

Question 27

Question
You want to check the user input in the field FIELD_NAME on a classical screen. If an incorrect value is entered, the user should be able to correct the field value. How do you call the module CHECK_MODULE in the PAI of the screen to accomplish this? Please choose the correct answer.
Answer
  • FIELD field_name MODULE check_module MESSAGE Ennn.
  • MODULE check_module ON ERROR.
  • FIELD field_name MODULE check_module.
  • CHAIN. MODULE check_module FIELD field_name. ENDCHAIN.

Question 28

Question
You want to translate dynamic text in a web dynpro. From which abstract class should you inherit? Please choose the correct answer.
Answer
  • CL_WD_CONFIGURATION_MODEL
  • CL_WD_CONTEXT_SERVICES
  • CL_WD_COMPONENT_SERVICES
  • CL_WD_COMPONENT_ASSISTANCE

Question 29

Question
Where can you set the GUI status and the GUI title for a classical screen (dynpro)? Please choose the correct answer.
Answer
  • In a module called from PAI of the screen
  • In the attributes of the screen
  • In the properties of the related header UI element
  • In a module called from PBO of the screen

Question 30

Question
When should you use a hashed internal table? There are 2 correct answers to this question.
Answer
  • When accessing always by primary key
  • When accessing using the left-justified part of the key
  • When accessing mainly single records
  • When accessing by secondary key

Question 31

Question
Which of the following enhancements calls a customer function module. There are 2 correct answers to this question.
Answer
  • Business Transaction event
  • User exit
  • Customer exit
  • Business Add-in (BADIs)

Question 32

Question
Which controller types can exist within a Web Dynpro component? There are 3 correct answers to this question.
Answer
  • Application controller
  • Component controller
  • View controller
  • User controller
  • Window controller

Question 33

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 34

Question
Which ABAP statement can make an element visible that you statically defined as invisible? Please choose the correct answer.
Answer
  • SCREEN-INVISIBLE = 1
  • SCREEN-INVISIBLE = 0
  • SCREEN-ACTIVE = 1
  • SCREEN-ACTIVE = 0

Question 35

Question
You always want to check the user authorization for data entered in an input field of a selection screen.Where do you do this? Please choose the correct answer.
Answer
  • In the event block AT SELECTION-SCREEN
  • In the event block INITIALIZATION
  • In the event block AT SELECTION-SCREEN on VALUE-REQUEST
  • In the event block AT SELECTION-SCREEN OUTPUT

Question 36

Question
dbtab is a transparent table. What is declared by the following statement? DATA myvar TYPE dbtab. Please choose the correct answer.
Answer
  • A reference to an internal table
  • An elementary field
  • A structure variable
  • An internal table

Question 37

Question
When do you need to use the GROUP BY clause in the SELECT statement? Please choose the correct answer.
Answer
  • If you want to redefine the sequence of the columns in the result set
  • If you want to use aggregate functions and at least one component in the field list is a column identifier
  • If you want to use ORDER BY to specify a sub-order
  • If you want to use aggregate functions and all components in the field list are aggregate functions

Question 38

Question
Which of the following items are used in a Web Dynpro Application to transport database data to the user interface? There are 2 correct answers to this question.
Answer
  • Supply function
  • Context node
  • Inbound plug
  • Interface controller

Question 39

Question
In a subclass, you want to redefine a method of the super class. Which of the following conditions must be fulfilled? There are 2 correct answers to this question.
Answer
  • The super class method is abstract
  • The subclass method has a lower visibility than the super class method
  • The superclass method is an instance method
  • The subclass method has same visibility as the super class method

Question 40

Question
You perform an update task using update function modules and detect an error in the program that calls the update function modules. Which statement can be used to discard all update requests for the current SAP LUW? There are 2 correct answers to this question.
Answer
  • ROLLBACK WORK.
  • MESSAGE axxx(nnn).
  • DELETE UPDATE.
  • MESSAGE exxx(nnn).
  • EXIT.

Question 41

Question
Compared to a predefined ABAP type what additional properties can be assigned to a domain? There are 3 correct answers to this question.
Answer
  • Search helps
  • Value tables
  • Fixed values
  • Conversion exits
  • Parameter IDs

Question 42

Question
Which of the following predefined ABAP types is incomplete? Please choose the correct answer.
Answer
  • XSTRING
  • P
  • STRING
  • F

Question 43

Question
You want to move a transport request from the development system to the subsequent system. Which of the following are prerequisites for this? There are 2 correct answers to this question.
Answer
  • The extended program check must show no warnings.
  • All tasks of the transport request must be assigned to the same user.
  • The transport request must be released.
  • All objects included in the transport request must be activated.

Question 44

Question
How do you add fields to an SAP-delivered transparent table without modification? Please choose the correct answer.
Answer
  • Define a structure containing the new fields and include it in the table definition.
  • Use the database utility to enhance the definition on the database directly.
  • Create an append structure containing the new fields.
  • Add the new fields to the table definition.

Question 45

Question
Why should you bundle database updates in your dialog programs? Please choose the correct answer.
Answer
  • To be able to rollback database changes performed in the same dialog step
  • To process the SAP LUW within the database LUW to ensure data consistency
  • To avoid database locks set by an SQL statement that persists until the end of the program
  • To allow you to use SAP locks to ensure data consistency

Question 46

Question
Which of the following are valid combinations of event visibility and handler method visibility? There are 2 correct answers to this question.
Answer
  • Private event and public handler
  • Private event and private handler
  • Public event and protected handler
  • Protected event and public handler

Question 47

Question
You want to create a transparent table in the ABAP dictionary. When the table is physically created in the database? Please choose the correct answer.
Answer
  • When you insert the table name and select create
  • When you run the database utility transaction (SE14)
  • When you save the table
  • When you activate the table

Question 48

Question
How do you embed a subscreen in a main screen? Please choose the correct answer.
Answer
  • Use CALL SUBSCREEN in a PBO module of the main screen.
  • Use SET SUBSCREEN in the flow logic of the main screen.
  • Use SET SUBSCREEN in a PBO module of the main screen.
  • Use CALL SUBSCREEN in the flow logic of the main screen.

Question 49

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

Question 50

Question
Which of the following ABAP data types are compatible with the generic character-type CLIKE? There are 3 correct answers to this question.
Answer
  • C
  • XSTRING
  • N
  • DECFLOAT
  • STRING

Question 51

Question
When are the changes to the VB* table transferred to the database? Please choose the correct answer.
Answer
  • When the update work process is executed
  • When the enqueue work process is executed
  • When an update function module is executed
  • When the main program is executed

Question 52

Question
You add the CREATE PROTECTED addition to a class definition. From where you can instantiate the class? There are 3 correct answers to this question.
Answer
  • From the class itself
  • From a friend class
  • From any protected class
  • From a parent class
  • From a child class

Question 53

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

Question 54

Question
A structure has enhancement category 3, can be enhanced (character-type). Which set of elementary types is allowed for the new fields? Please choose the correct answer.
Answer
  • D,I,string, T
  • F,I,P,X
  • C,D,N,T
  • C,D,N,X

Question 55

Question
Which of the following variables is the self-reference variable in ABAP OO? Please choose the correct answer.
Answer
  • THIS
  • ME
  • SENDER
  • SUPER

Question 56

Question
You are establishing the business logic layer for a Web Dynpro Component. Which service types are available in the Service Call wizard? There are 3 correct answers to this question.
Answer
  • Function module
  • Web service proxy
  • Transaction code
  • Function group
  • Class method

Question 57

Question
To which of the following you must assign newly created SAP repository objects? Please choose the correct answer.
Answer
  • Transport task
  • Function group
  • Transport request
  • Package

Question 58

Question
Which steps are needed when implementing the singleton concept for class instantiation with minimum coding? There are 3 correct answers to this question.
Answer
  • Define the class as abstract.
  • Create an event that returns the instance of the class.
  • Define the instantiation of the class as private.
  • Save the instance of the class in a static attribute.
  • Create an instance of the class in a static constructor.

Question 59

Question
What must you do to define a database view using the ABAP Dictionary? There are 3 correct answers to this question.
Answer
  • Define buffering settings for the underlying database tables.
  • Choose the fields from the tables that should be part of the view.
  • Define selection criteria for the view.
  • Choose the database tables from where the view acquires data.
  • Define the join conditions between the tables.

Question 60

Question
Using the screen system table, what can you modify through a LOOP AT SCREEN … ENDLOOP construct? Please choose the correct answer.
Answer
  • Values of screen elements
  • Function code of buttons
  • Screen status
  • Attributes of screen elements

Question 61

Question
You created a transparent table and during activation got a warning message "Enhancement category for table missing". What do you have to do to eliminate the warning message? Please choose the correct answer.
Answer
  • Select any option other than Not Classified from the enhancement category.
  • Provide the correct reference field for the Currency or Quantity field.
  • Change the Data Class and Size category in the technical settings.
  • Select the option Not Classified from the enhancement category.

Question 62

Question
Which of the following is an implicit enhancement? There are 2 correct answers to this question.
Answer
  • Private method
  • Pre-method
  • Overwrite method
  • Protected method

Question 63

Question
When you add programming logic to your ABAP program that checks authorizations,which of the following do you have to create? There are 2 correct answers to this question.
Answer
  • An authorization role
  • An authorization profile
  • An authorization Access
  • An authorization object

Question 64

Question
What is the root class in the RTTS inheritance tree? Please choose the correct answer.
Answer
  • CL_ABAP_DATADESCR
  • CL_ABAP_COMPLEXDESCR
  • CL_ABAP_ELEMDESCR
  • CL_ABAP_TYPEDESCR

Question 65

Question
You are writing a function module that will be called from external system via remote function call (RFC). How do you report an error back to the external caller? Please choose the correct answer.
Answer
  • Write the error data into a RECEIVING parameter that is passed by value.
  • Write the error data into a CHANGING parameters passed by value.
  • Write the error data into an EXPORTING parameters passed by reference.
  • Write the error data into TABLES parameters that is passed by reference.

Question 66

Question
Which of the following tools belong to the ABAP Workbench? There are 3 correct answers to this question.
Answer
  • Easy Access Menu
  • Class Builder
  • Function Builder
  • Screen Painter
  • Form Builder

Question 67

Question
How do you define an internal table in a private method of a class? There are 3 correct answers to this question.
Answer
  • DATA lt_itab TYPE <Dictionary Table>
  • DATA lt_itab TYPE <Table Type>
  • DATA lt_itab TYPE TABLE OF < Dictionary Table >
  • DATA lt_itab TYPE TABLE OF <Dictionary Table > WITH HEADER LINE
  • DATA lt_itab TYPE TABLE OF <Structure Type>

Question 68

Question
Which of the following steps are required to set up a shared memory area? There are 3 correct answers to this question.
Answer
  • Declare a catalog object
  • Enable multiple versions of an area root class
  • Set the root object
  • Call the attach_for_write method of area root class
  • Generate an area root class

Question 69

Question
You defined data reference z1 generically. Which statement would you use to access the content of the referenced variable? Please choose the correct answer.
Answer
  • Assign z1 to <fs>
  • Assign z1->* to <fs>
  • Get reference of z1 into wa
  • Assign (z1) to <fs>

Question 70

Question
What options do you have when setting a watchpoint? There are 2 correct answers to this question.
Answer
  • Stop at predefined conditions for all variables.
  • Stop at predefined conditions for a specific variable.
  • Stop at any change of all variables.
  • Stop at any change of a specific variable.

Question 71

Question
Which view types can you use to join two tables with an outer join? There are 2 correct answers to this question.
Answer
  • Help view
  • Database view
  • Projection view
  • Maintenance view

Question 72

Question
You define a generic variable that can hold the ABAP types C, D, N, STRING, and T. You want to restrict the use of other ABAP types. Which generic data type must you use in the definition? Please choose the correct answer.
Answer
  • SIMPLE
  • CSEQUENCE
  • DATA
  • CLIKE

Question 73

Question
DOG is a subclass of ANIMAL. You have created a variable of type ANIMAL that references an instance of the DOG class. Which of the following statements can you use to copy this reference to a new variable of type DOG? Please choose the correct answer.
Answer
  • MOVE…. TO…..
  • WRITE……TO……
  • MOVE……?TO……
  • MOVE-CORRESPONDING…… TO……

Question 74

Question
What can you create using the ABAP Dictionary? There are 3 correct answers to this question.
Answer
  • Internal tables
  • Domains
  • Transparent tables
  • Type pools
  • Field symbols

Question 75

Question
You want to use a BAdI to extend the functions of an SAP program. Which of the following tasks is necessary? Please choose the correct answer.
Answer
  • Define an interface for the BAdI.
  • Implement a class that implements the BAdI interface.
  • Create an enhancement project using a customer exit.
  • Call the BAdI.

Question 76

Question
Which parameter types can be used in the signature of a functional method? There are 2 correct answers to this question.
Answer
  • RETURNING
  • EXPORTING
  • IMPORTING
  • CHANGING

Question 77

Question
You use Unified Modelling language (UML) to design your classes. You want to describe the message exchange between objects. Which diagram can you use? Please choose the correct answer.
Answer
  • Object diagram
  • Sequence diagram
  • Component diagram
  • Class diagram

Question 78

Question
How can you declare an internal table using the transparent table A as its line type? Please choose the correct answer.
Answer
  • DATA gt_itab TYPE LINE OF a.
  • DATA gt_itab TYPE REF TO a.
  • DATA gt_itab TYPE a.
  • DATA gt_itab TYPE TABLE OF a.

Question 79

Question
In an ABAP program, you to assign an initial value to an elementary data object when you define it. Which addition must you use? Please choose the correct answer.
Answer
  • DEFAULT
  • OBLIGATORY
  • VALUE
  • READ-ONLY

Question 80

Question
You want to include an element of type ‘Table’ in your web dynpro. What actions add the corresponding columns to the table automatically? Please choose the correct answer.
Answer
  • Generate a ‘BIND_TABLE’ method using the web dynpro method wizard.
  • Right click the table and select the ‘CREATE_BINDING’ option.
  • Include the method BIND_TABLE of IF_WD_CONTEXT_NODE.
  • Bind the table attribute ‘DATA_SOURCE’ to the context node.
Show full summary Hide full summary

Similar

E_HANAAW_14 ABAP for SAP HANA
ERNESTO L MARQUEZ F
Reducing the Impact of Earthquakes
siobhan.quirk
Ratios Quiz
rory.examtime
Formula for Physics IGCSE edexcel
amayagn
Geography - Unit 1A
NicoleCMB
A-Level Chemistry: Atomic Structure
cian.buckley+1
An Inspector calls Themes
anya14
AQA GCSE Physics Unit 2.3
Matthew T
Summary of AS Psychology Unit 1 Memory
Asterisked
ASSD & PSBD QUESTION 2018 200
Dhiraj Tamang
AAHI_Card set 6 (Terms of movement)
Tafe Teachers SB