ABAP - Simulado 04

51 Questions | Total Attempts: 237

Settings
Please wait...
ABAP Quizzes & Trivia

.


Questions and Answers
  • 1. 
    Which ABAP statement can make an element visible that you statically defined as invisible?Please choose the correct answer.Response:
    • A. 

      SCREEN-INVISIBLE = 1

    • B. 

      SCREEN-ACTIVE = 0

    • C. 

      SCREEN-ACTIVE = 1

    • D. 

      SCREEN-INVISIBLE = 0

  • 2. 
    • A. 

      Perform a program-related global search for a customer exit

    • B. 

      Perform a program-related global search for GET BADI.

    • C. 

      Select from the list of freely selected BAdIs or enhancement spots in the Repository Information System.

    • D. 

      Select from the list of applicationrelated BAdIs or enhancement spots in the SAP Application Hierarchy.

    • E. 

      Search for a Business Transaction Event in the Customizing tree (transaction SPRO).

  • 3. 
    • Which hook method exists for all controller types?
    • Please choose the correct answer.
    • A. 

      Wddoonopen( )

    • B. 

      Wddobeforenavigation( )

    • C. 

      Wddoonclose( )

    • D. 

      Wddoinit( )

  • 4. 
    • A. 

      A type C data object with the value '1.50E4' to a type I data object DATA gv_c(6) TYPE c VALUE '1.50E4', DATA gv_i TYPE i. gv_i = gv_c.

    • B. 

      A type C data object with the value '123' to a type C data object with length 2 DATA gv_c3(3) TYPE c VALUE '123'. DATA gv_c2(2) TYPE c. gv_c2 = gv_c3.

    • C. 

      A type P data object to a type F data object DATA gv_p TYPE p VALUE '15000', DATA gv_f TYPE f. gv_f = gv_p.

    • D. 

      An XSTRING type data object to a STRING type data object DATA gv_xstring TYPE xstring, DATA gv_string TYPE string. gv_xstring = 'AF00'. gv_string = gv_xstring.

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

      Data z1 type ref to PA0001

    • B. 

      Data z1 type ref to data

    • C. 

      Data z1 type any

    • D. 

      Data z1 type any table

  • 6. 
    • 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
    • A. 

      Change the Data Class and Size category in the technical settings.

    • B. 

      Provide the correct reference field for the Currency or Quantity field.

    • C. 

      Select the option Not Classified from the enhancement category.

    • D. 

      Select any option other than Not Classified from the enhancement category

  • 7. 
    • Which statement ends a screen sequence and starts from initial screen?
    • Please choose the correct answer.
    • A. 

      LEAVE SCREEN

    • B. 

      LEAVE TO SCREEN

    • C. 

      SET SCREEN 0

    • D. 

      CALL SCREEN

  • 8. 
    • 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.
    • A. 

      The subclass method has same visibility as the super class method

    • B. 

      The subclass method has a lower visibility than the super class method

    • C. 

      The superclass method is an instance method

    • D. 

      The super class method is abstract

  • 9. 
    • Which of the following transactions are integrated in the ABAP workbench tools?
    • There are 2 correct answers to this question.
    • A. 

      ABAP editor (SE38)

    • B. 

      Overview of job selection (SM37)

    • C. 

      Class builder (SE24)

    • D. 

      Process overview (SM50)

  • 10. 
    • 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.
    • A. 

      Object diagram

    • B. 

      Component diagram

    • C. 

      Sequence diagram

    • D. 

      Class diagram

  • 11. 
    • When are the changes to the VB* table transferred to the database?
    • Please choose the correct answer.
    • A. 

      When the main program is executed

    • B. 

      When an update function module is executed

    • C. 

      When the enqueue work process is executed

    • D. 

      When the update work process is executed

  • 12. 
    • 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.
    • A. 

      A method to read the registration table

    • B. 

      A handler method for the event

    • C. 

      A SET HANDLER statement to register the handler to the event

    • D. 

      A CATCH statement to capture the event

    • E. 

      A handler class

  • 13. 
    • You want to add a field type CURR to a transparent table. What else must you do?
    • Please choose the correct answer.
    • A. 

      Create a reference to a field of type CUKY

    • B. 

      Add a check table that contains a field of type CUKY

    • C. 

      Create a new field CUKY as a predefined type

    • D. 

      Add a key fieldof type CUKY

  • 14. 
    • 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.
     
    • A. 

      CHAIN. MODULE check_module FIELD field_name. ENDCHAIN

    • B. 

      MODULE check_module ON ERROR

    • C. 

      FIELD field_name MODULE check_module MESSAGE Ennn.

    • D. 

      FIELD field_name MODULE check_module.

  • 15. 
    • To which of the following you must assign newly created SAP repository objects?
    • Please choose the correct answer.
     
    • A. 

      Function group

    • B. 

      Transport request

    • C. 

      Package

    • D. 

      Transport task

  • 16. 
    • A. 

      SELECT*FROM users INTO TABLE It_users WHERE first name = users »last_name.

    • B. 

      SELECT*FROM users AS a INTO TABLE It_users WHERE a»first_name = a»last_name

    • C. 

      SELECT*FROM users INTO TABLE It_users WHERE first_name = users last_name

    • D. 

      SELECT*FROM users AS a INTO TABLE It_users WHERE a first_name = last_name

  • 17. 
    • 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.
    • A. 

      MOVE-CORRESPONDING…… TO……

    • B. 

      MOVE……? TO……

    • C. 

      WRITE……TO……

    • D. 

      MOVE…. TO…..

  • 18. 
    To which context object is the attribute LEAD_SELECTION_INDEX related?
    • A. 

      Node

    • B. 

      Attribute

    • C. 

      Element

    • D. 

      Supply function

  • 19. 
    • 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.
     
    • A. 

      OBLIGATORY

    • B. 

      READONLY

    • C. 

      DEFAULT

    • D. 

      VALUE

  • 20. 
    What is the root class in the RTTS inheritance tree?Please choose the correct answer. 
    • A. 

      CL_ABAP_DATADESCR

    • B. 

      CL_ABAP_COMPLEXDESCR

    • C. 

      CL_ABAP_ELEMDESCR

    • D. 

      CL_ABAP_TYPEDESCR

  • 21. 
    • Which of the following values are replaceable in debugger mode?
    • Please choose the correct answer.
    • A. 

      Table names

    • B. 

      Field names

    • C. 

      Constants

    • D. 

      Variables

  • 22. 
    • A. 

      From a friend class

    • B. 

      From a child class

    • C. 

      From a parent class

    • D. 

      From any protected class

    • E. 

      From the class itself

  • 23. 
    How can you maintain documentation for input fields on your screen?Please choose the correct answer.
    • A. 

      Add documentation to the SCREEN table at PROCESS AFTER INPUT (PAI).

    • B. 

      Add documentation to the underlying data element

    • C. 

      Add documentation to the SCREEN table at PROCESS BEFORE OUTPUT (PBO).

    • D. 

      Define text tables for the underlying structure.

  • 24. 
    You want to create a transparent table.Which of the following must you define to activate the table?There are 3 correct answers to this question.Response:
    • A. 

      The primary key

    • B. 

      A delivery class

    • C. 

      A short description

    • D. 

      The MANDT field

    • E. 

      The foreign key

  • 25. 
    What can you use to achieve polymorphism?Please choose the correct answer.
    • A. 

      Events

    • B. 

      Inheritance

    • C. 

      Subroutines

    • D. 

      Reports

  • 26. 
    • 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.
    • A. 

      In the event block AT SELECTION-SCREEN

    • B. 

      In the event block AT SELECTION-SCREEN-OUTPUT

    • C. 

      In the event block INITIALIZATION

    • D. 

      In the event block AT SELECTION-SCREEN on VALUEREQUEST

  • 27. 
    • A. 

      Add a client-side event in the view

    • B. 

      Create and link plugs between the views

    • C. 

      Edit the handler method in the view controller

    • D. 

      Set the interface property for key fields

  • 28. 
    • A. 

      Right click the table and select the ‘CREATE_BINDING’ option

    • B. 

      Bind the table attribute ‘DATA_SOURCE’ to the context node

    • C. 

      Generate a ‘BIND_TABLE’ method using the web dynpro method wizard.

    • D. 

      Include the method BIND_TABLE of IF_WD_CONTEXT_NODE.

  • 29. 
    • When should you use a hashed internal table?
    • There are 2 correct answers to this question.
    • A. 

      When accessing mainly single records

    • B. 

      When accessing by index

    • C. 

      When accessing by secondary key

    • D. 

      When accessing always by primary key

    • E. 

      When accessing using the lef-tjustified-part of the key

  • 30. 
    • 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.
    • A. 

      DATA

    • B. 

      CSEQUENCE

    • C. 

      SIMPLE

    • D. 

      CLIKE

  • 31. 
    • Which parameter types can be used in the signature of a functional method?
    • There are 2 correct answers to this question.
    • A. 

      CHANGING

    • B. 

      IMPORTING

    • C. 

      EXPORTING

    • D. 

      RETURNING

  • 32. 
    • What process is used to establish the automatic transport of data between the view
    • controller's contextattributes
    • and the UI element in its layout?
    • Please choose the correct answer.
    • A. 

      View assembly

    • B. 

      Data binding

    • C. 

      Context mapping

    • D. 

      Data migration

  • 33. 
    • How do you embed a subscreen in a main screen?
    • Please choose the correct answer.
    • A. 

      Use CALL SUBSCREEN in a PBO module of the main screen

    • B. 

      Use CALL SUBSCREEN in the flow logic of the main screen.

    • C. 

      Use SET SUBSCREEN in the flow logic of the main screen

    • D. 

      Use SET SUBSCREEN in a PBO module of the main screen.

  • 34. 
    • Which desktops are part of the new ABAP debugger?
    • There are 3 correct answers to this question.
    • A. 

      Session

    • B. 

      Objects

    • C. 

      Desktop 1

    • D. 

      Break./Watchpoints

    • E. 

      List

  • 35. 
    • Which of the following ABAP data types are compatible with the generic charactertype
    • CLIKE?
    • There are 3 correct answers to this question.
    • A. 

      C

    • B. 

      DECFLOAT

    • C. 

      STRING

    • D. 

      XSTRING

    • E. 

      N

  • 36. 
    • Which property of the InputField UI element must be bound to a context attribute?
    • Please choose the correct answer.
    • A. 

      Value

    • B. 

      State

    • C. 

      Enable

    • D. 

      Visible

  • 37. 
    What process is used to establish the automatic transport of data between the viewcontroller's contextattributesand the UI element in its layout?Please choose the correct answer.Response:
    • A. 

      Data binding

    • B. 

      Data migration

    • C. 

      Context mapping

    • D. 

      View assembly

  • 38. 
    • Which of the following must you do to be able to use a Business Addin(BADI)?
    • There are 2 correct answers to this question
    • A. 

      Modify the adapter class

    • B. 

      Write code for methods

    • C. 

      Activate the enhancement project

    • D. 

      Create the BADI implementation

  • 39. 
    • Which of the following features do you have to consider when you use shared objects?
    • There are 3 correct answers to this question.
    • A. 

      Concurrent read accesses are supported

    • B. 

      Data is saved as attributes of objects

    • C. 

      Memory bottlenecks result in runtime errors and have to be caught

    • D. 

      Concurrent write accesses are supported

    • E. 

      Data is saved as tables of objects

  • 40. 
    • Which of the following characters is the first of a menu exit function code?
    • Please choose the correct answer.
    • Response:
    • A. 

      &

    • B. 

      +

    • C. 

      *

    • D. 

      -

  • 41. 
    • Which of the following ABAP standard types are numeric?
    • There are 3 correct answers to this question.
    • Response:
    • A. 

      P

    • B. 

      N

    • C. 

      I

    • D. 

      D

    • E. 

      F

  • 42. 
    • Which of the following ABAP standard types are incomplete?
    • There are 2 correct answers to this question.
    • Response:
    • A. 

      N

    • B. 

      X

    • C. 

      F

    • D. 

      STRING

  • 43. 
    • What must you do to define a database view using the ABAP Dictionary?
    • There are 3 correct answers to this question.
    • Response:
    • A. 

      Choose the fields from the tables that should be part of the view.

    • B. 

      Choose the database tables from where the view acquires data.

    • C. 

      Define buffering settings for the underlying database tables.

    • D. 

      Define selection criteria for the view.

    • E. 

      Define the join conditions between the tables.

  • 44. 
    • How can you declare an internal table using the transparent table A as its line type?
    • Please choose the correct answer.
    • Response:
    • A. 

      DATA gt_itab TYPE a.

    • B. 

      DATA gt_itab TYPE LINE OF a.

    • C. 

      DATA gt_itab TYPE REF TO a.

    • D. 

      DATA gt_itab TYPE TABLE OF a.

  • 45. 
    • You want to create a transparent table.
    • Which of the following must you define to activate the table?
    • There are 3 correct answers to this question.
    • Response:
    • A. 

      The foreign key

    • B. 

      A delivery class

    • C. 

      The MANDT field

    • D. 

      The primary key

    • E. 

      A short description

  • 46. 
    • For which of the following requirements can you implement a functional method?
    • There are 2 correct answers to this question.
    • Response:
    • A. 

      A handler method for an event that has a returning parameter

    • B. 

      A private static helper method that returns a single value as the result of an algorithm

    • C. 

      A method to set an instance attribute with one importing parameter and no other parameters

    • D. 

      A factory method that returns an object reference

  • 47. 
    • 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.
    • Response:
    • A. 

      MESSAGE axxx(nnn).

    • B. 

      ROLLBACK WORK.

    • C. 

      DELETE UPDATE

    • D. 

      MESSAGE exxx(nnn).

    • E. 

      EXIT

  • 48. 
    • Which components belong to an elementary search help?
    • There are 2 correct answers to this question.
    • Response:
    • A. 

      Selection method

    • B. 

      Attachment to a field

    • C. 

      Import / export parameters

    • D. 

      Fixed values

  • 49. 
    Which of the following structures is created when you use a table type to define one of itscomponents?Please choose the correct answer.Response:
    • A. 

      Deep structure

    • B. 

      Flat structure

    • C. 

      Nested structure

    • D. 

      Append structure

  • 50. 
    What must you do to define a database view using the ABAP Dictionary?There are 3 correct answers to this question.Response:
    • A. 

      Choose the database tables from where the view acquires data.

    • B. 

      Choose the fields from the tables that should be part of the view.

    • C. 

      Define selection criteria for the view.

    • D. 

      Define the join conditions between the tables.

    • E. 

      Define buffering settings for the underlying database tables

  • 51. 
    • A. 

      Create and link plugs between the views

    • B. 

      Edit the handler method in the view controller

    • C. 

      Add a client-side event in the view

    • D. 

      Set the interface property for key fields