|Which of the following tasks does the BADI implementing class perform? Filtering Sequencing Inserting Deleting.
You always want to check the user authorization for data entered in an input field of a selection screen. Where do you do this? 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 can you create using the ABAP Dictionary? (More than one answer is correct) Domains Type Pools Transparent Tables Field Symbols Internal Tables.
What features are provided by the database interface? (More than one answer is correct) Database independence of application programs Conversion of Open SQL statements from ABAP statements into the corresponding database statements Syntax check of Native SQL commands Access to SAP table buffers Data consistency check using foreign key relationships.
Which statements are allowed for processing internal tables? (More than one answer is correct) SELECT INSERT DELETE MODIFY UPDATE.
Which parameter types can be used in the signature of a functional method? (More than one answer is correct) EXPORTING IMPORTING RETURNING CHANGING.
What can you use to achieve polymorphism? Events Subroutines Inheritance Reports Company.
What happens when an authorization check fails? The program is terminated. The system field SY-SUBRC is set to a value other than zero. A type E message is displayed. A CX_AUTH_FAILED type exception is raised.
You are establishing the business logic layer for a Web Dynpro Component. Which service types are available in the Service Call wizard? (More than one answer is correct) Transaction code Web service proxy Class method Function module Function Group.
Which of the following predefined ABAP types is incomplete? F P XSTRING STRING.
You have implemented a class CL_CUSTOMER in which you defined a private attribute. From where can you access this attribute directly? (More than one answer is correct) From all methods of all subclasses of CL_CUSTOMER From all methods of the class CL_CUSTOMER From all methods of a class to which CL_CUSTOMER grants friendship From any program using the class CL_CUSTOMER.
Which of the following features do you have to consider when you use shared objects? (More than one answer is correct) Data is saved as attributes of objects Concurrent write accesses are supported Memory bottlenecks result in runtime errors and have to be caught Concurrent read accesses are supported Data is saved as tables of objects.
Which assignment will lead to a conversion error? An XSTRING type data object to a STRING type data object
DATA gv_xstring TYPE xstring, gv_string TYPE string. gv_xstring = 'AF00'. gv_string = gv_xstring. A type C data object with the value '123' to a type C data object with length 2
DATA. gv_c3(3) TYPE c VALUE '123', gv_c2(2) TYPE c. gv_c2 = gv_c3. A type P data object to a type F data object
DATA. gv_p TYPE p VALUE '15000', gv_f TYPE f. gv_f = gv_p. A type C data object with the value '1.50E4' to a type I data object
DATA. gv_c(6) TYPE c VALUE '1.50E4', gv_i TYPE i. gv_i = gv_c.
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? Select any option other than Not Classified from the enhancement category. Change the Data Class and Size category in the technical settings. Provide the correct reference field for the Currency or Quantity field. Select the option Not Classified from the enhancement category.
How is an ABAP program with several dialog steps executed? The program is always executed in just one dialog work process without roll out. The ABAP dispatcher takes over the entire execution without assigning any work process. The program is always executed in just one dialog work process with roll out. Usually, dialog steps are assigned to different dialog work processes.
You want to display a dialog box in your ABAP program. Which statement do you use? WINDOW 200 STARTING AT 5 5. SET SCREEN 200. CALL SCREEN 200. CALL SCREEN 200 STARTING AT 5 5.
You perform an update task using update function modules and detect an error in the program that calls the update function modules. Which statement can be used to discard all update requests for the current SAP LUW? (More than one answer is correct) EXIT ROLLBACK WORK MESSAGE axxx(nnn) MESSAGE exxx(nnn) DELETE UPDATE.
What is the SAP recommended naming convention for append structures of standard SAP tables? The name of the append structure must start with ZA. The components of an append structure should start with ZZ or YY. The components of an append structure should start with Z or Y. The name of the append structure must start with ZZ or YY.
Which ABAP statement using the local type gty_1 correctly defines a data object? (More than one answer is correct) DATA gv_1 TYPE gty_1. DATA gv_1 LIKE gty_1. CONSTANTS gc_1 TYPE gty_1 VALUE '1'. DATA gv_1 TYPE gty_1 DEFAULT '1'.
To which ABAP Dictionary definition can you assign fixed values? Data element Field of a transparent table Component of a structure Domain.
Which of the following statements dynamically changes the data type of field z1? Assign z1 to <fs> casting Assign z1 to <fs> Move z1 to <fs> Unassign <fs>.
What do global types and local types have in common? Documentation Field Labels Search Help Technical Information.
What options do you have when setting a watchpoint? (More than one answer is correct) Stop at predefined conditions for a specific variable. Stop at predefined conditions for all variables. Stop at any change of all variables. Stop at any change of a specific variable.
Where can you set the GUI status and the GUI title for a classical screen (dynpro)? In a module called from PBO of the screen In the attributes of the screen In the properties of the related header UI element In a module called from PAI of the screen.
In which database table type is there a one-to-one relationship between the Dictionary table definition and the relevant physical table in the database? Cluster table Pooled Table Transparent Table Internal Table.
A custom transparent table was created with delivery class A and a table maintenance view was generated for this table. You change the delivery class to C and the table is activated successfully. What additional steps do you have to complete? Maintain and transport the table using the Maintain Table Views transaction (SM30). Activate and adjust the database. Regenerate the existing maintenance view and adjust the table. Delete the original maintenance view and then create and generate a new one.
Which desktops are part of the new ABAP debugger? (More than one answer is correct) Break./Watchpoints Objects Session Desktop 1 List.
When should you use a hashed internal table? (More than one answer is correct) When accessing mainly single records When accessing by secondary key When accessing using the left-justified part of the key When accessing always by primary key When accessing by index.
What types of changes to the repository does SAP provide? (More than one answer is correct) Deployments from SDN.SAP.COM Enhancement Packages SAP Notes Transports Support Packages.
You want to read data from two database tables A and B using a database join. Database table B contains details for data records stored in database table A . Your result should contain all combinations of matching rows from A and B plus all rows from A that do not have matching rows in B. Which statement do you use? SELECT … FROM a JOIN b … SELECT … FROM a INNER JOIN b … SELECT … FROM b RIGHT OUTER JOIN a … SELECT … FROM a LEFT OUTER JOIN b ….
In the technical settings for a transparent table, buffering is switched on and single record buffering is selected. Which statement uses the buffered data assuming that the WHERE clause contains restrictions for all key fields? SELECT … . ENDSELECT. SELECT SINGLE … . SELECT … INTO TABLE … . SELECT SINGLE … FOR UPDATE.
What is mandatory for automatic data transport between a variable and an input field on a classical screen (dynpro)? The variable must be declared using the DATA statement. The property OUTPUT of the input field must be set. The variable must be declared using the TABLES statement. The name of the variable and the name of the input field must be identical.
Compared to a predefined ABAP type what additional properties can be assigned to a domain? (More than one answer is correct) Fixed values Conversion exits Value tables Parameter IDs Search helps.
Which of the following tools belong to the ABAP Workbench? (More than one answer is correct) Form Builder Function Builder Screen Painter Class Builder Easy Access Menu.
Which of the following Data Types are allowed in ABAP? (More than one answer is correct) DECFLOAT64 DECFLOAT16 DECFLOAT34 DECFLOAT32.
Which of the following are key capabilities of SAP NetWeaver? (More than one answer is correct) Supply Chain Management Information Integration People Integration Application Platform Enterprise Resource Planning.
Where can you define global data types that are visible system-wide? (More than one answer is correct) In a method of a global class In the ABAP Dictionary In a function module In a global class In a global interface.
You want to loop over an internal table without copying each table row to a work area. How can you achieve this using a field symbol? LOOP AT <itab> REFERENCE INTO <field_symbol>. ENDLOOP. LOOP AT <itab> ASSIGNING <field_symbol>. ENDLOOP. LOOP AT <itab> TRANSPORTING INTO <field_symbol>. ENDLOOP. LOOP AT <itab> INTO <field_symbol>. ENDLOOP.
You have defined a classical screen (dynpro) with mandatory input fields. You want to exit the screen using the Cancel button even if not all of the mandatory fields have been filled. What is necessary to achieve this? Set the function type assigned to the Cancel button to S and handle it in a module with the addition AT EXIT-COMMAND. Assign function type E to the Cancel button and handle it in a module with the addition AT EXIT-COMMAND. Set the function code assigned to the Cancel button to CANCEL and handle it in a module with the addition AT EXIT-COMMAND. Use the LOOP AT SCREEN. ... ENDLOOP statement to set the "required" property of the input fields to zero.
What can you enhance using BAdIs? (More than one answer is correct) Data elements Menus Screens Database tables Source code.
Which of the following ABAP data types are compatible with the generic character-type CLIKE? (More than one answer is correct) STRING N XSTRING C DECFLOAT.
How can you maintain documentation for input fields on your screen? Add documentation to the SCREEN table at PROCESS BEFORE OUTPUT (PBO). Add documentation to the SCREEN table at PROCESS AFTER INPUT (PAI). Add documentation to the underlying data element. Define text tables for the underlying structure.
What is the purpose of implicit enhancement points? To add fields to an SAP database table To add code to a standard SAP program To change code in a standard SAP program To create a secondary index for an SAP database table.
When do you need to use the GROUP BY clause in the SELECT statement? If you want to redefine the sequence of the columns in the result set If you want to use aggregate functions and all components in the field list are aggregate functions If you want to use ORDER BY to specify a sub-order If you want to use aggregate functions and at least one component in the field list is a column identifier.
You create a function group ZATP. What is the name of the corresponding main program? ZATP SAPLZATP SAPMZATP SAPFZATP.
You have written a program to output data using the ALV grid control. Which sequence of steps should be executed at runtime? 1. Create a container object
2. Create a grid object
3. Pass data to the grid object 1. Create a grid object
2. Pass data to the grid object
3. Create a container object 1. Pass data to the grid object
2. Create a container object
3. Create a grid object 1. Create a grid object
2. Create a container object
3. Pass data to the grid object.
What is the root class in the RTTS inheritance tree? CL_ABAP_ELEMDESCR CL_ABAP_TYPEDESCR CL_ABAP_DATADESCR CL_ABAP_COMPLEXDESCR.
Which comparison operators can you use in a logical expression related to the WHERE clause of the SELECT statement? (More than one answer is correct) GT (greater than) LIKE (fits pattern) CO (contains only) CP (covers pattern) EQ (equals).
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? (More than one answer is correct) Perform a program-related global search for a customer exit. Search for a Business Transaction Event in the Customizing tree (transaction SPRO). Select from the list of application-related BAdIs or enhancement spots in the SAP Application Hierarchy. Perform a program-related global search for GET BADI. Select from the list of freely selected BAdIs or enhancement spots in the Repository Information System.
You have 2 objects:
O1 of type class C1 and O2 of type class C2.
Class C2 is a subclass of class C1.
Which of the following statements implements an up cast? MOVE O1 ? TO O2. O2 ?= O1. MOVE O1 TO O2. O1 = O2.
Which controller types can exist within a Web Dynpro component? (More than one answer is correct) Window controller User controller Application controller View controller Component controller.
How do you program an input validation on a selection screen that allows users to correct their input? Implement the check at the event AT SELECTION-SCREEN OUTPUT. In case of an input error, a type E MESSAGE must be displayed. Implement a check at the event AT SELECTION-SCREEN. In case of an input error, a type E MESSAGE must be displayed. Implement the check at the event END-OF-SELECTION. In case of an input error, a type E MESSAGE must be displayed. Implement the check at the event AT SELECTION-SCREEN. In case of an input error, a type A MESSAGE must be displayed.
What must you do to define a database view using the ABAP Dictionary? (More than one answer is correct) Choose the database tables from where the view acquires data. Define the join conditions between the tables. Choose the fields from the tables that should be part of the view. Define selection criteria for the view. Define buffering settings for the underlying database tables.
To which context object is the attribute LEAD_SELECTION_INDEX related? Supply function Node Attribute Element.
Which property of the InputField UI element must be bound to a context attribute? State Enable Value Visible.
An executable ABAP program contains a standard selection screen and uses the event blocks AT SELECTION-SCREEN, AT SELECTION-SCREEN OUTPUT, INITIALIZATION, START-OF-SELECTION. In which sequence will ABAP runtime call these event blocks? 1. AT SELECTION-SCREEN OUTPUT
3. AT SELECTION-SCREEN
4. START-OF-SELECTION 1. INITIALIZATION
2. AT SELECTION-SCREEN
3. AT SELECTION-SCREEN OUTPUT
4. START-OF-SELECTION 1. INITIALIZATION
2. AT SELECTION-SCREEN OUTPUT
3. AT SELECTION-SCREEN
4. START-OF-SELECTION 1. INITIALIZATION
2. AT SELECTION-SCREEN OUTPUT
4. AT SELECTION-SCREEN.
Which boundary conditions lead to improved access time to an internal table? (More than one answer is correct) Left justified part of key for sorted tables Fully qualified key for sorted tables Index access for hashed tables Left justified part of key for hashed tables Index access for standard tables.
What can you change in the ABAP Debugger? Content of an internal table Value of a reference variable Value of a constant Definition of a structure.
You want to use a BAdI to extend the functions of an SAP program. Which of the following tasks is necessary? Call the BAdI. Create an enhancement project using a customer exit. Define an interface for the BAdI. Implement a class that implements the BAdI interface.
Which hook method exists for all controller types? wddoonclose( ) wddoinit( ) wddobeforenavigation( ) wddoonopen( ).
Which data type is allowed for the reference field of the Currency field? UNIT CUKY DEC CURR.
How can you declare an internal table using the transparent table A as its line type? DATA gt_itab TYPE LINE OF a. DATA gt_itab TYPE REF TO a. DATA gt_itab TYPE TABLE OF a. DATA gt_itab TYPE a.
Which SELECT statement will always bypass the SAP table buffers? SELECT … ENDSELECT. SELECT … SINGLE … SELECT … INTO TABLE … SELECT … FOR UPDATE ….
What is required to fully specify a Table Type in the ABAP Dictionary? (More than one answer is correct) Access Type Table key Table Size Line Type Header Line.
Which options do you have to read data from multiple tables while using a SELECT statement? (More than one answer is correct) Nested select statements Nested loop statements Database views Join statements Pooled tables.
How can you improve the performance when accessing a large data volume database table? Apply the appropriate data class and size category. Switch the database table to fully buffered. Define appropriate indexes for the database table. Change the table type in the dictionary.
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? (More than one answer is correct) A SET HANDLER statement to register the handler to the event A method to read the registration table A handler method for the event A CATCH statement to capture the event A handler class.
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? 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. Define the two fields in one database table and copy them to the other database table.
Which statement is used to generically define the data reference variable z1? data z1 type any data z1 type any table data z1 type ref to PA0001 data z1 type ref to data.
dbtab is a transparent table. What is declared by the following statement?
DATA myvar TYPE dbtab. A structure variable An elementary field An internal table A reference to an internal table.
You defined data reference z1 generically. Which statement would you use to access the content of the referenced variable? Assign (z1) to <fs> Assign z1 to <fs> Assign z1->* to <fs> Get reference of z1 into wa.
You are using the new debugger and you want to change the content of an internal table. Which actions are allowed? (More than one answer is correct) Delete the entire contents of a table. Change row content and press Save (<CTRL> + S). Delete table from memory. Delete the selected rows. Change row content and press Enter (<ENTER>).
How do you embed a subscreen in a main screen? Use SET SUBSCREEN in a PBO module of the main screen. Use SET SUBSCREEN in the flow logic of the main screen. Use CALL SUBSCREEN in the flow logic of the main screen. Use CALL SUBSCREEN in a PBO module of the main screen.
For which of the following requirements can you implement a functional method? (More than one answer is correct) A handler method for an event that has a returning parameter A method to set an instance attribute with one importing parameter and no other parameters A factory method that returns an object reference A private static helper method that returns a single value as the result of an algorithm.
In which modularization units can you use parameters? (More than one answer is correct) Event blocks such as START-OF-SELECTION Function Modules Subroutines Dialog modules such as PBO modules Methods.
When analyzing a program, which tasks can you perform using the code inspector? (More than one answer is correct) Discover unused variables. Execute the extended program check Determine used database tables. Inspect the memory consumption. Evaluate the time needed for program execution.
Which objects can share data through context mapping? View controller and another view controller Component controllers and view controllers Custom controllers and transparent tables Global classes and component controllers.
Which of the following variables is the self-reference variable in ABAP OO? THIS SENDER ME SUPER.
Which components belong to an elementary search help? (More than one answer is correct) Fixed values Import / export parameters Selection method Attachment to a field.
How do you add fields to an SAP-delivered transparent table without modification? A. Use the database utility to enhance the definition on the database directly. Add the new fields to the table definition. Create an append structure containing the new fields. Define a structure containing the new fields and include it in the table definition.
A commit work is issued in a transaction that employs asynchronous
updating, what takes place?(More than one answer is correct) Update requests are processed User is notified of updates SAP LUW is concluded Database commit is triggered.
How does a PERFORM ON COMMIT differ from a PERFORM statement?(More than one answer is correct) subroutines called using on commit pass parameters by
value only subroutines called using on commit pass parameters by
reference only subroutines called using on commit use global data only subroutines called using on commit have no interface.
Identify the synchronous update techniques.(More than one answer is correct) Update table.. .. COMMIT WORK AND WAIT PERFORM.. .. ON COMMIT and WAIT CALL FUNCTION in Update Task.
After a user action is performed, what event is triggered in a dialog
program? PBO MODULE USER_COMMAND PAI CASE ok_code.
A screen field has been dynamically changed in a dialog program.
When does it get re-initialized? At PAI execution At PBO execution At the end of the transaction Only when the program encounters more code to modify
the field attributes.
In what case are Tabstrips good candidates? (More than one answer is correct) When Navigation between components is pre-determined in
a fixed manner When Users need the ability to navigate freely between
components When several components of an application need to be
displayed on one screen.
What makes up a Tabstrip? (More than one answer is correct) Tabstrip Menu Bar Function Keys Tab Title Subscreens Subscreen Area.
What is proper coding practice in the flow logic of a Dynpro when a
subscreen is defined on the screen Call Subscreen in the PBO only Call Subscreen in the PAI and PBO Call Subscreen in the PAI only The Call Subscreen statement is not required.
What code is required in order to return immediately to the calling
screen? (More than one answer is correct) SET SCREEN 0 LEAVE PROGRAM SET SCREEN 0. LEAVE SCREEN LEAVE TO SCREEN 0.
What is true about a number range assigment ? A number range is used only for transactional documents A number range can be character only A number range can be defined as both internal and
external. The range consists only of numerics.
What is true about V2 updates within the same SAP LUW ? V2 errors cause V1 updates to be rolled back They are usually time critical updates Each V2 function module for a given COMMIT WORK
always runs in its own (separate) DB LUW An error in one V2 function module cause all other V2
functions to be rolled back.
In a dialog program, what coding technique allows passing of all the
rows of the internal table T_BOOKING to the program named
RSPGM101 IMPORT T_BOOKING TO MEMORY ID MYID.
SUBMIT RSPGM101. SET PARAMETER ID BOK FIELD T_BOOKING.
SUBMIT RSPGM101. EXPORT T_BOOKING TO MEMORY ID MYID.
SUBMIT RSPGM101. SUBMIT RSPGM101 WITH BOOKING = T_BOOKING.