You are on page 1of 36

1

Part 1.
1) Authorization Objects
( this question has more than 1 answer )
a)
Stored in User Master
b)
Defines fields for a complex authority check
c)
Grouped together in profiles
d)
Covers up to 10 fields
e)
Consists of up to 10 authorization objects
2) Authorization Checking
( this question has more than 1 answer )
a)
performed with SELECT statement
b)
performed with AUTHORITY-CHECK
c)
determines if user has authority in master record
d)
always refers to authorization profile
e)
system admin defines which authorization checks are executed
3) Authorization
( this question has more than 1 answer )
a)
contains value for field of an authorization object
b)
defines fields for a complex authorization object
c)
can be grouped together in profiles
d)
always refer to a particular authorization
e)
authorizations and profiles are stored in user master record
4) Using SM35 in which case does the system check authorization:
( this question has more than 1 answer )
a)
always
b)
process / foreground
c)
display errors only
d)
process / background
e)
system decides based on profile
5) Search Helps:
( this question has more than 1 answer )
a)
called at POV
b)
controls how fixed values are displayed when F4 is pressed
c)
allow different views of info when help is required
d)
object stored in data dictionary
e)
field names starting with H_
6) Append Structures
( this question has more than 1 answer )
a)
append to table without modifying table itself
b)
can be assigned to several tables
c)
same as substructure
d)
use like any other structure
e)
you must convert table once append is added
7) Check table
( this question has more than 1 answer )
a)
value table assigned to a domain
b)
internal table whose contents are used to check input values
c)
table assigned to 1 or more fields if a FK (foreign key) table for checking input values
d)
table for which a FK is defined
e)
table to which a FK refers

2
8) Modify SAP objects:
( this question has more than 1 answer )
a)
R/3 prevents modifications be user id DDIC and SAP*
b)
Objects can be changed with registration
c)
Register objects in OSS
d)
Carry out modification without registration
e)
Adjust modified object in upgrade
9) Activities required at upgrade when applying hot pack:
( this question has more than 1 answer )
a)
adjust modified object
b)
everything is automatic
c)
release correction before update
d)
abap dictionary tables, data elements and domains are adjusted during upgrade
e)
abap dictionary objects not handled seperately
10) SELECT-OPTIONS COUNTRY FOR LFA1-LAND1:
What will internal table be?
a)
LAND1
b)
LFA1
c)
COUNTRY
d)
LFA1-LAND1
11) In program A function module F is called from function group G for the first time. Which one is correct:
a)
coding of entire function group G is loaded in the roll area
b)
global data from A can be accessed in F
c)
A and F have common work areas for dictionary table
d)
Function module F is called in a separate internal session
e)
Function module F can not call any sessions
12) from transaction A you call transaction B with LEAVE TO TRANSACTION B:
a)
internal system session opened for B
b)
LEAVE can be used to return from B to A
c)
Data from A can be accessed in B
d)
A can pass data to B with export
e)
A can pass data using SET
13) What is a SAP LUW:
a)
a modularised unit in ABAP programs
b)
all the updates for 1 SAP transaction
c)
a logical grouping of database updates that should all be performed at the same time
d)
the section of program code from setting a lock until it is released
e)
all actions between first and last database update in transaction
14) Why do update functions have attributes of either START NOW (v1) or START DELAYED(V2):
a)
define whether update task triggered immediately
b)
combine synchronous and asynchronous updates
c)
assign different priorities
d)
take different speed of servers into account
e)
enable reaction to termination n V1
15) Relationship between SAP transactions and database transactions:
a)
each SAP corresponds to one database
b)
update requests of one SAP transaction are distributed amongst several database transactions
c)
one database group change request of several SAP
d)
database transaction is an internal system representation of SAP transactions

3
16) Change include of module pool, want to ensure module pool is syntactically correct, from program menu, do you:
a)
Check -> current program
b)
Check -> main program
c)
Check -> extended program check
17) Which is true:
( this question has more than 1 answer )
a)
consumption of resources increases if you specify fields after SORT itab By
b)
sorting with intermediate datasets is suitable for data records of different structures
c)
statement sequence between AT NEW<f1> is executed whenever the field <f1> contains a new value
d)
order of statements AT NEW <f1> and AT NEW <f2> is unimportant
e)
when processing control levels the data records must be in sorted order
18) Which of the following are characteristics of Batch Input processing
( this question has more than 1 answer )
a)
A single batch input session may be processed repeatedly
b)
A transaction can perform a synchronous update
c)
Batch input is time delayed processing
d)
When you process a session in foreground, the screen size need to be set to default
e)
Sessions must be released by a variant
19) Which tables within the ABAP dictionary do not permit the addition of append structures?
( this question has more than 1 answer )
a)
Transparent tables
b)
Pooled tables
c)
Cluster tables
d)
Structures
e)
Transparent tables with long fields (LCHR or LRAW)
20) Which options exists for enhancing a table without having to modify the table within the ABAP dictionary?
( this question has more than 1 answer )
a)
Append fields to the table
b)
Use append structures
c)
Use customer include
d)
Use CI includes
e)
Insert new table fields
21) Look at the following syntactically correct program.
Report ZTEST1.
Tables: SFLIGHT
Select * From SFLIGHT .
WRITE: 5 sflight-carrid, sflight-connid.
Endselect.
The output of the report shows only one line.
What are the possible reason?
a)
no where option exists
b)
no skip command
c)
neither the line-break option of the write command not the new-line command has been coded
d)
only 1 record selected
e)
line-count option missing in the report statement

4
22) You use a DATA statement to define an object in an ABAP program. What is the maximum number of characters
allowed in the name of the object.
Only 1 is correct
a)
10
b)
15
c)
20
d)
30
e)
25
23) Within the ABAP query, which list types are available
( this question has more than 1 answer )
a)
basic lists with sorting and summation
b)
details list
c)
ranked lists
d)
control level lists
e)
statistics
f)
total and summary list
g)
graphical
24) The statement WRITE address and bank details(001) is executed. However a different text appears in the list.
What is the reason for this?
( this question has more than 1 answer )
a)
no text element 001 has been defined
b)
the text element 001 was defined with a different text
c)
the user has logged on in a different language than English
d)
the SET LANGUAGE DE statement has set a different language
e)
the list line concerned has been dynamically set to inactive
25) What selection criteria is displayed on the standard selection screen of a report?
( this question has more than 1 answer )
a)
All selection criteria of the logical database
b)
All selection criteria of the logical database that exists for a NODES statement
c)
All criteria defined with SELECT-OPTIONS
d)
All criteria defined with PARAMETERS
26) You must write a report program that keeps all secondary lists at the same level. Which coding is correct?
( this question has more than 1 answer )
a)
AT LINE-SELECTION. SY-LSIND = SY-LSIND 1.
b)
AT LINE-SELECTION. MODIFY LINE SY-LSIND OF CURRENT PAGE.
c)
AT LINE-SELECTION. CASE SY-LSIND.
WHEN 0. SY-LSIND = 1. WHEN 1. SY-LSIND = 0.
d)
AT LINE-SELECTION. IF SY-LSIND > 1. SY-LSIND = SY-LSIND 1. ENDIF.
e)
AT LINE-SELECTION. IF SY-LSIND > 1. SY-LSIND = 1. ENDIF.
27) Which table contains all the objects of a system and therefore forms the foundation for assigning the objects to
corrections and transports?
Only 1 is correct.
a)
TDEVC
b)
TSYST
c)
TADIR
d)
T000
e)
TSAP

28) What methods of data retrieval can be defined for a functional area in an ABAP Query?

