Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

ABAP QUESTION BANK

1. Which of the following must you do to be able to use a Business Add-in(BAdi)?


Note: There are 2 correct answers to this question

o Activate the enhancement project


o Write code for methods
o Modify the adapter class
o Create the BADI implementation

2. What is the predefined reference variable used in ABAP OO-Object oriented to address
the object itself?

o THIS
o SUPER
o SELF
o ME

3. You have two web Dynpro components controller A and B. A uses B for display
functions.
Which of the following describe the external context mapping between A and B?
Note: There are 2 correct answers to this question

o The ‘interface node’ property is set on context nodes of B


o The mapping target is defined on the context node of A
o The mapping origin is defined on the context node of A
o The ‘interface node’ property is set on the context node of A

4. You want to create a transparent table.


Which of the following must you define to activate the table?
Note: There are 3 correct answers to this question

o The primary key


o The foreign key
o A short description
o A delivery class
o The mandt field
o Data browser/table view maint.
5. Which of the following structures is created when you use a table type to define one of
its components?

o Append structure
o Deep structure
o Flat structure
o Nested structure

6. What does SAP recommend that you use a hashed table?

o When a table must be accessible by both index and key


o When a table be sorted automatically by key in ascending order
o When a table is very large and you want to access the table by key only
o When a table is very large and you want to access the table by index only

7. When would you call the RFC function module synchronously?


Note: There are 2 correct answers to this question

o During queue processing


o During interactive communication
o During unidirectional communication
o During two-way communication

8. Which of the following ABAP statements throws an error at the syntax check?

o DATA variable.
o DATA variable(5) TYPE n.
o DATA variable(5) TYPE p.
o DATA variable(5) TYPE t.

9. Which of the following values are replaceable in debugger mode?

o Constants
o Variables
o Table names
o Field names

10. To which of the following you must assign newly created SAP repository objects?
o Transport task
o Function group
o Transport request
o Package

11. Which of the following function types in GUI status are reserved for internal use?
Note: There are 2 correct answers to this question

o S-SYSTEM
o E-EXIT
o H-HELP REQUEST
o T-TRANSACTION

12. Which of the following customer modifications options are available in the table
maintenance generator?
Note: There are 2 correct answers to this question

o Search helps
o Maintenance screens
o Append search
o Events
o Automatic function module

13. You want to include an elements of type ‘table’ in your web Dynpro
Which actions add the corresponding columns to the table automatically?

o Include the method BIND_TABLE of IF_WD_CONTEXT_NODE


o Bind the table attribute ‘DATA_SOURCE’ to the context node
o Right click the table and select the ‘CREATE_BINDING’ option
o Generate a ‘BIND_TABLE’ method using the web Dynpro method wizard

14. You want to add a field ZZPRICE to the SAP standard transparent table EKKO.
Which of the following actions result in an enhancement of the SAP standard?
Note: There are 2 correct answers to this question

o Create an append structure and add ZZPRICE to it.


o Insert ZZPRICE at the end of the table
o Add ZZPRICE to the customizing include for the table
o Insert ZZPRICE into an SAP structure for the table

15. Whichtype of transport task is used when you modify SAP standard objects?

o Development/Correction
o Workbench
o Transport of copies
o Repair

16. Using the screen system table, what can you modify through a LOOP AT SCREEN ……
ENDLOOP construct?

o Values of screen elements


o Screen status
o Attributes of screen elements
o Function code of buttons

17. You use unified modelling language (UML) to design your classes. You want to
describe the message exchange between objects.
Which diagram can you use?

o Object diagram
o Class diagram
o Component diagram
o Sequence diagram

18. Which action on the underlying dictionary objects triggers a database table
conversion?

o Inserting an APPEND structure


o Changing the order of non-key fields
o Inserting a field of type reference
o Reducing the size of the field
19. When are the changes to the VB* table transferred to the database?p-105 10-1

o When the main program is executed


o When the queue work process is executed
o When an update function module is executed
o When the update work process is executed

20. Which view type can you use to join two tables with an outer join?
Note: There are 2 correct answers to this question

o Database view
o Projection view
o Maintenance view
o Help view

21. In a subclass, you want to redefine a method of the supserclass


