You are on page 1of 22

ABAP OBJECTS

1. In global class CL_GUI_ALV_GRID that is delivered by SAP, the


DBLCLICL_ROW_COL event is defined, which is triggered when a cell in
the list is double-clicked. You have written a program in which data is
displayed in a list using class CL_GUI_ALV_GRID
What do you have to do in your program to respond the event?

More than one answer is correct. Decide wether eache answer is true or
false

TRUE FALSE
X Create your own class
X Capture the event with the CATCH statement
X Write a handling method for the event
X Register on the event using SET HANDLER statement

2. ref_cl is a reference to the class cl_document. ref_if is a reference to


the interface if_display. The interface if_display is implemented by the
class cl_document. What options do you have to create an object of the
class_cl_document?

More than one answer is correct. Decide wether eache answer is true or
false.

TRUE FALSE
X CREATE OBJECT ref_cl
X CREATE OBJECT ref_if TYPE cl_document
X CREATE OBJECT ref_it
X DATA class_name TYPE string.
Class_name=”CL_DOCUMENT”
CREATE OBJECT ref_if TYPE (class_name).

3. Which of the following statements about functional methods are


correct?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Functional methods cannot have any EXPORTING or
CHANGING parameters
X Functional methods have exactly one RETURNING
parameter
X You can use functional directly en a WRITE statement
X You can use functional methods directly un an
arithmetic expression

4. Which of the following statements about interfaces are correct?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Interfaces represent a separation between an interface
and implementation (class), for which the client defines
the protocol (interface) and the server (implementing
class) implements it.
X A client (caller) can use interface to access all interface
methods and thus active polymorphic behavior
X Interface are used to call the static components of a
class
X Using interfaces, you can simulate interface
X Using interfaces, you can reference all the public
components of an object that have been defined in the
corresponding interface implementing class

5. Your program contains two classes, ca and cb, where by class cb


inherits data from class ca. In class ca, a public instance method ma is
defined that does not have any parameters. In class cb, a public
instance method mb is also defined that does not have any parameters.
Your program contains the following coding.

DATA r_ca TYPE REF TO ca,


r_cb TYPE REF TO cb.
CREATE OBJECT r_cb.
r_ca=r_cb.

Which of the following statements would be syntactically correct after


the above program component?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X r_ca->ma( )
X r_cb->ma( )
X r_ca->mb( )
X r_cb->mb( )

6. What is allowed whithin class definitions?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Typing with LIKE to ABAP Dictionary types
X The definition of internal tables without header lines
X The definition of internal tables with header lines
X Typing with TYPE to ABAP Dictionary types
X The TABLES statement

7. In the case of classes, we distinguis between two types of


components (attributes and methods): Instance components and static
components. Which of the following statements apply in this context?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X In a static method, instance attributes can also be
used, provided they are delcared as READ ONLY.
X Static methods can be called through the class
<class name> =><method name>
X Instance methods can use both static as well as
instance components in ther implementation part
X Static attributes exist only once for each class
X Both static as well as instance attributes are declared
using the DATA statement

8. Which of the following statements about inheritance are correct?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Through inheritance, the public attributes of the
superclass are inherited to the subclass
X Through inheritance, the private attributes of the
supercalls are inherited to the subclass and they can be
addressed in the subclass directly using “ME->”
X Through inheritance, the protected attributes of the
supercalls are inherited to the subclass
X Through inheritance the private attributes of the
superclass are inherited to the subclass and they can
be addressed in the subclass directly using “THIS->”

9. What is an (instance) constructor?

Please choose the correct answer

An instance method for initializing the attributes of an object, it is automatically


called by the system during CREATE (X)

An instance mehtod for controlling how much main memory is to be reserved for
an object

An instance attribute that is automatically given a unique identification by the


system when an object is created

10. Using the stament CREATE OBJECT you can instantiate objects of a
class. What situations can arise here?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X All objects of the same class contain the same number
of attributes and methods after being created
X You can present different objects of a class with
different values immediately after being created
X The contents of the attributes of different objects in a
class always contain the same contet or values
immediately after being created
X You define the type and number of attributes of an
object through the corresponding class

11. Which techniques are basic requirements for polymorphism?

TRUE FALSE
X Narrowing cast
X Redifinition of methods (for polymorphism through
inheritance)
X Widening Cast
X Implementation of methods of an interface in the
respective classes (for polymorphism through
interfaces)