5
( this question has more than 1 answer )
a)
LDB
b)
Internal Table
c)
Sequential Files
d)
Database Files
e)
Separate data reference program
29) Within report Test1 you use structure Submit Test 2 to call report Test2. Test1 and Test2 each generate a list.
Test1 is started from the initial screen of the ABAP editor. What will happen of F3 is pressed within the list
generated by TEST2?
a)
Return to list generated by Test1.
b)
Return to initial screen in ABAP editor.
c)
Return to statement that appears after Submit TEST2
30) How many radio button groups are allowed on 1 screen?
Any number
31) If you have a message in PAI and leave screen, where will the message appear?
Bottom of same screen, except success message at bottom of next screen.
32) DYNPROTAB-DYNPRO does this contain screen number?
No ?
33) What is included in the BI-HEADER?
Session Name, Created By, locked, date, time etc.
34) What actions created lock and unlock function modules?
a)
Creating function modules with Function Builder
b)
Saving a lock object in ABAP Dictionary
c)
Activating a lock object defined in ABAP dictionary
35) How do you ensure that 1 radio button is selected at a time?
Put in radio group .
36) How can you define more than one screen to a tabstrip?
a)
Statically
b)
Dynamically
c)
Statically and Dynamically
37) In the following code, how many times is the form routine performed?
Do 5 times. Perform ZTEST ON COMMIT. ENDDO.
a)
5 Times
b)
Once
c)
Never
38) In the following code which fields have been transported from the screen when Module X is being executed?
MODULE X.
CHAIN. FIELD: A, B. MODULE Y.
ENDCHAIN.
MODULE V.
a)
All fields
b)
All fields except A and B
c)
Fields A and B
d)
No Fields

39) When will Module X be executed in the following code?


CHAIN. FIELDS: A, B. MODULE X ON-CHAIN REQUEST ENDCHAIN.

6
a)
b)
c)
d)

When both A and B contain values other than initial values


When either A or B contain values other than their initial values
Always
Never

40) Which authorization object needed if user wishes to execute and change an ABAP/4 Query?
a)
S_QUERY_ALL
b)
S_QUERY
c)
Q_ALL
d)
S_DEVELOP
41) When leaving from transaction A to B using LEAVE TO TRANSACTION statement. Which of the following are
true?
( this question has more than 1 answer )
a)
All data from transaction A is available to B
b)
Data can be passed using ABAP/4 global memory
c)
Data can be passed using EXPORT.MEMORY
d)
Set and Get parameters can be used to transport values.
42) If you use the statement LEAVE TO LIST PROCESSING from within a dialog transaction, how would you return
to the transaction?
( this question has more than 1 answer )
a)
Enter button
b)
Continue button
c)
SET SCREEN 0. LEAVE SCREEN.
d)
RETURN.
43) A report was created using a LDB. When the following report is run, only one record is output to the screen. What
are the possible reasons?
REPORT ZZZ.
TABLES: SFLIGHT, SPFLI.
GET SPFLI.
GET SFLIGHT.
WRITE: SFLIGHT-CARRID, SFLIGHT-CONNID.
a)
Only one record exists in database
b)
Get events are specified in the incorrect order
c)
Write statement does not contain /.
d)
Incorrect LDB specified
44) Table XXX is a buffered database table. Which of the following statements is the most efficient manner for
retrieving records from XXX.
a)
SELECT * FROM XXX BYPASSING BUFFER
b)
SELECT * FROM XXX
c)
GET XXX. Where the correct LDB has been specified in program attributes
45) A requirement is that a screen field must only be displayed under certain conditions. How would you manipulate
table SCREEN to make this occur?
a)
IF <CONDITION> SCREEN-INVISIBLE = 0. MODIFY SCREEN. ENDIF.
b)
IF <CONDITION> SCREEN-ACTIVE = 0. MODIFY SCREEN. ENDIF.
c)
CHECK <CONDITION> SCREEN-ACTIVE = 1. MODIFY SCREEN.
d)
IF <CONDITION> SCREEN-ACTIVE = 1. MODIFY SCREEN.

46) A requirement is to display a persons name and address on the screen. The name must start in column 10 and the
address must appear directly below it. Which of the following statements allow this?

7
a)
b)
c)
d)

WRITE: AT POSITION 10 NAME, /ADDRESS.


WRITE: /10 NAME, ADDRESS UNDER NAME.
WRITE: /10 NAME, / ADDRESS.
WRITE: /10 NAME, / ADDRESS UNDER NAME.

47) Working in the command mode in ABAP/4 editor. How is it possible to display table XXX.
( this question has more than 1 answer )
a)
SHOW XXX in command line
b)
FETCH XXX in command line
c)
Double Click on the table name in the code
d)
Position cursor on table and press F2
e)
Position cursor on table and press F1
48) Working with command editor, how is it possible to obtain help on a command?
( this question has more than 1 answer )
a)
Type H XXXXX in command field
b)
Double click on the command
c)
Position cursor on command and press F1
d)
Position cursor on command and press help button in application toolbar.
49) When working in screen painter, how would one see the code contained in the module using forward navigation?
a)
Go to transaction SE38
b)
Use Object Browser
c)
Use transaction SE80
d)
Double click on the module name
e)
Use repository information system
50) Which server occurs only once
a)
Application Server
b)
Enqueue Server ( Enqueue is a service on a single application server)
c)
Database Server
d)
Message Server (Service on single application server)
e)
Presentation Server
51) How do you code scrolling one page in your program
SCROLL_LIST
52) How would you read a line that you have read?
a)
Read Line
b)
Read Current Line
c)
Modify Line
53) Definition of a Domain
Technical information of data element.
54) How does a success message react?
Appears on next screen
55) Loop. If Statement. (EXIT) or (STOP) Endif. Endloop.
How will EXIT react? Leaves loop and carry on at next line
How will STOP react? Goes to END-OF-SELECTION event
CONTINUE will process next loop pass.
56) Regarding the GET : They will give a few answers that look right. Only correct answer is the one that says GET is
an EVENT.
57) Order of Events :
Initialization -> At selection screen -> start of selection -> Get -> Begin of page -> Top of page -> End of page -> End
of selection -> At line command, At User Command, Top of page during line-selection etc.

8
58) FIELD: X, Y, {ON REQUEST}, {ON INPUT}, {ON NOTHING}.
Which would you use if you want the module to be performed always?
59) TOP INCLUDE -> DATA: ,
I INCLUDE : DATA. Will data defined in I INCLUDE be available to all modules?
NO
60) Difference between SAP Transaction and DB Transaction ?
SAP Transaction: Includes various db transactions.
DB Transaction: One db update .
61) Where would you set up headings for secondary lists?
a)
TOP-OF-PAGE
b)
TOP-OF-PAGE DURING LINE SELECTION
c)
TEXT ELEMENTS -> TITLES AND HEADERS
62) MODULE A. FIELD X MODULE B. MODULE C. FIELD Y MODULE D.
Which fields are available in MODULE C?
All except Y
63) What can you call the OK_CODE and what is the type and length of this field.
Call anything, must be CHAR(4). (note: SY-UCOMM = 70 Characrters!)
64) If you have: WRITE: / The Date(001), and 001 = Date, which display will you have with WRITE:/ text-001 ?
Date
65) Definition of a table control
Area on screen where data displayed in tabular form and processed using a LOOP statement.
66) Difference between Call Transaction and Leave to Transaction
Which allow you to return from where you called: Call Transaction, LEAVE TO not return
How many memory areas are opened? Call Transaction opens new one, LEAVE TO in same.
67) In which table is SET and GET parameters stored:
TPARA
68) Which of the following will affect a selection-screen?
a)
Ranges
b)
Select-options
c)
Field-Symbols
d)
Parameters
69) At which EVENT would you HIDE the fields you need for a secondary list?
Start-of-selection or GET
70) Difference between SY-LSIND and SY-LISTI.
SY-LSIND = Index of list going to.
SY-LISTI = Value of list line coming from .
71) If you call a screen (transaction) from a list, what do you need to program to go back to the list?
LEAVE TO SCREEN 0 , OR, SET SCREEN 0. LEAVE SCREEN.