Which of the following conditions must be fulfilled?
Note: There are 2 correct answers in this questions

o The subclass method has a lower visibility than the super class method
o The super class method is abstract
o The super class method is an instance method
o The subclass method has same visibility as the super class method

22. A structure has enhancement category 3, can be enhanced (character-type).


Which set of elementary types is allowed for the new fields?

o C, D, N, T
o C, D, N, X
o D, I, STRING, T
o F, I, P, X

23. Which of the following enhancements calls a customer function module


Note: There are 2 correct answers to this question
o Customer exit
o User exit
o Business transaction event
o Business Add-in (BADIs)

24. When is a foreign key check performed on an input/output field?

o If the field refers to the dictionary field for which a check table is defined
o If the field refers to the dictionary field for which a append search is defined
o If the field refers to the dictionary field for which a search is defined
o If the field refers to the dictionary field for which a value help is defined

25. Which statement ends a screen sequence and starts from initial screen?

o CALL SCREEN
o LEAVE TO SCREEN
o SET SCREEN 0
o LEAVE SCREEN

26. How can you add a session breakpoint to your program?


Note: There are 2 correct answers to this question.

o Set a breakpoint in the ABAP editor


o Execute command /h
o Set a breakpoint in the ABAP debugger and select Save.
o Set a breakpoint in the ABAP debugger and press F8

27. Which of the following transactions are integrated in the ABAP workbench tools?
Note: There are 2 correct answers to this question.

o Overview of job selection (SM37)


o Class builder (SE24)
o ABAP editor (SE38)
o Process overview (SM50)

28. Which of the following transactions can you use to define transparent tables?

o SE16N
o SM37
o SE11
o SE38

29. Which of the following is an implicit enhancement?


Note: There are 2 correct answers to this question.

o Private method
o Overwrite method
o Pre-method
o Protected method

30. Which of the following are fully-specified internal table types?


Note: There are 2 correct answers to this question.

o Hashed
o Any
o Standard
o Index

31. You want to translate dynamic text in a web Dynpro.


From which abstract class should you inherit?

o CL_WD_CONTEXT_SERVICES
o CL_WD_COMPONENT_ASSISTANCE
o CL_WD_COMPONENT_SERVICES
o CL_WD_CONFIGURATION_MODEL

32. You want to identify the context changes


o CL_WD_CONTEXT_SERVICES
o CL_WD_COMPONENT_ASSISTANCE
o CL_WD_COMPONENT_SERVICES
o CL_WD_CONFIGURATION_MODEL

33. Whichof the following items are used in a Web Dynpro Application to transport
database data to the user interface?
Note: There are 2 correct answers to this question

o Inbound plug
o Interface controller
o Context node
o Supply function

34. Whichof the following are valid combinations of event visibility and handler method
visibility?
Note: There are 2 correct answers to this question

o Public event and protected handler


o Protected event and public handler
o Private event and public handler
o Private event and private handler

35. In which controller type can you embed a service call?

o Component controller
o Custom controller
o Interface c1ontroller
o View controller
o Configuration controller

36. For which of the following purposes can you use the ABAP dictionary?
Note: There are 2 correct answers to this question

o To create development classes


o To activate logging for transparent tables
o To create lock objects
o To maintain program translations

37. You add the CREATE PROTECTED addition to a class definition.


From where you can instantiate the class?
Note: There are 3 correct answers to this question

o From a parent class


o From a child class
o From a friend class
o From any protected class
o From the class itself

38. The component interface of a Web Dynpro component contains three interface views.
Which of the following controllers must also exist?

o Three component controllers


o Three window controllers
o One configuration controller
o One custom controller

39. You have created a Web Dynpro view that shows data for airline connections between
cities. You want to display flight data for a specific date in a different view after the
user select a date and presses a button.
Which of the following actions you must perform?
Note: There are 2 correct answers to this question

o Set the interface property for key fields


o Edit the handler method in the view controller
o Add a client-side event in the view
o Create and link plugs between the views

40. Which of the following ABAP standard types are incomplete?


Note: There are 2 correct answers to this question

o N
o STRING
o F
o X

41. Youwant 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?

o AT SELECTION-SCREEN
o START-OF-SELECTION
o INITIALIZATION
o END-OF-SELECTION

