on 2008 Jan 25 8:36 AM
Hi guys
I need some ABAP certification Q'S
my ID is mailpuru@yahoo.com
thanx
Request clarification before answering.
hi,
. What is the fastest way to move one internal table to another internal table (assuming two tables of similar structure)?
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 = 10
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
4. Which one of the following commands is used in drill-down reporting?
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) 4
b) 8
c) 10
d) 12
e) 14
12. Which one of the following statements would occur in the PBO of a dialog program using table control?
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 B
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
14. When debugging a BDC session, which command is used to exit the session?
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.
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.
24. Field-symbols are defined in which of the following ways?
a) field-symbols f1 for f1.
b) field-symbols [f1].
c) field-symbols <f1> like f1.
d) field-symbols (f1) like f1.
e) field-symbols .
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
1. Which Open SQL statement should not be used with cluster databases?
A: UPDATE
B: MODIFY
C: DELETE
😧 INSERT
2. 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
😧 Subroutine include program
3. 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
😧 LOOP AT SCREEN
4. Which keyword adds rows to an internal table while accumulating numeric values?
A: INSERT
B: APPEND
C: COLLECT
😧 GROUP
5. 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.
😧 Nothing.
6. 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.
😧 Display myparam and myparam2 only if both fields have default values.
7. 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.
😧 SORT itab BY PRICE DESCENDING.
8. Which keyword adds a line anywhere within an internal table?
A: APPEND
B: MODIFY
C: ADD
😧 INSERT
9. 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.
😧 READ TABLE itab.
10. 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.
😧 Change to SUM( DISTINCT f1 ).
11. 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.
😧 None of the above.
12. 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
😧 Entity view
13. A concrete field is associated with a field-symbol via ABAP keyword
A: MOVE
B: WRITE
C: ASSIGN
😧 VALUE
14. 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
😧 None of the above
15. Page footers are coded in the event:
A: TOP-OF-PAGE.
B: END-OF-SELECTION.
C: NEW-PAGE.
😧 END-OF-PAGE.
16. 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
17. The TABLES statement declares a data object.
A: True
B: False
18. 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.
😧 Take the WRITE statement out of the SELECT_ENDSELECT.
19. Which of the following is NOT a required attribute when creating an ABAP program?
A: Application
B: Title
C: Status
😧 Type
20. 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
😧 Activating the table
21. Within the ABAP program attributes, Type = 1 represents:
A: INCLUDE program
B: Online program
C: Module pool
😧 Function group
E: Subroutine pool
Hope this is helpful, Do reward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Purushottam,
I do not think that anyone will send any certification questions to you as this will breach the policy.
To have some idea on in it, you can check this thread which has many links regarding the helps related to ABAP certification:
/thread/408609 [original link is broken]
Regards,
Subhasha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.