Sei sulla pagina 1di 36

1. Define an instance. 2. Define a client. 3. Which component handles traffic between the presentation and application server? 4.

What is the standard customer namespace? 5. Are there any other customer namespaces? 6. What is true about secondary indexes: (choose correct option/s) Speed up database selection Slow down database updates Are created on the database when activated The index name looks like this: table_name$index_no 7. When activating a changed empty database table, what happens on the database? 8. What is a check table? 9. What is a foreign key table? 10. What happens in a left outer join if the right hand table does not have matching records? 11. In a search help, MUST you define at least one export parameter? 12. What is true about search helps: (choose correct option/s) .Flexible processing with user exits .Data selection from tables or views .Can have defaults for import parameters .Hit list can have several fields 13. What are valid statuses for BI folders? 14. Which transfer methods does the Data Transfer Workbench support? 15. Which technical field in the BDCDATA table holds the last cursor position? 16. Can the LSMW recorder be used to generate a CT program? 17. What is true about the LSMW: (choose correct option/s) .Part of the SAP system .Processes hierarchical data files (header and position) .Needs a source field for every target field 18. Which data transfer technologies use the online transaction to load data? 19. The SAP Transaction Recorder can: (choose correct option/s) .Generate a function module .Be tested with CT .Create a BI folder/session 20. If you change data while running a BI session in the foreground, what happens? 21. Do you need to know the transaction screen sequence to use Standard Data Transfer programs? 22. How do you read a LOCAL sequential file? 23. How do you write a sequential file? 24. How do you send the BDCDATA table in a Call Transaction statement? 25. What loop do you code for a READ DATASET statement? 26. Can BI update asynchronously? 27. How would you know if your synchronous CT update was successful? 28. And asynchronous CT? 29. How can you use your own programs via the DXWB? 30. Where do you find the Object Type for registration of your program? 31. What is the purpose of using Update Techniques? 32. What statement is required in order to trigger updating with Update Techniques? 33. What statement or event marks the end of one SAP LUW and the beginning of a new

one? 34. What part/s of the interface is/are not permitted in an Update Function Module? 35. If you use Perform on Commit, at what point is the interface of the subroutine evaluated? 36. How can you undo database updates? 37. How would an Enqueue function module tell you that a record is already locked? 38. Are transaction codes stored on T100? 39. Can you have V1 and V2 updates in one transaction? 40. What key is needed before you can modify a SAP program? 41. Which 2 transaction codes are used to manage enhancements? 42. Which enhancement is local, which is global: .Field Exits .Screen Exits .Program Exits .Menu Exits 43. Where can you create an enhancement to show your own F1 Help on a field? 44. What is the sequence of modification adjustments during upgrade? 45. What enhancements can be created using Cmod? 46. When will AT NEW NAME1 happen? 47. What table stores icons? 48. Does a SELECT statement automatically perform a client check? 49. Which event gets triggered when the function code PICK occurs? 50. Can user Smith copy user Jones' Quickviews? 51 What methods of data collection does a functional area have access to? 52. What is true about ABAP Query: (choose correct option/s) .Users do not need ABAP knowledge .Users are assigned to User Groups .Queries are sharell> - = 5. exit. ENDIF. ENDDO. WRITE: /1 counter. A: Start a loop. B: Increment counter until it is 5 or more. C: Execute the code between DO and ENDDO five times. D: Exit the program if counter is 5 or more. 8. A DATA statement may appear only at the top of a program, before START-OFSELECTION. A: True B: False 9. This data type has a default length of one and a default value = '0'. A: P B: C C: N D: I

10. The editor function that formats and indents the lines of code automatically is called ____. A: Auto align B: Pretty printer C: Generate version D: Syntax check 11. The transport route of an ABAP workbench object is determined by the object's: A: Client designation B: Program type C: Development class D: Naming convention 12. What value must ch_field contain so that "Nice job!" will be output? write: /1 'Nice'. CHECK ch_field NE 'X'. Write: 'job!'. A: 'X' B: Anything other than 'X' C: "Nice job!" will not be output by this code D: None of the above 13. Given: CONSTANTS: var_one(3) type C value 'DOG'. IF var_one = 'dog'. WRITE: /1 'Bark!'. ELSE. WRITE: /1 'Meow!'. ENDIF. WRITE: var_one. This will result in the output: A: Bark! DOG B: DOG C: Meow! DOG D: None of the above 14. In regard to CONTINUE, which of the following is a true statement? A: Causes a loop to terminate. B: Jumps immediately to the END-OF-SELECTION event. C: Stops the current loop pass and gets the next. D: Continue may be used outside of loops. 15. What is the system field for program name? A: SY-REPRT