72) How would you change field contents and attributes in a list?
a)
Set Line
b)
Change Line
c)
Set Cursor
d)
Modify Line
e)
Insert Line

73) Advantages of a Logical Data Base (LDB)


LDB contains already performance enhanced select statements that link the tables, so you not have to code select
anymore. If correct LDB selected, more efficient that SELECTS self coded.
74) How would you read multiple lines in a list?
a)
GET CURSOR in a loop.
b)
READ LINE in a loop.
c)
READ CURRENT LINE in a loop.
75) Difference between CHECK table and VALUE table
Value table not linked to foreign key field. Will allow entries in screen not in table.
Check table is value table linked to foreign key. Will not allow entries on screen not in table.
76) In a loop, how would you force the system to go to the next loop pass?
a)
LEAVE
b)
RETURN
c)
CONTINUE
d)
EXIT
77) Definition of ABAP Query See F1 Help
78) Function Pool
Table: T
Data : G
Function Module F1.
Data: L1
..
Function Module F2.
Data L2
Include J2
What is available to F2.
All but L1.
79) What are the valid statuses of a released Batch Input session
( More than 1 is correct)
a)
Background Session
b)
Deleted Session
c)
Errors in Session
d)
Sessions Being Processed
e)
Revised Session
80) Function Module BDC_OPEN_GROUP generates the header of a Batch Input Session, Which of the following is
true?
( More than 1 is correct)
a)
BCD_OPEN_GROUP must be first maintenance module for generating a Batch Input session in batch input
program.
b)
If you call BDC_OPEN_GROUP not first maintenance module for generating batch input session, system
generates standard values.
c)
User name specified in parameter USER is required when processing batch input in background.
81) Is screen to display contents of ITAB in Table Control. For Batch Input process, you need to position cursor on
field ITAB-F2 in fourth line. What are values required for FNAM and FVAL in table BDC?
a) FNAM = BDC_CURSOR
FVAL = ITAB-F2(4).
b) FNAM = ITAB(4)
FVAL = BDC_CURSOR
c) FNAM = SET_CURSOR
FVAL = F2[4]
82) You place data in DYNPROTAB of function module BDC_INSERT for processing screen of transaction. Which of
the following statements about DYNPROTAB-DYNPRO is true?
a)
Field DYNPROTAB-DYNPRO contains program name and screen number

10
b)
c)

DYNPROTAB-DYNPRO contains screen number


Each value of DYNPROTAB-DYNPRO can occur more than once in table ..

83) How many calls to BDC_INSERT can a batch input program contain?
a)
Exactly one call
b)
Any number of calls, but each can only be used once as parameter tcode
c)
One or more. For each call, input data is passed for one transaction
84) Which enhancements planned by SAP are maintained in CMOD
( More than one is correct)
a)
Table Appends
b)
Menu exits
c)
Function Module Exits
d)
Exceptions in Function Modules
e)
Screen Exits
85) If define statement: DATA A. What will the type and length of A be?
a)
Type CHAR length 1
b)
Type P length 8
c)
Type I length 4
d)
Type F length 8
e)
Type N length 1
86) Which of the following statements or statement sequences within a Loop terminates current pass through loop
depending on condition <cond> and causes processing to continue with next pass through loop?
( More than one is correct)
a)
If <cond>. EXIT. ENDIF.
b)
CHECK NOT <cond>.
c)
If <cond>. RETURN. ENDIF.
d)
If <cond>. LEAVE. ENDIF.
e)
If <cond>. CONTINUE. ENDIF.
87) Which of the following is true with left-outer join?
a)
Rows on left hand table do not meet join condition do not appear in combined list.
b)
Rows of right hand table not meet join condition, not in combined list.
c)
All rows of both will be in combine result.
d)
Rows of both in result only if both have matching rows.
88) Which statement used to read output lines of a program.
a)
Get cursor
b)
Read List
c)
Read Cursor
d)
Extract Lines
e)
Read Line

89) Which statement scrolls list horizontally?


a)
Shift Right
b)
Modify List
c)
Scroll List Right
d)
Sy-LISEL = Sy-Lisel + 70
e)
Set Left Scroll Boundry 70.
90) What does Abap Statement GET LFA1 mean?
a)
Statement reads record from LFA1
b)
Statement requests logical database to transfer a record from LFA1
c)
Statement describes event that occurs when ldb retrieves record from LFA1

11
d)

Statement describes event that occurs when record in list is selected from LFA1

91) Which component of application server controls data traffic between Work Process and presentation server?
a)
SAPGUI
b)
Message Handler
c)
Dispatcher
d)
Dynpro Processor
e)
Front End Processor
92) You want to branch from dialog processing to list processing via selection screen. Which statement will you use?
( More than one is correct)
a)
Call Screen
b)
Read List
c)
Call Transaction
d)
Leave to list processing followed by call selection-screen
e)
Selection-screen followed by Parameters
93) You have defined screen with required entries. You want cancel to be active even if all required fields not filled.
How can you do this?
a)
No special actions required
b)
Cancel function must have function code back
c)
Cancel must be type s and handled in module with addition parameter ON INPUT
d)
Cancel must be type e and handled in module with parameter AT EXIT-COMMAND
e)
No way to do this, required entry fields must always be filled
94) You assign a screen with 5 radio buttons. How do you ensure only 1 button is selected at a time?
(More than one is correct)
a)
Enclose all buttons in box
b)
Combine radio buttons in graphical group
c)
When initialising, assign value X to only 1 radio button
d)
Assign radio buttons to same modification group.
95) Under what circumstances is a module with option ON CHAIN-REQUEST executed?
a)
When value of field in CHAIN is other than initial
b)
When new entry been made for a field in CHAIN
c)
When new entry made for all fields in CHAIN
96)
a)
b)
c)
d)

With ABAP Query which types of lists are possible ?


Statistical
Ranked
Total and summary list
Graphical

97) Which table in SAP holds the system objects ?


a) SYST ?
98) Radiobuttons - > Definition for instance ?
a) Can all be selected
b) They form part of a group
99) When using a logical database in you report, which parts of the selection screen will be shown to the user ? eg.
TABLES: SFLIGHT
a) Shows SFLIGHT plus any selection for tables hierarchically higher up
100) When would you define further indexes on a table ?
101) Can an append structure be added to a table where the last field is of type LCHR ?
102) The definition of a foreign key has to exist between tables, when creating

12
a)
b)
c)
d)

Help views
Matchcodes
Maintenance views
Database views

103) Within the TOP-OF-PAGE event the following code represents


write: /1 text-001.
a. A selection text.
b. A basic list row.
c. A page footer
d. A page header
104) Given the two ABAP Dictioary tables below, the Customer number field in table one must contain a value from
table two. The Customer number field is known as a ____.
Table one:
Table two:
Customer number (Primary key)
Customer number (Primary key)
Company code (Primary key)
Customer name
Other data
Other data
a. Secondary index
b. Matchcode object
c. Validation field
d. Foreign key
105) The event that is processed after all data has been read but before the list is displayed is:
a. END-OF-PAGE
b. START-OF-SELECTION
c. END-OF-SELECTION
d. AT LINE-SELECTION
106) The declarative keyword for defining your own data types in an ABAP program is ____.
a. DATA
b. TYPE-GROUPS
c. TYPES
d. DATA-TYPE
107) Which of these sentences most accurately describes the two-level domain concept?
a. Two different Domains may use the same Data element.
b. A single field may use two different Domains.
c. Two different Data elements may use the same Domain.
d. A single field may use two different Data elements.
108) Given:
DO.
Write: /1 'E equals MC squared.'.
ENDDO.
This will result in ____.
a. output of 'E equals MC squared.' on a new line one time
b. an endless loop that results in an abend error
c. output of 'E equals MC squared.' on a new line many times
d. a loop that will end when the user presses ESC
109) The following code indicates all of the following except:
DATA: counter type i.
CLEAR counter.
DO.
counter = counter + 1.
IF counter >= 5. exit. ENDIF.
ENDDO.
WRITE: /1 counter.
a. Start a loop.

