What can you do to undo, directly from the program, database changes that have been implemented but not yet confirmed? More than one answer is correct. Output a termination message. Raise an exception. Analize the log record. Perform a ROLLBACK WORK. Output an error message.
Wich of the following steps should be carried out in transaction that implements an updating technique? More than one answer is correct. Call the ABAP command COMMIT WORK. Pass the changes entered by the user to the update process. Unlock the data record that is to be updated. Read the data record that is to be updated. Lock the data record that is to be updated.
What are the main reasons for using update techniques? More than one answer is correct. To log the database changes. To relieve the load on the dialog work processes. To achieve delayed implementation of database changes. To create reusable modules for database changes. To collect database change requests from several dialog steps in order to process them or delete them together.
You are calling an update function using CALL FUNCTION...... IN UPDATE TASK. At what event are the values of the function parameters determined At COMMIT WORK. At the time of the call. At the start of function execution.
Wich statements apply to dialog programs that change databases? More than one answer is correct. 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. When the asynchronous update is used, the COMMIT WORK statement is not required, since it is executed implicitly after each screen change. When the asynchronous update is used, database changes are made directly by the program. All inline changes, must be executed in the PAI of the last screen in order to ensure the rollback capability of the SAP LUW. In the PAI of each screen, you must use the COMMIT WORK statement.
You are writing a transaction to update a database table. Wich of the following elements should the program contain? More than one answer is correct. Use of a logical database. A call for an update function module in the case of time-consuming changes. The COMMIT WORK statement when using the update method. An AUTHORITY-CHECK statement. A call for ENQUEUE/DEQUEUE function modules.
Why must logical SAP locks and not database locks be set in dialog programs to prevent concurrent data accesses? Because set database locks may be implicitly removed before the changes have been made to the data. Because SAP locks are more efficient than database locks. Because SAP locks are more up to date and easier to maintain than database locks.
Wich subobjects can a SAP enhancement contain? More than one answer is correct. Screen exits. Function module exits. User exits. Menu exits. Append structures.
You wish to use a Business Add-In (BAdI) in order to enhance an SAP application. Wich of the following statements are correct?. More than one answer is correct. A BAdI always has exactly one interface in wich the methods of the enhancement are defined. If you have filter-dependent BAdIs, there can always be only one active implementation for a filter value. More than one implementation can exist even for BAdIs that are not used on a multiple basis. If a default implementation exists for a BAdI, this will allways be run. BAdIs can contain menu enhancements.
You want to modify an SAP program. What do you need to watch out for? More than one answer is correct. If SAP delivers a new version of an object, the modified object must be adjusted if you upgrade or import a Support Package. Before you can change the program, you must request a key for the object. You can perform the modification immediately if you set the global setting for the system change option to "Modifiable". 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 want to supply your users with a transaction variant. Using transaction variants you can.... More than one answer is correct. .... change the flow logic of a screen. .... suppress individual fields. .... suppress entire screens. .... have transactions run in the background. .... reduce the complexity of transactions.
You wish to adapt the SAP standard software to the needs of the customer. Wich of the following methods should you preferably use? More than one answer is correct. Customizing. Modification of SAP Objects. Customer's own developments. Enhancement concept.
Assuming a customer has modified SAP objects in the customer system, wich activities are requiered at release upgrade or when applying a Support Package? More than one answer is correct. ABAP Dictionary objects are not handled separately. After each upgrade, the new SAP object is available as an active version. Only ABAP dictionary tables, data elements, and domains are adjusted during the upgrade. 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.
Assuming a customer has modified SAP objects in the customer system, which activities are requiered at release upgrade or when applying a Support Package? More than one answer is correct. ABAP dictionary objects are not handled separately. After each upgrade, the new SAP object is available as an active version. Only ABAP dictionary tables, data elements, and domains are adjusted during the upgrade. 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.
You wish to use BTE to enhance an SAP application. Wich statements apply? BTEs allow you to call additional components in other system. You can define yourself where an event will be called in the SAP application. A BTE interface can be used repeatedly. BTEs are called on a cross-client basis. BTEs allow you to link up additional components to the SAP standard system.
Where can you set the status and the title for a modal dialog box (popup)? At the event TOP-OF-PAGE. In a PBO module of the corresponding screen. In the attributes of the corresponding screen. In a PAI module of the corresponding screen.
You have created a screen with 5 radio buttons. How do you ensure that only one radio button is selected at a time? Combine all the radio buttons into a group. Create a common function code for all the radio buttons. Enclose all the radio buttons into a frame. Assign all the radio buttons to the same modification group.
Which condition must be fulfilled in a programmed check so that a screen imput field is made ready for input again? More than one answer is correct. The check module must be called using: FIELD xxxxx MODULE module_name. The check module must be called using: FIELD xxxxx MODULE module_name MESSAGE Ennn. An I-type message must be output. The module must output an E-type message or a W-type message.
You want to have the system branch to list processing from within a screen. Wich of the following statements apply here? The list buffer must first be read (READ LIST). You have to program the command LEAVE TO LIST-PROCESSING. You must place the command LEAVE TO LIST-PROCESSING at the end of the PAI of the respective screen. You have to program the two commands CALL SELECTION-SCREEN <screen no> and LEAVE TO LIST-PROCESSING.
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? There is no way to do this; required entry fields must allways be filled first. You must switch off the required entry for the fields concerned within the LOOP AT SCREEN... ENDLOOP. The "Cancel" function must be type "E" and be handled in a module with the addition AT EXIT-COMMAND. The "Cancel" function must have the function code "BACK". No special actions are required.
Wich of the following statements about subscreens are correct? More than one answer is correct. You call subscreens using the screen command CALL SUBSCREEN. You call subscreens using the ABAP command CALL SUBSCREEN. Subscreens have their own OK code field. The statement LEAVE TO SCREEN is not allowed in subscreen flow logic.
Which of the following statements about context menus on screen is correct? All the elements of a screen always have the same context menu. You set context menus using the command SET PF-STATUS. The key combination Shift+F10 on a screen allways calls a context menu. You set context menus within a subprogram ON_CTMENU_<FORM>.
Which of the following statements about pushbuttons are correct? More than one answer is correct. Pushbuttons on a screen always have a corresponding function key. Pushbuttons in an application toolbar always have a corresponding function key. Pushbuttons in an application toolbar always have a function code. Pushbuttons with function code E cause program termination.
Which of the following statements about field transport between ABAP and screen are correct? More than one answer is correct. Name equivalence is imperative for field transport between ABAP and screen. Field transport from ABAP to the screen generally takes place before the first PBO module of the screen. Dictionary structures on the screen require a TABLES statement in ABAP. Field transport from the screen to ABAP is delayed if you have a FIELD statement.
Does a PAI occurs when you switch between tab pages whose titles have function type P in a tabstrip? Yes, if at least one PAI module exists for the subscreen container. Yes, if at least one required entry field exists on one of the tab pages. Yes, always. No.
Under which circumstances is a module with the addition ON CHAIN-INPUT executed? When exactly one field within the CHAIN has a value other than its initial value. When a new entry has been made for at least one field within the CHAIN. When the value of at least one field within the CHAIN is other than its initial value. When a new entry has been made for all fields in the chain.
What effect does the statement SUPPRESS DIALOG have in a PBO module of a screen. Processing is continued with the calling screen. Screen display is suppressed. Neither the respective PBO module nor any of the subsequent PBO modules are processed. The screen is displayed, but no inputs are possible. The screen in question is not called.
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? More than one answer is correct. The client field does not have to be explicitly executed in a secondary index, since it is added automatically by the database interface. Each table has exactly one primary index. The more secondary indexes you create, the more probable it is that the database will use a suitable index to access the database. 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.
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? More than one answer is correct. If you want to add an entry to a sorted table, the sort sequence must remain the same. You cannot 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 type of internal tables: standard, sorted, hashed and indexed tables.
In your application, you implement diverse calculations. In a calculation you use variables of data type F, P and I. Which arithmetic does the calculation follow? The ABAP runtime always use packed numbers for bussiness calculations. This means that this calculation is also carried out with packed numbers and, if necessary, the result is converted. Calculations are basically carried out in integral arithmetric. The result is converted to the type of result variables. If the arithmetric expression contains a data object of type F, calculations are basically carried out in floating point arithmetic.
What is the advantage of shared objects over import/export to shared memory/buffer? More than one answer is correct. Data in shared objects areas can be accessed directly, without the data having to be copied. Data in shared objects areas is compressed. In shared objects areas, networks of object references can be stored. 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. The costs of read 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 assigned with the READ.... ASSIGNING <fs> statement, the entrie in the internal table can be changed directly using this field symbol. The costs of read a data record from a hashed table do not depend on the number of entries in the 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 with dynamic elements. Wich of the statements are correct? More than one answer is correct. Data types cannot be created or contructed at runtime. The runtime type services classes enable type information to be determined at program runtime. You can access variables created using CREATE DATA only using field symbols. 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 want to develop a more complex application. For this purpouse, you want to use function modules to modularize the functionality. Which statements about function modules are correct? More than one answer is correct. In function groups, subroutines can be defined that can be called within the relevant function group. From a function module, you cannot execute a dialog; in particular you cannot send a screen. In function groups, global data can be defined. Data can be transferred to a function module using IMPORTING parameters only. You can create function modules in function groups only.
How is shared objects area accessed in ABAP? Using a special class. Using a special data type. Using a special database table.
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? More than one answer is correct. The SELECT SINGLE statement. Use of the IN statement in the WHERE condition. Use of subqueries in the WHERE condition. Use of a JOIN in the SELECT statement. SELECT with aggregate functions.
You have programmed a SELECT-ENDSELECT loop in table SBOOK, whereby approximately 1000 data records are read. How is the data transported from the database to the application server? In packages of equal size. Record by record. In blocks of varying lengths, depending on the network load.
Which of the following statements about functional methods are correct? More than one answer is correct. You can use functional methods directly in a WRITE statement. Functional methods have exactly one RETURNING parameter. Functional methods cannot have any EXPORTING or CHANGING parameters. You can use functional methods directly in an aritmethic expression.
Which of the following statements about interfaces are correct? More than one answer is correct. Using interface references, you can reference all the public components of an object that have been defined in the corresponding interface-implementing class. Interfaces represent a separation between an interface and implemetation (class), for which the client defines the protocol (interface) and the server (implementing class) implements it. Using interfaces you can simulate multiple inheritance. A client (caller) can use interface references to access all interface methods and thus achieve polymorphic behavior. Interfaces are used to call the static components of a class.
Using the statement CREATE OBJECT you can instantiate objects of a class. What situations can arise here? More than one answer is correct. The contents of the attributes of different objects in a class always contains the same content or value immediately after being created. You can preset different objects of a class with different values immediately when they are being created. All objects of the same class contain the same number of attributes and methods after being created. You define the type and number of attributes of an object through the corresponding class.
Which techniques are basic requirements for polymorphism? More than one answer is correct. Widening Cast. Redefinition of methods (for polymorphism through inheritance). Narrowing Cast. Implementation of methods of an interface in the respective classes (for polymorphism through interfaces).
What is an (instance) constructor. An instance method for controlling how much main memory is to be reserved for an object An instance method for initializing the attributes of an object, it is automatically called by the system during CREATE OBJECT. An instance attribute that is automatically given a unique identification by the system when an object is created.
Your program contains two classes, ca and cb, whereby class cb inherits data from class ca. In class ca, a public instance method ma 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 can contain the following coding: (More than one answer is correct) r_ca->mb( ) r_cb->ma( ) r_ca->ma( ) r_cb->mb( ).
What is allowed within class definitions? More than one answer is correct The TABLES statement. Typing with LIKE to ABAP Dictionary types. Typing with TYPE to ABAP Dictionary types. The definition of internal tables whithout header lines. The definition of internal tables with header lines.
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? More than one answer is correct. Both are declared using the DATA statement. In a static method, instance attributes can also be used, provided they are declared as READ ONLY. Static attributes exist only once for each class. Static methods can be called through the class: <class_name> => <method_name> Instance methods can use both static as well as instance components in their implementation part.
Which of the following statements about inheritance are correct? More than one answer is correct. Through inheritance, the protected attributes of the superclass 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 ME->. Through inheritance, the public attributes of the superclass 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->.
Typing is not always necesary in ABAP, for example, for interface parameters of a subrutine. Which of the following statements applies to ABAP objects? If you have numeric interface parameters in an ABAP object class, you can do without typing. To simplify writing the software and desing it, you can do without typing altogether within the ABAP objects classes. Typing is imperative for interface parameters of a method belonging to an ABAP objects class.
In global class CL_GUI_ALV_GRID that is delivered by SAP, the DBLCLICK_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 to the event? More than one answer is correct Write a habdling method for the event. Capture the event with the CATCH statement. Create your own class. Register on the event using the SET HANDLER statement.
Is it possible to increase the number of key fields in transparent tables that are already active? Yes, irrespective of whether the table alredy contains data or not. Yes. However, the table must not contain any data yet. No. Key changes are not allowed.
What advantages do logical databases offer? More than one answer is correct. The logical database provides a modifiable list structure. Authorization checks are performed at a central location in the logical database. Logical databases can be reused by several programs. You can perform database updates with the PUT statement. You do not have to program the database access themselves in the program.