42. 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?

o Hashed table
o Standard table
o Index table
o Sorted table

43. Which of the following characters is the first of a menu exit function code?

o –
o &
o +
o *

44. Howwould you define a method of an ABAP class to prevent this method from being
available in a subclass?
o Final
o Private
o Abstract
o Protected

45. 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?

o WHERE city LIKE ‘*BU*’


o WHERE city LIKE ‘_BU’
o WHERE city LIKE ‘%BU%’
o WHERE city LIKE ‘+BU+’

46. Which of the following capabilities is provided by the Application Layer platform of
SAP Net weaver?18

o Business process management


o Multi-channel access
o Database and operating system abstraction
o Master data management

47. What can be exposed in the component interface of a Web dynpro component?

o Custom methods of the component controller


o Context nodes of WINDOW controllers
o Standard hook methods of the component controller
o Public attributes of WINDOW controllers

48. How do you define an internal table in a private method of a class?


Note: There are 3 correct answers to this question

o DATA lt_itab TYPE TABLE OF <Structure Type>


o DATA lt_itab TYPE <Dictionary Table>
o DATA lt_itab TYPE <Table Type>
o DATA lt_itab TYPE TABLE OF < Dictionary Table >
o DATA lt_itab TYPE TABLE OF < Dictionary Table > WITH HEADER LINE
49. 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?

o MOVE…. TO…..
o MOVE……?TO……
o WRITE……TO……
o MOVE-CORRESPONDING…… TO……

50. Which of the following are valid control level changes within a loop over an internal
table?
Note: There are 2 correct answers to this question.

o SUM
o COLLECT
o END of <f>
o LAST
o First
o New
o At first
o At last
o At new

51. Which of the following can you use to enhance SAP standard tables and structures
with fields?
Note: there are 2 correct answers to this question.

o Append structures
o Field exits
o Customizing includes
o Append search helps

52. Which ABAP statement can make an element visible that you statically defined as
invisible?
o SCREEN-INVISIBLE = 1
o SCREEN-ACTIVE = 1
o SCREEN-ACTIVE = 0
o SCREEN-INVISIBLE = 0

53. When does SAP recommend that you use a full buffering type for a database table?

o When the table is small and frequently written


o When the table is small and seldom written
o When the table is large and frequently written
o When the table is large and seldom written

54. Which of the following types of SQL statements always bypass the SAP table buffers?
Note: there are 2 correct to this question

o SELECT SUM (sales)


o SELECT SINGLE
o SELECT … UP TO 1 ROW
o SELECT … INNER JOIN…

55. When you add programming logic to your ABAP program that checks authorizations,
which of the following do you have to create?
Note: There are 2 answers to this question.

o An authorization object
o An authorization field
o An authorization profile
o An authorization role

56. Which of the following steps are required to set up a shared memory area?
Note: There are 3 correct answers to this question.

o Generate an area root class


o Declare a catalog object
o Set the root object
o Enable multiple versions of an area root class
o Call the attach_for_write method of area root class

57. Which of the following can you do with the SAP code inspector?

o Monitor runtime behavior


o Monitor background tasks
o Perform static code checks
o Analyze runtime data.

58. You want to move a transport request from the development system to the
subsequent system.
Which of the following are prerequisites for this?
Note: There are 2 correct answers to this question.

o The extended program check must show no warnings.


o All objects included in the transport request must be activated.
o The transport request must be released
o All tasks of the transport request must be assigned to the same user.

59. Which of the following actions can be performed in the Process After Input (PAI)
processing block?

o Check the function code of a screen.


o Modify screen attributes dynamically.
o Set the GUI status of the screen.
o Set the title bar.

60. 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?

o Write the error data into a RECEIVING parameter that is passed by value.
o Write the error data into TABLES parameters that is passed by reference.
o Write the error data into an EXPORTING parameters passed by reference.
o Write the error data into a CHANGING parameters passed by value.
61. You count all customers with in the same country and city. You want display only the
cities where three are more customers exist.
Which of the following SQL statements should you use?
Note: There are 2 correct answers to this question.
o SELECT country city FROM customers INTO TABLE It_customers
GROUP BY country city HAVING COUNT(*)>=3.
o SELECT country city cust_name FROM customers INTO TABLE It_customers
GROUP BY country city cust_name HAVING COUNT (*) GE 3.
o SELECT country city COUNT (*) AS number FROM customers INTO TABLE
It_customers
GROUP BY country city HAVING number GE 3.
o SELECT country city cust_name COUNT (*) AS numbers FROM customers INTO
TABLE It_customers
GROP BY country city HAVING number >=3.

