Professional Documents
Culture Documents
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
6
a)
b)
c)
d)
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)
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
10
b)
c)
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
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)
12
a)
b)
c)
d)
Help views
Matchcodes
Maintenance views
Database views
13
b.
c.
d.
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
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.
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
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
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
32
33
34
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?
2.
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?
6.
7.
Which ABAP/4 statement is used to call a customer enhancement from an SAP program?
35
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
12. Which CPI-C call in ABAP/4 passes send rights to the partner?
COMMUNICATION RECEIVE
COMMUNICATION SEND
COMMUNICATION ACCEPT
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.
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.