Which of the following statements concerning subroutines are correct? (3 correct answers) Using parameters without the VALUE addition are call-by-reference parameters When a subroutine is called, variables or literals are to be passed as actual parameters to the corresponding formal parameters Large internal tables should be passed to the subroutine through a call-by-value parameter When a subroutine is called, it is important to watch out for the same names of formal parameters The passing method for a formal parameter is defined in the subroutine definition There are two different passing methods for formal parameters.
Which of the following statements concerning authorization and authorization checks are correct? (2 correct answers) There are authorizations in the user master record There are authorization objects in the user master record An authorization is a real characteristic of an authorization object – that is, an authorization object with field values An authorization object has fields and field values.
When placing value of screen fields to ABAP fields which of the following is used? Assign Move ON_INPUT.
Which of the statements are true about static attributes? (2 correct answers) 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.
How can you add a session breakpoint to your program? (2 correct answers) Set a breakpoint in the ABAP editor and select Save Set a breakpoint in the ABAP debugger and press F8 Set a breakpoint in the ABAP editor Execute command /h.
How do you define an internal table in a private method of a class? (3 correct answers) DATA lt_itab TYPE TABLE OF <Dictionary Table> WITH HEADER LINE DATA lt_itab TYPE <Dictionary Table> DATA lt_itab TYPE TABLE OF <Dictionary Table> DATA lt_itab TYPE <Table Type> DATA lt_itab TYPE TABLE OF <Structure TYPE>.
What does SAP recommend that you use a hashed table? When a table must be sorted automatically by key in ascending order When a table is very large and you want to access the table by key only When a table is very large and you want to access the table by index only When a table must be accessible by both index and key.
Which steps are needed when implementing the singleton concept for class instantiation with minimum coding? (3 correct answers) Define the class as abstract Create an instance of the class in a static constructor Save the instance of the class in a static attribute Create an event that returns the instance of the class Define the instantiation of the class as private.
To which ABAP Dictionary definition can you assign fixed values? Component of a structure Field of a transparent table Data element Domain.
What can be exposed in the component interface of a Web dynpro component? Public attributes of WINDOW controllers Context nodes of WINDOWS controllers Custom methods of the component controller Standard hook methods of the component controller.
You want to include an element of type 'Table' in your web dynpro.
What actions add the corresponding columns to the table automatically? Bind the table attribute 'DATA_SOURCE' to the context node Right click the table and select the 'CREATE_BINDING' option Include the method BIND_TABLE of IF_WD_CONTEXT_NODE Generate a 'BIND_TABLE' method using the web dynpro method wizard.
Which of the following steps are required to set up a shared memory area? (3 correct answers) Call the attach_for_write method of area root class Generate an area root class Declare a catalog object Set the root object Enable multiple versions of an area root class.
You want to add a field ZZPRICE to the SAP standard transparent table EKKO.
Which of the following actions result in an enhancement of the SAP standard? (2 correct answers) Insert ZZPRICE into an SAP structure for the table Insert ZZPRICE at the end of the table Add ZZPRICE to the customizing include for the table Create an append structure and add ZZPRICE to it.
Which prerequisites must be fulfilled before a repository object can be transported? (3 correct answers) The repository object must be assigned to a change request 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 An inactive version of the repository object must exist.
You defined data reference z1 generically. Which statement would you use to access the content of the referenced variable? Assign (z1) to <fs> Get reference of z1 into wa Assign z1 to <fs> Assign z1->* to <fs>.
For which of the following purposes can you use the ABAP dictionary? (2 correct answers) To activate logging for transparent tables To create lock objects To maintain program translations To create development classes.
Table A and table B are partially bufferd. Which of the following SELECT statements always access the database? (2 correct answers) SELECT a b c d FROM table A JOIN table B ON table A~a EQ table B~e INTO CORRESPONDING FIELDS OF TABLE lt_A_B SELECT a b FROM table A INTO CORRESPONDING FIELDS OF TABLE lt_AB SELECT SINGLE CLIENT SPECIFIED a b FROM table A INTO CORRESPONDING FIELDS OF ls_AB SELECT SINGLE FOR UPDATE a b FROM table A INTO CORRESPONDING FIELDS OF ls_A WHERE c EQ '1234'.
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, COND_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?
SELECT part_id from partner INT wa_result WHERE kind = 'Residential'
SELECT cont_id from contract into wa_result-cont_id WHERE part EQ wa_partner-part_id AND DIVISION EQ 'Water'.
Append wa_result to lt_result.
IF sy-subrc <> 0. CLEAR wa_result-cont_id
APPEND wa_result TO lt_result. ENDIF.
SELECT part_idcont_id FROM partner AS A LEFT JOIN contract AS b ON a~part_id = b~part_id AND b~division EQ 'Water' INTO TABLE lt_result WHERE kind = 'Residential' SELECT part_idcont_id FROM partner 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 want to read data form 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 INNER JOIN b… SELECT …FROM a JOIN b…. SELECT …FROM b RIGHT OUTER JOIN a … SELECT…FROM a LEFT OUTER JOIN b ….
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? (3 correct answers) Perform a program-related global search for GET BADI Select from the list of freely selected BAdIs or enhancement spots in the Repository Information Perform a program-related global search for a customer exit Select from the list of application-related BAdIs or enhancement spots in the SAP Application Hierarchy Search for a Business Transaction Event in the Customizing tree (transaction SPRO).
What can you change in the ABAP Debugger? Value of a reference variable Content of an internal table Value of a constant Definition of a structure.
You want to translate dynamic text in a web dynpro. From which abstract class should you inherit? CL_WD_CONTEXT_SERVICES CL_WD_COMPONENT_ASSISTANCE CL_WD_COMPONENT_SERVICES CL_WD_CONFIGURATION_MODEL.
Which Of the following are valid control level changes within a loop over an internal table? (2 correct answers) COLLECT SUM LAST END of <f>.
What options do you have when setting a watchpoint? (2 correct answers) Stop at predefined conditions for all variables Stop at any change of all variables Stop at predefined conditions for a specific variable Stop at any change of a specific variable.
When are the changes to the VB* table transferred to the database? When an update function module is executed When the enqueuer work process is executed When the main program is executed When the update work process is executed.
Which of the following ABAP standard types are incomplete? (2 correct answers) N STRING F X.
You use UML to design your classes. You want to describe the message exchange between objects. Which diagram can you use? Sequence diagram Object diagram Class diagram Component diagram.
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 role An authorization object An authorization profile An authorization Access.
When do you need to use the GROUP BY clause in the SELECT statement? If you want to use aggregate functions and all components in the field list are aggregate functions If you want to redefine the sequence of the columns in the result set If you want to use aggregate functions and at least one component in the field list is a column identifier If you want to use ORDER BY to specify a sub-order.
Using the screen system table, what can you modify through a LOOP AT SCREEN … ENDLOOP construct? Attributes of screen elements Values of screen elements Function code of buttons Screen status.
Which of the following types of SQL statements always bypass the SAP table buffers? (2 correct answers) SELECT … UP TO 1 ROW SELECT … INNER JOIN … SELECT SUM (sales) SELECT SINGLE.
You have created a Web Dynpro view that shows data for airline connections between cities. You want to display flight data for a specific date in a different view after the user select a date and presses a button. Which of the following actions you must perform? (2 correct answers) Edit the handler method in the view controller Set the interface property for key fields Add a client-side event in the view Create and link plugs between the views.
Which components belong to an elementary search help? (2 correct answers) Attachment to a field Fixed values Selection method Import / export parameters.
Which parameter types can be used in the signature of a functional method? (2 correct answers) EXPORTING IMPORTING RETURNING CHANGING.
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 wigh length 2DATA. 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 objectDATA.
gv_c(6) TYPE c VALUE '1.50E4', gv_i TYPE i. gv_i = gv_c.
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.
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 can you enhance using BAdIs ? (3 correct answers) Data elements Menus Screens Database tables Source code.
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 root class in the RTTS inheritance tree? CL_ABAP_ELEMDESCR CL_ABAP_TYPEDESCR CL_ABAP_DATADESCR CL_ABAP_COMPLEXDESCR.
You have 2 objects: 01 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 01 ? TO 02 02 ?= 01 MOVE 01 TO 02 01 = 02.
What must you do to define a database view using the ABAP Dictionary? (3 correct answers) 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.
What is required to fully specify a Table Type in the ABAP Dictionary (3 correct answers) Access type Table key Table size Line type Header line.
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.