Вы находитесь на странице: 1из 12

ABAP TEST

1) Select the right order of event processing for the selection screen.
a) Initialization, At selection screen, Start of selection, At selection screen output.
b) Start-of-selection, At selection screen output, At selection screen, Initialization.
c) Initialization, At selection screen output, At selection screen, Start-of-selection.
d) Initialization, Start-of-selection, At selection screen output, At selection screen.
2) How many bytes does the declaration of a variable of integer data type within a program be
allocated?
a) 4 bytes
b) 2 bytes
c) 1 byte
d) 8 bytes
3) Which select statement will always bypass the SAP buffer?
a) select . endselect
b) select . for update
c) select . into table
d) select . single.
4) A lock established on a data record is released when
a) the dequeue function is called
b) when the back button is clicked
c) when the exit button is clicked
d) when abort message is triggered
e) when save button is clicked
5) If you noticed a function code in a menu that began with +, what type of exit is it?
a) Menu exit
b) Program exit
c) User exit
d) Screen exit
6) Compared to a predefined ABAP type what additional properties can be assigned to a
domain?
a) fixed values
b) conversion exits
c) parameter ids
d) search helps
e) value tables
7) What are controllers in WebDynpro component?
a) Component Controller
b) Application Controller
c) View Controller
d) Window Controller
e) Context Controller

8) dref is defined as a data reference generically. Which statement can be used to access the
context of the referenced variable?
a) Assign dref->* to <fs1>
b) Assign (dref) to <fs1>
c) Assign dref to <fs1>
d) Get reference of dref into <fs1>
9) How can you add a field to an SAP delivered transparent table without doing a modification?
a) Define structure and use .Include
b) Assign field to table definition in change mode
c) Create an append structure
d) use DB utility to enhance
10) Which of the following is used to provide highlight color for a column in the ALV grid?
a) set a new variant
b) use a field catalog
c) use a new layout
d) trigger an hotspot event
11) What is the term used when a change is made to customer object in a system other than the
original system?
a) change
b) repair
c) modification
d) correction
12) When does a BADI default implementation execute?
a) When only active implementation exist.
b) only if the developer specifies that the default implementation should be executed
c) When no active implementation exists.
d) The default implementation always executes unless specified otherwise
13) Which hook method exists for all controller types?
a) wddoonopen().
b) wddoinit().
c) wddoonclose().
d) wddobeforenavigation( ).
14) While debugging a program, you are required to use watch points. which of the following are
correct?
a) stops at predefined condition for a specific variable
b) stops at any change of a specific variable
c) stops at predefined condition of any variable
d) stops at any change of any variable.
15) The use of GROUP BY field1 field2 in the SELECT statement.
a) Must also have ORDERBY to be specified.
b) Redefines the sequence of columns in result set based on field1 and field2 in
ascending
c) combines rows that have the same content based on field1 and field2
d) prerequisite is to select only individual columns, not all columns.

16) Which of the following is not allowed in ABAP Objects.


a) Nested internal tables
b) Deep structures
c) tables keyword
d) internal tables with header line
17) Which of the following are required for defining a database view?
a) the join condition
b) choose fields of db table
c) define selection criteria
d) choose tables
e) choose maintenance settings
18) You are a part of a development team that is responsible for creating a number of objects for
your project, what are the prerequisites to reference one developed object within another
object?
a) The referred object must be assigned to a package.
b) active version of referred object must exist
c) the referred object must be assigned to change request in the transport layer
d) the referred object must be assigned to the same package as the other object.
19) Which internal table will have the same response time irrespective of the size of the table?
a) Sorted table
b) Hashed table
c) Transparent table
d) Standard table
20) how can the field p_carrid be hidden from the screen.
a) Read table screen with key name = 'p_carrid'.
screen-active = 0.
modify screen.
b) Loop at screen.
If screen-name eq 'p_carrid'.
screen-active = 0.
endif.
modify screen.
endloop.
c) Loop at Screen where name = 'p_carrid'.
screen-name = 0.
modify screen.
endloop.
d) Loop at Screen.
if screen-name = 'p_carrid'.
screen-active = 0.
modify screen.
endif.
endloop.