12. Typing is not always necessary in ABAP, for example, for instance
parameters
of a subroutine Which of the following statements applies to ABAP
objects?

Please choose the correct answer.

To simplify writing the software and design it clearly, you can do without typing
altogether whitin the ABAP objects classes

If you have numeric interface parameters in an ABAP Objects class you can do
without typing.
Typing is imperative for interface parameters of a method belonging to an ABAP
object class.

ABAP WORKBENCH BASIS

13. Which of the following tables types do you choose for your internal
table if it is to containg a large number of entries and to be read only
via fully qualified key access?

Choose the correct answer

TRUE FALSE
X STANDARD
X HASHED
X SORTED

14. Which of the following statements are correct?

More than one answer is correct Decide wheter each answer is true or
false

TRUE FALSE
X The client field must always be specified in the WHERE
condition for SELECT
X A secondary index can help improve system
performance for accesses to internal tables
X A secondary index can help improve system
performance accesses
X Multiple database tables can be read using a database
view or a join
X The open SQL statements are converted into database-
specific SQL statement by the database interface

15. Which of the following statements about data types and data
objects are correct?

More than one answer is correct Decide wheter each answer is true or
false

TRUE FALSE
X Data types can be defined in the ABAP Dictionary
X A data type is a description of a variable
X A data object is a variable
X Data types can be defined only in the ABAP Dictionary
X Data types can be defined in the program

16. Which statement at the time of AT SELECTION-SCREEN causes the


selection screen to be displayed again with fields ready for input and a
message in the satus bar?

Choose the correct answer

TRUE FALSE
X An AUTHORITY-CHECK statement with a return code not
equal to 0
X A MESSAGE statement of type I
X A MESSAGE statement of type E

17. You want to write a subroutine for displaying data that is to be


transferred to the subroutine by means of an internal table. Which
transfer type is preferred from a performance perspective?

Choose the correct answer

TRUE FALSE
X Call by reference
X Call by value and result
X Call by value

18. Which commands are allowed if you are working with an internal
table of type SORTED?

TRUE FALSE
X SORT
X DELETE
X INSERT
X READ TABLE
X MODIFY

19. Wich of the following statements about SELECT statement are


correct?

More than one answer is correct Decide whether each answer is true
or false

TRUE FALSE
X With SELECT SINGLE access, the result is one data
record Maximum
X The SELECT statement always read the data directly
from the database, that is, it always bypasses the table
X The return code of the SELECT statement is maintened
in the system field SY-SUBRC
X With ARRAY FETCH (SELECT… INTO TABLE), the result
is contained in an internal table
X All records in the relevant table are read using a
SELECT loop without a WHERE clause (SELECT…
ENDSELECT)
20. DATA: itab TYPE tt_spfli.
Parameters: pa_carr TYPE spfli-carrid.
AUTHORITY-CHECK OBJECT ‘S_CARRID’
ID’CARRID’ FIELD pa_carr
ID’ACTVT’ FIELD ‘03’.

SELECT * FROM spfli INTO TABLE itab


WHERE carrid = pa_carr.

What happens when the above program component is executed?

Choose the correct answer

If the user does not have the relevant authorizations in his or her master
record, the system leaves the current event block directly after the AUTHORITY-
CHECK command and jumps to the next event block. In this case, the SELECT
statement is not executed.

Regardless of whether or not the user has the relevant authorizations in his or
her master record, the SELECT statement is executed and the data read from
the database (X)

If the user does not have the relevant authorizations in this or her master
record, the SELECT statement is not executed, since in this case , the
AUTHORITY-CHECK always determines the program automatically.

21. Which of the following ABAP statements generate a list in


executable programs?

TRUE FALSE
X SETSCREEN
X CLEAR
X WRITE
X ULINE
X PERFORM

22. What is a table type in the ABAP Dictionary?

Choose the correct answer

TRUE FALSE
X Description of a database table
X Database table with content
X Description of an internal table

23. What do you get with the following variable definition if dbtab is a
transparent table in the ABAP Dictionary?

Choose the correct answer

TRUE FALSE
X An elementary field
X An internal table
X A structure variable (work area)
24. Which of the following events are suitable for the generation lists?

More than one answer is correct. Decide whether each answer