13
b.
c.
d.

Increment counter until it is 5 or more.


Execute the code between DO and ENDDO five times.
Exit the program if counter is 5 or more.

110) A DATA statement may appear only at the top of a program,before START-OF-SELECTION
a. True
b. False
111) This data type has a default length of one and a default value = '0'.
a. P
b. C
c. N
d. I
112) The editor function that formats and indents the lines of code automatically is called ____.
a. Auto align
b. Pretty printer
c. Generate version
d. Syntax check
113) The transport route of an ABAP workbench object is determined by the object's:
a. Client designation
b. Program type
c. Package
d. Naming convention
114) What value must ch_field contain so that "Nice job!" will be output?
write: /1 'Nice'.
CHECK ch_field NE 'X'.
Write: 'job!'.
a. 'X'
b. Anything other than 'X'
c. "Nice job!" will not be output by this code
d. None of the above
115) Given:
CONSTANTS: var_one(3) type C value 'DOG'.
IF var_one = 'dog'.
WRITE: /1 'Bark!'.
ELSE.
WRITE: /1 'Meow!'.
ENDIF.
WRITE: var_one.
This will result in the output:
a. Bark! DOG
b. DOG
c. Meow! DOG
d. None of the above
116) In regard to CONTINUE, which of the following is a true statement?
a. Causes a loop to terminate.
b. Jumps immediately to the END-OF-SELECTION event.
c. Stops the current loop pass and gets the next.
d. Continue may be used outside of loops.
117) What is the system field for program name?
a. SY-REPRT
b. SY-PROG
c. SY-REPID

14
d.

SY-PNAME

118) Which keyword removes any line from an internal table?


a. ERASE
b. MODIFY
c. STRIP
d. DELETE
119) When coding AT FIRST fld1. _ ENDAT. within an internal table loop, you should avoid using: (wrong syntax)
a. SORT itab by fld1.
b. LOOP AT itab WHERE fld1 = pfld.
c. SUM.
d. WRITE itab-fld1.
120) To stop selection when a certain number of records have been found, use ____.
a. UP TO n ROWS
b. BYPASSING BUFFER
c. ORDER BY
d. GROUP BY
121) To total the numeric fields at a control break, use:
a. ADD.
b. SUM.
c. COUNT.
d. TOT.
122) To sort data as you select it, use ____.
a. INTO TABLE
b. SORT BY
c. ORDER BY
d. None of the above
123) To limit the number of records selected from the database, use ____.
a. WHERE
b. WHEN
c. IF
d. CASE
124) Your own selection screen modifications should be coded here:
a. AT SELECTION-SCREEN OUTPUT.
b. AT USER-COMMAND.
c. AT LINE-SELECTION.
d. INITIALIZATION.
125) Instead of using OCCURS 50, you could use:
a. ROWS 50
b. INDEX 50
c. DEFAULT 50
d. INITIAL SIZE 50
126) What addition to the READ TABLE statement must be used when reading a hashed or sorted internal table to
ensure that a binary search will be used?
a. WITH KEY
b. WITH TABLE KEY
c. SEARCH TYPE
d. WHERE
127) To assign an initial value, include this option of the PARAMETERS statement:
a. FIRST
b. INITIALIZATION

15
c.
d.

VALUE
DEFAULT

128) By definition, what fields make up the standard internal table key?
a. All the table's fields.
b. All the non-numeric fields.
c. All the numeric fields.
d. The first field
129) To use a secondary table index in your SELECT statement, you should:
a. Include the index fields in the WHERE clause in the correct order
b. Use the INDEX clause of the SELECT statement
c. Include MANDT in the WHERE clause
d. None of the above
130) Which of these ABAP statements does NOT declare an internal table?
a. DATA: BEGIN OF itab OCCURS 0, field(10) TYPE C, END OF itab.
b. DATA: itab LIKE struc OCCURS 10 WITH HEADER LINE.
c. DATA: BEGIN OF itab WITH HEADER LINE, field(10) TYPE C, END OF itab.
d. DATA: itab TYPE STANDARD TABLE OF struc_type.
131) ABAP Open SQL allows SAP applications to run on any supported database system without modifying the
source code.
a. True
b. False
132) To properly tune the following code, you should:
SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6)
WHERE fld7 = pfld7.
CHECK tab1-fld9 = pfld9.
WRITE: /1 fld4, fld5, fld6.
ENDSELECT.
a. Add a SY-SUBRC check after ENDSELECT.
b. Remove the INTO clause of the SELECT statement.
c. Take the WRITE statement out of the SELECT_ENDSELECT.
d. Move the CHECK statement into the WHERE clause.
133) To make a single field open for input after an error or warning message
a. Add the field to the screen with the input attribute checked.
b. Declare the field as global data.
c. Use the FIELD flow logic statement
d. Call message type S.
134) Given:
SELECT fld1 fld2 fld3 FROM tab1 INTO (itab-fld4, itab-fld5, itab-fld6)
WHERE fld7 = pfld7.
APPEND itab.
ENDSELECT.
Which of the following is a good performance tuning technique?
a. Change the SELECT statement to use INTO TABLE itab.
b. Add MOVE statements to fill the header line of itab.
c. Remove the internal table itab from the SELECT statement.
d. This code is optimized; no change is required.
135) All of the following pertain to a subroutine's local data object except:
a. Declared inside of the subroutine.
b. Available only within the subroutine.
c. Must follow the same declaration syntax as Global data.
d. Value is known to all subroutines.

16
136) Page headers for a secondary list should be coded in which event?
a. TOP-OF-PAGE.
b. START-OF-SELECTION.
c. TOP-OF-PAGE DURING LINE-SELECTION.
d. AT USER-COMMAND
137) When is it optional to pass an actual parameter to a required formal parameter of a function module?
a. The actual parameter is type C.
b. The formal parameter contains a default value.
c. The formal parameter's "Reference" attribute is turned on.
d. It is never optional.
138) A select statement can be checked using system variable.
a. True
b. False
139) To prevent invalid list lines from being selected by a double-click, you should do all of the following except:
a. Check the hide field after outputting the basic list.
b. Clear the hide field after outputting the basic list.
c. Check the hide field in AT LINE-SELECTION to make sure the hide field has a value.
d. Clear the hide field at the end of the AT LINE-SELECTION event.
140) The table control attribute <ctrl>-LINES indicates the total number of lines in the internal table.
a. True
b. False
141) To call a local subroutine named calculate_answer, use this line of code:
a. PERFORM calculate_answer.
b. CALL calculate_answer.
c. USING calculate_answer.
d. SUB calculate_answer.
142) In regard to a screen's flow logic, which of the following in not a true statement?
a. Contains PBO and PAI module statements
b. Screen logic statements and ABAP statements are same
c. Determines the processing sequence of ABAP logic for a screen
d. Controls what happens before a screen is output and what happens after user input
143) Before a function module may be tested, it must first be:
a. Linked
b. Authorized
c. Released
d. Active
144) The structure of a table has been changed in the ABAP Dictionary. Which of the following adjustments in the
relevant database table is correct, if you want to retain the previous data?
a. Delete and recreate the database table
b. Change the database directory (ALTER TABLE) where the structure change with ALTER TABLE is supported by
the database.
c. Convert the table
145) In SAP terminology, what is a check table?
a. A value table specified in the definition of the domain for a field.
b. Any internal table, used to check input values.
c. A table assigned to one or more fields of a foreign key table for checking input values.
d. The table created for a foreign key.
146) Can you store data persistently in a structure?
a. Yes
b. No