21) Which of the following will read a single line of an internal table itab.
a) select single * from itab.
b) read itab.
c) loop at itab. endloop.
d) read table itab.
22) You are working on the program which is updating the database. If the changes made to the
database are to be rolledback what should the code contain?
a) Rollback work.
b) Message 'changes aborted' type 'A'.
c) Message 'changes aborted' type 'E'.
d) Commit work.
23) The database interface is an important component within the work process. What does it
do?
a) Checks the syntax of native SQL.
b) does the data consistency check using foreign key relationship.
c) accesses the sap table buffers.
d) database independence of the application programs.
24) Move field1 to field2. Using this syntax will cause a conversion error for.
a) Type C with value '1.50E4' to type I
b) Type P to Type F.
c) Type C with value '123' to Type C with length 2.
d) Type C with value '12345678' to Type D.
25) What happens if an authorization check fails within a program?
a) Publishes an Error message.
b) Program terminated into a dump.
c) Program terminates into the easy access.
d) Publishes a warning message.
26) Which are the considerations for creating a foreign key relationship between fields of a table
to the primary key of another?
a) The check field and its corresponding field in the check table must have the
same domain.
b) Check table is assigned as a value table in the domain of the check field.
c) the number of key fields in foreign key table must be exactly the same as in the check
table.
d) the check field must be a key field same as the primary key field of the check table.
27) Which are true about functional methods?
a) Functional method cannot have any exporting or changing.
b) functional methods have exactly one returning parameter
c) functional methods cannot have importing and exporting parameters.
d) can use functional methods directly in an arithmetic expression
e) you can call a functional method directly in a write statement.

28) Which of the following views can be used in search helps?


a) database view
b) maintenance view
c) projection view
d) help view
29) A screen is designed to call another screen as a modal dialog box when it uses the syntax.
a) Call screen 200 starting at 5 5.
b) Call subscreen 200
c) Call screen 200 starting at 5 5 ending at 50 10
d) Call subscreen 200.
30) Internally visible components of a webdynpro component are
a) Component Controller
b) Interface Controller
c) View
d) Window
31) If a field is passed as a parameter to a routine or a function module, its value will not be
affected in the main program when you use.
a) Pass by reference
b) Pass by value
c) Pass by value and result
d) Pass by reference and result
32) It is required that you add two fields (mobile and email) in two database tables that you had
created earlier. Which is the best option?
a) Use the customizing include
b) Create a structure with the fields and append them to both tables
c) Create a structure with the fields and include them to both tables
d) Add directly to the two tables
33) Which condition must be fulfilled in a program check so that a screen input field is ready for
input?
a) CHAIN.. ENDCHAIN
b) FIELD field_name MODULE check_module
c) MODULE check_module AT EXIT-COMMAND
d) MODULE check_module ON VALUE-CHECK
34) You are working on a program 'SAPMABC' and within are editing code of an include 'ZABC'.
What are you working on?
a) doing a modification
b) doing an enhancement
c) doing a customer development
d) doing a repair
35) The property that is selected to allocate space for a table in the database is
a) Data Class
b) Size Category
c) Delivery Class
d) Initial Extent

36) Which one of the following is the correct flow of an ALV GRID?
a) Create an object for cl_gui_custom_container
Create a custom container on the screen
Assign it to cl_gui_alv_grid
Call Method set_table_for_first_display( )
b) Create a custom container on the screen
Create an object for cl_gui_custom_container
Assign it to cl_gui_alv_grid
Call Method set_table_for_first_display( )
c) Create a custom container on the screen
Assign it to cl_gui_alv_grid
Create an object for cl_gui_custom_container
Call Method set_table_for_first_display( )
d) Create an object for cl_gui_custom_container
Call Method set_table_for_first_display( )
Create a custom container on the screen
Assign it to cl_gui_alv_grid
37) The Netweaver AS works as an integration platform in the SAP system. Which among these
are the components of it?
a) Business Warehouse (BW)
b) Product Lifecycle Management (PLM)
c) Customer Relationship Management (CRM)
d) Master Data Management (MDM)
38) We can create the following using the ABAP Dictionary.
a) Type Pools
b) Internal Tables
c) Transparent Tables
d) Domain
e) Field-symbols
39) When is a garbage collector invoked?
a) When the objects are explicitly deleted
b) When there are no more references pointing to an object
c) When objects can no longer be addressed from main memory
d) After event handler methods are registered.
40) Which of the following are true regarding FRIEND relationship?
a) Friendship is not inherited.
b) A friend of a class has access to private attributes of the class allowing the
friendship.
c) A subclass of a class has automatic access to the private attributes of the class
allowing the friendship.
d) Friendship is bidirectional.