TRUE FALSE
X GET events
X INITIALIZATION
X START-OF-SELECTION
X AT LINE-SELECTION
X AT SELECTION-SCREEN

ADVANCED ABAP

25. You have programmed a SELECT_ENDSELECT loop in table SBOOK


(Flight Booking Data), whereby approximately 1,000 data records are
read. How is the data transported from the database to the application
server?

The data records are always transferred from the database to the application
server record by record.(X)

The data is transferred to the application server in packages of equal size.

The data records are transferred to the application server in blocks of varying
lengths, depending on the network load.

26. You want to develop a more complex application. For this purpose,
you want to use function modules to modularize the functionality.
Which statements about function modules are correct?

More than one answer is correct. Decide wheather each answer is true
or false.

TRUE FALSE
X From a function module, you cannot execute a dialog; in
particular, you cannot send a screen.
X Data can be transferred to a function module using IMPORTING
parameters only.
X You can create function module in function groups only.
X In function groups, global data can be defined.
X In function groups, subroutines can be defined that can be
called within the relevant function group.

27. What is the advantage of shared objects over import/export to


shared memory/buffer?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X In shared objects areas, networks of object references can be
stored.
X Data in shared objects areas is compressed.
X Data in shared objects can be accessed directly, without the
data having to be copied.
X More data can always be saved in shared objects areas than in
the shared memory/buffer.

28. You want to develop an application with dynamic elements. Which


of the statements are correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X The runtime type services classes enable type information to be
determined at program runtime.
X You can use the CREATE TYPE statement to create data types at
program runtime.
X You can use the CREATE DATA statement to create variables at
program runtime.
X You can access variables created using CREATE DATA only
using field symbols.
X Data types cannot be created or constructed at program
runtime.

29. Which statements about internal tables are correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X The costs for reading a data record from a hashed table do not
depend on the number of entries in the table.
X If a field symbol is assigned with the READ…ASSIGNING <fs>
statement, the entry in the internal table can be changed
directly using this field symbol.
X The costs for reading a data record are higher for a large
number of entries in a sorted table than for a large number of
entries in a standard table.
X If a field symbol is used to access the content of an internal
table, the data record is not copied to the work area.

30. How is the shared objects area accessed in ABAP?

Choose the correct answer.

TRUE FALSE
X Using a special data type
X Using a special class
X Using a special database table

31. You want to develop an application that reads data from the SAP
database. Since the application is runtime critical, you want to use
table indexes as efficiently as possible to improve the application
runtime. Which statements are correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Each table has exactly one primary index.
X For transparent tables, you can create up to two secondary
indexes.
An index should be composed of only a few fields, since the
X index must be updated for each change operation that also
contains index fields.
X The more secondary indexes you create, the more probable it is
that the database will use a suitable index to access the
database.
X The client field does not have to be explicitly executed in a
secondary index since it is added automatically by the database
interface.

32. You write an application that stores data in an internal table


temporarily. Since the application is runtime critical, you consider
which type of internal table to use. Which statements about internal
tables are correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X You can not use an index to access hashed tables.
X You can use the INSERT TABLE statement to add data records to
all types of internal table.
X There are four types of internal table: standard, sorted, hashed,
and indexed tables.
X If not all key fields are when a data record is read from an
internal table with table key (READ… WITH TABLE KEY…), the
statement returns the first suitable data record.
X If you want to add an entry to a sorted table, the sort sequence
must remain the same.

33. You want to develop an application that reads data from the SAP
database. Since the application is runtime critical, you want to read
buffered data, as far as possible. The table is to be set up in such a
way that single records are buffered. Which of the following
statements, however, always bypass the buffer?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Use of the IN operator in the WHERE condition.
X Use of a JOIN in the SELECT statement.
X SELECT with aggregate functions.
X Use of subqueries in the WHERE condition.
X The SELECT SINGLE… statement.
34. In your application, you implement diverse calculations. In the
calculation, you use variables of data type f, p, and i. Which arithmetic
does the calculation follow?

Choose the correct answer.

TRUE FALSE
X Calculations are basically carried out in integral arithmetic. The
result is converted to the type of result variables.
X The ABAP runtime always uses packed numbers for business
calculations. This means that this calculation is also carried out
with packed numbers and, if necessary, the result is converted.
X If the arithmetic expression contains a data object of type f,
calculations are basically carried out in floating point arithmetic.
SAP TECHNOLOGIES

