‎2007 Jul 08 5:14 PM
Can some one answer the following please:
1. Which one of the following is an INCORRECT form of the WRITE statement?
a) write x no-sign.
b) write x no-decimals.
c) write x left-justified no-gap.
d) write x no-zero.
e) write x under y currency us.
2. Update Bundling can occur within which of the following?
a) Within dialog tasks and dequeue processes
b) Within dialog and update tasks
c) Within enqueue processes
d) Within enqueue and dequeue processes
3. Table ztest has a secondary index on the following fields:
tnum, tcode.
Select * from ztest where tnum ne '123' and tcode = '456'.
Why is the index not used in the above case?
a) Indexes are not allowed on Z tables
b) Variables must be used, NOT literals
c) Select individual fields, not select *
d) Client is not in the where clause
e) NE invalidates the use of an index
e) Within update tasks and enqueue processes
4. Program specifications ask for error checking on a selection-screen which contains a parameter inside a frame.
a) at selection-screen on block b1
b) selection-screen check block b1
c) at selection-screen
d) selection-screen on field f1
e) check selection-screen
5. Which statement is INCORRECT when referring to SAP memory or ABAP memory?
a) ABAP memory is only stored during the lifetime of an external session.
b) You can use ABAP memory to pass data between internal sessions.
c) SAP memory is also referred to as Global Memory.
d) SAP memory is available across transactions.
e) IMPORT/EXPORT (TO MEMORY) statements are used for SAP memory.
6. An internal table icode contains the following entries:
Field1 Field2
-
John 12345
Alice 23478
Sam 54321
john 50000
DATA: BEGIN OF ICODE OCCURS 0,
FIELD1(5),
FIELD2(5),
END OF ICODE.
READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH.
Why does executing the above code return a sy-subrc of 4?
a) Icode-field2 must be a numeric field.
b) The internal table has an incorrect structure.
c) Both internal table fields must be used in the search.
d) The internal table must be sorted first.
e) 'John' should not be capitalized.
7. A standard type internal table ICODE contains the following entries:
field1 field2
-
001 New York
002 Boston
003 Houston
008 Denver
010 San Diego
020 Seattle
READ TABLE ICODE WITH KEY FIELD1 = '015' BINARY SEARCH.
WRITE: / SY-TABIX.
What is the value of sy-tabix after executing the above code?
a) 0
b) 2
c) 5
d) 6
e) 7
8. Table ZNAME Table ZINFO
-
-
field key field key
-
-
mandt X mandt X
id X id X
lname X dept
fname X division
address
phone
fax
Using the above table definitions, which one of the following selects uses proper syntax?
a) select * from zinfo where id = '0025'.
Loop at zinfo.
Write: / id.
Endloop.
Endselect.
b) select mandt id lname into (client, id, lname)
from zname where id = '0025'.
Write: / id.
Endselect.
c) select * into table itab from zname
where id = '0025'.
Select * from zinfo for all entries in itab
where id = itab-id.
Write: / zinfo-dept.
Endselect.
d) select aid alname afname bdept into table itab
from zname as a INNER JOIN zinfo as b
on aid = bid
where lname = 'Smith'.
Loop at zname.
Write: / zname-id, zname-lname.
Endloop.
e) select count ( id ) sum ( lname ) into (num, lname)
from zname where id = '0025'.
Write: / num, lname.
Endselect.
Regards,
Mau
‎2007 Jul 08 5:36 PM
Answer:
1) B
2) D
3) C
4) A
5) A
6) D
7) E
😎 D
Reward me if its helpful.
Ravi
‎2007 Jul 08 5:36 PM
Answer:
1) B
2) D
3) C
4) A
5) A
6) D
7) E
😎 D
Reward me if its helpful.
Ravi
‎2007 Jul 08 8:28 PM