41) What controls the dialog behaviour of the search helps?


a) CPOS
b) LPOS
c) SPOS
d) value range
42) Which of the following are true about constructors in classes?
a) The constructor must be defined in a public section.
b) A class can have multiple constructors
c) Only importing and exporting parameters are allowed
d) If exceptions occurs, then the object is not created and no memory allocation is
done.
43) What process is used to establish the automatic transport of data between the view
controller's context and the UI element of its layout?
a) Context Mapping
b) Data binding
c) Data migration
d) View Assembly
44) What happens when the SET HANDLER command is executed?
a) The event is handled
b) the event is triggered
c) The event handler method is registered
d) an instance of an event is created
45) Screen 200 follows Screen 100. Screen 100 is displayed with GUI status 'BASE'. Screen
200 is then displayed without issuing the SET PF-STATUS. What will take place?
a) Status 'BASE' is displayed
b) Standard List Status
c) Screen 200 will not have any pf-status
d) run time error
46) Which of the following are false regarding indexes?
a) An index can be considered a copy of a database table with all fields
b) The index also contains a pointer to the corresponding entry in the table so that the
fields can be read.
c) An index can be used to speed up the access of the table
d) An index must be used together with the buffering settings to improve the
performance of the table
47) The output of the following code is.
report zabcdprog.
Data : ch_field type C.
ch_field = 'ABAP PROGRAM'.
Write : ch_field.
a) ABAP PROGRAM
b) syntax error
c) A
d) none of the above.

48) Which of the following are true?


a) You can change the type of assigned data object using the casting-type
addition for the assign statement.
b) A field symbol always references a data element.
c) If you change the value of the field symbol, the value of the data object to which
the field symbol is assigned is also changed.
d) A field symbol only references a data object after it has been assigned to the
field symbol using the assign statement.
49) Which of the following data types are numeric?
a) I
b) N
c) C
d) F
50) The cardinality of the relationship between the check table and the foreign key table is
defined as 1:N. What does this imply?
a) Many records of the check table are assigned to one record of the foreign key table
b) One record of the check table is assigned to many records of the foreign key
table
c) One record of the check table is assigned to one record in the foreign key table
d) One record of the foreign key table is assigned to one record in the check table.
51) The controller within a webdynpro component that is visible to all other controllers is _____
a) Interface controller
b) Component controller
c) View controller
d) Window controller
52) What conditions apply for a LEFT OUTER JOIN in OPEN SQL.
a) Only or can be used as a logical operator in the ON condition
b) Atleast one field from the table on the right is required for comparision in the
ON condition.
c) A join statement is found to the right of the join operator
d) A left outer join is not permitted in open sql
53) Which of the following describes the internal representation of a type D data object?
a) DDMMYYYY
b) YYYYDDMM
c) MMDDYYYY
d) YYYYMMDD
54) The code inspector allows an user to
a) Find the tables that have been used in the program
b) Measure the time taken to execute the program
c) Search for tokens in ABAP statements
d) Find statements pertaining to performance issues in the program

55) An elementary search help requires the following for its design
a) Dialog Behaviour
b) Selection Method
c) Foreign Key relationship
d) Interface parameters
56) Choose the correct operators that can be used in the WHERE clause.
a) GT
b) EQ
c) LIKE
d) IN BETWEEN
57) Which of the following cardinalities ensures that in a node defined under the root context
node, you have atleast one default element?
a) 11
b) 01
c) 0n
d) 1n
58) Which boundary conditions lead to improved access time to an internal table?
a) Index access to standard table
b) index access for hashed table
c) key access for sorted table
d) key access for standard table with binary search addition
e) key access for hashed table
59) Changes which are done to an SAP program in the development system are termed as
a) Customizing
b) Customer Development
c) Modification
d) Personalization
60) You have declared an internal table it_tab based on a transparent table db_tab. How can
you now define a work area for it?
a) data : wa_tab like it_tab.
b) data : wa_tab like db_tab.
c) data : wa_tab like line of it_tab.
c) data : wa_tab like line of db_tab.
61) A super class has a method super_method and a subclass has a method sub_method.
data : go_super type ref to super_class
data : go_sub type ref to sub_class
Which of these method calls is not possible and will give a syntax error?
a) go_super->super_method( ).
b) go_super->sub_method( ).
c) go_sub->super_method( ).
d) go_sub->sub_method( ).