35. You execute an ABAP program with several dialog steps (screens).
Which statement is correct?

Choose the correct answer.

TRUE FALSE
X The entire program is always processed in exactly one dialog
work process. This dialog work process also remains reserved
for this program while the screen is displayed on the front end.
X The ABAP dispatcher takes over the entire execution of the
ABAP programs and gets the user context of the programs from
the roll area.
X The program components for the individual dialog steps are
usually executed in various dialog work processes that are re-
released once a program component has been processed (while
the screens are displayed on the front end).

36. For which tasks is the database interface responsible?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Sytax check of “native” SQL commands.
X Database independence of application programs.
X Conversion of OPEN SQL statement from ABAP statement into
the corresponding database statements.
X Usage of the SAP buffers.
X Data consistency check with respect to foreign key
relationships.

DIALOG PROGRAMMING

37. Under which circumstances is a module with the addition ON CHAIN-


INPUT executed?

Please choose the correct answer.

TRUE FALSE
X When the value of the least one field within the CHAIN is other
than its initial value.
X When a new entry has been made for at least one field within
the CHAIN.
X When exactly one field within the CHAIN has a value other than
its initial value.
X When a new entry has been made for all fields in the chain.
38. What effect does the statement SUPPRESS DIALOG have in a PBO
module of a screen?

Please choose the correct answer.

TRUE FALSE
X Screen display is suppressed.
X The screen is displayed, but no inputs are possible.
X The screen in question is not called.
X Neither the respective PBO module nor any of the subsequent
PBO modules are processed.
X Processing is continued with the calling screen.

39. Where can you set the status and the title for a modal dialog box
(popup)?

Please choose the correct answer.

TRUE FALSE
X In the attributes of the corresponding screen.
X In a PBO module of the corresponding screen.
X At the event TOP-OF-PAGE.
X In a PAI module of the corresponding screen.

40. You have created a screen with 5 radio buttons. How do you ensure
that only one radio button is selected at a time?

Please choose the correct answer.

TRUE FALSE
X Enclose all the radio buttons in a frame.
X Create a common function code for all the radio buttons.
X Combine all the radio buttons into a group.
X Assign all the radio buttons to the same modification group.

41. Which of the following statements about the subscreens are


correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Subscreens have their own OK code field.
X You call subscreens using the ABAP command CALL
SUBSCREEN.
X You call subscreens using the screen command CALL
SUBSCREEN.
X The statement LEAVE TO SCREEN is not allowed in subscreen
flow logic.

42. Which of the following statements about context menus on screens


is correct?

Please choose the correct answer.

TRUE FALSE
X The key combination SHIFT-F10 on a screen always calls a
context menu.
X You set context menus using the command SET PF-STATUS.
X All the elements of a screen always have the same context
menu.
X You set context menus within a subprogram
ON_CTMENU_<FORM>.
43. Which of the following statement about pushbuttons are correct?
Pushbuttons…

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X …in an application toolbar always have a function code.
X …in an application toolbar always have a corresponding
function key.
X …on a screen always have a corresponding function key.
X …with function code E cause program termination.

44. Which of the following statements about field transport between


ABAP and screen are correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Dictionary structures on the screen require a TABLES statement
in ABAP.
X Field transport from ABAP to the screen generally takes place
before the first PBO module of the screen.
X Name equivalence is imperative for field transport between
ABAP and screen.
X Field transport from the screen to ABAP is delayed if you have a
FIELD statement.

45. You have defined a screen with required entries. You want the
“Cancel” function to work even if all the required entry fields are not
filled. How can you do this?

Please choose the correct answer.

TRUE FALSE
X You must temporarily switch off the required entry for the fields
concerned within the LOOP AT SCREEN… ENDLOOP.
X The “Cancel” function must have the function code “BACK”.
X No special actions are required.
X The “Cancel” function must be type “E” and be handled in a
module with the addition AT EXIT-COMMAND.
X There is no way to do this; required entry fields must always be
filled first.

46. Which conditions must be fulfilled in a programmed check so that a


screen input field is made ready for input again?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X An I-type message must be output.
X The check module must be called using: FIELD field name
MODULE check module MESSAGE Ennn.
X The check module must be called using: FIELD field name
MODULE check module.
X The module must output an E-type message or a W-type
message.