B: SY-PROG C: SY-REPID D: SY-PNAME 16. Which keyword removes any line from an internal table? A: ERASE B: MODIFY C: STRIP D: DELETE 17. When coding AT FIRST fld1. _ ENDAT. within an internal table loop, you should avoid using: A: SORT itab by fld1. B: LOOP AT itab WHERE fld1 = pfld. C: SUM. D: WRITE itab-fld1. 18. To stop selection when a certain number of records have been found, use ____. A: UP TO n ROWS B: BYPASSING BUFFER C: ORDER BY D: GROUP BY 19. To total the numeric fields at a control break, use: A: ADD. B: SUM. C: COUNT. D: TOT. 20. To sort data as you select it, use ____. A: INTO TABLE B: SORT BY C: ORDER BY D: None of the above 21. To limit the number of records selected from the database, use ____. A: WHERE B: WHEN C: IF D: CASE 22. Your own selection screen modifications should be coded here: A: AT SELECTION-SCREEN OUTPUT. B: AT USER-COMMAND. C: AT LINE-SELECTION. D: INITIALIZATION. 23. Instead of using OCCURS 50, you could use:

A: ROWS 50 B: INDEX 50 C: DEFAULT 50 D: INITIAL SIZE 50 24. 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: WITH KEY B: WITH TABLE KEY C: SEARCH TYPE D: WHERE 25. To assign an initial value, include this option of the PARAMETERS statement: A: FIRST B: INITIALIZATION C: VALUE D: DEFAULT 26. By definition, what fields make up the standard internal table key? A: All the table's fields. B: All the non-numeric fields. C: All the numeric fields. D: The first field 27. In regard to COMMIT WORK, which of the following is NOT a true statement? A: Executes a database commit. B: Releases locks. C: Calls PERFORM_ON COMMIT subroutines. D: Committed work may be undone by ROLLBACK WORK. 28. To use a secondary table index in your SELECT statement, you should: A: Include the index fields in the WHERE clause in the correct order B: Use the INDEX clause of the SELECT statement C: Include MANDT in the WHERE clause D: None of the above 29. Which of these ABAP statements does NOT declare an internal table? A: DATA: BEGIN OF itab OCCURS 0, field(10) TYPE C, END OF itab. B: DATA: itab LIKE struc OCCURS 10 WITH HEADER LINE. C: DATA: BEGIN OF itab WITH HEADER LINE, field(10) TYPE C, END OF itab. D: DATA: itab TYPE STANDARD TABLE OF struc_type. 30. ABAP Open SQL allows SAP applications to run on any supported database system without modifying the source code. A: True B: False

31. To properly tune the following code, you should: SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6) WHERE fld7 = pfld7. CHECK tab1-fld9 = pfld9. WRITE: /1 fld4, fld5, fld6. ENDSELECT. A: Add a SY-SUBRC check after ENDSELECT. B: Remove the INTO clause of the SELECT statement. C: Take the WRITE statement out of the SELECT_ENDSELECT. D: Move the CHECK statement into the WHERE clause. 32. To make a single field open for input after an error or warning message A: Add the field to the screen with the input attribute checked. B: Declare the field as global data. C: Use the FIELD flow logic statement D: Call message type S. 33. Given: SELECT fld1 fld2 fld3 FROM tab1 INTO (itab-fld4, itab-fld5, itab-fld6) WHERE fld7 = pfld7. APPEND itab. ENDSELECT. Which of the following is a good performance tuning technique? A: Change the SELECT statement to use INTO TABLE itab. B: Add MOVE statements to fill the header line of itab. C: Remove the internal table itab from the SELECT statement. D: This code is optimized; no change is required. 34. All of the following pertain to a subroutine's local data object except: A: Declared inside of the subroutine. B: Available only within the subroutine. C: Must follow the same declaration syntax as Global data. D: Value is known to all subroutines. 35. Page headers for a secondary list should be coded in which event? A: TOP-OF-PAGE. B: START-OF-SELECTION. C: TOP-OF-PAGE DURING LINE-SELECTION. D: AT USER-COMMAND 36. Given: REPORT ZTESTPRG. FORMAT INTENSIFIED OFF. WRITE 'This is a line of output'. AT LINE-SELECTION. MODIFY CURRENT LINE LINE FORMAT INTENSIFIED.