17
c.

Yes, as long as the structure has been created in the ABAP Dictionary.

147) Which of the following statements are true?


a. A Repository object can have an original version in more than one system.
b. A Repository object can only have an original version in a single system. Other systems may contain copies of the
object.
c. You can only correct a Repository object in its original system.
148) You have a screen with number 100, in which the next screen is defined as screen 200.
Screen 100 is called using CALL SCREEN. After the PAI modules of screen 100 have been executed, and
assuming that they contain no statements that affect the screen sequence, where does processing continue?
a. In the PBO modules of screen 200.
b. Directly after the CALL SCREEN statement
c. In the PBO modules of screen 100.
149) In the ABAP Editor, how can you find information about an ABAP statement?
a. By placing the cursor on the keyword in your program and pressing F1
b. By choosing "Help on " from the menu (or the corresponding icon) and entering the keyword in the subsequent
dialog box.
c. By placing the cursor on the keyword in your program and pressing F4.
d. By placing the cursor on the keyword in your program and choosing the "Help" menu.
150) You want to transport a local object into another system. What do you do?
a. Assign the object to a change request.
b. Assign the object to a transport request.
c. Reassign the object to a different development class and then assign it to a transport request.
d. You cannot transport local objects.
e. Copy the object and assign the copy to a different development class, then assign the object to a transport request.
151) In the middle of a dialog program, you need to change to list mode in order to read data using a logical database.
Which of the following statements would you use?
a. CALL SCREEN
b. READ LIST
c. CALL TRANSACTION <Report transaction>
d. LEAVE TO LIST-PROCESSING
e. SUBMIT <Name> AND RETURN
152) You used the statement LEAVE TO LIST-PROCESSING to switch to list processing from a dialog program.
How can you return to dialog processing?
a. EXIT
b. Standard BACK function
c. Not possible
d. You can ONLY return to dialog porcessing if you used the AND RETURN TO SCREEN n addition in the LEAVE
TO LIST-PROCESSING statement.
153) How can you inactivate functions in the GUI status?
a. LOOP AT SCREEN. SCREEN-INACTIVE. MODIFY SCREEN.
b. SET FUNCTION INACTIVE.
c. SET PF-STATUS EXCLUDING f
d. SET PF-STATUS EXCLUDING itab
154) In a dialog program, how can you display a dialog box?
a. GO TO SCREEN 200
b. CALL SCREEN 200
c. SET SCREEN 200
d. CALL SCREEN 200 STARTING AT 5 5.
e. WINDOW 200 STARTING AT 5 5.

18
155) You have defined parameters and/or select options for a program. What do you have to do to ensure that short
texts are displayed on the selection screen of the report, and not just the coded names of the parameters and
select options?
a. Use the Screen Painter to modify the appropriate field names in the field list of the selection screen.
b. Output the appropriate terms at the INITIALIZATION event.
c. Output the appropriate terms at event AT SELECTION-SCREEN.
d. Maintain the selection texts.
156) Which of the following variants define an internal table?
a. DATA: BEGIN OF tab,
a (72),
END OF tab.
b. DATA: BEGIN OF tab occurs 100,
a (72),
END OF tab.
c. DATA: tab TYPE <Typ> OCCURS 0.
d. DATA: tab LIKE table of <Struktur>.
157) An internal table with the fields
kunde (Type C, Length 30) and lifnr (Type I) is filled using the following statements:
itab-kunde = 'Meier'. itab-lifnr = 8. APPEND itab.
itab-kunde = 'Lehmann'. itab-lifnr = 7. APPEND itab.
itab-kunde = 'Schulze'. itab-lifnr = 4. APPEND itab.
itab-kunde = 'Schmidt'. itab-lifnr = 10. APPEND itab.
Which of the following statements would you use to read the entry for Schmidt?
a. SELECT SINGLE * FROM itab WHERE kunde = 'Schmidt'.
b. READ TABLE itab WITH KEY kunde = 'Schmidt' BINARY SEARCH.
c. READ TABLE itab WITH KEY 'Schmidt'.
d. READ TABLE itab INDEX 10.
158) Which event do you use to generate page headers for a details list?
a. AT LINE-SELECTION
b. TOP-OF-PAGE
c. TOP-OF-PAGE DURING LINE-SELECTION
d. NEW-PAGE
e. END-OF-PAGE
159) Which of the following statements would you use in interactive reporting to make field contents available for use
in a subsequent detail list?
a. WRITE
b. AT LINE-SELECTION
c. AT USER-COMMAND
d. HIDE
e. MODIFY LINE
160) When does the event 'AT LINE-SELECTION' occur?
a. When you double-click on a line in a list
b. When you position the cursor on a line in a list and press the F2 function key
c. When you position the cursor on a line in a list and press the F4 function key
d. When you position the cursor on a line in a list
161) How do you define the selection screen of a program?
a. Using PARAMETERS statements
b. Using statements in the AT SELECTION-SCREEN event block
c. By specifying a logical database in the program attributes
d. Using SELECT-OPTIONS statements
e. Using FIELD-SYMBOLS statements
162) Which addition in the PARAMETERS statement allows you to place default values on the selection screen?
a. DEFAULT

19
b.
c.
d.

LIKE
VALUE
MEMORY ID

163) How can you suppress the default title of a list?


a. By defining a TOP-OF-PAGE event in the program and using it to display something else.
b. By choosing System -- List -- List header and entering your own title.
c. By using the NO STANDARD PAGE HEADING addition in the REPORT statement.
d. By entering a title in the text elements of the program.
e. By using the NEW-PAGE NO-TITLE statement.
164) You want to define a screen in which you can trigger a function you have already defined.
Which system/program variables return the corresponding function code?
a. SY-PFKEY
b. In the variables assigned to the OK code field (command field)
c. SY-TCODE
d. OK-CODE
165)
a.
b.
c.
d.

Which enhancement is local, which is global:


Field Exits
Screen Exits
Program Exits
Menu Exits

166)
a.
b.
c.
d.

Which of the following can not be done to an internal table type SORTED:
Collect
Modify
Append
Sort

167)
a.
b.
c.
d.

Which statements are correct regarding function modules: (choose correct option/s)
Embedded in type F program
Encapsulate screen sequences
Have an interface
Can have optional parameters

Part 2.
1. If a table does not have MANDT as part of the primary key, it is ____.
A: A structure
B: Invalid
C: Client-independent
D: Not mandatory
2. In regard to CALL, which of the following is NOT a valid statement?
A: CALL FUNCTION
B: CALL SCREEN
C: CALL TRANSACTION
D: CALL PROGRAM
3. Name the type of ABAP Dictionary table that has these characteristics:
Same number of fields as the database table
Same name as database table
Maps 1:1 to database table

20

