|ref_cl is a reference to the class cl_document. ref_if is a reference to the interface if_display. The interface if_display is implemented by the class cl_document. What options do you have to create an object of the class_cl_document?
More than one answer is correct. Decide whether eache answer is true or false CREATE OBJECT ref_cl CREATE OBJECT ref_if TYPE cl_document CREATE OBJECT ref_it DATA class_name TYPE string.
CREATE OBJECT ref_if TYPE (class_name).
Which of the following statements about interfaces are correct?
More than one answer is correct. Decide whether each answer is true or false. Interfaces represent a separation between an interface and implementation (class), for which the client defines the protocol (interface) and the server (implementing class) implements it A client (caller) can use interface to access all interface methods and thus active polymorphic behavior Interface are used to call the static components of a class Using interfaces, you can simulate interface Using interfaces, you can reference all the public components of an object that have been defined in the corresponding interface implementing class.
What is allowed within class definitions?
More than one answer is correct. Decide whether each answer is true or false Typing with LIKE to ABAP Dictionary types The definition of internal tables without header lines The definition of internal tables with header lines Typing with TYPE to ABAP Dictionary types The TABLES statement.
Which of the following statements about inheritance are correct? Through inheritance, the public attributes of the superclass are inherited to the subclass Through inheritance, the private attributes of the supercalls are inherited to the subclass and they can be addressed in the subclass directly using “ME->” Through inheritance, the protected attributes of the supercalls are inherited to the subclass Through inheritance the private attributes of the superclass are inherited to the subclass and they can be addressed in the subclass directly using “THIS->”.
Using the statement CREATE OBJECT you can instantiate objects of a class. What situations can arise here?
More than one answer is correct.Decide whether each answer is true or false All objects of the same class contain the same number of attributes and methods after being created You can present different objects of a class with different values immediately after being created The contents of the attributes of different objects in a class always contain the same content or values immediately after being created You define the type and number of attributes of an object through the corresponding class.
Typing is not always necessary in ABAP, for example, for instance parameters of a subroutine Which of the following statements applies to ABAP objects?
Please choose the correct answer To simplify writing the software and design it clearly, you can do without typing altogether within the ABAP objects classes If you have numeric interface parameters in an ABAP Objects class you can do without typing Typing is imperative for interface parameters of a method belonging to an ABAP object class.
Which of the following statements are correct? The client field must always be specified in the WHERE condition for SELECT A secondary index can help improve system performance for accesses to internal tables A secondary index can help improve system performance accesses Multiple database tables can be read using a database view or a join The open SQL statements are converted into database-specific SQL statement by the database interface.
Which statement at the time of AT SELECTION-SCREEN causes the selection screen to be displayed again with fields ready for input and a message in the status bar?
Choose the correct answer. An AUTHORITY-CHECK statement with a return code not equal to 0 A MESSAGE statement of type I A MESSAGE statement of type E.
Which commands are allowed if you are working with an internal table of type SORTED? SORT DELETE INSERT READ TABLE MODIFY.
DATA: itab TYPE tt_spfli. Parameters: pa_carr TYPE spfli-carrid. AUTHORITY-CHECK OBJECT ‘S_CARRID’ ID’CARRID’ FIELD pa_carr ID’ACTVT’ FIELD ‘03’. SELECT * FROM spfli INTO TABLE itab WHERE carrid = pa_carr. What happens when the above program component is executed?
Choose the correct answer If the user does not have the relevant authorizations in his or her master record, the system leaves the current event block directly after the AUTHORITY-CHECK command and jumps to the next event block. In this case, the SELECT statement is not executed Regardless of whether or not the user has the relevant authorizations in his or her master record, the SELECT statement is executed and the data read from the database If the user does not have the relevant authorizations in this or her master record, the SELECT statement is not executed, since in this case , the AUTHORITY-CHECK always determines the program automatically.
What is a table type in the ABAP Dictionary? Description of a database table Database table with content Description of an internal table.
Which of the following events are suitable for the generation lists? More than one answer is correct.
Decide whether each answer GET events INIZIALIZATION START-OF-SELECTION AT LINE-SELECTION a -SCREEN.
You want to develop a more complex application. For this purpose, you want to use function modules to modularize the functionality.
Which statements about function modules are correct? From a function module, you cannot execute a dialog; in particular, you cannot send a screen Data can be transferred to a function module using IMPORTING parameters only You can create function module in function groups only In function groups, global data can be defined In function groups, subroutines can be defined that can be called within the relevant function group.
You want to develop an application with dynamic elements.
Which of the statements are correct? The runtime type services classes enable type information to be determined at program runtime You can use the CREATE TYPE statement to create data types at program runtime You can use the CREATE DATA statement to create variables at program runtime You can access variables created using CREATE DATA only using field symbols Data types cannot be created or constructed at program runtime.
How is the shared objects area accessed in ABAP? Using a special data type Using a special class Using a special database table.
You write an application that stores data in an internal table temporarily. Since the application is runtime critical, you consider which type of internal table to use.
Which statements about internal tables are correct? You can not use an index to access hashed tables You can use the INSERT TABLE statement to add data records to all types of internal table There are four types of internal table: standard, sorted, hashed, and indexed tables If not all key fields are when a data record is read from an internal table with table key (READ… WITH TABLE KEY…), the statement returns the first suitable data record If you want to add an entry to a sorted table, the sort sequence must remain the same.
In your application, you implement diverse calculations. In the calculation, you use variables of data type f, p, and i. Which arithmetic does the calculation follow? Calculations are basically carried out in integral arithmetic. The result is converted to the type of result variables The ABAP runtime always uses packed numbers for business calculations. This means that this calculation is also carried out with packed numbers and, if necessary, the result is converted If the arithmetic expression contains a data object of type f, calculations are basically carried out in floating point arithmetic.
For which tasks is the database interface responsible? Sytax check of “native” SQL commands Database independence of application programs Conversion of OPEN SQL statement from ABAP statement into the corresponding database statements Usage of the SAP buffers Data consistency check with respect to foreign key relationships.
What effect does the statement SUPPRESS DIALOG have in a PBO module of a screen? Screen display is suppressed The screen is displayed, but no inputs are possible The screen in question is not called Neither the respective PBO module nor any of the subsequent PBO modules are processed Processing is continued with the calling screen.
You have created a screen with 5 radio buttons. How do you ensure that only one radio button is selected at a time? Enclose all the radio buttons in a frame Create a common function code for all the radio buttons Combine all the radio buttons into a group Assign all the radio buttons to the same modification group.
Which of the following statements about context menus on screens is correct? The key combination SHIFT-F10 on a screen always calls a context menu You set context menus using the command SET PF-STATUS All the elements of a screen always have the same context menu You set context menus within a subprogram ON_CTMENU_<FORM>.
Which of the following statements about field transport between ABAP and screen are correct? Dictionary structures on the screen require a TABLES statement in ABAP Field transport from ABAP to the screen generally takes place before the first PBO module of the screen Name equivalence is imperative for field transport between ABAP and screen Field transport from the screen to ABAP is delayed if you have a FIELD statement.
Which conditions must be fulfilled in a programmed check so that a screen input field is made ready for input again? An I-type message must be output The check module must be called using: FIELD field name MODULE check module MESSAGE Ennn The check module must be called using: FIELD field name MODULE check module The module must output an E-type message or a W-type message.
Does a PAI occur when you switch between tab pages whose titles have function type P in a tabstrip? Yes, always Yes, if at least one required entry field exist on one of the tab pages Yes, if at least one PAI module exists for the subscreen container No.
Which statements apply to dialog programs that change databases? When the asynchronous update is used, the COMMIT WORK statement is not required, since it is executed implicitly after each screen change All inline changes must be executed in the PAI of the last screen in order to ensure the rollback capability of SAP-LUW In the PAI of each screen, you must use the COMMIT WORK statement When the asynchronous update is used, database changes are made directly by the program When the asynchronous update is used, set SAP locks are transferred to the update procedure so that they do not have to be removed in the actual dialog program.
You are calling an update function using CALL FUNCTION… IN UPDATE TASK. At what event are the values of the function parameters detemined? At the time of the call At COMMIT WORK At the start of the function execution.
Why must logical SAP locks and not database locks be set in dialog programs to prevent concurrent data accesses? Because SAP locks are more efficient than database locks Because set database locks may be implicitly removed before the changes have been made to the data Because SAP locks are more up to date and easier to maintain than database locks.
Which statements about parameters for an elementary search help apply? A parameter is either an import or an export parameter Export parameters control which data can be returned to the input Import parameters control which data can be included in the data selection. Parameters must be fields from the selection method only Parameters can be displayed on the results list.
The search help functions know various link options in the ABAP Dictionary.
Which of the following statements apply? the search help function is linked to a table A, this search help is displayed whenever there are input fields on that screen that have A as the check table If the search help function is linked to a table A, this search help is displayed whenever there are input fields from A on the screen If the search help function is linked to the data element as well as to the field, the search help for the field is displayed A search help function that is linked to the data element can return values only for the search field (field where the F4 help was triggered) A search help function that is linked to the table field can return values only for the search field(field where the F4 help was triggered).
Is it possible to increase the number of key fields in transparent tables that are already active? Yes, however the table must not contain any data yet Yes, irrespective of whether the table already contains data or not. No. key changes are not allowed.
For what purpose are foreign keys(FK) defined in the ABAP Dictionary? FKs are used solely for documentation table relationships For the purpose of data consistency; When you maintain data records using dialog transactions (screens), the input values are automatically checked in accordance with the FKs For the purpose of data consistency; when you activate the table, the FKs are created in the database. You thus prevent invalid data from getting into the table.
Where can you have automatic input checks against the check table?
Please choose the correct answer For input fields on selection screens For input fields on ABAP lists For input fields on screens if the input fields have been copied from the Dictionary into the Screen painter.
How do you store data in the HIDE area during processing?
Please choose the correct answer First you write a list line using WRITE. Then you can store data for this line in the HIDE area The HIDE area is filled ub tge event TOP-OF-PAGE for each list page The HIDE area is filled in the TOP include through the HIDE statement.
What can you control using the field catalog of an SAP ALV grid control? Output the list in a striped pattern Influence the format properties of column contents, such as the number of decimal places or the alignment of the content of a cell Set the output characteristic of a column, such as the column position of width Specify the colors of the list rows Hide the list columns.
What advantages do logical database offer?
More than one answer is correct. Decide whether each answer is true or false Autorization checks are performed at a central location in the logical database You can perform database updates with the PUT statement You do not have to program the database accesse themselves in the program Logical database can be reused by several programs The logical database provides a modifiable list structure.
You wish to have user entries on the selection screen checked (for example, authorization check) If there is any error, the user must correct the entries. Which steps do you need to program for this?
Please choose the correct answer You need to program the check at the event AT SELECTION-SCREEN if there is an input error, processing must be interrumped with a STOP statement and an i-type MESSAGE must be output You need to program the check at the event AT SELECTION-SCREEN if there is an input error, an e-type MESSAGE must be output You need to program the check at the event END-OF-SELECTION if there is an input error, an e-type MESSAGE must be output.
Which subobjects can an SAP enhancement content?
More than one answer is correct. Decide whether each answer is true or false Function module exits Menu exits Append structures User exits Screen exits.
You want to modify an SAP program. What do you need to watch out for?
More than one answer is correct. Decide whether each answer is true or false Before you can change the program, you must request a key for the object You can use the Modification Assistant to change application programs delivered by SAP, without the need for registration The SAP system does not allow modifications by user DDIC or SAP* You can perform the modification immediately if you set the global setting for the system change option to “Modificable” If SAP delivers a new version of an object, the modified object must be adjusted if you upgrade or import a Support Package.
Assuming a customer has modified SAP objects in the customer system, which attributes are required at release upgrade or when applying a Support Package?
More than one answer is correct. Decide whether each answer is true or false After each upgrade, the new SAP object is available as an active version No manual operations are necessary Everything is performed automatically The modified objects must be adjusted to match the standard version whenever SAP delivers new versions of the objects Only ABAP Dictionary tables, data elements, and domains are adjusted during the upgrade ABAP dictionary object are not handled separately.
You wish to use a Business Add-in (Badi) in order to enhance an SAP application Which of the following staments are correct?
More than one answer is correct. Decide whether each answer is true or false If you have filter-dependent Badis. There can always be only one active implementation for a filter value If a default implementation exists for a Badi, this will be always be run Badis can contain menu enhancements More than one implementation can exist even for Badis that are not used in a multiple basis A Badi always has exactly one interface in which the methods of the enhancement are defined.