What happens when the text line is double-clicked for the first time? A: The line remains unchanged. B: The line becomes open for input. C: The line is changed to intensified output. D: Nothing, this is a syntax error. 37. 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. B: The formal parameter contains a default value. C: The formal parameter's "Reference" attribute is turned on. D: It is never optional. 38. A select statement has built-in authorization checks. A: True B: False 39. To prevent invalid list lines from being selected by a double-click, you should do all of the following except: A: Check the hide field after outputting the basic list. B: Clear the hide field after outputting the basic list. C: Check the hide field in AT LINE-SELECTION to make sure the hide field has a value. D: Clear the hide field at the end of the AT LINE-SELECTION event. 40. The table control attribute -LINES indicates the total number of lines in the internal table. A: True B: False 41. The ABAP statement you will typically use in a 'CANCEL' function is: A: CALL SCREEN 0. B: COMMIT WORK. C: ROLLBACK WORK. D: UPDATE 42. If the user picks the WIND function, the following code indicates: AT USER-COMMAND. IF SY-UCOMM = 'WIND'. WINDOW STARTING AT 7 4 ENDING AT 65 12. WRITE text-900. ENDIF. A: Display text-900 in a dialog window. B: Display text-900 in a full screen. C: Output text-900 on row 4, starting at column 7. D: Draw a box around text-900 with coordinates (7,4) and (65,12) 43. To call a local subroutine named calculate_answer, use this line of code:

A: PERFORM calculate_answer. B: CALL calculate_answer. C: USING calculate_answer. D: SUB calculate_answer. 44. In regard to a screen's flow logic, which of the following in not a true statement? A: Contains PBO and PAI module statements. B: Uses the same syntax as the ABAP modules. C: Determines the processing sequence of ABAP logic for a screen. D: Controls what happens before a screen is output and what happens after user input 45. Before a function module may be tested, it must first be: A: Linked B: Authorized C: Released D: Active Answers. 1. D 2. D 3. C 4. C 5. C 6. B 7. A 8. B 9. C 10. B 11. C 12. B 13. C 14. C 15. C 16. D 17. AT FIRST fld1 is a wrong question, with AT FIRST, we don't give fld name. 18. A 19. B 20. C 21. A 22. A 23. D 24. A 25. D 26. B 27. D 28. A 29. C 30. B

31. D 32. C 33. A 34. D 35. C 36. C 37. B 38. B 39. B 40. B 41. A 42. A 43. A 44. B 45. D

1. The major difference between DO and WHILE is: A: WHILE requires a logical expression. B: You cannot use the CONTINUE statement with WHILE. C: A WHILE loop may not be nested within another WHILE loop. D: Endless loops are not possible with WHILE 2. This event retrieves data from a logical database. A: READ B: SELECT C: GET D: AT USER-COMMAND 3. In a line of code, text-100, is an example of which type of text element? A: Text symbol B: Selection text C: Text title D: Text identifier 4. Which of the following is NOT a character data type? A: F B: D C: T D: X 5. These events are listed in the order they will be processed: AT SELECTION-SCREEN, START-OF-SELECTION, GET dbtab, END-OF-SELECTION. A: True B: False 6. To indicate that your new function module is ready to be freely used by anyone, you should:

A: Activate it. B: Release it. C: Add documentation. D: Send out an e-mail. 7. Page headers for a basic list can be coded in the event: A: NEW-PAGE. B: AT LINE-SELECTION. C: INITIALIZATION. D: TOP-OF-PAGE. 8. 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: Customer name B: ABAP programmer C: Material number D: None of the above 9. What is the transaction code for the ABAP Dictionary? A: SE10 B: SE38 C: SE11 D: SE37 10. What standard data type is the following user-defined type? TYPES: user_type. A: N B: C C: I D: Undefined 11. Page headers for a secondary/details list can be coded in the event: A: GET. B: INITIALIZATION. C: TOP-OF-PAGE DURING LINE-SELECTION. D: NEW-PAGE. 12. Without displaying the from/to fields on the selection screen, you declare an internal table to hold selection criteria using the keyword

