a) append lines of table1 to table2.
b) loop at table1.
Move: table1-field1 to table2-field1,
table1-field2 to table2-field2.
Append table2.
Endloop.
c) table2[] = table1[].
d) loop at table1.
Move-corresponding table1 to table2.
Endloop.
e) move table1 to table2.
2. Which one of the following is true about a function module?
a) Function modules are locally accessible objects.
b) Function modules have inbound and outbound parameters.
c) Function modules have no built-in exception handling.
d) Function modules CANNOT be created by a programmer.
e) Function modules use a shared memory area.
3.data: field1 type I value 10.
End-of-selection.
Subtract 2 from field1.
Write: / 'field1 =', field1.
Start-of-selection.
Add 5 to field1.
Write: / 'field1 =', field1.
Initialization.
Field1 = 5.
Write: / 'field1 =', field1.
What is the result after executing the above code?
a) field1 = 104. Which one of the following commands is used in drill-down reporting?
field1 = 8
b) field1 = 8
field1 = 14
field1 = 5
c) field1 = 5
field1 = 3
field1 = 8
d) field1 = 5
field1 = 10
field1 = 8
e) field1 = 8
field1 = 14
a) AT LINE-SELECTION
b) MODULE SET_SCREEN
c) LEAVE SCREEN
d) END-OF-PAGE
e) ON VALUE-REQUEST
5. What is an object which CANNOT be transported?
a) A local object
b) A change request
c) A development object
d) A class
e) A task
6. A GUI-Status is created in which transaction?
a) Flow Logic
b) Menu Painter
c) GUI Painter
d) Screen Painter
e) Status Painter
7. Which one of the following statements creates a GUI-status in a dialog program?
a) set pf-status '0100'.
b) set screen '0100'.
c) set gui-status '0100'.
d) set gui-status = '0100'.
e) set status '0100'.
8. Dialog programs have which naming convention?
a) ZPBOxxx
b) SAPMZxxx
c) ZDIAxxx
d) ZPAIxxx
e) Zxxx
9. Which dictionary structure contains system fields?
a) SYSTEM
b) SYTAB
c) SYST
d) SY
e) SYS
10.An internal table ICODE contains the following entries:
field1 field2
--------------
John 12345
Alice 23478
Sam 54321
Bob 10000
IF NOT ICODE[] IS INITIAL.
SORT ICODE BY FIELD1 DESCENDING.
READ TABLE ICODE WITH KEY FIELD1 = 'Sam'.
WRITE: / SY-TABIX.
ENDIF.
What is the output of the above code after execution?
a) 1
b) 2
c) 3
d) 4
e) Sam
11.Data: number type i.
while number < 10.
Add 1 to number.
If number < 8.
Continue.
Else.
Add 4 to number.
Endif.
Endwhile.
Write number.What does NUMBER equal after executing the above code?
a) 412. Which one of the following statements would occur in the PBO of a dialog program using table control?
b) 8
c) 10
d) 12
e) 14
a) loop at itab.
b) loop at itab with control itab_tc.
c) module exit at exit-command.
d) module user_command.
e) set screen '0100'
13.data: begin of itab occurs 0,
field1(10),
field2(10),
end of itab.
Move: 'A' to itab-field1,
'B' to itab-field2.
Append itab.
Append itab.
Move: 'B' to itab-field1.
Append itab.
Clear itab.
Move: 'A' to itab-field2.
Append itab.
What are the contents of itab after executing the above code?
a) A B14. When debugging a BDC session, which command is used to exit the session?
A B
B B
A
b) A B
A B
B
A
c) A B
B
A
d) A B
B A
A
e) A B
B A
B A
B A
a) /n
b) /bend
c) /nexit
d) /nquit
e) /exit
15. Which system field returns the number of records returned after a select?
a) sy-index
b) sy-recno
c) sy-lncnt
d) sy-dbcnt
e) sy-tabix
16. Which statement regarding Logical databases is FALSE?
a) Logical databases use a tree structure.
b) Logical databases use a standard selection-screen for selection criteria.
c) More than one logical database can be used in a report.
d) Any change to a logical database is reflected in all reports using that logical database.
e) Logical databases simplify and encapsulate data retrieval
17. Which one of the following is an example of an asynchronous update?
a) modify ztable from wa.
b) update ztable set field1 = '123'.
c) update ztable from ztable.
d) insert wa into ztable.
e) call function 'update_table' in update task
18. Which return code is associated with a failed authority check due to lack of user authorization for the chosen action?
a) 0
b) 4
c) 8
d) 12
e) 24
19. Which transaction is used to monitor, release, and reprocess BDC sessions?
a) SM36
b) SE37
c) SE35
d) SP35
e) SM35
20. What is the structure for the following select-options? Select-options: zname like ztable-name.
a) zname-sign
zname-value
zname-low
zname-high
b) zname-low
zname-high
zname-pattern
c) zname-sign
zname-option
zname-low
zname-high
d) zname-sign
zname-option
zname-low
e) zname-sign
zname-option
zname-low
21. Which of the following are elementary types in ABAP?
a) C,D,F,H,I,N,P,T
b) C,D,F,I,N,P,Q,T
c) A,D,F,I,N,P,T,X
d) A,D,F,H,N,P,T,X
e) C,D,F,I,N,P,T,X
22.
data: f1 type I value 1,
f2 type I value 1.
Write: / f1, f2.
Do 2 times.
Perform scope.
Enddo.
Write: / f1, f2.
Form scope.
Data: f1 type I value 2,
f2 type I value 2.
Add: 1 to f1, 1 to f2.
Write: / f1, f2 .
Endform.What is the output of this program after execution?
a) 1 1
3 3
4 4
4 4
b) 1 1
2 2
3 3
1 1
c) 1 1
3 3
3 3
3 3
d) 1 1
2 2
3 3
3 3
e) 1 1
3 3
3 3
1 1
23. Program specs call for screen 100 to appear in a modal dialog box.
PAI
------------
module do_something.
If field1 = 'X'.
Call screen '0100'.
Endif.
Endmodule.
Why does the above code fail to produce a modal box?
a) The addition 'starting at X' is left out.24. Field-symbols are defined in which of the following ways?
b) The screen should be numbered 900.
c) The code must occur in the PBO.
d) The screen is of the wrong type.
e) Screens are not called within modules.
a) field-symbols f1 for f1.
b) field-symbols [f1].
c) field-symbols
d) field-symbols (f1) like f1.
e) field-symbols {f1}.
25.
1 TABLES: MARC.
2 DATA: BEGIN OF ITAB OCCURS 0,
3 FIELD1(5),
4 FIELD2(5),
5 END OF ITAB.
6 READ ITAB WITH KEY MATNR = '12345'.
7 IF SY-SUBRC = 0.
8 WRITE:/ ITAB-MATNR.
9 ENDIF.
Referring to the above code, which line contains an error?
a) Line 2
b) Line 5
c) Line 6
d) Line 7
e) Line 8
No comments:
Post a Comment