A: Pooled
B: Cluster
C: Transparent
D: View
4. An event starts with an event keyword and ends with:
A: Program execution.
B: END-OF-EVENT.
C: Another event keyword.
D: END-EVENT.
5. What is the system field for the current date?
A: SY-DATUM
B: SY-DATE
C: SY-DATID
D: SY-SDATE
6. The following code indicates:
SELECT fld1 fld2 FROM tab1 APPENDING TABLE itab
WHERE fld1 IN sfld1.
A: Add rows to the existing rows of itab.
B: Add rows to itab after first deleting any existing rows of itab.
C: Select rows from tab1 for matching itab entries.
D: Nothing, this is a syntax error.
7. You may change the following data object as shown below so that it equals 3.14.
CONSTANTS: PI type P decimals 2 value '3.1'.
PI = '3.14'.
A: True
B: False
8. The SAP service that ensures data integrity by handling locking is called:
A: Update
B: Dialog
C: Enqueue/Dequeue
D: Spool
9. Which of these sentences most accurately describes the GET VBAK LATE. event?
A: This event is processed before the second time the GET VBAK event is processed.
B: This event is processed after all occurrences of the GET VBAK event are completed.
C: This event will only be processed after the user has selected a basic list row.
D: This event is only processed if no records are selected from table VBAK.
10. Which of the following is not a true statement in regard to a hashed internal table type?

21

A: Its key must always be UNIQUE.


B: May only be accessed by its key.
C: Response time for accessing a row depends on the number of entries in the table.
D: Declared using internal table type HASHED TABLE.
11. TO include database-specific SQL statements within an ABAP program, code them between:
A: NATIVE SQL_ENDNATIVE.
B: DB SQL_ENDDB.
C: SELECT_ENDSELECT.
D: EXEC SQL_ENDEXEC.
12. To measure how long a block of code runs, use the ABAP statement:
A: GET TIME .
B: SET TIME FIELD .
C: GET RUN TIME FIELD .
D: SET CURSOR FIELD .
13. When a secondary list is being processed, the data of the basic list is available by default.
A: True
B: False
14. Given:
DATA: BEGIN OF itab OCCURS 10,
qty type I,
END OF itab.
DO 25 TIMES. itab-qty = sy-index. APPEND itab. ENDDO.
LOOP AT itab WHERE qty > 10.
WRITE: /1 itab-qty.
ENDLOOP.
This will result in:
A: Output of only those itab rows with a qty field less than 10
B: Output of the first 10 itab rows with a qty field greater than 10
C: A syntax error
D: None of the above
15. After a DESCRIBE TABLE statement SY-TFILL will contain
A: The number of rows in the internal table.
B: The current OCCURS value.
C: Zero, if the table contains one or more rows.
D: The length of the internal table row structure.
16. You may declare your own internal table type using the TYPES keyword.
A: True

22
B: False
17. After adding rows to an internal table with COLLECT, you should avoid adding more rows with APPEND.
A: True
B: False
18. Which of the following is not a component of control break processing when looping at an internal table?
A: AT START OF
B: AT FIRST
C: AT LAST
D: AT NEW
19. A dictionary table is made available for use within an ABAP program via the TABLES statement.
A: True
B: False
20. Which of the following would be best for hiding further selection criteria until a function is chosen?
A: AT NEW SELECTION-SCREEN
B: SELECTION-SCREEN AT LINE-SELECTION
C: SUBMIT SELECTION-SCREEN
D: CALL SELECTION-SCREEN
21. What must you code in the flow logic to prevent a module from being called unless a field contains a non-initial
value (as determined by its data type)?
A: ON INPUT
B: CHAIN
C: FIELD
D: ON REQUEST
22. The AT USER-COMMAND event is triggered by functions defined in the ____.
A: screen painter
B: ABAP report
C: menu painter status
D: ABAP Dictionary
23. In regard to a function group, which of the following is NOT a true statement?
A: Combines similar function modules.
B: Shares global data with all its function modules.
C: Exists within the ABAP workbench as an include program.
D: Shares subroutines with all its function modules.
24. In regard to SET PF-STATUS, you can deactivate unwanted function codes by using ____.
A: EXCLUDING
B: IMMEDIATELY

23
C: WITHOUT
D: HIDE
25. In regard to data transported in PAI when the FIELD statement is used, which of the following is NOT a true
statement?
A: Fields in PBO are transported directly from PAI.
B: Fields with identical names are transported to the ABAP side.
C: Fields not defined in FIELD statements are transported first.
D: Fields that are defined in FIELD statements are transported when their corresponding module is called.
26. The order in which an event appears in the ABAP code determines when the event is processed.
A: True
B: False
27. A field declared as type T has the following internal representation:
A: SSMMHH
B: HHMMSS
C: MMHHSS
D: HHSSMM
28. Which of the following is NOT a component of the default standard ABAP report header?
A: Date and Time
B: List title
C: Page number
D: Underline
29. Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed
when the button is clicked?
A: AT USER-COMMAND.
B: AT PFn.
C: AT SELECTION-SCREEN.
D: END-OF-SELECTION.
30. In regard to field selection, what option of the SELECT statement is required?
A: FOR ALL ENTRIES
B: WHERE
C: INTO
D: MOVE-CORRESPONDING
31. The following program outputs what?
report zjgtest1
write: /1 'Ready_'.
PARAMETER: test.

24
INITIALIZATION.
write: /1 'Set_'.
START-OF-SELECTION.
write: /1 'GO!!'.
A: Set_ GO!! (each on its own line)
B: Set_ Ready_ GO!! (all on their own lines)
C: Ready_ GO!! (each on its own line)
D: Ready_ Set_ GO!! (all on their own lines)
32. To declare a selection criterion that does not appear on the selection screen, use:
A: NO-DISPLAY
B: INVISIBLE
C: MODIF ID
D: OBLIGATORY
33. An internal table that is nested within another internal table should not contain a header line.
A: True
B: False
34. What is output by the following code?
DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab.
itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab.
itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab.
LOOP AT itab.
SY-TABIX = 2.
WRITE itab-letter.
EXIT.
ENDLOOP.
A: A
B: A B C D
C: B
D: B C D
35. To select all database entries for a certain WHERE clause into an internal table in one step, use
A: SELECT_INTO TABLE itab_
B: SELECT_INTO itab_
C: SELECT_APPENDING itab
D: SELECT_itab_
36. After a successful SELECT statement, what does SY-SUBRC equal?
A: 0
B: 4
C: 8
D: Null

25

37. This selection screen syntax forces the user to input a value:
A: REQUIRED-ENTRY
B: OBLIGATORY
C: DEFAULT
D: SELECTION-SCREEN EXCLUDE
38. If the following code results in a syntax error, the remedy is:
DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1
WITH HEADER LINE.
itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab.
itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab.
SORT itab.
LOOP AT itab.
write: /1 itab-field1, itab-field2.
ENDLOOP.
A: There is no syntax error here
B: Remove the SORT statement
C: Change INSERT to APPEND
D: Add a WHERE clause to the loop
39. If this code results in an error, the remedy is:
SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3.
WRITE: /1 tab1-fld1, tab1-fld2.
ENDSELECT.
A: Add a SY-SUBRC check.
B: Change the WHERE clause to use fld1 or fld2.
C: Remove the /1 from the WRITE statement.
D: Add INTO (tab1-fld1, tab1-fld2).
40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number.
A: True
B: False
41. To allow the user to enter values on the screen for a list field, use:
A: OPEN LINE.
B: SET CURSOR FIELD.
C: WRITE fld AS INPUT FIELD.
D: FORMAT INPUT ON.
42. Before a function module may be tested, it must first be:
A: Linked
B: Authorized
C: Released

26
D: Active
43. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data
declaration for the field?
A: PBO module include program
B: TOP include program
C: PAI module include program
D: Subroutine include program
44. If a table contains many duplicate values for a field, minimize the number of records returned by using this
SELECT statement addition.
A: MIN
B: ORDER BY
C: DISTINCT
D: DELETE
45. The system internal table used for dynamic screen modification is named:
A: ITAB
B: SCREEN
C: MODTAB
D: SMOD
46. Within the source code of a function module, errors are handled via the keyword:
A: EXCEPTION
B: RAISE
C: STOP
D: ABEND
47. Which system field contains the contents of a selected line?
A: SY-CUCOL
B: SY-LILLI
C: SY-CUROW
D: SY-LISEL
48. The following statement writes what type of data object?
WRITE: /1 'Total Amount:'.
A: Text literal
B: Text variable
C: In-code comment
D: Text integer
49. For the code below, second_field is of what data type?
DATA: first_field type P, second_field like first_field.
A: P