A: TYPES B: TABLES C: FIELD-GROUP D: RANGES 13. The program type attribute for a dialog program is: A: M B: 1 C: I D: D 14. After coding an authorization check, what else should you code to handle a failed check? A: WRITE 'You are not authorized'. B: IF SY-SUBRC NE 0. EXIT. ENDIF. C: Nothing; the program stops automatically. D: CHECK AUTHORITY-OBJECT. 15. ABAP Open SQL enables you to access all tables within the SAP system, regardless of the database system installed. A: True B: False 16. To create a list of the top 25 customers, you should use A: DELETE ADJACENT DUPLICATES B: READ TABLE itab INDEX 25 C: LOOP AT itab FROM 25 D: APPEND SORTED BY 17. Which of the following will NOT add rows to an internal table? A: INSERT B: APPEND C: COLLECT D: MODIFY 18. Which of these is NOT a valid type of function module? A: Normal B: Update C: RFC D: Dialog 19. To delete duplicate lines from an internal table use the ABAP statement: A: SORT itab WITH UNIQUE ROWS. B: REMOVE DUPLICATES FROM itab. C: DELETE itab. D: DELETE ADJACENT DUPLICATES FROM itab. 20. In regard to MOVE-CORRESPONDING, which of the following is NOT a true statement? A: Moves the values of components with identical names.

B: Fields without a match are unchanged. C: Corresponds to one or more MOVE statements. D: Moves the values of components according to their location. 21. The following code reorders the rows so that: DATA: itab LIKE kna1 OCCURS 0 WITH HEADER LINE. itab-name1 = 'Smith'. itab-ort01 = 'Miami'. APPEND itab. itab-name1 = 'Jones'. itab-ort01 = 'Chicago'. APPEND itab. itab-name1 = 'Brown'. itab-ort01 = 'New York'. APPEND itab. SORT itab BY name1 ort01. A: Smith appears before Jones B: Jones appears before Brown C: Brown appears before Jones D: Miami appears before New York 22. All of the following pertain to interactive reporting in ABAP except: A: Call transactions and other programs from a list. B: Secondary list shows detail data. C: Good for processing lists in background. D: AT USER-COMMAND 23. To select unique values of a field, use ____. A: INTO TABLE B: UP TO 1 ROWS C: DISTINCT D: ORDER BY 24. Given: IF MY_IND = 'X'. COMMIT WORK. ELSE. ROLLBACK WORK. ENDIF. If my_ind is initial, this will result in: A: Changes are written to the database. B: Changes are undone without writing them to the database. C: A database error. D: An abend. 25. To summarize the contents of several matching lines into a single line, use this SELECT statement clause. A: INTO B: WHERE C: FROM D: GROUP BY

26. To limit your SELECT statement to user-entered SELECT-OPTIONS, use ____. A: IN B: EQ C: NE D: BT

27. The following code indicates: DATA: itab1 LIKE struc1 OCCURS 0 WITH HEADER LINE, itab2 LIKE struc1 OCCURS 0 WITH HEADER LINE. itab1[] = itab2[]. A: Set the type of itab1 to the type of itab2. B: Move the header line of itab2 to itab1. C: Move all the rows of itab2 to itab1. D: Move the last row of itab2 to itab1.

28. To grant a set of access privileges to a user ____. 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

29. Given: SELECT fld1 FROM tab1 INTO fld4 WHERE fld7 = pfld7. tot = tot + fld4. ENDSELECT. A good performance tuning technique would be to change the SELECT statement to use: A: GROUP-BY. B: SUM. C: TOT. D: MAX.

30. What must you code in the flow logic to prevent a module from being called unless a field contains new user input? A: ON INPUT

B: CHAIN C: FIELD D: ON REQUEST

31. To make a single field open for input after an error or warning message A: Add the field to the screen with the input attribute checked. B: Declare the field as global data. C: Use the FIELD flow logic statement D: Call message type S.

32. From program zprog1, to call a subroutine named sub_name in program zprog2, code the following: A: CALL zprog2(sub_name). B: PERFORM sub_name(zprog2). C: PERFORM (sub_name)zprog2. D: INCLUDE zprog2(sub_name).

33. To prevent duplicate accesses to a master data field: A: Create an index on the master data field. B: Remove nested SELECT statements. C: Use SELECT SINGLE. D: Buffer the data in an internal table.

