Abap danışmanı olmak için ( abap consultant ), sap abap sertifikasyonunda çıkan sorular.
|
1. If a table does not have MANDT as part of the primary key, it is ____. A: A structure 2. In regard to CALL, which of the following is NOT a valid statement? A: CALL FUNCTION 3. Name the type of ABAP Dictionary table that has these characteristics: Same number of fields as the database table A: Pooled 4. An event starts with an event keyword and ends with: A: Program execution. 5. What is the system field for the current date? A: SY-DATUM 6. The following code indicates: SELECT fld1 fld2 FROM tab1 APPENDING TABLE itab A: Add rows to the existing rows of itab. 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'. A: True 8. The SAP service that ensures data integrity by handling locking is called: A: Update 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. 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. 11. TO include database-specific SQL statements within an ABAP program, code them between: A: NATIVE SQL_ENDNATIVE. 12. To measure how long a block of code runs, use the ABAP statement: A: GET TIME . 13. When a secondary list is being processed, the data of the basic list is available by default. A: True 14. Given: DATA: BEGIN OF itab OCCURS 10, DO 25 TIMES. itab-qty = sy-index. APPEND itab. ENDDO. LOOP AT itab WHERE qty > 10. This will result in: A: Output of only those itab rows with a qty field less than 10 15. After a DESCRIBE TABLE statement SY-TFILL will contain A: The number of rows in the internal table. 16. You may declare your own internal table type using the TYPES keyword. A: True 17. After adding rows to an internal table with COLLECT, you should avoid adding more rows with APPEND. A: True 18. Which of the following is not a component of control break processing when looping at an internal table? A: AT START OF 19. A dictionary table is made available for use within an ABAP program via the TABLES statement. A: True 20. Which of the following would be best for hiding further selection criteria until a function is chosen? A: AT NEW 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 22. The AT USER-COMMAND event is triggered by functions defined in the ____. A: screen painter 23. In regard to a function group, which of the following is NOT a true statement? A: Combines similar function modules. 24. In regard to SET PF-STATUS, you can deactivate unwanted function codes by using ____. A: EXCLUDING 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. 26. The order in which an event appears in the ABAP code determines when the event is processed. A: True 27. A field declared as type T has the following internal representation: A: SSMMHH 28. Which of the following is NOT a component of the default standard ABAP report header? A: Date and Time 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. 30. In regard to field selection, what option of the SELECT statement is required? A: FOR ALL ENTRIES 31. The following program outputs what? report zjgtest1 write: /1 'Ready_'. PARAMETER: test. INITIALIZATION. START-OF-SELECTION. A: Set_ GO!! (each on its own line) 32. To declare a selection criterion that does not appear on the selection screen, use: A: NO-DISPLAY 33. An internal table that is nested within another internal table should not contain a header line. A: True 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. LOOP AT itab. A: A 35. To select all database entries for a certain WHERE clause into an internal table in one step, use A: SELECT_INTO TABLE itab_ 36. After a successful SELECT statement, what does SY-SUBRC equal? A: 0 37. This selection screen syntax forces the user to input a value: A: REQUIRED-ENTRY 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 itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab. SORT itab. LOOP AT itab. A: There is no syntax error here 39. If this code results in an error, the remedy is: SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3. A: Add a SY-SUBRC check. 40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number. A: True 41. To allow the user to enter values on the screen for a list field, use: A: OPEN LINE. 42. Before a function module may be tested, it must first be: A: Linked 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 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 45. The system internal table used for dynamic screen modification is named: A: ITAB 46. Within the source code of a function module, errors are handled via the keyword: A: EXCEPTION 47. Which system field contains the contents of a selected line? A: SY-CUCOL 48. The following statement writes what type of data object? WRITE: /1 'Total Amount:'. A: Text literal 49. For the code below, second_field is of what data type? DATA: first_field type P, second_field like first_field. A: P 50. Which of the following describes the internal representation of a type D data object? A: DDMMYYYY 51. A BDC program is used for all of the following except: A: Downloading data to a local file 52. In regard to PERFORM, which of the following is NOT a true statement? A: May be used within a subroutine. 53. What is the transaction code for the ABAP Editor? A: SE11 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. 55. Database locks are sufficient in a multi-user environment. A: True 56. The complete technical definition of a table field is determined by the field's: A: Domain 57. In regard to LEAVE, which of the following is NOT a true statement? A: May be used to return immediately to a calling program. 58. The following code indicates: SELECT fld6 fld3 fld2 fld1 FROM tab1 INTO CORRESPONDING FIELDS OF TABLE itab A: The order of the fields in itab does not matter. 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 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. FREE itab. A: 2 61. To allow the user to enter a range of values on a selection screen, use the ABAP keyword: A: DATA. 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. 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. 64. To remove lines from a database table, use ____. A: UPDATE 65. All of the following may be performed using SET CURSOR except: A: Move the cursor to a specific field 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. 67. Coding two INITIALIZATION events will cause a syntax error. A: True 68. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for improving performance. A: True 69. To save information on a list line for use after the line is selected, use this keyword. A: APPEND 70. To bypass automatic field input checks, include this in PAI. A: AT EXIT-COMMAND 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 72. The following code indicates: REPORT ZLISTTST. A: Text-002 may not be selected. 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 74. A concrete field is associated with a field-symbol via ABAP keyword A: MOVE 75. The output for the following code will be: report zabaprg. char_field = 'ABAP data'. WRITE char_field. A: ABAP data 76. Page footers are coded in the event: A: TOP-OF-PAGE. 77. 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 78. The TABLES statement declares a data object. A: True 79. 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) A: Take fld7 out of the WHERE clause. 80. Which of the following is NOT a required attribute when creating an ABAP program? A: Application 81. 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 82. Within the ABAP program attributes, Type = 1 represents: A: INCLUDE program 83. If this code results in an error, the remedy is: SELECT fld1 SUM( fld1 ) FROM tab1 INTO_ A: Remove the spaces from SUM( fld1 ). 84. Which keyword adds rows to an internal table while accumulating numeric values? A: INSERT 85. Assuming itab has a header line, what will be output by the following code? READ TABLE itab INDEX 3 TRANSPORTING field1. A: The contents of the third row's itab-field1. 86. The following code indicates: SELECTION-SCREEN BEGIN OF BLOCK B1. A: Draw a box around myparam and myparam2 on the selection screen. 87. 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 A: SORT itab DESCENDING BY QTY PRICE. 88. Which keyword adds a line anywhere within an internal table? A: APPEND 89. To read a single line of an internal table, use the following: A: LOOP AT itab. _ ENDLOOP. 90. Which Open SQL statement should not be used with cluster databases? A: UPDATE 91. 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 92. This flow logic statement is used to make multiple fields open for input after an error or warning message. A: GROUP 93. Given: PERFORM subroutine USING var. The var field is known as what type of parameter? A: Formal |




