Questions
ayuda
option
My Daypo

ERASED TEST, YOU MAY BE INTERESTED ONTest01

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Test01

Description:
ABAP Questionary

Author:
hEcKsAnZ
(Other tests from this author)

Creation Date:
12/06/2012

Category:
Computers

Number of questions: 41
Share the Test:
Facebook
Twitter
Whatsapp
Share the Test:
Facebook
Twitter
Whatsapp
Last comments
No comments about this test.
Content:
If a table does not have MANDT as part of the primary key, it is ____. ? A structure Invalid Client-independent Not mandatory.
In global class CL_GUI_ALV_GRID that is delivered by SAP, the DBLCLICL_ROW_COL event is defined, which is triggered when a cell in the list is double-clicked. You have written a program in which data is displayed in a list using class CL_GUI_ALV_GRID. What do you have to do in your program to respond the event? Create your own class Capture the event with the CATCH statement Write a handling method for the event Register on the event using SET HANDLER statement.
Which of the following statements about functional methods are correct? (More than one answer is correct. Decide whether each answer is true or false) Functional methods cannot have any EXPORTING or CHANGING parameters Functional methods have exactly one RETURNING parameter You can use functional directly in a WRITE statement You can use functional methods directly in an arithmetic expression.
Your program contains two classes, CA and CB, whereby class CB inherits data from class CA. In class CA, a public instance method may is defined that does not have any parameters. In class CB, a public instance method MB is also defined that does not have any parameters. Your program contains the following coding. DATA r_ca TYPE REF TO ca, r_cb TYPE REF TO cb. CREATE OBJECT r_cb. r_ca=r_cb. Which of the following statements would be syntactically correct after the above program component? More than one answer is correct. Decide whether each answer is true or false. r_ca->ma( ) r_cb->ma( ) r_ca->mb( ) r_cb->mb( ).
In the case of classes, we distinguish between two types of components (attributes and methods) Instance components and static components. Which of the following statements apply in this context? In a static method, instance attributes can also be used, provided they are declared as READ ONLY. Static methods can be called through the class Instance methods can use both static as well as instance components in their implementation part Static attributes exist only once for each class Both static as well as instance attributes are declared using the DATA statement.
What is an (instance) constructor? Please choose the correct answer An instance method for initializing the attributes of an object, it is automatically called by the system during CREATE An instance method for controlling how much main memory is to be reserved for an object An instance attribute that is automatically given a unique identification by the system when an object is created.
Which techniques are basic requirements for polymorphism? Narrowing cast Redefinition of methods (for polymorphism through inheritance) Widening Cast Implementation of methods of an interface in the respective classes (for polymorphism through interfaces).
Which of the following tables types do you choose for your internal table if it is to contain a large number of entries and to be read only via fully qualified key access? STANDARD HASHED SORTED.
Which of the following statements about data types and data objects are correct? (More than one answer is correct Decide whether each answer is true or false) Data types can be defined in the ABAP Dictionary. A data type is a description of a variable. A data object is a variable. Data types can be defined only in the ABAP Dictionary. Data types can be defined in the program.
You want to write a subroutine for displaying data that is to be transferred to the subroutine by means of an internal table. Which transfer type is preferred from a performance perspective? (Choose the correct answer) Call by reference Call by value and result Call by value.
Which of the following statements about SELECT statement are correct? More than one answer is correct Decide whether each answer is true or false With SELECT SINGLE access, the result is one data record Maximum The SELECT statement always read the data directly from the database, that is, it always bypasses the table The return code of the SELECT statement is maintained in the system field SY-SUBRC With ARRAY FETCH (SELECT… INTO TABLE), the result is contained in an internal table All records in the relevant table are read using a SELECT loop without a WHERE clause (SELECT…ENDSELECT).
Which of the following ABAP statements generate a list in executable programs? SET SCREEN CLEAR WRITE ULINE PERFORM.
What do you get with the following variable definition if dbtab is a transparent table in the ABAP Dictionary? TABLES dbtab. (Choose the correct answer) An elementary field An internal table A structure variable (work area).
You have programmed a SELECT_ENDSELECT loop in table SBOOK (Flight Booking Data), whereby approximately 1,000 data records are read. How is the data transported from the database to the application server? The data records are always transferred from the database to the application server record by record. The data is transferred to the application server in packages of equal size. The data records are transferred to the application server in blocks of varying lengths, depending on the network load.
What is the advantage of shared objects over import/export to shared memory/buffer? (More than one answer is correct. Decide whether each answer is true or false.) In shared objects areas, networks of object references can be stored. Data in shared objects areas is compressed. Data in shared objects can be accessed directly, without the data having to be copied. More data can always be saved in shared objects areas than in the shared memory/buffer.
Which statements about internal tables are correct? (More than one answer is correct. Decide whether each answer is true or false.) The costs for reading a data record from a hashed table do not depend on the number of entries in the table If a field symbol is assigned with the READ…ASSIGNING <fs> statement, the entry in the internal table can be changed directly using this field symbol The costs for reading a data record are higher for a large number of entries in a sorted table than for a large number of entries in a standard table If a field symbol is used to access the content of an internal table, the data record is not copied to the work area.
You want to develop an application that reads data from the SAP database. Since the application is runtime critical, you want to use table indexes as efficiently as possible to improve the application runtime. Which statements are correct? Each table has exactly one primary index. For transparent tables, you can create up to two secondary indexes. An index should be composed of only a few fields, since the index must be updated for each change operation that also contains index fields. The more secondary indexes you create, the more probable it is that the database will use a suitable index to access the database. The client field does not have to be explicitly executed in a secondary index since it is added automatically by the database interface.
You want to develop an application that reads data from the SAP database. Since the application is runtime critical, you want to read buffered data, as far as possible. The table is to be set up in such a way that single records are buffered. Which of the following statements, however, always bypass the buffer? Use of the IN operator in the WHERE condition. Use of a JOIN in the SELECT statement. SELECT with aggregate functions. Use of subqueries in the WHERE condition. The SELECT SINGLE… statement.
You execute an ABAP program with several dialog steps (screens). Which statement is correct? (Choose the correct answer.) The entire program is always processed in exactly one dialog work process. This dialog work process also remains reserved for this program while the screen is displayed on the front end. The ABAP dispatcher takes over the entire execution of the ABAP programs and gets the user context of the programs from the roll area. The program components for the individual dialog steps are usually executed in various dialog work processes that are re-released once a program component has been processed (while the screens are displayed on the front end).
Under which circumstances is a module with the addition ON CHAIN-INPUT executed? When the value of the least one field within the CHAIN is other than its initial value. When a new entry has been made for at least one field within the CHAIN When exactly one field within the CHAIN has a value other than its initial value When a new entry has been made for all fields in the chain.
Where can you set the status and the title for a modal dialog box (popup)? In the attributes of the corresponding screen In a PBO module of the corresponding screen At the event TOP-OF-PAGE In a PAI module of the corresponding screen.
Which of the following statements about the subscreens are correct? Subscreens have their own OK code field. You call subscreens using the ABAP command CALL SUBSCREEN. You call subscreens using the screen command CALL SUBSCREEN. The statement LEAVE TO SCREEN is not allowed in subscreen flow logic.
Which of the following statement about pushbuttons are correct? Pushbuttons… in an application toolbar always have a function code in an application toolbar always have a corresponding function key on a screen always have a corresponding function key with function code E cause program termination.
You have defined a screen with required entries. You want the “Cancel” function to work even if all the required entry fields are not filled. How can you do this? You must temporarily switch off the required entry for the fields concerned within the LOOP AT SCREEN… ENDLOOP. The “Cancel” function must have the function code “BACK”. No special actions are required. The “Cancel” function must be type “E” and be handled in a module with the addition AT EXIT-COMMAND. There is no way to do this; required entry fields must always be filled first.
You want to have the system branch to list processing form within a screen. Which of the following statements apply here? You must place the command LEAVE TO LIST-PROCESSING at the end of the PAI of the respective screen. You have to program the command LEAVE TO LIST-PROCESSING. The list buffer must first be read(READ LIST). You have to program the two commands CALL SELECTION-SCREEN <screen no> and LEAVE TO LIST-PROCESSING.
What can you do to undo, directly from the program, database changes that have been implemented but not yet confirmed? Raise an exception. Perform a ROLLBACK WORK. Output an error message Analyze the log record Output a termination message.
What are the main reasons for using update techniques? To relieve the load on the dialog work processes To create reusable modules for database changes To collect database change request from several dialog steps in order to process them or delete them together To achieve delayed implementation of database changes To log the database changes.
You are writing a transaction to update a database table. Which of the following elements should the program contain? A call for an update function module in the case of time-consuming changes. An AUTHORITY-CHECK statement A call for ENQUEUE/DEQUEUE function modules The COMMIT WORK statement when using the update method Use of a logical database.
Which of the following steps should be carried out in a transaction that implements an updating technique? the changes entered by the user to the update process Read the data record that is to be updated Lock the data record that is to be updated Unlock the data record that is to be updated Call the ABAP command COMMIT WORK.
Which of the following statement apply to a database view? A database view can have one or several base tables A database view is a special view of transparent tables Using a database view, you can insert data into several tables Using a database view, you can read data from several tables A database view supplies the results quantity of an outer join logic.
Which of the following statements about APPEND structures are true? An APPEND structure is the same as a substructure An APPEND structure can be assigned to several tables APPEND structures allow you to append fields to an SAP table without having to modify the table itself You can use an APPEND structure like any other structure in ABAP programs After adding an APPEND structure to a table, you must convert the table.
You want to change the technical properties that are defined in a domain. How do you proceed/which statements are correct? Before you make any changes, use a where-used list to search for dependent object, since the changes can continue to the fields in structures and database tables Once changes have been made and the domain activated, you have to reactivate each dependent object individually You make the changes immediately, since, initially, an inactive version is created for all dependent objects that contain these changes If a dependent object is a transparent table that already contains data, the table in the database may have to be converted.
Changes to active transparent tables; The type for the non-key field is to be chaged from NUMC to CHAR. What follow up actions are to be expected? If the table does not contain any data yet, the table needs to be activated. In this case, you delete the old table from the database and afterwards you recreate the changed structure If the table already contains data, you have two options: Either the database can show this change with the statement ALTER TABLE, or you trigger a conversion process from within the SAP System If the table already contains data, this change needs to be executed first in the database by the database administrator. Afterwards, you can reactivate the table in the Dictionary Type changes in the Dictionary are supported for the key fields only. In the case of non-key fields, such changes can be executed only by the database administrator using special database techniques.
Which of the following statements about the SAP table buffer are correct? When tables are buffered in the SAP table buffer, inconsistencies can occur between the status in the SAP table buffer and the status in the database Large tables must be buffered as completely as possible Database views can be buffered Each application server involved in SAP system has its own table buffer.
A logical database has four nodes alltogether. First you have the root node node_00. Underneath the root node, you have node_01 and then node_02 arranged in such a way so that they belong to the same hierarchy level. In addition, node_02 has a hierarchically dependent node_21. You have the following statements in the program: NODES:node_00, node_02. GET node_00. GET node_02. The event is executed only if no data record is found for node_00 The event is executed each time after the event GET node_02 The event is executed each time all the dependent data records for a node_00 data record have been delivered into the program The event is not executed.
How do you ensure there will be the correct number of decimal places for currency amounts on an ABAP list output? By saving the currency amounts with decimal places in the database This takes place automatically, provided the checkbox “CURRENCY output” is ticked in the program attributes By maintaning the corresponding Customizing table and by using the addition CURRENCY in the WRITE statement.
You want the system to output a list in the program using the SAP ALV grid control. What steps do you have to carry out in the program to achieve this? Program WRITE statements for the list output Generate an object of class CL_GUI_CUSTOM_CONTAINER Create a screen and define a custom control area on this screen Generate an object of class CL_GUI_ALV_GRID Call method SET_TABLE_FOR_FIRST_DISPLAY.
A logical database has four nodes altogether. First you have the root node node_00. Underneath the root node you have node_01 and then node_02 arranged in such a way so that they belong to the same hierarchy level, in addtion, node_02 has a hierarchically dependent node, node_21.You have the following statements in the program Nodes node_02 GET node_02 Which nodes of the structure are read by the local database? Node_00, Node_01 Node_02 Node_00, Node_02 Node_00, Node_02 Node_21.
You wish to adapt the SAP standard software to the needs of the customer. Which of the following methods should you preferably use? Customer`s own developments Modification of SAP objects Customizing Enhancement concept.
You want to supply you users with a transaction variant. Using transaction Variants you can... ... suppress individuals fields … have transactions run in the backgroung … reduce the complexity of transactions … suppress entire screens … change the flow logic of a screen.
You wish to use Business Transactions Events (BTE) to enhance an SAP Application. Which statements apply? You can define yourself where an event will be called in the SAP application BTEs are called on a cross-client basis BTEs allow you to link up additional components to the SAP standard system A BTE interface can be used repeatedly BTEs allow you to call components in other systems.
Report abuse Consent Terms of use