34. In relation to an internal table as a formal parameter, because of the STRUCTURE syntax, it is possible to: A: Use the DESCRIBE statement within a subroutine. B: Loop through the internal table within a subroutine. C: Access the internal table fields within a subroutine. D: Add rows to the internal table within a subroutine.

35. When making a function module call, pass internal tables via the parameter ____. A: EXPORTING B: IMPORTING C: USING D: TABLES

36. In regard to the DESCRIBE LIST statement, which of the following is a true statement?

A: Retrieves the ABAP report name. B: Retrieves the number of list lines and pages. C: Retrieves the window title. D: None of the above. 37. Which dialog programming section is used to handle user functions? A: PBO B: PAI C: INITIALIZATION D: None of the above

38. To allow the user to double-click a list line, write code within the event: A: START-OF-SELECTION. B: AT LINE-SELECTION. C: INITIALIZATION. D: TOP-OF-PAGE.

39. In the following code, what does function FC12 do? AT USER-COMMAND. CASE SY-UCOMM. WHEN 'FC11'. SCROLL LIST LEFT BY 20 PLACES. WHEN 'FC12'. SCROLL LIST FORWARD. ENDCASE. A: Shifts the list rows up. B: Moves the cursor. C: Scrolls the list to the right. D: Performs a page up.

40. If you need to add a new field to a table delivered with the standard SAP system, you should add the field ____. A: with the Tab.maint.generator function B: directly to the table with a name that starts with Z or Y C: via a secondary index D: using an append structure

41. The CASE statement may not contain a logical expression, as in

CASE my_fld > 3. A: True B: False

42. What is the major difference between an ABAP Dictionary table and an ABAP Dictionary structure? A: A table has columns but no rows, and a structure has rows but no columns. B: A structure has a primary key and a table does not. C: A table may not be buffered, but a structure may be buffered. D: A table stores data, and a structure does not. 43. Which statement correctly declares a field-symbol? A: FIELD-SYMBOLS fs. B: FIELD-SYMBOLS . C: FIELD-SYMBOLS [fs]. D: FIELD-SYMBOLS (FS).

44. How many digits may be stored in the following data object? DATA: digits(6) type p. A: 6 B: 11 C: 12 D: 5

45. The following code indicates: INITIALIZATION. concatenate 'IEQ' sy-uname into suname. A: The field suname will be output in the page header. B: SELECT-OPTION suname will contain the user name in its from value at runtime. C: The user name is set equal to the value contained in field suname. D: A default value of 'IEQ' is assigned to the PARAMETER suname.

46. Pressing the enter key in PC mode while entering code in the ABAP editor will do all of the following except: A: Insert a blank line after the current line B: Insert a blank line before the current line

C: Select the beginning of a block of lines D: Split the current line at the cursor position

47. This data type has a default length of eight and a default value = '00000000'. A: P B: D C: N D: C

48. In regard to the three-tier client/server architecture, which of the following is a true statement? A: The presentation server processes the SAP program logic. B: An application server is responsible for updating database tables. C: Typically, there is a one-to-one ratio of database servers to presentation servers. D: The application server layer is the level between a presentation server and a database server.

49. What will this code output? PARAMETERS: rad1 radiobutton group g1, rad2 radiobutton group g1, rad3 radiobutton group g1. CASE 'X'. WHEN rad1. write: /1 'ABC'. WHEN rad2. write: /1 'DEF'. WHEN rad3. Write: /1 'XYZ'. ENDCASE. A: ABC B: DEF C: XYZ D: Nothing; a syntax error occurs. E: Depends on which radiobutton the user chooses 50. 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

51. The following event may be explicitly coded, but it is also implied. A: END-OF-SELECTION. B: START-OF-SELECTION. C: AT LINE-SELECTION. D: AT SELECTION-SCREEN.

52. The following code indicates: SELECTION-SCREEN POSITION 10. A: The next parameter or comment will start at column 10. B: The next parameter or comment will start at row 10. C: The cursor will be placed on the 10th selection screen parameter. D: Row 10 of the selection screen will appear at the top of the screen.

53. Which keyword adds a line to the end of an internal table? A: DELETE B: APPEND C: ADD D: MODIFY 1. 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: 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 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 the 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 value '3.1'. PI = '3.14'. A: 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 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 row. 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 number 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, 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. 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 B: Output 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 the 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 control 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 until 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: 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? A: 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 deactivate unwanted function codes by using ____. A: EXCLUDING B: IMMEDIATELY C: WITHOUT D: HIDE

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. B: Fields with identical names are transported to the ABAP side. C: Fields not defined in FIELD statements are transported first. D: Fields that are defined in FIELD statements are transported when their corresponding module is called.