27
B: C
C: N
D: D
50. Which of the following describes the internal representation of a type D data object?
A: DDMMYYYY
B: YYYYDDMM
C: MMDDYYYY
D: YYYYMMDD
51. A BDC program is used for all of the following except:
A: Downloading data to a local file
B: Data interfaces between SAP and external systems
C: Initial data transfer
D: Entering a large amount of data
52. In regard to PERFORM, which of the following is NOT a true statement?
A: May be used within a subroutine.
B: Requires actual parameters.
C: Recursive calls are allowed in ABAP.
D: Can call a subroutine in another program.
53. What is the transaction code for the ABAP Editor?
A: SE11
B: SE38
C: SE36
D: SE16
54. In regard to HIDE, which of the following is NOT a true statement?
A: Saves the contents of variables in relation to a list line's row number.
B: The hidden variables must be output on a list line.
C: The HIDE area is retrieved when using the READ LINE statement.
D: The HIDE area is retrieved when an interactive event is triggered.
55. Database locks are sufficient in a multi-user environment.
A: True
B: False
56. The complete technical definition of a table field is determined by the field's:
A: Domain
B: Field name
C: Data type
D: Data element
57. In regard to LEAVE, which of the following is NOT a true statement?

28
A: May be used to return immediately to a calling program.
B: May be used to stop the current loop pass and get the next.
C: May be used to start a new transaction.
D: May be used to go to the next screen.
58. The following code indicates:
SELECT fld6 fld3 fld2 fld1 FROM tab1 INTO CORRESPONDING FIELDS OF TABLE itab
WHERE fld3 = pfld3.
A: The order of the fields in itab does not matter.
B: Fill the header line of itab, but not the body.
C: Table itab can only contain fields also in table tab1.
D: None of the above.
59. The ABAP statement below indicates that the program should continue with the next line of code if the internal
table itab:
CHECK NOT itab[] IS INITIAL.
A: Contains no rows
B: Contains at least one row
C: Has a header line
D: Has an empty header line
60. What will be output by the following code?
DATA: BEGIN OF itab OCCURS 0, fval type i, END OF itab.
itab-fval = 1. APPEND itab.
itab-fval = 2. APPEND itab.
FREE itab.
WRITE: /1 itab-fval.
A: 2
B: 0
C: blank
D: 1
61. To allow the user to enter a range of values on a selection screen, use the ABAP keyword:
A: DATA.
B: RANGES.
C: PARAMETERS.
D: SELECT-OPTIONS.
62. If an internal table is declared without a header line, what else must you declare to work with the table's rows?
A: Another internal table with a header line.
B: A work area with the same structure as the internal table.
C: An internal table type using the TYPES statement.
D: A PARAMETER.

29
63. Assuming an internal table contains 2000 entries, how many entries will it have after the following line of code is
executed?
DELETE itab FROM 1500 TO 1700.
A: This is a syntax error.
B: 1801
C: 1800
D: 1799
64. To remove lines from a database table, use ____.
A: UPDATE
B: MODIFY
C: ERASE
D: DELETE
65. All of the following may be performed using SET CURSOR except:
A: Move the cursor to a specific field on a list.
B: Move the cursor to a specific list line.
C: Move the cursor to a specific pushbutton, activating that function.
D: Move the cursor to a specific row and column on a list.
66. When is it optional to pass an actual parameter to a required formal parameter of a function module?
A: The actual parameter is type C.
B: The formal parameter contains a default value.
C: The formal parameter's \"Reference\" attribute is turned on.
D: It is never optional.
67. Coding two INITIALIZATION events will cause a syntax error.
A: True
B: False
68. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for improving
performance.
A: True
B: False
69. To save information on a list line for use after the line is selected, use this keyword.
A: APPEND
B: EXPORT
C: WRITE
D: HIDE
70. To bypass automatic field input checks, include this in PAI.
A: AT EXIT-COMMAND
B: ON INPUT

30
C: ON REQUEST
D: LEAVE TO SCREEN 0.
71. Within a function module's source code, if the MESSAGE_RAISING statement is executed, all of the following
system fields are filled automatically except:
A: SY-MSGTY
B: SY-MSGNO
C: SY-MSGV1
D: SY-MSGWA
72. The following code indicates:
REPORT ZLISTTST.
START-OF-SELECTION.
WRITE: text-001.
FORMAT HOTSPOT ON.
WRITE: text-002.
FORMAT HOTSPOT OFF.
AT LINE-SELECTION.
WRITE / text-003.
A: Text-002 may not be selected.
B: The value of text-002 is stored in a special memory area.
C: Text-002 may be clicked once to trigger the output of text-003.
D: None of the above.
73. The ____ type of ABAP Dictionary view consists of one or more transparent tables and may be accessed by an
ABAP program using Open SQL.
A: Database view
B: Projection view
C: Help view
D: Entity view
74. A concrete field is associated with a field-symbol via ABAP keyword
A: MOVE
B: WRITE
C: ASSIGN
D: VALUE
75. The output for the following code will be:
report zabaprg.
DATA: char_field type C.
char_field = 'ABAP data'.
WRITE char_field.
A: ABAP data
B: A
C: Nothing, there is a syntax error
D: None of the above

31

76. Page footers are coded in the event:


A: TOP-OF-PAGE.
B: END-OF-SELECTION.
C: NEW-PAGE.
D: END-OF-PAGE.
77. The event AT SELECTION-SCREEN OUTPUT. occurs before the selection screen is displayed and is the best
event for assigning default values to selection criteria.
A: True
B: False
78. The TABLES statement declares a data object.
A: True
B: False
79. Assuming tab1-fld7 is not a key field, how can you prevent reading all the table rows?
SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6)
WHERE fld7 = pfld7.
WRITE: /1 fld4, fld5, fld6.
ENDSELECT.
A: Take fld7 out of the WHERE clause.
B: Create an index in the ABAP Dictionary for tab1-fld7.
C: Use INTO TABLE instead of just INTO.
D: Take the WRITE statement out of the SELECT_ENDSELECT.
80. Which of the following is NOT a required attribute when creating an ABAP program?
A: Application
B: Title
C: Status
D: Type
81. When creating a transparent table in the ABAP Dictionary, which step automatically creates the table in the
underlying database?
A: Adding technical settings to the table
B: Checking the table syntax
C: Saving the table
D: Activating the table
82. Within the ABAP program attributes, Type = 1 represents:
A: INCLUDE program
B: Online program
C: Module pool
D: Function group
E: Subroutine pool

32

83. If this code results in an error, the remedy is:


SELECT fld1 SUM( fld1 ) FROM tab1 INTO_
A: Remove the spaces from SUM( fld1 ).
B: Move SUM( fld1 ) before fld1.
C: Add GROUP BY f1.
D: Change to SUM( DISTINCT f1 ).
84. Which keyword adds rows to an internal table while accumulating numeric values?
A: INSERT
B: APPEND
C: COLLECT
D: GROUP
85. Assuming itab has a header line, what will be output by the following code?
READ TABLE itab INDEX 3 TRANSPORTING field1.
WRITE: /1 itab-field1, itab-field2.
A: The contents of the third row's itab-field1.
B: The contents of the third row's itab-field1 and itab-field2.
C: The contents of the third row's itab-field2.
D: Nothing.
86. The following code indicates:
SELECTION-SCREEN BEGIN OF BLOCK B1.
PARAMETERS: myparam(10) type C,
Myparam2(10) type N,
SELECTION-SCREEN END OF BLOCK.
A: Draw a box around myparam and myparam2 on the selection screen.
B: Allow myparam and myparam2 to be ready for input during an error dialog.
C: Do not display myparam and myparam2 on the selection screen.
D: Display myparam and myparam2 only if both fields have default values.
87. Which statement will sort the data of an internal table with fields FRUIT, QTY, and PRICE so that it appears as
follows?
FRUIT QTY PRICE
Apples 12 22.50
Apples 9 18.25
Oranges 15 17.35
Bananas 20 10.20
Bananas 15 6.89
Bananas 5 2.75
A: SORT itab DESCENDING BY QTY PRICE.
B: SORT itab BY PRICE FRUIT.
C: SORT itab.
D: SORT itab BY PRICE DESCENDING.

