1. ABAP has built-in types such as C, I, N, STRING, or X. If you use these types for defining data objects, which of the following statements is true? Only one answer is correct.
1. If you want to define a two-byte integer data object, you use the following syntax: DATA xyz(2) TYPE i. FALSE
2. If you create a data object without explicitly specifying its type, it will become type C with length one. TRUE
3. If you define a data object with type D, two or four digits will be reserved for the year, depending on the user's settings. FALSE
4. A data object of type STRING has a fixed length that will automatically be set when the first value is assigned to this data object. This length cannot be adjusted thereafter. FALSE
2. Some ABAP statements require an explicit end, such as SELECT loops, FORM definitions, or IF clauses. Which of the following ABAP statements can be nested? There is more than correct answer.
1. One inner SELECT ... ENDSELECT in an outer SELECT ... END-SELECT. TRUE
2. One inner FORM ... ENDFORM in an outer FORM ... ENDFORM. FALSE
3. One inner CASE ... ENDCASE in an outer CASE ... ENDCASE. TRUE
4. One inner CLASS ... ENDCLASS in an outer CLASS ... ENDCLASS. FALSE
3. The concept of visibility of components is well-known in object-oriented languages. Which of the following statements are true with regard to ABAP objects? There is more than one correct answer.
1. A programmer can, but need not, determine the visibility of a component. The default visibility of a component is PRIVATE. FALSE
2. A PRIVATE component of a class can be accessed in all methods of that class. TRUE
3. A PROTECTED method METH that is defined in a class SUPER can be overwritten (redefined) in an inherited class SUB. TRUE
4. All components of inherited classes are PUBLIC. FALSE
4. Customer exits are among the most frequently used enhancement concepts in ABAP. Which of the following statements about customer exits is true? There is only one correct answer.
1. If a customer exit is not implemented, the program offering this customer exit will dump (terminate abnormally) at runtime. FALSE
2. Within one SAP system, a customer exit can have a maximum of one implementation. TRUE
3. Within one client of an SAP system, a customer exit can have multiple implementations. FALSE
4. Once a customer exit has been implemented in an SAP system, the implementation can be changed, but it can no longer be deactivated. FALSE
5. Internal tables are used in ABAP to store mass data. Which of the following statements about the relationship between internal tables and database tables is true? Only one answer is correct.
1. An internal table can be linked to a database table so that the content of the internal table is updated automatically as soon as the content of the database table changes. FALSE
2. A database table XYZ can be used for the definition of an internal table like this: DATA itab TYPE TABLE OF xyz. TRUE
3. A database table in the dictionary can be defined with reference to an internal table from an ABAP program. FALSE
4. If you have a huge number of rows to be dealt with in a program, it might improve the program's performance if you define a database table in the program instead of an internal table. FALSE
6. There are three types of SELECT statements: SELECT SINGLE, SELECT ... ENDSELECT, and SELECT ... INTO TABLE. The SELECT ... ENDSELECT statement is also known as the SELECT loop.
Which of the following statements are true about SELECT … ENDSELECT? More than one answer is correct.
1. A work area (structure) is required for the selected rows. This work area can be given explicitly (with INTO) or implicitly (if a TABLES declaration is used). TRUE
2. The database will transport individual rows to the database interface. FALSE
3. The database will transport blocks of rows to the database interface. TRUE
4. The system field sy-tabix counts the number of selected table rows. FALSE
7. In a program, you need an elementary data object for some calculations. Which of the following are possible ways to specify its type? There is more than one correct answer.
1. Refer to a domain. FALSE
2. Refer to a data element. TRUE
3. Refer to a field of a database table. TRUE
4. Refer to a field of a search help. FALSE
8. In a report, you want to define a SELECT-OPTION so_xyz. Which of the following is a way to define its type? There is only one correct answer.
1. Refer to a table type directly, using TYPE. FALSE
2. Refer to a previously defined elementary data object in the same program, using LIKE. FALSE
3. Refer to a previously defined elementary data object in the same program, using FOR. TRUE
4. Refer to a dictionary table type with columns SIGN, OPTION, LOW, and HIGH, using FOR. FALSE
9. The event concept is vital for selection-screens. Which of the following usages of events make sense for selection-screens? There is more than one correct answer.
1. Use INITIALIZATION for setting values for SELECT-OPTIONS. TRUE
2. Use AT SELECTION-SCREEN for hiding fields on the selection-screen. FALSE
3. Use AT SELECTION-SCREEN OUTPUT for checking user entries. FALSE
4. Use AT SELECTION-SCREEN ON pa_car for checking the user entry in the PARAMETER pa_car. TRUE
10. The SAP List Viewer, commonly known as the ALV, is a powerful tool for displaying data. Among the various ALV types, the ALV Grid Control is used for displaying non-hierarchical table data. Which of the following statements about the ALV Grid Control is true? Only one answer is correct.
1. The ALV Grid Control can be integrated into a list, a selection-screen, and a classical screen (dynpro). FALSE
2. By default, a column header will be taken from the data element which is used for specifying the type of the column. TRUE
3. When a report with an ALV Grid Control is executed in background processing, the program will terminate abnormally since controls cannot be addressed in background processing. FALSE
4. The ALV display is automatically refreshed when the data in the database table are changed. FALSE