47. You want to have the system branch to list processing form within
a screen. Which of the following statements apply here?

Please choose the correct answer.

TRUE FALSE
X You must place the command LEATE TO LIST-PROCESSING at
the end of the PAI of the respective screen.
X You have to program the command LEAVE TO LIST-
PROCESSING.
X The list buffer must first be read(READ LIST).
X You have to program the two commands CALL SELECTION-
SCREEN <screen no> and LEAVE TO LIST-PROCESSING.

48. Does a PAI occur when you switch between tab pages whose titles
have function type P in a tabstrip?

Please choose the correct answer.

TRUE FALSE
X Yes, always.
X Yes, if at least one required entry field exist on one of the tab
pages.
X Yes, if at least one PAI module exists for the subscreen
container.
X No.

DATABASE CHANGES

49. What can you do to undo, directly from the program, database
changes that have been implemented but not yet confirmed?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Raise an exception.
X Perform a ROLLBACK WORK.
X Output an error message.
X Analyze the log record.
X Output a termination message.

50. Which statements apply to dialog programs that change databases?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X When the asynchronous update is used, the COMMIT WORK
statement is not required, since it is executed implicitly after
each screen change.
X All inline changes must be executed in the PAI of the last screen
in order to ensure the rollback capability of SAP-LUW.
X In the PAI of each screen, you must use the COMMIT WORK
statement.
X When the asynchronous update is used, database changes are
made directly by the program.
X When the asynchronous update is used, database changes are
made directly by the program.
X When the asynchronous update is used, set SAP locks are
transferred to the update procedure so that they do not have to
be removed in the actual dialog program.

51. What are the main reasons for using update techniques?
More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X To relieve the load on the dialog work processes.
X To create reusable modules for database changes.
X To collect database change request from several dialog steps in
order to process them or delete them together.
X To achieve delayed implementation of database changes.
X To log the database changes.

52. You are calling an update function using CALL FUNCTION… IN


UPDATE TASK. At what event are the values of the function
parameters detemined?

Choose the correct answer

TRUE FALSE
X At the time of the call.
X At COMMIT WORK
X At the start of the function execution.

53. You are writing a transaction to update a database table. Which of


the following elements should the program contain?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X A call for an update function module in the case of time-
consuming changes.
X An AUTHORITY-CHECK statement.
X A call for ENQUEUE/DEQUEUE function modules.
X The COMMIT WORK statement when using the update method.
X Use of a logical database.

54. Why must logical SAP locks and not database locks be set in dialog
programs to prevent concurrent data accesses?

Choose the correct answer.

TRUE FALSE
X Because SAP locks are more efficient than database locks.
X Because set database locks may be implicitly removed before
the changes have been made to the data.
X Because SAP locks are more up to date and easier to maintain
than database locks.

55. Which of the following steps should be carried out in a transaction


that implements an updating technique?
More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Pass the changes entered by the user to the update process.
X Read the data record that is to be updated.
X Lock the data record that is to be updated.
X Unlock the data record that is to be updated.
X Call the ABAP command COMMIT WORK.

56. Which statements about parameters for an elementary search help


apply?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X A parameter is either an import or an export parameter.
X Export parameters control which data can be returned to the
input template.
X Import parameters control which data can be included in the
data selection.
X Parameters must be fields from the selection method only.
X Parameters can be displayed on the results list.

57. Which of the following statement apply to a database view?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X A database view can have one or several base tables.
X A database view is a special view of transparent tables.
X Using a database view, you can insert data into several tables.
X Using a database view, you can read data from several tables.
X A database view supplies the results quantity of an outer join
logic.

58. The search help functions know various link options in the ABAP
Dictionary. Which of the following statements apply?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X If the search help function is linked to a table A, this search help
is displayed whenever there are input fields on that screen that
have A as the check table.
X If the search help function is linked to a table A, this search help
is displayed whenever there are input fields from A on the
screen.
X If the search help function is linked to the data element as well
as to the field, the search help for the field is displayed.
X A search help function that is linked to the data element can
return values only for the search field (field where the F4 help
was triggered).
X A search help function that is linked to the table field can return
values only for the search field(field where the F4 help was
triggered).

59. Which of the following statements about APPEND structures are


