|You have created the following repository objects:
• A class with an event definition
• A handler class with a method ON_EVT which handles this event
• A report that instantiates the handler class
The report does not react to the event.
How do you analyze this issue?
4 correct answers Check if the event is triggered by setting a breakpoint at the MESSAGE … RAISING statement. Check if the implementation of the handler method ON_EVT contains the correct logic Check if the handler method ON_EVT is defined in a subroutine of the report. Check if the event is triggered by setting a breakpoint at the RAISE EVENT statement Check if the handler method is registered.
You want to select data from two tables and store the result in as structure.
Table PARTNER contains the fields PART_ID and KIND.
Table CONTRACT contains the fields CONT_ID, CONT_TYPE and DIVISION.
The structure is defined as follows
DATA: BEGIN OF wa_result,
Part_id type partner-part_id,
cont_id type contract-cont_id,
Cont_type TYPE contract-cont_type,
END of wa_result,
Lt_result type table of wa_result.
How can you replace the following SELECT statement with an outer join?
WHERE kind = ‘Residential’.
WHERE part EQ
wa_partner-part_id And DIVISION eq ‘Water’.
Append wa_result to lt_result.
APPEND wa_result TO lt_result.
from partner AS A LEFT JOIN contract AS b
ON a~part_id = b~part_id
AND b~division EQ ‘Water’
WHERE kind = ‘Residential’ SELECT part_idcont_id
LEFT JOIN contract on partner-part_id = contract-part_id
AND contract-division EQ ‘Water’
INTO TABLE lt_result
WHERE kind EQ ‘Residential’. SELECT part_idcont_id
from partner LEFT JOIN contract
on partner-part_id = contract-part_id
AND partner-kind EQ ‘Residential’
INTO CORRESPONDING FIELDS OF TABLE lt_result
WHERE division eq ‘Water’. SELECT part_idcont_id from partner AS A LEFT JOIN contract AS b
ON a~part_id = b~part_id
INTO CORRESPONDING FIELDS OF TABLE lt_result
WHERE kind = ‘Residential’
AND division EQ ‘Water’.
You have written a program to output data using the ALV grid control. Which sequence of steps should be executed at runtime? 1. Pass data to the grid object
2. Create a container object
3. Create a grid object 1. Create a grid object
2. Pass data to the grid object
3. Create a container object 1. Create a grid object
2. Create a container object
3. Pass data to the grid object 1. Create a container object
2. Create a grid object
3. Pass data to the grid object.
You define a generic variable that can hold the ABAP types C, D, N, STRING, and T. You want to restrict the use of other ABAP types. Which generic data type must you use in the definition? CLIKE CSEQUENCE SIMPLE DATA.
Which of the elementary data types is deep? DECFLOAT34 N XSTRING X.
Which actions release a database lock?
7 correct answers ENQUEUE_ COMMIT WORK The display of a dialog message type E An “/n” in the command field A CALL TRANSACTION The display of an SAP screen The display of a dialog message type A DEQUEUE_ A SUBMIT A call to a function module.
What must you specify in a Unicode system when opening a file in TEXT MODE? The ENCODING addition The Layer page The byte order The code page.
When you add programming logic to your ABAP program that checks authorizations,which of the following do you have to create?
2 correct answers An authorization object An authorization profile An authorization role An authorization Access.
Dynpros can be placed in which program types?
3 correct answers Class pools Executables Function groups Module pools.
What is the best order to provide an event handler for an ALV? Write the handler, create the ALV, register for the event, display the ALV Write the handler, register for the event, create the ALV, display the ALV Create the ALV, write the handler, register for the event, display the ALV Write the handler, create the ALV, display the ALV, register for the event Register for the event, write the handler, create the ALV, display the ALV.
Which of the following structures is created when you use a table type to define one of its components? Flat structure Deep structure Nested structure Append structure.
Each button on a Dynpro (screen) requires the assignment of a function code. This function code… Can be used to identify when the button is clicked by looking for the function code in the screen’s OK_CODE field. Prevents the function code from be assigned to a menu item. Is used to define global variables that receive a value when the button is clicked. Prevents the function code from be assigned to a category item.
What does the enhancement category for a database table or structure do?
3 correct answers Makes a table Unicode-compliant Can identify where program behavior may change Can produce warnings at incompatible points for the structure Specifies the types of changes that can be made to the structure.
When is an ENDSELECT not required for a SELECT?
3 correct answers When you specify into a table When you specify a join tables When you do a SELECT SINGLE When the FROM is a view When you specify appending a table.
How is an ABAP program with several dialog steps executed? The ABAP dispatcher takes over the entire execution without assigning any work process. Usually, dialog steps are assigned to different dialog work processes. The program is always executed in just one dialog work process without roll out The program is always executed in just one dialog work process with roll out.
Which of the following tasks does the BADI implementing class perform? Filtering Sequencing Deleting Inserting.
Which of the following statements regarding search helps are true?
3 correct answers Help views can also be used for the selection method for search help. You can use a maintenance view for the search help selection method. You can use transparent tables for the search help selection method. You can use a database view for the search help selection method.
Which of the following must you do to be able to use a Business Add-in (BADI)? Activate the enhancement project Write code for methods Modify the adapter class Create the BADI implementation.
Which of the following customer modifications options are available in the table maintenance generator?
2 correct answers Append searches Events Maintenance screens Search helps.
Which statement will interrupt the processing of the current screen and branch to new screen? SET SCREEN <NNNN> LEAVE TO SCREEN <NNNN> None of the above CALL SCREEN <NNNN>.
Each ABAP program that actually contains executable statements…
2 correct answers Is divided into processing blocks. Assigns every executable statement to a processing block regardless of it being in a processing block. Can be tested from the ABAP Workbench by pressing (F8). Only assigns executable statements in a processing block to a processing block. Has declarative statements outside of processing blocks that are considered local. Uses event blocks to trigger events in ABAP. Has declarative statements inside of processing blocks that are considered local.
What does a view do?
4 correct answers If entered by an inbound plug, can cause an event handler method to be called Contains other views Contains windows Contains a view controller Can be contained in a window.
Where can you set the GUI status and the GUI title for a classical screen (dynpro)? 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 a module called from PBO of the screen.
There are ____ versions of the ABAP Editor. 1 2 3 4.
Which of the following statements are true?
2 corrects answers A static attribute is the same across all instances of the class. There is only one static attribute across all instances of the class. Static attributes are declared with the CLASS-DATA statement. Static attributes can be declared only in the private visibility section of the class. Static attributes cannot be changed by an object.
Each component has an interface; of what does this interface consist?
2 correct answers Interface view Interface controller Data container Interface context.
Which ABAP statement can make an element visible that you statically defined as invisible? SCREEN-INVISIBLE = 0 SCREEN-ACTIVE = 0 SCREEN-ACTIVE = 1 SCREEN-INVISIBLE = 1.
Which ABAP statement using the local type gty_1 correctly defines a data object?
2 correct answers DATA gv_1 TYPE gty_1. DATA gv_1 LIKE gty_1. DATA gv_1 TYPE gty_1 DEFAULT '1'. CONSTANTS gc_1 TYPE gty_1 VALUE '1'.
Which actions release a lock object (with a default value for _SCOPE)?
5 correct answers A call to a function module A CALL TRANSACTION A SUBMIT DEQUEUE_ ENQUEUE_ COMMIT WORK An "/n" in the command ROLLBACK WORK The display of a dialog message type A The display of an SAP screen; The display of a dialog message type E.
Which action on the underlying dictionary objects triggers a database table conversion? Inserting a field of type reference Inserting an APPEND structure Reducing the size of the field Changing the order of non-key fields.
Which of the following standard types is numeric?
3 correct answers P I Decfloat32 F.
How would you find out if an application program offers a program exit?
Select all the correct answers that apply Search for the character string CUSTOMER-FUNCTION Use the Repository Information System Look for a customer exit in the SAP reference IMG within an application area Use the Application Hierarchy.
Which prerequisites must be fulfilled before a repository object can be transported?
3 correct answers An inactive version of the repository object must exist. The repository object must be assigned to a package. 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 change request.
Which of the following includes are generated when you create a function group? LxxxxO01 LxxxxUXX LxxxxF01 LxxxxTOP.
What must you do to create a singleton class?
3 correct answers Define the class as abstract Implement the IF_UMM_SINGLETON interface in the class Set the class instanciation to private Instantiate the class in a static method of the class itself Define the class as final.
You write the following ABAp statement
SELECT SINGLE carrid connid cityfrom cityto
WHERE carrid = pa_car
AND connid = pa_con
How are the fields in the field list of the SELECT statement copied to the target structure gs_spfli? They are copied to fields with the same name They are copied to fields with the same type They are copied from right to left They are copied from left to right.
Which statements about ABAP are true? Each statement cannot begin with a keyword. Each statement must end with a period. Each statement must begin with a keyword. ABAP keywords and additions must be in uppercase.
SAP enhancements for customer exits are managed by which transaction? Transaction SMOD Neither transaction listed here Transaction CMOD Application CMOD.
What can you create using the ABAP Dictionary?
3 correct answers Domains Type pools Internal tables Transparent tables Field symbols.
Which of the following can you use to enhance SAP standard tables and structures with fields?
2 correct answers Field exits Customizing includes Append search helps Append structures.