This action might not be possible to undo. Are you sure you want to continue?
1. This data type has a default length of one and a blank default value. A: B: C: D: I N C D
Ans:C 2. A DATA statement may appear only at the top of a program, before START-OFSELECTION. A: True B: False Ans:B 3. If a field, NAME1, is declared as a global data object, what will be output by the following code? report zabaprg. DATA: name1 like KNA1-NAME1 value 'ABAP programmer'. name1 = 'Customer name'. CLEAR name1. perform write_name. FORM write_name. name1 = 'Material number'. WRITE name1. ENDFORM. A: B: C: D: Customer name ABAP programmer Material number None of the above
Ans:C 4. All of these allow you to step through the flow of a program line-by-line except: A: Enter /h then execute B: Execute in debug mode
C: Enter /i then execute D: Set a breakpoint Ans: C 5. Which of the following may NOT be modified using the ABAP Dictionary transaction? A: B: C: D: Type groups Search help Lock objects Function groups
Ans:D 6. In a line of code, text-100, is an example of which type of text element? A: B: C: D: Text symbol Selection text Text title Text identifier
Ans:A 7. The editor function that formats and indents the lines of code automatically is called ____. A: B: C: D: Auto align Pretty printer Generate version Syntax check
Ans:B 8. A DO loop increments the system field ____. A: B: C: D: SY-LOOPI SY-TABIX SY-LSIND SY-INDEX
Ans: D 9. The event that is processed after all data has been read but before the list is displayed is:
A: B: C: D:
END-OF-PAGE. START-OF-SELECTION. END-OF-SELECTION. AT LINE-SELECTION.
10. The field declared below is of what data type? DATA: new_fld(25). A: B: C: D: P N I C
Ans: D 11. In regard to the INITIALIZATION event, which of the following is NOT a true statement? A: B: C: D: Executed before the selection screen is displayed. You should use SET PF-STATUS here. You can assign different values to PARAMETERS and SELECT-OPTIONS here. Executed one time when you start the report.
Ans: B 12. 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 Ans: B 13. The business (non-technical) definition of a table field is determined by the field's ____. A: B: C: D: domain field name data type data element
Ans: D 14. In regard to the three-tier client/server architecture, which of the following is a true statement? A: B: C: D: The presentation server processes the SAP program logic. An application server is responsible for updating database tables. Typically, there is a one-to-one ratio of database servers to presentation servers. The application server layer is the level between a presentation server and a database server.
Ans: D, b 15. What will be output by the code below? DATA: alph type I value 3. write: alph. WHILE alph > 2. write: alph. alph = alph - 1. ENDWHILE. A: B: C: D: Ans: D 16. To allow the user to enter a single value on a selection screen, use the ABAP keyword ____. A: SELECT-OPTIONS. B: PARAMETERS. C: RANGES. D: DATA. Ans: B 17. What will be output by the following code? DATA: BEGIN OF itab OCCURS 0, fval type i, END OF itab. 3 3 2 3 3 2 3 3
itab-fval = 1. APPEND itab. itab-fval = 2. APPEND itab. REFRESH itab. WRITE: /1 itab-fval. A: 1 B: 2 C: blank D: 0 Ans: B 18. You can define your own key fields when declaring an internal table. A: True B: False Ans: B A 19. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number. A: True B: False Ans : B 20. If itab contains 20 rows, what will SY-TABIX equal when the program reaches the WRITE statement below? SY-TABIX = 10. LOOP AT itab. count_field = count_field + 1. ENDLOOP. WRITE: /1 count_field. A: 0 B: 10 C: 20 D: 30 Ans: b
what will be the result? A: B: C: D: Output of vbak-vbeln if the record is found. C: DELETE. To select one record for a matching primary key. D: COMMIT WORK. To read an exact row number of an internal table. Ans: B 24. In regard to MOVE-CORRESPONDING. Ans:b 25. No output if the record is found. Nothing. If VBAK is a client-dependent table. Moves the values of components according to their location. use this parameter of the READ TABLE statement. WRITE: /1 vbak-vbeln. B: CLOSE CURSOR. Corresponds to one or more MOVE statements. All of the following are valid Open SQL statements except: A: OPEN DATASET. there is a syntax error. ENDIF. A: INDEX B: TABIX .21. Output of vbak-vbeln if the record is not found. 22. Fields without a match are unchanged. IF SY-SUBRC = 0. A: SELECT B: SELECT INTO C: SELECT SINGLE D: SELECT ENTRY Ans: C 23. Given: SELECT SINGLE vbeln FROM VBAK INTO vbak-vbeln WHERE mandt = sy-mandt AND vbeln = pvbeln. use ____. which of the following is NOT a true statement? A: B: C: D: Moves the values of components with identical names.
Display myparam and myparam2 only if both fields have default values. Add GROUP BY f1.C: ROW D: WHERE Ans: B A 26. The following code indicates: SELECTION-SCREEN BEGIN OF BLOCK B1. A: B: C: D: Hashed table Standard table Sorted table None of these may be accessed using an index. Do not display myparam and myparam2 on the selection screen. SELECTION-SCREEN END OF BLOCK. Myparam2(10) type N. Ans: C 28. Which table type would be most appropriate for accessing table rows using an index. Move SUM( fld1 ) before fld1. . A: B: C: D: Draw a box around myparam and myparam2 on the selection screen. To remove lines from a database table. PARAMETERS: myparam(10) type C. use ____. A: B: C: D: UPDATE MODIFY ERASE DELETE Ans: D 27. Change to SUM( DISTINCT f1 ). the remedy is: SELECT fld1 SUM( fld1 ) FROM tab1 INTO_ A: B: C: D: Remove the spaces from SUM( fld1 ). If this code results in an error. Allow myparam and myparam2 to be ready for input during an error dialog. Ans: A 29.
use: A: B: C: D: OPEN LINE. SET CURSOR FIELD.30. this will result in: A: Changes are written to the database. . To allow the user to enter values on the screen for a list field. WHEN 'FC12'. COMMIT WORK. SCROLL LIST FORWARD. ROLLBACK WORK. D: An abend. If my_ind is initial. In regard to subroutines and function modules. ELSE. When writing a SELECT statement. Given: IF MY_IND = 'X'. ENDIF. WRITE fld AS INPUT FIELD. A: True B: False Ans: B 32. 33. what does function FC12 do? AT USER-COMMAND. In the following code. WHEN 'FC11'. B: Changes are undone without writing them to the database. CASE SY-UCOMM. SCROLL LIST LEFT BY 20 PLACES. you should place as much load as possible on the database server and minimize the load on the application server. FORMAT INPUT ON. C: A database error. 31. A: B: C: D: code a SY-SUBRC check specify a reference field verify the types yourself when coding use the DESCRIBE FIELD statement 34. to ensure that an actual parameter is the same type as its corresponding formal parameter. you should ____.
Performs a page up. write code within the event ____. Moves the cursor. 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: B: C: D: ON INPUT CHAIN FIELD ON REQUEST 36. AT LINE-SELECTION. INITIALIZATION. None of the above Ans: 39. Scrolls the list to the right. Which ABAP program attribute provides access protection? A: B: C: D: Status Application Development class Authorization group Ans:D . Which of the following is not a component of dialog programming environment? A: B: C: D: Transaction code Screen ABAP module pool Background job 37. 38.ENDCASE. Group the fields in a CHAIN. 35. Assign the fields to a single ABAP Dictionary structure. A: B: C: D: START-OF-SELECTION. Identify the fields via their group name. To modify several fields in a screen without referencing each individual field name: A: B: C: D: Access the SPA/GPA parameter for each of the fields. To allow the user to execute a specific function. A: B: C: D: Shifts the list rows up.
Given: PERFORM subroutine USING var. START-OF-SELECTION. A: B: C: D: EXPORTING IMPORTING USING TABLES . Page headers for a secondary list should be coded in which event? A: B: C: D: TOP-OF-PAGE. which of the following is NOT a true statement? A: System-level performance problems are identified. The following code indicates: CALL SCREEN 300. In regard to Runtime Analysis.40. 43. D: Measurement results are saved in performance data files. When making a function module call. The var field is known as what type of parameter? A: B: C: D: Formal Actual Static Value Ans:B 42. A: B: C: D: Start the PAI processing of screen 300. TOP-OF-PAGE DURING LINE-SELECTION. pass internal tables via the parameter ____. * C: Helps identify potentially inefficient database accesses. B: Helps you analyze the performance of any program created within the ABAP Workbench. Ans: C 41. * Exit screen 300. Jump to screen 300 without coming back. Temporarily branch to screen 300. Ans:C 44. AT USER-COMMAND.
All the fields from table KNA1 may be used in the GET event.45. Access the internal table fields within a subroutine. because of the STRUCTURE syntax. Remove nested SELECT statements. Loop through the internal table within a subroutine. GET KNA1. In regard to the code below. END-OF-SELECTION. To use a secondary table index in your SELECT statement. A: B: C: D: The GET event is processed while a logical database is running. you should: A: B: C: D: Include the index fields in the WHERE clause in the correct order Use the INDEX clause of the SELECT statement Include MANDT in the WHERE clause None of the above 47. Ans: D 49. . it is possible to: A: B: C: D: Use the DESCRIBE statement within a subroutine. Ans: A C 48. To prevent duplicate accesses to a master data field: A: B: C: D: Create an index on the master data field. 46. None of the above. Use SELECT SINGLE. Write: /1 kna1-kunnr. In relation to an internal table as a formal parameter. You can code the GET event elsewhere in the same program. which of the following is not a true statement? TABLES: KNA1. Buffer the data in an internal table. Add rows to the internal table within a subroutine. The following code indicates: SELECT fld1 FROM tab1 INTO TABLE itab UP TO 100 ROWS WHERE fld7 = pfld7.
" Display screen 9000 in a full window. SY-SUBRC will be set to 4. Ans: D 50. Screen 9000 must be of type "Modal dialog box. FORMAT CHECKBOX ON. None of the above. All of the following are good performance tuning methods except: A: B: C: D: Use SELECT fld1 fld2 fld3 FROM tab1 INTO itab_ Convert the nested SELECT statements to a database view Code your own database join. ULINE. WRITE: /1 fld4. Ans:C 51. ENDSELECT. fld6. To place a checkbox on a list.20). 52. . SELECT fld8 FROM tab2 INTO fld9 WHERE fld10 = tab1-fld6. MODIFY LINE WITH CHECKBOX. WRITE: /1 fld9.5)(60. Given: SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4. ENDSELECT. fld5. WRITE fld AS CHECKBOX. use A: B: C: D: WRITE CHECKBOX. If itab has less than 100 rows before the SELECT. fld6) WHERE fld7 = pfld7. Use SELECT_FOR ALL ENTRIES IN itab. Screen 9000 may only contain an ABAP list. The following code indicates: CALL SCREEN 9000 STARTING AT 10 5 ENDING AT 60 20 A: B: C: D: Screen 9000 is called with the cursor at coordinates (10. fld5.A: B: C: D: Itab will contain 100 rows. Only the first 100 records of tab1 are read.
Within the source code of a function module. ENDIF. The parameter fld1 is passed by: A: B: C: D: Value Reference Value and result None of the above 54. WRITE text-900.Ans:A 53. Draw a box around text-900 with coordinates (7. the following code indicates: AT USER-COMMAND. Which of these is NOT a valid type of function module? . If the user picks the WIND function.4) and (65. ENDFORM. errors are handled via the keyword: A: B: C: D: EXCEPTION RAISE STOP ABEND Ans:B 57. Given: PERFORM my_sub USING fld1 fld2. WINDOW STARTING AT 7 4 ENDING AT 65 12. A: B: C: D: Display text-900 in a dialog window. IF SY-UCOMM = 'WIND'. starting at column 7. what must you code in both PBO and PAI when you have included a table control in your screen? A: B: C: D: CHAIN_ENDCHAIN AT EXIT-COMMAND LOOP_ENDLOOP SET PF-STATUS 56. Output text-900 on row 4. FORM my_sub using value(fld1) fld2.12) 55. Display text-900 in a full screen. In the flow logic.
A select statement has built-in authorization checks. By definition. USING calculate answer. which of the following is a true statement? A: B: C: D: Retrieves the ABAP report name. Ans:A 59. CALL calculate answer. Retrieves the number of list lines and pages. The table control attribute <ctrl>-LINES indicates the total number of lines in the internal table. what fields make up the standard internal table key? . A: True B: False 61. --------62. Move the cursor to a specific list line. None of the above. In regard to the DESCRIBE LIST statement. A: True B: False Ans:B 63. Move the cursor to a specific pushbutton. All of the following may be performed using SET CURSOR except: A: B: C: D: Move the cursor to a specific field on a list. use this line of code: A: B: C: D: PERFORM calculate answer. Move the cursor to a specific row and column on a list. 64. Retrieves the window title. activating that function. To call a local subroutine named calculate answer. SUB calculate answer.A: Normal B: Update C: RFC D: Dialog Ans:D 58. 60.
To both add or change lines of a database table. What addition to the READ TABLE statement must be used when reading a hashed or sorted internal table to ensure that a binary search will be used? A: B: C: D: WITH KEY WITH TABLE KEY SEARCH TYPE WHERE . use: A: B: C: D: AS CHECKBOX SELECTION-SCREEN BEGIN OF LINE MEMORY ID MODIF ID 66. use ____. A: B: C: D: INSERT UPDATE APPEND MODIFY Ans:D 67.A: B: C: D: All the table's fields. A: B: C: D: SELECT SELECT INTO SELECT SINGLE SELECT ENTRY Ans:C 68. All the numeric fields. A: True B: False Ans:A 69. use ____. you should avoid adding More rows with APPEND. All the non-numeric fields. To be able to modify a group of fields on the selection screen with a single statement. To select one record for a matching primary key. After adding rows to an internal table with COLLECT. 65. The first field.
Change the * to fld1 fld2. itab-letter = 'A'.70. APPEND itab. ENDLOOP. SY-TABIX = 2. A: B: C: D: INTO WHERE FROM GROUP BY Ans:D 72. If this code results in an error. A: B: C: D: Add a SY-SUBRC check. APPEND itab. the remedy is SELECT * FROM tab1 WHERE fld3 = pfld3. WRITE itab-letter. LOOP AT itab. EXIT. tab1-fld2. itab-letter = 'B'. There is no error. letter type c. ENDSELECT. To summarize the contents of several matching lines into a single line. itab-letter = 'D'. APPEND itab. use this SELECT statement clause. What is output by the following code? DATA: BEGIN OF itab OCCURS 0. tab1-fld2). WRITE: /1 tab1-fld1. A: B: C: D: A ABCD B BCD Ans: C . Add INTO (tab1-fld1. APPEND itab. Ans: C D 71. itab-letter = 'C'. END OF itab.
You must specify the SAP client. Ans:D 78. To change one or more lines of a database table. A: B: C: D: UPDATE INSERT INTO MOD . Will run under different database systems. Move all the rows of itab2 to itab1. To create a list of the top 25 customers. ----------77. you should use A: B: C: D: DELETE ADJACENT DUPLICATES READ TABLE itab INDEX 25 LOOP AT itab FROM 25 APPEND SORTED BY Ans:D 75. A: B: C: D: Set the type of itab1 to the type of itab2. The following code indicates: DATA: itab1 LIKE struc1 OCCURS 0 WITH HEADER LINE.73. Move the last row of itab2 to itab1. In regard to Native SQL. which of the following is NOT a true statement? A: B: C: D: A CONNECT to the database is done automatically. itab1 = itab2. itab2 LIKE struc1 OCCURS 0 WITH HEADER LINE. use ____. This selection screen syntax forces the user to input a value: A: B: C: D: REQUIRED-ENTRY OBLIGATORY DEFAULT SELECTION-SCREEN EXCLUDE 74. 76. The tables that you address do not have to exist in the ABAP Dictionary. Move the header line of itab2 to itab1.
GET dbtab LATE. Which of the following is NOT a required attribute when creating an ABAP program? A: B: C: D: Application Title Status Type Ans: 83. AT LINE-SELECTION GET dbtab. . GET dbtab INITIALIZATION. TOP-OF-PAGE. END-OF-SELECTION. INITIALIZATION START-OF-SELECTION. Which is the correct sequence of events? A: B: C: D: AT SELECTION-SCREEN. A single field may use two different Data elements. Which of these sentences most accurately describes the two-level domain concept? A: B: C: D: Two different Domains may use the same Data element. AT USER-COMMAND.Ans:A 79. Page headers for a basic list can be coded in the event: A: NEW-PAGE. Which of the following is NOT a numeric data type? A: B: C: D: I N P F Ans: B 81. A single field may use two different Domains. START-OF-SELECTION Ans:B 80. Ans:C 82. Two different Data elements may use the same Domain.
Endless loops are not possible with WHILE. Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report. AT PFn. D: TOP-OF-PAGE. Ans:B 87. A WHILE loop may not be nested within another WHILE loop. as in the following statement: DATA: counter(3) type I. Which of the following is not a valid ABAP relational operator? A: CP . A: True B: False Ans: 89. C: INITIALIZATION. what event is processed when the button is clicked? A: B: C: D: AT USER-COMMAND. Ans:D 84 ----------85. You can change the length of a data object of type I by adding ( ) after the field name in the data declaration.B: AT LINE-SELECTION. END-OF-SELECTION. You cannot use the CONTINUE statement with WHILE. The complete technical definition of a table field is determined by the field's: A: B: C: D: Domain Field name Data type Data element 86. The major difference between DO and WHILE is: A: B: C: D: WHILE requires a logical expression. Ans:A 88. AT SELECTION-SCREEN.
AT LINE-SELECTION. Ans: 92. A concrete field is associated with a field-symbol via ABAP keyword A: B: C: D: MOVE WRITE ASSIGN VALUE 91. A: B: C: D: END-OF-SELECTION. AT SELECTION-SCREEN.B: NC C: O D: NS Ans: 90. What is the transaction code for the ABAP Editor? A: B: C: D: SE11 SE38 SE36 SE16 Ans:B 94. After running the report. Given: REPORT ZINTERAC. The following event may be explicitly coded. but it is also implied. Which of the following describes the internal representation of a type D data object? A: B: C: D: DDMMYYYY YYYYDDMM MMDDYYYY YYYYMMDD Ans:D 93. how would the user receive the output. WRITE 'First List'. START-OF-SELECTION. AT PF5. WRITE: 'Second List'. "Second List?" .
After double-clicking a line on a basic list. Ans:C 99. 96. 100. Function module source code may have its own local data. A: True B: False Ans:A 98. LEAVE LIST-PROCESSING. LEAVE TO LIST-PROCESSING. ROLLBACK WORK. In regard to SET PF-STATUS.A: No further action is required B: Double-click the "First List" row C: Press the keyboard function key F5 D: This is not possible for the given code Ans:C 95. A: B: C: D: EXCLUDING IMMEDIATELY WITHOUT HIDE 97. The following code indicates: .To branch from dialog processing to list processing. UPDATE. you can deactivate unwanted function codes by using ____. what will the system field SY-LSIND equal? A: B: C: D: 0 2 1 The value is unchanged. use: A: B: C: D: LEAVE TO SCREEN 0. CALL SCREEN. The ABAP statement you will typically use in a 'CANCEL' function is: A: B: C: D: CALL SCREEN 0. COMMIT WORK.
Ans: B A 103. None of the above. In regard to a subquery. where is the work of a dialog program performed? A: B: C: D: On the application server using a dialog work process service. FORMAT HOTSPOT ON.REPORT ZLISTTST. On the database server using a dialog work process service. which of the following is a true statement? . WRITE / text-003. START-OF-SELECTION. FORMAT HOTSPOT OFF. None of the above. WRITE: text-002. WRITE: text-001. On the presentation server using a dialog work process service. Text-002 may be clicked once to trigger the output of text-003. In an R/3 environment. Ans:C 101. Which of the following is NOT one of the types of internal tables in ABAP? A: B: C: D: Standard Sorted Hashed Unique Ans:D 104. AT LINE-SELECTION. The value of text-002 is stored in a special memory area. All of the following are considered to be valid ABAP modularization techniques except: A: B: C: D: Subroutine External subroutine Field-group Function module Ans:C 102. A: B: C: D: Text-002 may not be selected.
Ans:A 105. use A: B: C: D: SELECT_INTO TABLE itab_ SELECT_INTO itab_ SELECT_APPENDING itab SELECT_itab_ Ans:A 108. which of the following is NOT a true statement? A: B: C: D: May be used to buffer data in memory. To select all database entries for a certain WHERE clause into an internal table in one step. use ____. use SELECTION-SCREEN: A: B: C: D: COMMENT HLINE ULINE SKIP Ans:C 107. Ans: 106. Consists of rows with the identical structure. Typically used for storing data from one or more database tables. In regard to internal tables.A: SELECT SINGLE may be used. B: UPDATE may not use a subquery. C: Allows you to program a second SELECT as part of the WHERE clause. use SELECTION-SCREEN: A: B: C: D: COMMENT EXCLUDE ULINE SKIP Ans: D 109. D: The outer SELECT is processed first. Data values are retained when the program is finished. To code a blank line on a selection screen. To limit the number of records selected from the database. A: WHERE B: WHEN . To code a horizontal line on a selection screen.
The ____ type of ABAP Dictionary view consists of one or more transparent tables and may be accessed by an ABAP program using Open SQL. use ____. as in CASE my_fld > 3. -----112. A: True B: False Ans:B 113. To limit your SELECT statement to user-entered SELECT-OPTIONS. A: B: C: D: Database view Projection view Help view Entity view Ans: B A 114. 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: B: C: D: Pooled Cluster Transparent View Ans:C . A: B: C: D: IN EQ NE BT Ans:A 111. The CASE statement may not contain a logical expression.C: IF D: CASE Ans:A 110.
C: This event will only be processed after the user has selected a basic list row. Ans:D 117.'. This will result in ____. NEW-PAGE. event? A: This event is processed before the second time the GET VBAK event is processed. This data type has a default length of eight and a default value = '00000000'. END-OF-SELECTION. ENDDO. TOP-OF-PAGE DURING LINE-SELECTION. Page footers are coded in the event: A: B: C: D: TOP-OF-PAGE. Which of these sentences most accurately describes the GET VBAK LATE. Ans:B 119. Page headers for a secondary/details list can be coded in the event: A: B: C: D: GET. A: B: C: D: P D N C Ans: B 118. INITIALIZATION. Ans:C 116. B: This event is processed after all occurrences of the GET VBAK event are completed. NEW-PAGE. END-OF-PAGE. Write: /1 'E equals MC squared. Given: DO. D: This event is only processed if no records are selected from table VBAK. A: output of 'E equals MC squared.115.' on a new line one time .
Which of the following is NOT a component of the default standard ABAP report header? A: B: C: D: Date and Time List title Page number Underline Ans: A 122. This data type has a default length of one and a default value = '0'.B 120. which of the following is NOT a valid statement? A: B: C: D: CALL FUNCTION CALL SCREEN CALL TRANSACTION CALL PROGRAM .B: an endless loop that results in an abend error C: output of 'E equals MC squared. In regard to CALL. A: B: C: D: P C N I Ans: C 123. A BDC program is used for all of the following except: A: B: C: D: Downloading data to a local file Data interfaces between SAP and external systems Initial data transfer Entering a large amount of data 124. The following code indicates write: /5 'I Love ABAP'. A: Output 'I Lov' on the current line B: Output 'I Love ABAP' starting at column 5 on the current line C: Output 'I Lov' on a new line D: Output 'I Love ABAP' starting at column 5 on a new line Ans: D 121.' on a new line many times D: a loop that will end when the user presses ESC Ans.
. IF var_one = 'dog'. clear my_field. my_field left-justified. A: True B: False 128. A: B: C: D: The value is 99 The value is 100 The value is 0 None of the above Ans: C 126. This will result in the output: A: B: C: D: Bark! DOG DOG Meow! DOG None of the above Ans: C 127.Ans: D 125. you can override the value of SY-LSIND. ENDIF. my_field = my_field + 1. ELSE. WRITE: 'The value is'. Within an interactive list event. The output for the following code will be report zabaprg. Dialog programs must be executed via a transaction code. WRITE: /1 'Bark!'. DATA: my_field type I value 99. CONSTANTS: var_one (3) type C value 'DOG'. WRITE: var_one. WRITE: /1 'Meow!'.
Release it. Which of the following is NOT included in the Performance Trace tool for analyzing database accesses within a program? A: B: C: D: SQL Trace Analysis Runtime Trace Analysis Enqueue Trace Analysis RFC Trace Analysis 133. All of the following are true statements regarding SET TITLEBAR except: A: B: C: D: Sets the title of the output list window.A: True B: False 129. Send out an e-mail. A title is defined for a single program. A title is active for all screens until another SET TITLEBAR statement occurs. To include a field on your screen that is not in the ABAP Dictionary. 132. To set up a screen field to allow default values to be stored across user sessions: A: B: C: D: Turn on the field attribute flag for SPA/GPA. Which system field contains the contents of a selected line? A: B: C: D: SY-CUCOL SY-LILLI SY-CUROW SY-LISEL Ans: D 134. Set the field to display only. you should: A: B: C: D: Activate it. Ans: A 130. Add documentation. Enter a value in the search-help field attribute. which include program should contain the data declaration for the field? . Use the identical names concept. To indicate that your new function module is ready to be freely used by anyone. 131. Changes the report's title attribute.
if the table contains one or more rows. The length of the internal table row structure. To exchange data between reports without an external subroutine call. A: True B: False Ans: B 137. FREE itab. After a DESCRIBE TABLE statement SY-TFILL will contain A: B: C: D: The number of rows in the internal table. RANGES. Ans:A 139. SAVE data_object MEMORY ID 'ID'. READ_DATA data_object. Zero. Function module source code may not call a subroutine. All of the following will delete all rows of an internal table with a header line except: A: B: C: D: CLEAR itab. Ans:A 138. EXPORT data_object TO MEMORY ID 'ID'.A: B: C: D: PBO module include program TOP include program PAI module include program Subroutine include program 135. To allow the user to enter a range of values on a selection screen. use the ABAP keyword: A: B: C: D: DATA. CLEAR itab. you may use: A: B: C: D: IMPORT_MEMORY data_object MEMORY ID 'ID'. PARAMETERS. The current OCCURS value. REFRESH itab. 136. SELECT-OPTIONS .
If the following code results in a syntax error. itab-field2 = '1234'. A: True B: False Ans:A 141. the remedy is: DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1 WITH HEADER LINE. In regard to the OCCURS parameter. itab-field2. .Ans: B D 140. SORT itab. INSERT TABLE itab. ENDLOOP. COLLECT itab LINES nlines. use the ABAP statement: A: B: C: D: READ TABLE itab INDEX nlines. A: B: C: D: There is no syntax error here Remove the SORT statement Change INSERT to APPEND Add a WHERE clause to the loop Ans:C 142. which of the following is a true statement? A: Determines the maximum number of rows when using APPEND itab SORTED BY. D: None of the above Ans:A 143. DESCRIBE TABLE itab LINES nlines. write: /1 itab-field1. itab-field2 = 'ABC'. To get the number of rows in an internal table. An internal table that is nested within another internal table should not contain a header line. B: Sets the upper limit for adding rows with APPEND itab. INSERT TABLE itab. itab-field1 = 'Bank'. itab-field1 = 'Company'. COUNT TABLE itab LINES INTO nlines. LOOP AT itab. C: Allocates memory in blocks of 800 Bytes.
Ans: C A 145. A: B: C: D: Add a SY-SUBRC check. the remedy is: SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3. Ans:D 147. ENDSELECT. Add INTO (tab1-fld1. Remove the /1 from the WRITE statement. tab1-fld2. If this code results in an error. Given: SELECT-OPTIONS: s_opt FOR kna1-kunnr NO-EXTENSION. Which of the following is not a standard pre-defined data type? . Change the WHERE clause to use fld1 or fld2. A: B: C: D: CLIENT-SPECIFIED BYPASSING BUFFER ORDER BY GROUP BY 146. tab1-fld2). Its key may be UNIQUE or NON-UNIQUE. use ____. To ensure that you select data directly from the database. Which of the following is NOT a true statement in regard to a sorted internal table type? A: B: C: D: May only be accessed by its key. Entries are sorted according to its key when added. A binary search is used when accessing rows by its key. WRITE: /1 tab1-fld1.144. The user may enter only a: A: B: C: D: From value To value Single range Exclusion range 148.
23'. Which of the following is NOT a character data type? A: B: C: D: F D T X Ans: A 153. What standard data type is the following user-defined type? TYPES: user_type. The transport route of an ABAP workbench object is determined by the object's: . Which of the following would be stored in a table as master data? A: B: C: D: Customer name and address Sales order items Accounting invoice header Vendor credit memo Ans: A 150. DATA: price(3) type p decimals 2 value '100. A: B: C: D: N C I Undefined Ans: B 152.A: B: C: D: E: D O F X T Ans: B 149. The following statement will result in a syntax error. A: True B: False Ans: B 151.
Executed when the user double-clicks a list row. Controls what happens before a screen is output and what happens after user input. The order in which an event appears in the ABAP code determines when the event is processed. Function codes from your own menu painter status are processed here. In regard to performance. A: True B: False Ans: B 157. which of the following is a true statement? . 156. which of the following in not a true statement? A: B: C: D: Contains PBO and PAI module statements. The SAP service that ensures data integrity by handling locking is called: A: B: C: D: Update Dialog Enqueue/Dequeue Spool 155. Uses the same syntax as the ABAP modules. Ans:D 158. In regard to a screen's flow logic. This is the only event in which a SELECT statement may be coded. In regard to the AT USER-COMMAND event. In regard to the START-OF-SELECTION event. SY-UCOMM contains the current function code. Executed when a function key is pressed.A: B: C: D: Client designation Program type Development class Naming convention 154. which of the following is NOT a true statement? A: B: C: D: The standard system function 'BACK' is processed here. which of the following is a true statement? A: B: C: D: Executed before the selection screen is displayed. Determines the processing sequence of ABAP logic for a screen. 159. Automatically started by the REPORT statement.
A: B: C: D: WHILE is faster than DO. CHECK is very inefficient. This flow logic statement is used to make multiple fields open for input after an Error or warning message. Ans: D 163. which of the following is NOT a true statement? A: B: C: D: Combines similar function modules. All of the following pertain to interactive reporting in ABAP except: A: B: C: D: Call transactions and other programs from a list. Good for processing lists in background. A template that groups up to ten fields for testing access privileges is known as ____. . AT USER-COMMAND Ans:C 164. Nested selects are efficient. A: B: C: D: GROUP FIELD-GROUP CHAIN LOOP AT SCREEN 161. Exists within the ABAP workbench as an include program. Ans: C 160. Shares subroutines with all its function modules. Secondary list shows detail data. Errors to be handled by the calling program are defined in a function module's ____. A: B: C: D: exceptions interface source code exporting interface main program Ans :A 162. In regard to a function group. NE in a WHERE clause is better than EQ. Shares global data with all its function modules.
itab-field2. WRITE: /1 itab-field1. The contents of the third row's itab-field1 and itab-field2. Nothing. LEFT OUTER JOIN. A: B: C: D: MIN ORDER BY DISTINCT DELETE Ans:C 167. The contents of the third row's itab-field2. A database view. To allow a basic list line to branch to a different SAP transaction use: A: B: C: D: LEAVE TRANSACTION SUBMIT TRANSACTION EXECUTE TRANSACTION CALL TRANSACTION 166. None of the above Ans:D 168. you may use all of the following except: A: B: C: D: INNER JOIN. A: B: C: D: The contents of the third row's itab-field1. If a table contains many duplicate values for a field. To select data from more than one table. what will be output by the following code? READ TABLE itab INDEX 3 TRANSPORTING field1. The following code indicates: READ TABLE itab WITH KEY field1 = sy-langu . minimize the number of records returned by using this SELECT statement addition.A: B: C: D: Authorization Authorization object User profile Authority profile Ans: B 165. Assuming itab has a header line. 169.
Search-helps. C: The user name is set equal to the value contained in field suname. Predefined selection criteria values assigned to a report are called: A: B: C: D: Variants. B: Read the row with an index number equal to the value stored in counter. C: Read the internal table using the binary search method to find field1 = sy-langu and field2 = counter. 173. 170. The following code indicates: INITIALIZATION. A: Read table itab row-by-row until finding an entry other than field1 = sy-langu and field2 = counter. concatenate 'IEQ' sy-uname into suname. . Data types contain data values and data objects describe the data. The SAP service that handles system output is called: A: B: C: D: Update Batch Enqueue/Dequeue Spool Ans: D 174.field2 = counter. D: A default value of 'IEQ' is assigned to the PARAMETER suname. A: The field suname will be output in the page header. Matchcodes. B: SELECT-OPTION suname will contain the user name in its from value at runtime. Screen-batches. 171. Which of the following will NOT add rows to an internal table? A: B: C: D: INSERT APPEND COLLECT MODIFY Ans:D 172. D: Read the first row found in itab that has field1 = sy-langu and field2 = counter.
END-EVENT. CHECK ch_field NE 'X'. Pressing the enter key in PC mode while entering code in the ABAP editor will do all of the following except: A: B: C: D: Insert a blank line after the current line Insert a blank line before the current line Select the beginning of a block of lines Split the current line at the cursor position 178. An event starts with an event keyword and ends with: A: B: C: D: Program execution. END-OF-EVENT. Data types may be defined in the ABAP dictionary. 176. Another event keyword. A: 'X' B: Anything other than 'X' C: "Nice job!" will not be output by this code . An ABAP data type may be declared with reference to the SAP data type P. A: True B: False 177.A: True B: False 175. A: True B: False Ans: A 179. Write: 'job!'. To trigger an interactive event from within an ABAP program without user interaction. use the statement: A: B: C: D: SET USER-COMMAND SET PF-STATUS CALL FUNCTION AT USER-COMMAND 180. What value must ch_field contain so that "Nice job!" will be output? Write: /1 'Nice'.
You may declare your own internal table type using the TYPES keyword. A: SE16 B: SE10 C: SE36 D: SE37 182. D: FIELD. Ans:B 183. To view the contents of an ABAP Dictionary table. use transaction ____. To make a selection criterion case-sensitive. A: True B: False Ans:A 184. Instead of using OCCURS 50.D: None of the above 181. you could use: A: ROWS 50 B: INDEX 50 C: DEFAULT 50 D: INITIAL SIZE 50 Ans: D 186. To write a custom text on the selection screen use SELECTION-SCREEN: A: SKIP. use: A: ACCEPTING CASE B: LOWER CASE C: UPPER CASE D: CASE 185. A: True B: False . ABAP Open SQL enables you to access all tables within the SAP system. regardless of the database system installed. C: TEXT. B: COMMENT.
itab-ort01 = 'Chicago'. APPEND itab. WRITE: /1 fld4. CHECK tab1-fld9 = pfld9. fld5. fld6. To properly tune the following code. . A: Add a SY-SUBRC check after ENDSELECT. itab-name1 = 'Jones'. A: True B: False Ans:B 190. APPEND itab. fld6) WHERE fld7 = pfld7. APPEND itab. A: B: C: D: Smith appears before Jones Jones appears before Brown Brown appears before Jones Miami appears before New York Ans: C 188. itab-name1 = 'Smith'. The following code reorders the rows so that: DATA: itab LIKE kna1 OCCURS 0 WITH HEADER LINE. You should never nest SELECT statements because this results in a syntax error. itab-name1 = 'Brown'. itab-ort01 = 'Miami'. itab-ort01 = 'New York'. Which Open SQL statement should not be used with cluster databases? A: UPDATE B: MODIFY C: DELETE D: INSERT Ans: 189. fld5. ENDSELECT. SORT itab BY name1 ort01. you should: SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4.Ans:A 187.
. Fields with identical names are transported to the ABAP side. A: AUTH-CHECK B: AUTHORITY-CHECK C: AUTHORIZATION-CHECK D: AUTHORITY-OBJECT Ans:B 193. 192. Fields not defined in FIELD statements are transported first. 191. To declare a table control in the module pool. A: True B: False Ans:B 194. In regard to data transported in PAI when the FIELD statement is used. D: CONTROLS ctrl_name TYPE TABLEVIEW USING SCREEN 100. Hide the menu path from the user. Ans:B 195. Add an authorization object to the transaction definition. you can do all of the following except: A: B: C: D: Remove the transaction code from the user profile. C: Take the WRITE statement out of the SELECT_ENDSELECT. To prevent certain users from using a transaction code. D: Move the CHECK statement into the WHERE clause. B: TYPES ctrl_name TABLEVIEW. The ABAP keyword for adding authorizations to a program is ____. use: A: CONTROLS ctrl_name TYPE TABLE CONTROL. C: DATA ctrl_name TYPE TABLE CONTROL. Fields that are defined in FIELD statements are transported when their corresponding module is called. Code your own ABAP authorization check in the program associated with the transaction. which of the following is NOT a true statement? A: B: C: D: Fields in PBO are transported directly from PAI. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for improving performance.B: Remove the INTO clause of the SELECT statement.
A: B: C: D: Add rows to the existing rows of itab. PERFORM write_next.Maint. The following statement writes what type of data object? WRITE: /1 'Total Amount:'. Nothing.196. A: True B: False Ans:A 198. A: B: C: D: Text literal Text variable In-code comment Text integer 199.Allowed flag Enter data class = USER Use a size category of 1 200. Select rows from tab1 for matching itab entries. Ans:A 197. Add rows to itab after first deleting any existing rows of itab. The following code will output: write: /1 'Start'. The following code indicates: SELECT fld1 fld2 FROM tab1 APPENDING TABLE itab WHERE fld1 IN sfld1. In order to change the data contents of an ABAP Dictionary table via standard functions you must first: A: B: C: D: Enter delivery class = A Turn on the Tab. The control block ON CHANGE OF fld1_ENDON may be used between SELECT_ENDSELECT. this is a syntax error. .
EXIT. A: B: C: D: READ SELECT GET AT USER-COMMAND Ans:C 202. A: B: C: D: Start next Start next more Start next End Start more End Ans:c 201. A: True B: False . TYPES cust_type like kna1 occurs 0. Which statement does not contain a syntax error? A: B: C: D: DATA invoice_number(10) type N default '1234567890'.write: 'End'. Ans: A 203. DATA data_obj type p decimals 2 value 234. ENDFORM.98. write: 'more'. This event retrieves data from a logical database. An administrative unit in which SAP services are started and stopped at the same time is called: A: B: C: D: Message server Instance Gateway Profile 204. write: 'next'. ABAP Open SQL contains both Data Definition Language (DDL) statements and Data Controlling Language (DCL) statements. orange(10) type c value 'Orange'. FORM write_next. CONSTANTS apple(10) type c value 'Apple'.
Which keyword adds a line anywhere within an internal table? A: B: C: D: APPEND MODIFY ADD INSERT Ans: 206.205. COUNT. what does SY-SUBRC equal? A: B: C: D: 0 4 8 Null Ans: A 209. 207. TOT. To total the numeric fields at a control break. Which dialog programming section is used to initialize a screen's field values? A: B: C: D: PBO PAI INITIALIZATION None of the above 210. Which dialog programming section is used to handle user functions? A: PBO B: PAI C: INITIALIZATION . To select unique values of a field. After a successful SELECT statement. A: B: C: D: INTO TABLE UP TO 1 ROWS DISTINCT ORDER BY Ans:C 208. SUM. use ____. use: A: B: C: D: ADD.
LEAVE SCREEN. If an internal table is declared without a header line. D: INCLUDE zprog2(sub_name). C: Remove the internal table itab from the SELECT statement. 215. to call a subroutine named sub_name in program zprog2. B: PERFORM sub_name(zprog2). Ans:D 216. B: Ends at end of PBO of the next screen. which of the following is NOT a true statement? A: Begins at start of PAI of the current screen. SET SCREEN 200. except: A: A pointer to the memory location of the parameter's value is passed. itab-fld5. code the following: A: CALL zprog2(sub_name). B: Exit screen 200. D: New memory is allocated for the parameter's value. C: PERFORM (sub_name)zprog2. D: Begins when the next screen is displayed 212. SELECT fld1 fld2 fld3 FROM tab1 INTO (itab-fld4. itab-fld6) WHERE fld7 = pfld7. D: Branch to screen 200 without coming back. In regard to a dialog step.D: None of the above 211. All of the following are true in regard to a parameter passed by reference. From program zprog1. Which of the following is a good performance tuning technique? A: Change the SELECT statement to use INTO TABLE itab. APPEND itab. no change is required. B: Changing the formal parameter immediately changes the passed parameter. B: Add MOVE statements to fill the header line of itab. C: Ends when the next screen is displayed. D: This code is optimized. what else must you declare to work with the table's rows? . A: Come back to the calling screen from screen 200. 213. 214. ENDSELECT. C: Besides USING. C: Branch back to the previous screen. no additional syntax is required.
D: WRITE itab-fld1. D: FIELD-SYMBOLS (FS). B: A work area with the same structure as the internal table. _ ENDAT. D: A PARAMETER. Ans:B 217. C: An internal table type using the TYPES statement. C: START-OF-SELECTION. 218. When coding AT FIRST fld1.A: Another internal table with a header line. within an internal table loop. In regard to PERFORM. Which statement correctly declares a field-symbol? A: FIELD-SYMBOLS fs. This event occurs before a selection screen is displayed and may be used to assign default values. B: LOOP AT itab WHERE fld1 = pfld. C: SUM. B: TOP-OF-PAGE. A: INITIALIZATION. Ans:A 221. B: FIELD-SYMBOLS <fs>. D: GET. C: FIELD-SYMBOLS [fs]. A: enter the authorization profile name in the user master record B: assign the user to the authority object's list of allowed users C: include the user name in the ABAP authorization check D: none of the above Ans:A 219. Ans:B 220. To grant a set of access privileges to a user ____. which of the following is NOT a true statement? . you should avoid using: A: SORT itab by fld1.
If you forget the syntax of an ABAP keyword. B: Requires actual parameters. Ans:B 222. C: Recursive calls are allowed in ABAP. D: Can call a subroutine in another program. This tool is called the ____. When creating a transparent table in the ABAP Dictionary. how can you get help on that keyword? A: Double-click the keyword B: Click once on the keyword and press the F1 key C: Highlight the keyword and press the Enter key D: Choose the menu path Help -> Settings Ans:B 225. A: ABAP editor B: ABAP workbench C: Object list D: Repository browser Ans: B .A: May be used within a subroutine. Entering transaction SE80 will take you to an interface tool for managing application development objects. 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 D: Activating the table Ans:D 224. You declare a local data object that retains its value across multiple subroutine calls using the keyword A: DATA B: TYPES C: PARAMETERS D: STATICS Ans:D 223.
use: A: AT LAST B: AT NEW C: ON CHANGE OF D: LOOP AT itab FROM Ans: 228. SUM. tot = tot + fld4. SELECT fld1 FROM tab1 INTO fld4 WHERE fld7 = pfld7. 230. The declarative keyword for defining your own data types in an ABAP program is ____. ENDSELECT. MAX. A good performance tuning technique would be to change the SELECT statement to use: A: B: C: D: GROUP-BY. A: DATA B: TYPE-GROUPS C: TYPES D: DATA-TYPE Ans:C 227. To output a control break grand total for an entire internal table. A: True B: False . Internal tables passed with TABLES are passed by: A: Value B: Value and result C: Changing D: Reference Ans: D 229.226. Database locks are sufficient in a multi-user environment. TOT.
Ans: 235. To get the average value of a database table field as you select it. The TABLES statement declares a data object. UPDATE may not use a subquery. Allows you to program a second SELECT as part of the WHERE clause.231. A: B: C: D: GET AVERAGE SELECT AVERAGE SELECT AVG COMPUTE AVG Ans: 233. which of the following is a true statement? A: B: C: D: SELECT SINGLE may be used. The outer SELECT is processed first. The dynamic internal table may be empty. The dynamic internal table may have two or more fields. What is the transaction code for the ABAP Dictionary? A: B: C: D: SE10 SE38 SE11 SE37 Ans:C 236. In regard to a subquery. A: True B: False . In regard to a dynamic WHERE clause. The IN operator may be used with the dynamic values internal table. Which keyword changes any line within an internal table? A: B: C: D: INSERT APPEND ALTER MODIFY Ans: D 232. which of the following is not a true statement? A: B: C: D: Include an internal table in parentheses without blanks. 234. use ____.
EXIT. What will trigger the output of the word "Thanks!"? A: B: C: D: Executing the ABAP report Double-clicking a list row Clicking once on a list row and pressing Enter None of the above Ans: 238. After coding an authorization check. it must first be: A: Linked B: Authorized C: Released D: Active Ans: D 240.Ans:A 237. ENDIF. Nothing. Must follow the same declaration syntax as Global data. Before a function module may be tested. Given this code: AT LINE-SELECTION. -------239. what else should you code to handle a failed check? A: B: C: D: WRITE 'You are not authorized'. CHECK AUTHORITY-OBJECT Ans:B . the program stops automatically. IF SY-SUBRC NE 0. Write: /1 'Thanks!'. Value is known to all subroutines Ans: D 241. All of the following pertain to a subroutine's local data object except: A: B: C: D: Declared inside of the subroutine. Available only within the subroutine.
In regard to HIDE.242. A: True B: False Ans: B 247. If you want to use a SPA/GPA parameter value as a default value for a selection screen field. fval type i. To assign an initial value. The HIDE area is retrieved when an interactive event is triggered. At runtime Native SQL is converted to ABAP Open SQL. DELETE itab. The hidden variables must be output on a list line. include this option of the PARAMETERS statement: A: B: C: D: FIRST INITIALIZATION VALUE DEFAULT Ans: D 245. which of the following is NOT a true statement? A: B: C: D: Saves the contents of variables in relation to a list line's row number. Ans: 243. DELETE ADJACENT DUPLICATES FROM itab Ans: D 246. The HIDE area is retrieved when using the READ LINE statement. What will be output by the following code? DATA: BEGIN OF itab OCCURS 0. To delete duplicate lines from an internal table use the ABAP statement: A: B: C: D: SORT itab WITH UNIQUE ROWS. END OF itab. . use: A: B: C: D: MATCHCODE OBJECT MODIF ID DEFAULT MEMORY ID 244. REMOVE DUPLICATES FROM itab.
None of the above Ans: B 249. For a table field that you create. street. itab-fval = 2. FREE itab. Given this code. but you must use an existing Domain. DATA: address(45) type C value '1600 Penn Ave. A: True B: False Ans: B Documented by Vaibhav Sharan Date : 10/08/2007. 1600 Penn Ave. . you may create your own Data Element. APPEND itab. A: B: C: D: 2 0 blank 1 Ans: 2 248. address = '100 Washington Place'. He lives at 100 Washington Place. APPEND itab. street like address. WRITE: /1 itab-fval. A: B: C: D: E: He lives at 100 Washington Place He lives at He lives at 1600 Penn Ave. WRITE: /1 'He lives at'.itab-fval = 1.'. what will be the resulting output? report zabaprg.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.