true?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X An APPEND structure is the same as a substructure.
X An APPEND structure can be assigned to several tables.
X APPEN structures allow you to append fields to an SAP table
without having to modify the table itself.
X You can use an APPEND structure like any other structure in
ABAP programs.
X After adding an APPEND structure to a table, you must convert
the table.

60. Is it possible to increase the number of key fields in transparent


tables that are already active?

Please choose the correct answer.

TRUE FALSE
X Yes, however the table must not contain any data yet.
X Yes, irrespective of whether the table already contains data or
not.
X No. key changes are not allowed.

61. You want to change the technical properties that are defined in a
domain. How do you proceed/which statements are correct?

More than one answer is correct. Decide whether each answer is true
or false.

TRUE FALSE
X Before you make any changes, use a where-used list to search
for dependent object, since the changes can continue to the
fields in structures and database tables.
X Once changes have been made and the domain activated, you
have to reactivate each dependent object individually.
X You make the changes immediately, since, initially, an inactive
version is created for all dependent objects that contain these
changes.
X If a dependent object is a transparent table that already
contains data, the table in the database may have to be
converted.

62. For what purpose are foreign keys(FK) defined in the ABAP
Dictionary?

Please choose the correct answer.

TRUE FALSE
X FKs are used solely for documentation table relationships.
X For the purpose of data consistency; When you maintain data
records using dialog transactions (screens), the input values are
automatically checked in accordance with the FKs.
X For the purpose of data consistency; when you activate the
table, the FKs are created in the database. You thus preven
invalid data from getting into the table.

63. Changes to active transparent tables; The type for the non-key field
is to be changed from NUMC to CHAR. What follow up actions are to be
expected?

More than one answer is correct. Decide whether each answer is true
or false.

If the table does not contain any data yet, the table needs to be activated. In
this case, you delete the old table from the database and afterwards you
recreate the changed structure. (X)

If the table already contains data, you have two options: Either the database
can show this change with the statement ALTER TABLE, or you trigger a
conversion process from within the SAP System. (X)

If the table already contains data, this change needs to be executed first in the
database by the database administrator. Afterwards, you can reactivate the
table in the Dictionary.

Type changes in the Dictionary are supported for the key fields only. In the case
of non-key fields, such changes can be executed only by the database
administrator using special database techniques.

64. Where can you have automatic input checks against the check
table?

Please choose the correct answer

For input fields on selection screens.

For input fields on ABAP lists.

For input fields on screens if the input fields have been copied from the
Dictionary into the Screen painter. (X)

65. Which of the following statements about the SAP table buffer are
correct?

More than one answer is correct. Decide whether each answer is true
or false.

When tables are buffered in the SAP table buffer, inconsistencies can occur
between the status in the SAP table buffer and the status in the database. (X)

Large tables must be buffered as completely as possible.

Database views can be buffered.(X)

Each application server involved in SAP system has its own table buffer.(X)

LIST CREATION TECHNIQUE


66. How do you store data in the HIDE area during processing?

Please choose the correct answer

First you write a list line using WRITE. Then you can store data for this line in
the HIDE area (X)

The HIDE area is filled ub tge event TOP-OF-PAGE for each list page

The HIDE area is filled in the TOP include through the HIDE statement

67. A logical database has four nodes alltogether. First you have the
root node node_00. Undemeath the root node, you have node_01 and
then node_02 arranged in such a way so that they belong to the same
hierarchy level. In addition, node_02 has a hierarchically dependent
node_21. You have the following statements in the program:
NODES:node_00, node_02.

GET node_00.
GET node_02.

Please choose the correct answer-

The event is executed only if no data record is found for node_00

The event is executed each time after the event GET node_02.

The event is executed each time all the dependent data records for a node_00
data record have been delivered into the program (X)

The event is not executed

68. What can you control using the field catalog of an SAP ALV grid
control?

TRUE FALSE
X Output the list in a striped pattern
X Influence the format properties of column contents, such as the
number of decimal places or the alignment of the content of a
cell
X Set the output characteristic of a column, such as the column
position of width
X Specify the colors of the list rows
X Hide the list columns

69. How do you ensure there will be the correct number of decimal
places for currency amounts on an ABAP list output?

Please choose the correct answer

By saving the currency amounts with decimal places in the database

This takes place automatically, provided the checkbox “CURRENCY output” is


ticked
in the program attributes

By maintaning the corresponding Customizing table and by using the addition