26. The order in which an event appears in the ABAP code determines when the event is processed. A: True B: False

27. A field declared as type T has the following internal representation: A: SSMMHH B: HHMMSS C: MMHHSS D: HHSSMM

28. Which of the following is NOT a component of the default standard ABAP report header? A: Date and Time B: List title C: Page number D: Underline

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. B: AT PFn. C: AT SELECTION-SCREEN. D: END-OF-SELECTION.

30. In regard to field selection, what option of the SELECT statement is required? A: FOR ALL ENTRIES B: WHERE C: INTO

D: MOVE-CORRESPONDING

31. The following program outputs what? report zjgtest1 write: /1 'Ready_'. PARAMETER: test. INITIALIZATION. write: /1 'Set_'. START-OF-SELECTION. write: /1 'GO!!'. A: Set_ GO!! (each on its own line) B: Set_ Ready_ GO!! (all on their own lines) C: Ready_ GO!! (each on its own line) D: Ready_ Set_ GO!! (all on their own lines)

32. To declare a selection criterion that does not appear on the selection screen, use: A: NO-DISPLAY B: INVISIBLE C: MODIF ID D: OBLIGATORY 33. An internal table that is nested within another internal table should not contain a header line. A: True B: False

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. itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab. LOOP AT itab. SY-TABIX = 2. WRITE itab-letter. EXIT.

ENDLOOP. A: A B: A B C D C: B D: B C D

35. To select all database entries for a certain WHERE clause into an internal table in one step, use A: SELECT_INTO TABLE itab_ B: SELECT_INTO itab_ C: SELECT_APPENDING itab D: SELECT_itab_

36. After a successful SELECT statement, what does SY-SUBRC equal? A: 0 B: 4 C: 8 D: Null

37. This selection screen syntax forces the user to input a value: A: REQUIRED-ENTRY B: OBLIGATORY C: DEFAULT D: SELECTION-SCREEN EXCLUDE

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 WITH HEADER LINE. itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab. itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab. SORT itab. LOOP AT itab. write: /1 itab-field1, itab-field2. ENDLOOP. A: There is no syntax error here

B: Remove the SORT statement C: Change INSERT to APPEND D: Add a WHERE clause to the loop

39. If this code results in an error, the remedy is: SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3. WRITE: /1 tab1-fld1, tab1-fld2. ENDSELECT. A: Add a SY-SUBRC check. B: Change the WHERE clause to use fld1 or fld2. C: Remove the /1 from the WRITE statement. D: Add INTO (tab1-fld1, tab1-fld2).

40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number. A: True B: False 41. To allow the user to enter values on the screen for a list field, use: A: OPEN LINE. B: SET CURSOR FIELD. C: WRITE fld AS INPUT FIELD. D: FORMAT INPUT ON.

42. Before a function module may be tested, it must first be: A: Linked B: Authorized C: Released D: Active

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 B: TOP include program C: PAI module include program D: Subroutine 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 B: ORDER BY C: DISTINCT D: DELETE

45. The system internal table used for dynamic screen modification is named: A: ITAB B: SCREEN C: MODTAB D: SMOD

46. Within the source code of a function module, errors are handled via the keyword: A: EXCEPTION B: RAISE C: STOP D: ABEND

47. Which system field contains the contents of a selected line? A: SY-CUCOL B: SY-LILLI C: SY-CUROW D: SY-LISEL

48. The following statement writes what type of data object? WRITE: /1 'Total Amount:'. A: Text literal B: Text variable C: In-code comment D: Text integer

49. For the code below, second_field is of what data type? DATA: first_field type P, second_field like first_field. A: P

B: C C: N D: D

50. Which of the following describes the internal representation of a type D data object? A: DDMMYYYY B: YYYYDDMM C: MMDDYYYY D: YYYYMMDD

51. A BDC program is used for all of the following except: A: Downloading data to a local file B: Data interfaces between SAP and external systems C: Initial data transfer D: Entering a large amount of data

52. In regard to PERFORM, which of the following is NOT a true statement? A: May be used within a subroutine. B: Requires actual parameters. C: Recursive calls are allowed in ABAP. D: Can call a subroutine in another program.