62) Type definitions can be local or global. Which of these would you consider is common
between them?
a) Field Label
b) Technical settings
c) Documentation
d) Search Help
63) Data : my_var type db_tab. What is my_var, where db_tab is a transparent table?
a) my_var is a variable of the first key field from db_tab.
b) my_var is a structure of db_tab
c) my_var is an internal table of db_tab
d) my_var is a transparent table like db_tab
64) Where would you define a value table?
a) Domain
b) Data element
c) table field
d) structure field
65) An SAP object when created can be in a status - ACTIVE or INACTIVE. Which is true with
regards to the status?
a) Active object is visible only in the editor
b) Inactive object cannot be transported
c) Inactive objects are visible only to the developer
d) Active objects can be used in other objects
66) Dialog programs perform an automatic data transfer between the screen and program. How
is it done?
a) By using the same name and value for the fields
b) By using the same name and declaration with DATA.
c) By using the same name and declaration with TABLES
d) By setting property OUTPUT of input fields
67) Select a suitable way to achieve polymorphism in ABAP objects.
a) Events
b) Interface
c) Inheritance
d) Friends
68) Which of the following can be enhanced using BADIs?
a) Screen
b) Database table
c) Menu
d) Source code
e) Data element
69) How would you start a Module Pool Program?
a) Create and run OO transaction
b) Create and run Selection transaction
c) Create and run Dialog transaction
d) Create and run Report transaction

70) What are the properties of an internal table?


a) Table kind
b) Technical Settings
c) Line type
d) Primary key
71) Which of the following RTTI classes are instantiable?
a) CL_ABAP_CLASSDESCR
b) CL_ABAP_TYPEDESCR
c) CL_ABAP_ELEMDESCR
d) CL_ABAP_REFDESCR
e) CL_ABAP_DATADESCR
72) Which of the following statements are true about views?
a) A view contains data
b) A view can be buffered
c) A view is automatically created upon activation
d) Maintenance views are not updatable
73) Which statement is used to move identically named fields between structures?
a) MOVE
b) ASSIGN
c) MOVE_CORRESPONDING
d) MOVE-CORRESPONDING
74) Which of the following will clear the header line of the internal table itab?
a) CLEAR itab
b) REFRESH itab
c) FREE itab
d) DELETE itab
75) Which of the following statements are true?
a) the default tabs in a tabstrip are two.
b) to scroll locally between pages in a tabstrip, all tab titles in the tabstrip control
must have the function type ' '.
c) In locally scrolling tabstrip, all tab pages share a common subscreen area.
d) PAI scrolling in tabstrip control is more appropriate for displaying transactions.
76) An ABAP program makes calls to a function module from the same function group. What
happens with the global data from the function group?
a) function modules from the same function group can access the data when they
are called.
b) the global data is reinitialized for each call
c) the global data remains active only for the duration of the function call only
d) the global data remains available for the duration of the calling program.

77) Which statement is used in ABAP programming to check if a user is authorized to perform
an action?
a) check sy-subrc
b) check authority
c) authority-check
d) check permission
78) Which of the following is used to assign a superclass reference to a subclass reference?
a) Widening Cast
b) Redefinition
c) Narrowing Cast
d) Polymorphism
79) What determines the sequence in which the event blocks are processed?
a) the dispatcher
b) database interface
c) runtime system
d) programmer
80) Which of the following includes can be used by the customer to enhance the SAP Program?
a) LXAAATOP
b) YXAAAO01
c) ZXAAAF01
d) LXAAAU01

Вам также может понравиться