CURRENCY in the WRITE statement. (X)
70. What advantages do logical database offer?

More than one answer is correct. Decide whether each answer is true
or false

TRUE FALSE
X Autorization checks are performed at a central location in the
logical database
X You can perform database updates with the PUT statement
X You do not have to program the database accesse themselves
in the program
X Logical database can be reused by several programs
X The logical database provides a modifiable list structure

71. You want the system to output a list in the program using the SAP
ALV grid control. What steps do you have to carry out in the program
to achieve this?

More than one answer is correct. Decide whether each answer is true
or false

TRUE FALSE
X Program WRITE statements for the list output
X Generate an object of class CL_GUI_CUSTOM_CONTAINER
X Create a screen and define a custom control area on this screen
X Generate an object of class CL_GUI_ALV_GRID
X Call method SET_TABLE_FOR_FIRST_DISPLAY

72. You wish to have user entries on the selection screen checked (for
example, authorization check) If there is any error, the user must
correct the entries. Which steps do you need to program for this?

Please choose the correct answer

You need to program the check at the event AT SELECTION-SCREEN if there is


an
input error, processing must be interrumped with a STOP statement and an i-
type
MESSAGE must be output

You need to program the check at the event AT SELECTION-SCREEN if there is


an
Input error, an e-type MESSAGE must be output (X)

You need to program the check at the event END-OF-SELECTION if there is an


input
error, an e-type MESSAGE must be output.

73. A logical database has four nodes altogether. First you have the
root node node_00. Underneath the root node you have node_01 and
then node_02 arranged in such a way so that they belong to the same
hierarchy level, in addtion, node_02 has a hierarchically dependent
node, node_21.You have the following statements in the program
Nodes node_02 GET node_02 Which nodes of the structure are read by
the local database?

Please choose the correct answer


Node_00, Node_01 Node_02

Node_00, Node_02 (X)

Node_00, Node_02 Node_21

ENHANCEMENT AND MODIFICATION

74. Which subobjects can an SAP enhancement contet?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Function module exits
X Menu exits
X Append structures
X User exits
X Screen exits

75. You whis to adapt the SAP standard software to the needs of the
customer. Which of the following methods should you preferably use?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Customer`s own developments
X Modification of SAP objects
X Customizing
X Enhacement concept

76. You want to modify an SAP program. What do you need to watch
out for?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X Before you can change the program, you must request a key for
the object
X You can use the Modification Assitant to change application
programs delivered by SAP, without the need for registration
X The SAP system does not allow modifications by user DDIC or
SAP*
X You can perform the modification immediately if you set the
global setting for the system change option to “Modificable”
X If SAP delivers a new version of an object, the modified object
must be adjusted if you upgrade or import a Support Package

77. You want to supply you users with a transaction variant. Using
transaction Variants you can…

More than one answer is correct. Decide wether each answer is true or
false
TRUE FALSE
X … suppress individuals fields
X … have transactions run in the backgroung
X … reduce the complexity of transactions
X … suppress intire screens
X … change the flow logic of a screen

78. Assuming a customer has modified SAP objects in the customer


system, which attributes are required at release upgrade or when
applying a Support Package?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X After each upgrade, the new SAP object is available as an active
version
X No manual operations are necessary Everything is performed
automatically
X The modified objects must be adjusted to match the standard
version whenever SAP delivers new versions of the objects
X Only ABAP Dictionary tables, data elements, and domains are
adjusted during the upgrade
X ABAP dictionary object are not handled separatey

79. You wish to use Business Transactions Events (BTE) to enhance an


SAP application. Which statements apply?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X You can define yourself where an event will be called in the SAP
application
X BTEs are called on a cross-client basis
X BTEs allow you to link up additional components to the SAP
standard system
X A BTE interface can be used repeatedly
X BTEs allow you to call components in other systems

80. You wish to use a Business Add-in (Badi) in order to enhance an


SAP application. Which of the following staments are correct?

More than one answer is correct. Decide wether each answer is true or
false

TRUE FALSE
X If you have filter-dependent Badis. There can always be only
one active implementation for a filter value
X If a default implementation exists for a Badi, this will be always
be run
X Badis can contain menu enhancements
X More than one implementation can exist even for Badis that are
not used in a multiple basis
X A Badi always has exactly one interface in which the methods of
the enhacement are defined.

You might also like