62. You display the content of an internaltable 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?

o REFRESH_TABLE_DISPLAY in module PAI


o SET_TABLE _FOR_FIRST_DISPLAY in module PBO
o SET_TABLE_FOR_FIRST_DISPLAY in module PAI
o REFRESH_TABLE_DISPLAY in module PBO

63. The USER has the following fields: ID, FIRST_NAME, LAST_NAME. FIRST_NAME,
LAST_NAME have the same basic type and length. You want to compare fields
FIRST_NAME, LAST_NAME to each other.
Which of the following SELECT statements can you use?
Note: There are 2 correct answers to this question.

o SELECT*FROM users INTO TABLE It_users


WHERE first name = users~last_name.
o SELECT*FROM users AS a INTO TABLE It_users
WHERE a~first_name = a~ast_name.
o SELECT*FROM users INTO TABLE It_users
WHERE first_name = users-last_name.
o SELECT*FROM users AS a INTO TABLE It_users
WHERE a-first_name = last_name.

64. You want to add a field type CURR to a transparent table.


What else must you do?

o Add a check table that contains a field of type CUKY.


o Add a key field of type CUKY.
o Create a new field CUKY as a pre-defined type.
o Create a reference to a field of type CUKY.

65. Which of the following can you define in the technical settings of a transparent table?
Note: There are 3 correct answers to this question.

o Buffering type
o Size category
o Data class
o Table name
o Delivery class

66. Which of the following can you do with the ABAP debugger?
Note: There are 3 correct answers t this question.

o Compare data objects.


o Change source code.
o Analyze memory usage.
o Analyze SQL traces.
o Analyze internal tables.

67. Which of the following statements can you use to setup checkpoints in an ABAP
program?
Note: There are 3 correct answers to this question.
o BREAK_POINT
o ASSERT
o BREAK
o CHECK
o LOG-POINT

68. You want to create a transparent table in the ABAP dictionary.


When the table is physically created in the database?

o When you run the database utility transaction (SE14)


o When you save the table
o When you insert the table name and select create
o When you activate the table

69. How can you find customer exists in an ABAP program?


Note: There are 2 correct answers to this question.

o Search for ‘CL_EXTHANDLER’ in the program.


o Search for customer exists in the program documentation
o Search for customer exists in the Repository Information System
o Search for ‘CALL CUSTOMER’ in the program

70. Which of the following ABAP code lines is valid?


Note: There are 3 correct answers to his question.

o STATICS s_mantr TYPE mantr VALUE ‘100’


o PARAMETERS p_mantr TYPE mantr DEFAULT ‘100’
o DATA gc_mantr TYPE mantr DEFAULT ‘100’
o SELECT-OPTIONS s_mantr TYPE mantr DEFAULT ‘100’
o CONSTANTS gc_mantr TYPE mantr VALUE ‘100’

71. Inan ABAP program, you to assign an initial value to an elementary data object when
you define it.
Which addition must you use?
o OBLIGATORY
o DEFAULT
o READ-ONLY
o VALUE

72. Which task does the dispatcher perform?

o Executes programs that run without users transactions


o Verifies the correctness of ABAP program
o Distributes requests to the work processes
o Administrates the lock table in shared memory

73. In an ABAP program you have the following code sequence:

DATA var TYPE n LENGTH 1.


FIELD –SYMBOLS <fs> TYPE c
ASSIGN var TO <fs> CASTING
Which type is used to cast the assigned memory area?
o The type of <fs>
o The default type STRING
o The type of var
o The default type I

74. 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?
o CLIKE
o DATA
o CSEQUENCE
o SIMPLE

75. Which of the following includes are generated when you create a function group?
Note: There are 2 correct answers to this question.
o LxxxUXX
o LxxxxF01
o LxxxTOP
o LxxxxO01

You might also like