ABAP
![]() |
![]() |
![]() |
Title of test:![]() ABAP Description: Certification 1 |




New Comment |
---|
NO RECORDS |
Which of the following predefined data types are character types? There are 3 correct answers to this question. N. D. P. T. You want to define two database tables with different structures. Both tables should contain the fields CHANGE_DATE and CHANGE_TIME. How do you implement this in order to minimize the maintenance effort? Please choose the correct answer. Define the two fields in one database table and copy them to the other database table. Define a structure with these two fields and include this structure in both database tables. Define an append structure with these two fields and assign this append structure to both database tables. Define the two fields in each database table separately. Each button on a Dynpro (screen) requires the assignment of a function code. This function code… Please choose the correct answer. Response: Prevents the function code from be assigned to a category item. Prevents the function code from be assigned to a menu item. Can be used to identify when the button is clicked by looking for the function code in the screen’s OK_CODE field. Is used to define global variables that receive a value when the button is clicked. ABAP is a programming language that… There are 4 correct answers to this question. Separates program code from language text. Controls the business logic. Executes on all three levels of the three-tier architecture. Interacts with the user. Processes and formats data. Which of the following statements correctly define a data object with the type of data element s_conn_id? There are 3 correct answers to this question. PARAMETERS pa_id TYPE s_conn_id. DATA gv_id TYPE s_conn_id. DATA gv_id TYPE REF TO s_conn_id. DATA gv_id LIKE s_conn_id. CONSTANTS gc_id TYPE s_conn_id VALUE '0400'. Which of the following are valid control level changes within a loop over an internal table? There are 2 correct answers to this question. COLLECT. SUM. END of <f>. LAST. What do you need to have in your program to respond to the DOUBLE_CLICK event raised by an instance of the CL_GUI_ALV_GRID class? There are 3 correct answers to this question. A CATCH statement to capture the event. A SET HANDLER statement to register the handler to the event. A handler class. A method to read the registration table. A handler method for the event. What does Software Layer Aware Debugging allow you to do? There are 3 correct answers to this question. Trace executing code. Debug a large portion of code. Bypass authorization objects. Specify as much or as little code to debug. Debug only a small portion of code. When starting the Debugger, what circumstance causes the runtime error DEBUGGING_NOT_POSSIBLE? Please choose the correct answer. When more than six sessions are already associated with this login user. When more than five sessions are already associated with this login user. Starting a non-exclusive mode in a productive system. When the number of debugging sessions on the server exceeds the value defined by the profile parameter rdisp/wpdbug_max_no. When does the lifetime of a Web Dynpro component begin and end? Please choose the correct answer. It begins each time it is called, and it ends when the component completes. It begins the first time it is called at runtime, and it ends with the Web Dynpro application that called and instantiated the component ends. It ends each time it is called, and it ends when the component completes. It begins when instantiated and it ends when the program ends or the object is freed. When does the lifetime of a component controller begin and end? Please choose the correct answer. It ends the first time the Web Dynpro application is called at runtime and ends when the Web Dynpro application that called and instantiated the component ends. It begins the first time the Web Dynpro application is called at runtime and ends when the Web Dynpro application that called and instantiated the component ends. It lasts from creating data within the controller to cover the whole period during which the component is in use. It begins with the Web Dynpro component and ends with the Web Dynpro application that called it. You have been asked to review the following expression, which processes character strings: result = find( val= 'abapABAP' sub ='A' occ = 2 case = 'X' ....). What is the expected value of result?. 4. 1. 6. 2. Your program uses the class CL_GUI_ALV_GRID to generate a classic ALV Grid Control. What do you need in your program to react to a use double-clicking a row in the ALV Grid? There are 3 correct answers to this question. A method call to refresh the display. A method call to create the event handler. A SET HANDLER statement to register the handler to the event. A handler class. A handler method for the double_click event. What can be implemented using an implicit enhancement option? There are 3 correct answers to this question. Additional parameters in SAP function modules. Overwrite methods for global SAP classes. Overwrite methods for SAP function modules. Additional exceptions in SAP function modules. Additional attributes for global SAP classes. Dynpros can be placed in which program types? There are 3 correct answers to this question. Module pools. Class pools. Executables. Function groups. How can you improve the performance when accessing a large data volume database table? Please choose the correct answer. Response: Change the table type in the dictionary. Define appropriate indexes for the database table. Switch the database table to fully buffered. Apply the appropriate data class and size category. Which of the following statements regarding search helps are true? There are 3 correct answers to this question. You can use a maintenance view for the search help selection method. You can use a database view for the search help selection method. Help views can also be used for the selection method for search help. You can use transparent tables for the search help selection method. You have written a method implementation containing the following access to an internal table defined as a changing parameter of the method. READ TABLE ct_itab INTO cs_struc INDEX 1. What are the possible type definitions for parameter ct_itab? There are 3 correct answers to this question. Hashed Table. Any Table. Standard Table. Sorted Table. Index Table. You have declared a sorted internal table with the columns A, B, C, and D. The key consists of columns A, B, and C, in this order. Which combination of columns in the WHERE clause of a LOOP statement allows the system to optimize the access to the table? There are 2 correct answers to this question. B and C. A and B. A, B, C, and D. C and D. Which action on the underlying dictionary objects triggers a database table conversion? Please choose the correct answer. Reducing the size of the field. Changing the order of non-key fields. Inserting an APPEND structure. Inserting a field of type reference. Your selection screen can be modified at which event? Please choose the correct answer. AT SELECTION-SCREEN ON <field_name>. None of the above. AT SELECTION-SCREEN. AT SELECTION-SCREEN OUTPUT. You want to include an element of type ‘Table’ in your web dynpro. What actions add the corresponding columns to the table automatically? Please choose the correct answer. Include the method BIND_TABLE of IF_WD_CONTEXT_NODE. Generate a ‘BIND_TABLE’ method using the web dynpro method wizard. Bind the table attribute ‘DATA_SOURCE’ to the context node. Right click the table and select the ‘CREATE_BINDING’ option. What is the maximum number of watchpoints that can exist at one time? Please choose the correct answer. No limit. 6. 10. 8. What must before you can create a new transportable function modules? There are 3 correct answers to this question. Function group. Module pool. Package. Exception class. Transport request. Which data types are incomplete ABAP standard data types? There are 3 correct answers to this question. C. N. F. I. P. Which of the following controller types can exist only once in a Web Dynpro component? There are 2 correct answers to this question. Window controller. Configuration controller. Component controller. View controller. What happens when an authorization check fails? Please choose the correct answer. The system field SY-SUBRC is set to a value other than zero. A CX_AUTH_FAILED type exception is raised. The program is terminated. A type E message is displayed. Which statement ends a screen sequence and starts from initial screen? Please choose the correct answer. CALL SCREEN. LEAVE SCREEN. LEAVE TO SCREEN. SET SCREEN 0. Which of the following are incomplete ASAP pre-defined data types? There are 3 correct answers to this question. T. P. N. D. X. Which of the following structures is created when you use a table type to define one of its components? Please choose the correct answer. Flat structure. Nested structure. Append structure. Deep structure. When is an ENDSELECT not required for a SELECT? There are 3 correct answers to this question. When you specify appending a table. When you specify a join of tables. When the FROM is a view. When you specify into a table. When you do a SELECT SINGLE. What does a non-exclusive debugging mode mean? There are 4 correct answers to this question. A roll-out is forced in the application after each Debugger view. Debugging is not possible between the statements SELECT and ENDSELECT because the database cursor needs to be closed using a COMMIT. It may be used anywhere in the landscape. Someone else is debugging the same source code. Owing to the commit, inconsistent datasets can occur in the database. Debugging is not possible for conversion or field exits. Your colleague has asked you to analyze an ABAP program that does not behave correctly when a button is pressed on the initial screen. You want to start the Debugger when the button is pressed so that you can perform your analysis. What system command do you type in the command field? Please choose the correct answer. /h. /n. Jdbg. /hx. Which prerequisites must be fulfilled before a repository object can be transported? There are 3 correct answers to this question. Response: A transport layer must be assigned to the package. An application component must be assigned to the repository object. The repository object must be assigned to a package. The repository object must be assigned to a change request. An inactive version of the repository object must exist. What can you use to achieve polymorphism? Please choose the correct answer. Subroutines. Events. Reports. Inheritance. FORM routines (subroutines) can be used in which program types? There are 4 correct answers to this question. Subroutine pools. Function groups. Executables. Interface pools. Class pools. Module pools. Type groups. When does SAP recommend that you use a full buffering type for a database table? Please choose the correct answer. When the table is small and seldom written. When the table is large and seldom written. When the table is large and frequently written. When the table is small and frequently written. You always want to check the user authorization for data entered in an input field of a selection screen. Where do you do this? Please choose the correct answer. In the event block AT SELECTION-SCREEN. In the event block AT SELECTION-SCREEN OUTPUT. In the event block INITIALIZATION. In the event block AT SELECTION-SCREEN on VALUE-REQUEST. What parameters can you set when you run the Code Inspector? There are 3 correct answers to this question. Object set name. Check variant name. Background job name. Work process name. Inspection name. In which of the following source code blocks can you define local data objects? There are 3 correct answers to this question. Function module. Static method. Subroutine. PBO module. LOAD-OF-PROGRAM. You created a transparent table and during activation got a warning message "Enhancement category for table missing". What do you have to do to eliminate the warning message? Please choose the correct answer. Select any option other than Not Classified from the enhancement category. Change the Data Class and Size category in the technical settings. Select the option Not Classified from the enhancement category. Provide the correct reference field for the Currency or Quantity field. Which selection screen elements allow user input in ABAP Reports? There are 2 correct answers to this question. PARAMETERS. SELECT-OPTIONS. SELECTION-SCREEN BLOCK. SELECTION-SCREEN COMMENT. In which order do you implement a new BAdI? Please choose the correct answer. Create Enhancement Spot Implementation Create BAdI Implementation. Create Enhancement Project Create BAdI Implementation. Create BAdI Implementation Create Enhancement Spot Implementation. Create BAdI Implementation Create Enhancement Project. You have located a new (kernel) Business Add-in (BAdI) in an SAP standard application. What must you create to implement the BAdI, and in which order? Please choose the correct answer. - Enhancement Project - BAdI Implementation. - BAdI Implementation - Enhancement Spot Implementation. - BadI Implementation - Enhancement Project. - Enhancement Spot Implementation - BAdI Implementation. You want to develop a program that processes character type data. When you implement the program, you can either use the classical string statements or the newer strings expressions and functions. What are the main benefits of using string expressions and string functions? There are 2 correct answers to this question. You can reduce the number of intermediate variables. You can write code that is very easy to read and understand. You can write compact syntax instead of a long sequence of statements. You can improve the performance significantly. Which type of transport task is used when you modify SAP standard objects? Please choose the correct answer. Development/Correction. Transport of copies. Workbench. Repair. There are ____ versions of the ABAP Editor. Please choose the correct answer. 3. 4. 1. 2. For a given date (variable lv_date), you want to find all the connections from Frankfurt to Sydney with exactly one stopover. You want to fly from the stopover city to Sydney on the same day you arrive in the stopover city. Table ZFLIGHTS hold the following information about flights. - flightid: primary key - cityfrom:departure city - datefrom: departure date - timefrom:departure time - cityto:destination city - dateto:destination date - timeto:destination time Which of the following Open SQL Queries can you use to find all the possible stopover cities? Please choose the correct answer. SELECT DISTINCT cityfrom INTO TABLE lt_cities FROM zflights AS destination WHERE cityfrom IN (SELECT cityto FROM zflights WHERE dateto = destination~datefrom AND timeto < destination~timefrom AND cityfrom = ‘FRANKFURT’ AND datefrom = lv_date ) AND destination~cityto = ‘Sydney’. SELECT cityfrom INTO TABLE lt_cities FROM zflights AS destination WHERE cityto IN (SELECT DISTINCT cityfrom FROM zflights WHERE dateto = destination~datefrom AND timeto < destination~timefrom AND cityfrom = ‘FRANKFURT’ AND datefrom = lv_date ) AND destination~cityto = ‘Sydney’. SELECT cityto INTO TABLE lt_cities FROM zflights AS destination WHERE cityfrom IN (SELECT DISTINCT cityto FROM zflights WHERE dateto = destination~datefrom AND timeto < destination~timefrom AND cityfrom = ‘FRANKFURT’ AND datefrom = lv_date ) AND destination~cityto = ‘Sydney’. SELECT DISTINCT cityto INTO TABLE lt_cities FROM zflights AS destination WHERE cityfrom IN (SELECT cityto FROM zflights WHERE dateto = destination~datefrom AND timeto < destination~timefrom AND cityfrom = ‘FRANKFURT’ AND datefrom = lv_date ) AND destination~cityto = ‘Sydney’. You add the CREATE PROTECTED addition to a class definition. From where you can instantiate the class? There are 3 correct answers to this question. From any protected class. From the class itself. From a child class. From a friend class. From a parent class. Which of the following are true statements? There are 3 correct answers to this question. You can also select predefined data types to define the data type of the data element. The technical attributes of the data element can be defined by a domain, that is, the data type, the field length, and the number of decimal places. Reference data types can be used to define the data type of the data element. Field labels are defined for the domain. Which of the following values are replaceable in debugger mode? Please choose the correct answer. Field names. Constants. Table names. Variables. Each ABAP program starts with an introductory statement. Which statements are correct? There are 2 correct answers to this question. The introductory statement must be the first statement in the program. The introductory statement can be modified. The introductory statement must be the first line in the program. The introductory statement must never be modified. Which types of programs or parts of programs can be tested directly from the ABAP Workbench or ABAP Editor? There are 4 correct answers to this question. PROGRAM. INTERFACE-POOL. FUNCTION MODULE. INCLUDE. REPORT. FUNCTION-POOL. CLASS-POOL. TYPE-POOL. METHOD. Which of the following is a true statement? There are 3 correct answers to this question. Client-specific customization objects are assigned to the customizing request. Repository objects and cross-client customization objects are assigned to the workbench request. All transportable objects have to be assigned to a package. Local repository objects can be transported. Inactive objects can be transported. Which statements about ABAP are true? Please choose the correct answer. ABAP keywords and additions must be in uppercase. Each statement cannot begin with a keyword. Each statement must end with a period. Each statement must begin with a keyword. Which statements are true regarding ABAP inheritance? There are 4 correct answers to this question. You can access the superclass component with the prefix SUPER->. Polymorphism requires the developer to specify which method to use with inheritance. Static constructors do not need to call the superclass’s constructor. The instance constructor can be overwritten as part of inheritance. Instance constructors must call the superclass’s constructor. The static constructor can be overwritten as part of inheritance. Overloading allows a method to have several definitions with different signatures. What is the ALV Object Model? Please choose the correct answer. A group of classes that describe the ALV Grid as a whole and inherit from a single class. A group of hierarchal classes that describe the ALV Grid as a whole but do not inherit from a single class. A group of classes that apply Grid as a whole and inherit from a multiple class. A group of classes that describe the BDC Grid as a whole and inherit from a single class. To reserve an area on the screen for an ALV Grid Control, you must do the following: Please choose the correct answer. Create an object (instantiate the object) of the class CL_SALV_TABLE. Use the Screen Painter. Create an object (instantiate the object) of the class CL_GUI_CUSTOM_CONTAINER. Create an object (instantiate the object) of the class CL_GUI_ALV_GRID. In which modularization units can you use parameters? There are 3 correct answers to this question. Dialog modules such as PBO modules. Event blocks such as START-OF-SELECTION. Subroutines. Methods. Function modules. A customer has asked that you improve performance for a small table with frequent read accesses. What buffering type do you recommend? Please choose the correct answer. Column store. Full table. Single record. Primary key. You define a formal parameter to a subroutine that accepts only internal table of type standard and type sorted as actual parameters. Which of the following generic ABAP data types must you use? Please choose the correct answer. Standard table. Sorted table. Hashed table. Index table. What can be part of the signature of an instance constructor? There are 2 correct answers to this question. Importing parameters. Changing parameters. Exceptions. Exporting parameters. Which of the following is a true statement? There are 3 correct answers to this question. All customer repository objects have to be assigned to a package. A package can be nested. The transport layer is a mandatory input field for the package. Packages use interfaces and visibility to make their elements visible to other packages. You are establishing the business logic layer for a Web Dynpro Component. Which service types are available in the Service Call wizard? There are 3 correct answers to this question. Class method. Web service proxy. Function module. Transaction code. Function group. What do global types and local types have in common.? Please choose the correct answer. Technical information. Documentation. Search help. Field labels. Identify the types of controller. There are 5 correct answers to this question. Component controller. Custom controller. Window controller. View controller. Consumer controller. Configuration controller. At most, how many buttons can the application toolbar have on the screen? Please choose the correct answer. 35. 20. 30. None of the above. 10. What are the differences between displaying in a full screen and in a container? There are 2 correct answers to this question. The full screen requires Dynpro programming. Only a full-screen ALV allows the use of event handling. Only an ALV in a container allows the use of event handling. The container requires the use of an additional object (a container control). Any type of ALV allows the use of event handling. The only difference is that the container name must be specified when creating the ALV object. Which of the following are features of the Context in Web Dynpro? There are 2 correct answers to this question. Every Web Dynpro controller has multiple Contexts. Data is shared between controllers through Context mapping. Every Web Dynpro controller has one Context. Data is transferred from one Context to another by firing plugs. What is the difference between a value table and a check table? Please choose the correct answer. A check table is defined in the domain, whereas a value table is defined in the data element. A value table does not exist. A value table is defined in the domain, whereas a check table is defined in the data element. A value table is a check table after a foreign key is defined. No difference; they are the same thing. Which of the following transactions are integrated in the ABAP workbench tools? There are 2 correct answers to this question. ABAP editor (SE38). Process overview (SM50). Class builder (SE24). Overview of job selection (SM37). How do you use a sorted internal table? There are 2 correct answers to this question. You can read the records by index or key. You can resort the table with SORT. You use APPEND to insert records at the correct position. You need to specify a key in the table declaration. You have to overwrite spaces in a string with the letter ‘A’. Which of the following statements can you use? There are 3 correct answers to this question. TRANSLATE. SHIFT LEFT. CONDENSE. OVERLAY. REPLACE. You want to add a field type CURR to a transparent table. What else must you do? Please choose the correct answer. Add a key fieldof type CUKY. Create a reference to a field of type CUKY. Add a check table that contains a field of type CUKY. Create a new field CUKY as a pre-defined type. With what can you simulate multiple inheritance? Please choose the correct answer. REDEFINITION. INHERITING FROM. INTERFACES. CLASS CATEGORY. Which message types behave the same regardless of the context in which they are called? There are 2 correct answers to this question. A. I. S. X. E. W. Which boundary conditions lead to improved access time to an internal table? There are 3 correct answers to this question. Left justified part of key for sorted tables. Index access for standard tables. Left justified part of key for hashed tables. Fully qualified key for sorted tables. Index access for hashed tables. Which of the following characters is the first of a menu exit function code? Please choose the correct answer. -. &. +. *. What can be exposed in the component interface of a Web dynpro component? Please choose the correct answer. Public attributes of WINDOW controllers. Custom methods of the component controller. Context nodes of WINDOW controllers. Standard hook methods of the component controller. What are the reasons to use modularization? There are 3 correct answers to this question. Improved transparency. Easier maintenance. Portability across DBMS. Promotes reusability. Improved performance. You are required to add customer source code in the SAP delivered object using the new enhancement framework without modification. How can you find the available enhancement? There are 3 correct answers to this question. Select from the list of application-related BAdIs or enhancement spots in the SAP Application Hierarchy. Select from the list of freely selected BAdIs or enhancement spots in the Repository Information System. Search for a Business Transaction Event in the Customizing tree (transaction SPRO). Perform a program-related global search for GET BADI. Perform a program-related global search for a customer exit. What can you do with the code inspector? There are 2 correct answers to this question. Choose from only the performance, security and user interface check categories. Create your own inspections, object sets and check variants. Create only local inspections, objects sets and check variants. Create an object set to represent the programs and objects to be inspected. Which database objects can you create in the ABAP Dictionary? There are 2 correct answers to this question. Logical databases. Indexes. Projection views. Foreign key relationships. Which statement will interrupt the processing of the current screen and branch to new screen? Please choose the correct answer. CALL SCREEN <NNNN>. LEAVE TO SCREEN <NNNN>. SET SCREEN <NNNN>. None of the above. Under which circumstances will the classic Debugger start as the Debugger? There are 2 correct answers to this question. When five modes already exist for this logon session. None; the new Debugger will always start as the Debugger. If you manually switched to the classic Debugger during your last session. When you specify the default as the classic Debugger in the settings of the Object Navigator. When the number of debugging sessions exceeds half the number of dialog sessions. You have the following class definition: CLASS lei_airplane DEFINITION. PUBLIC SECTION. METHODS set_passengers. PROTECTED SECTION. CONSTANTS:c_pos type ivalue 100. METHODS: get_passengers. PRIVATE SECTION. DATA: nw_passengers TYPEi. METHODS: set_attributes. ENDCLASS. Which components can be addressed directly from a subclass of classic_airplane? There are 3 correct answers to this question. C_POS. MV_ PASSENGERS. SET_ATTRIBUTES. SET_PASSENGERS. GET_PASSENGERS. When you define local classes in ABAP, which syntactical sequence must you follow? Please choose the correct answer. PUBLIC SECTION, PROTECTED SECTION, PRIVATE SECTION. PRIVATE SECTION, PROTECTED SECTION, PUBLIC SECTION. The order is handled automatically. The order doesn’t matter. To which of the following you must assign newly created SAP repository objects? Please choose the correct answer. Function group. Transport request. Transport task. Package. You write a program that updates a data record in the data base using the following statement: UPDATE scar FROM Is_scarr. Which of the following tasks does the Database Interface perform? There are 2 correct answers to this question. It applies a logical lock to the updated data record. It checks the authorization of the current user. It restricts the access to the log-on client. It translates the statement to native SQL. Which ABAP Dictionary object can reference a domain? Please choose the correct answer. Data element. Database table field. Table type. Structure. Which comparison operators can you use in a logical expression related to the WHERE clause of the SELECT statement? There are 3 correct answers to this question. LIKE (fits pattern). GT (greater than). CO (contains only). EQ (equals). CP (covers pattern). You created a transparent table and during activation got a warning message "Enhancement category for table missing". What do you have to do to eliminate the warning message? Please choose the correct answer. Provide the correct reference field for the Currency or Quantity field. Select any option other than Not Classified from the enhancement category. Change the Data Class and Size category in the technical settings. Select the option Not Classified from the enhancement category. Which of the following ABAP standard types are numeric? There are 3 correct answers to this question. I. N. F. D. P. What is the allowed length of the ABAP Dictionary data type DF16_DEC? Please choose the correct answer. The allowed length is between 0 and 16 digits. The allowed length is between 1 and 15 digits. The allowed length is between 0 and 15 digits. The allowed length is 16 digits. In which controller type can you embed a service call? Please choose the correct answer. Configuration controller. View controller. Interface controller. Component controller. The statements CALL BADI and GET BADI are used for which type of BAdIs? Please choose the correct answer. None of the above. Classical BAdI. New BAdI. Classical DDic. Which of the following statements are true? There are 3 correct answers to this question. Implicit enhancement can be used to enhance SAP objects developed prior to SAP NetWeaver 7.0. An implicit enhancement point can be used to insert code in an SAP program and is always available to the customer. Implicit enhancement options allow you to enhance interface parameters for function modules and methods without modifying the repository object. None of the above. What does a Web Dynpro component contain? There are 3 correct answers to this question. Component controller. UI elements. Multiple views within a window. Exactly one interface controller. A context. Which of the following statements are true? There are 2 correct answers to this question. Static attributes cannot be changed by an object. Static attributes can be declared only in the private visibility section of the class. Static attributes are declared with the CLASS-DATA statement. A static attribute is the same across all instances of the class. There is only one static attribute across all instances of the class. You have to overwrite spaces in a string with the letter ‘A’. Which of the following statements can you use? There are 3 correct answers to this question. CONDENSE. TRANSLATE. OVERLAY. REPLACE. SHIFT LEFT. |