33

88. Which keyword adds a line anywhere within an internal table?


A: APPEND
B: MODIFY
C: ADD
D: INSERT
89. To read a single line of an internal table, use the following:
A: LOOP AT itab. _ ENDLOOP.
B: READ itab.
C: SELECT SINGLE * FROM itab.
D: READ TABLE itab.
90. Which Open SQL statement should not be used with cluster databases?
A: UPDATE
B: MODIFY
C: DELETE
D: INSERT
91. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data
declaration for the field?
A: PBO module include program
B: TOP include program
C: PAI module include program
D: Subroutine include program
92. This flow logic statement is used to make multiple fields open for input after an error or warning message.
A: GROUP
B: FIELD-GROUP
C: CHAIN
D: LOOP AT SCREEN
93. Given:
PERFORM subroutine USING var.
The var field is known as what type of parameter?
A: Formal
B: Actual
C: Static
D: Value

34

BC certification Demo test.


1.

A batch input job with two steps is processed. IMPORT/EXPORT statements are used to pass values
between the steps.
Step 1 contains the statements
STATUS = 'S'. CONT = 'C'.
EXPORT STATUS CONT TO MEMORY ID 'XXXX'.
Step 2 contains the statements
CLEAR: CONT, STATUS, FLAG.
IMPORT CONT FLAG FROM MEMORY ID 'XXXX'.

What do the fields SY-SUBRC, CONT and FLAG contain after the IMPORT statement has been executed?

SY-SUBRC = 4. CONT = 'C'. FLAG = ' '.


SY-SUBRC = 0. CONT = 'C'. FLAG = ' '.
SY-SUBRC = 0. CONT = ' '. FLAG = ' '.

2.

What is the purpose of the function module FILE_GET_NAME?

It determines the three-character name of the SAP system.


It determines the physical file name corresponding to a logical file name.
It determines the name of the user who is processing a batch input session

3.

What is the relationship between the terms batch input session, batch input program and batch input
queue?

The batch input queue contains all the batch input programs to be processed.
A batch input program generates batch input sessions.
The batch input queue contains the data used by batch input programs and offered to the task
functions (transactions) for processing.
The batch input session contains the batch input programs.

4.

You are using Transaction SM35 (System->Services->Batch input->Edit) to process a batch input
session in the mode Display errors only. An error occurs.
Which of the following assertions could apply.
The system flags the session status as 'Incorrect'. The batch input program used to generate the
session must be restarted before you the session can be processed again.
The system flags the session status as 'Incorrect'. The session can be processed again.
The system flags the session status as 'Incorrect'. It can only be processed again in the processing
mode 'Process/foreground'.
The system flags the session status as 'Incorrect'. It can only be processed again by you.
5. The structure of a table has been changed in the ABAP/4 Dictionary. Which of the following
adjustments in the relevant database table is correct, if you want to retain the previous data?

Delete and recreate the database table


Change the database directory (ALTER TABLE) where the structure change with ALTER TABLE is
supported by the database.
Convert the table

6.

Must Exits be predefined by SAP programmers?


No
Yes
#Customers can determine for themselves where they want to use exits

7.

Which ABAP/4 statement is used to call a customer enhancement from an SAP program?

CALL FUNCTION 'ZXY_APPLICATION-001'


PERFORM 'ZXYZ1234'

35

#CALL CUSTOMER-FUNCTION '001'


CALL DIALOG 'ZXY-APPLICATION-001'
CALL SCREEN 001

8.

Which ABAP/4 data type would you use for calculations that have to be very exact?

Data
Data
Data
Data
Data

9.

You have defined parameters and/or select options for a program. What do you have to do to ensure
that short texts are displayed on the selection screen of the report, and not just the coded names of
the parameters and select options?

Use the Screen Painter to modify the appropriate field names in the field list of the selection screen.
Output the appropriate terms at the INITIALIZATION event.
Output the appropriate terms at event AT SELECTION-SCREEN.
#Maintain the selection texts.

type
type
type
type
type

P
I
F
D
X

10. Which event do you use to generate page headers for a details list?

AT LINE-SELECTION
TOP-OF-PAGE
TOP-OF-PAGE DURING LINE-SELECTION
NEW-PAGE
END-OF-PAGE

11. When does the event 'AT LINE-SELECTION' occur?

#When you double-click on a line in a list


When you position the cursor on a line in a list and press the F2 function key
When you position the cursor on a line in a list and press the F4 function key
When you position the cursor on a line in a list

12. Which CPI-C call in ABAP/4 passes send rights to the partner?

COMMUNICATION RECEIVE
COMMUNICATION SEND
COMMUNICATION ACCEPT

13. Which of the following assertions about CPI-C are true?

CPI-C is always based on the network protocol TCP/IP.


Each SAP system from which a CPI-C connection is set up needs a side info table.
The SAP gateway is used for every CPI-C communication.
For an R/3 communication, you need to maintain the table TXCOM.
In the table TXCOM, you must maintain the entries GWHOST (for the gateway host) and GWSERV (for
the gateway service).

14. You want to define a screen in which you can trigger a function you have already defined.
Which system/program variables return the corresponding function code ?
SY-PFKEY
#SY-UCOMM
In the variables assigned to the OK code field (command field)
SY-TCODE
OK-CODE

36

15. You want to define an interface status for a details list displayed after a WINDOW statement. Which
status type do you have to use?

Screen
Dialog box
List
List in dialog box

BDCs / LSMW
1.
2.
3.
4.
5.
6.
7.

How many types of BDCs you have done?


What is difference between Call Transaction and Session method?
Why you choose Call transaction and/or session method?
How you trap errors in call Transaction
What are different types of Update modes?
What is main difference between session method and LSMW?
What is main difference between CATT and LSMW?

SAP SCRIPTS
8. Have you created your own scripts?
9. How to modify existing SAP scripts?
10. How to attach modified script to driver program?
11. What is use of text element?
12. What is difference between START_FORM and OPEN_FORM?
REPORTS
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.

Which are most critical reports you have designed?


Events in reports
Order of event execution
How you validate contents of selection screen
Special events in interactive reports
What is an event to capture contents of fields in interactive report other than HIDE?
Different types of Select statements
Which Select statement will be efficient out of Select Single and Select up to one row?
What select statement you will use without looping on internal table and without checking sy-subrc?
What will be an effect of the following If itab is empty?
Select * from <table> for all entries in itab where
What is LUW?
What are lock objects?
How to use lock objects?
How to introduce authorization objects in reports?

MODULE POOL PROGRAMMING


1. What are events in dialogs?
2. What are significance of PBO and PAI?
3. Where you will validate entries in the fields?
4. What is use of Chain and EndChain?
5. How to change screen dynamically?
6. How to capture changes on the screen fields? Same in case of table control?
7. If you are validating contents of field but user want to exit from the transaction without validating
contents; How to handle this scenario?
8. How to pass field values from one screen to other screen?

You might also like