53. What is the transaction code for the ABAP Editor? A: SE11 B: SE38 C: SE36 D: SE16 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. B: The hidden variables must be output on a list line. C: The HIDE area is retrieved when using the READ LINE statement. D: The HIDE area is retrieved when an interactive event is triggered.

55. Database locks are sufficient in a multi-user environment. A: True B: False

56. The complete technical definition of a table field is determined by the field's: A: Domain B: Field name C: Data type D: Data element

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. B: May be used to stop the current loop pass and get the next. C: May be used to start a new transaction. D: May be used to go to the next screen.

58. The following code indicates: SELECT fld6 fld3 fld2 fld1 FROM tab1 INTO CORRESPONDING FIELDS OF TABLE itab WHERE fld3 = pfld3. A: The order of the fields in itab does not matter. B: Fill the header line of itab, but not the body. C: Table itab can only contain fields also in table tab1. D: None of the above.

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 B: Contains at least one row C: Has a header line D: Has an empty header line

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. itab-fval = 2. APPEND itab. FREE itab. WRITE: /1 itab-fval.

A: 2 B: 0 C: blank D: 1

61. To allow the user to enter a range of values on a selection screen, use the ABAP keyword: A: DATA. B: RANGES. C: PARAMETERS. D: SELECT-OPTIONS.

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. B: A work area with the same structure as the internal table. C: An internal table type using the TYPES statement. D: A PARAMETER.

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. B: 1801 C: 1800 D: 1799 64. To remove lines from a database table, use ____. A: UPDATE B: MODIFY C: ERASE D: DELETE

65. All of the following may be performed using SET CURSOR except: A: Move the cursor to a specific field on a list. B: Move the cursor to a specific list line. C: Move the cursor to a specific pushbutton, activating that function. D: Move the cursor to a specific row and column 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. B: The formal parameter contains a default value. C: The formal parameter's "Reference" attribute is turned on. D: It is never optional.

67. Coding two INITIALIZATION events will cause a syntax error. A: True B: False

68. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for improving performance. A: True B: False

69. To save information on a list line for use after the line is selected, use this keyword. A: APPEND B: EXPORT C: WRITE D: HIDE

70. To bypass automatic field input checks, include this in PAI. A: AT EXIT-COMMAND B: ON INPUT C: ON REQUEST D: LEAVE TO SCREEN 0.

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 B: SY-MSGNO C: SY-MSGV1 D: SY-MSGWA

72. 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. D: None of the above.

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 B: Projection view C: Help view D: Entity view

74. A concrete field is associated with a field-symbol via ABAP keyword A: MOVE B: WRITE C: ASSIGN D: VALUE

75. 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 D: None of the above

76. Page footers are coded in the event: A: TOP-OF-PAGE. B: END-OF-SELECTION. C: NEW-PAGE. D: END-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 B: False

78. The TABLES statement declares a data object. A: True B: False

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) 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. D: Take the WRITE statement out of the SELECT_ENDSELECT.

80. Which of the following is NOT a required attribute when creating an ABAP program? A: Application B: Title C: Status D: Type

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

B: Checking the table syntax C: Saving the table D: Activating the table

82. Within the ABAP program attributes, Type = 1 represents: A: INCLUDE program B: Online program C: Module pool D: Function group E: Subroutine pool

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 ). B: Move SUM( fld1 ) before fld1. C: Add GROUP BY f1. D: Change to SUM( DISTINCT f1 ).

84. Which keyword adds rows to an internal table while accumulating numeric values? A: INSERT B: APPEND C: COLLECT D: GROUP

85. 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. D: Nothing.

86. 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. D: Display myparam and myparam2 only if both fields have default values.

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 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. D: SORT itab BY PRICE DESCENDING.

88. Which keyword adds a line anywhere within an internal table? A: APPEND B: MODIFY C: ADD D: INSERT

89. 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. D: READ TABLE itab.

90. Which Open SQL statement should not be used with cluster databases? A: UPDATE

B: MODIFY C: DELETE D: INSERT

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 B: TOP include program C: PAI module include program D: Subroutine include program

92. 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 D: LOOP AT SCREEN

93. Given: PERFORM subroutine USING var. The var field is known as what type of parameter? A: Formal B: Actual C: Static D: Value

Potrebbero piacerti anche