《ABAP测试题》由会员分享,可在线阅读,更多相关《ABAP测试题(24页珍藏版)》请在金锄头文库上搜索。
1、ABAP QuestionsContributed by Anon. Tuesday, 21 August 20071. 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:
2、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 A: Pooled B: Cluster C: Transparent D: View 4. An event starts with an event keyword and ends
3、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 t
4、he 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 val
5、ue 3.1. PI = 3.14. ERPGenie.COM ABAP Tips and Tricks Databasehttp:/ by Joomla for ERPGenie.COM!Generated: 4 February, 2008, 01:42A: 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
6、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 r
7、ow. 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? 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 numb
8、er 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,
9、 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.
10、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 ERPGenie.COM ABAP Tips and Tricks Databasehttp:/ by Joomla for ERPGenie.COM!Generated: 4 February, 2008, 01:42B: Outpu
11、t 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 t
12、he internal table row structure. 16. You may declare your own internal table type using the TYPES keyword. A: True 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 contro
13、l 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 unti
14、l 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:
15、 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? ERPGenie.COM ABAP Tips and
16、 Tricks Databasehttp:/ by Joomla for ERPGenie.COM!Generated: 4 February, 2008, 01:42A: 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 deactiva