Abap

INFO
STADISTICS
RECORDS
Title of test:
Abap

Description:
ABAP Exam Test

Author:
Chanapa
(Other tests from this author)

Creation Date:
12/07/2017

Category:
Computers
Click 'LIKE' to follow the bests test of daypo at facebook
Last comments:
No comments about this test.
Make a comment?
Login at daypo to comment the test.
Content:
Which statements are allowed if you are working with an internal table of the type SORTED? (2 Correct Answer) SORT APPEND MODIFY COLLECT READ.
Which of the following ABAP statements create a list for executable programs? (3 Correct Answer) SKIP WRITE PERFORM CLEAR ULINE.
Which of the following statements are correct? (4 Correct Answer) You can select from several database tables using a database view or a join. A secondary index for non-key fields generally works like a primary index for key fields. A key field in a database table uniquely identifies a data record. The client field is a selective field and should therefore always be specified in the WHERE condition for SELECT. The OPEN SQL statements are converted into database-specific statements by the database interface. .
What do you get when you refer to a client-specific transparent table in the Dictionary if you have a data definition with TABLES? A structured work area (line). A field. An internal table.
In program P, the SUBMIT statement is used to call report R. How can you pass data from P to R? (3 Correct Answer) Using the SET/GET parameters. By passing parameters using additions in the SUBMIT statement. Using the ABAP memory. By declaring the data objects with the same name in both programs, using the DATA statement. .
Which of the following statements about the SELECT statement are correct? (2 Correct Answer) With SELECT SINGLE access, the result is one data record maximum. The SELECT statement supports the return code (SY-SUBRC). With SELECT...ENDSELECT access. the result is one data record maximum. The SELECT statement always reads the data into the SAP memory first. With SELECT...INTO TABLE access, the result is one data record maximum. .
Which of the following statements about data types, data objects, and field symbols are correct? (3 Correct Answer) If you change the value of a field symbol, the value of the data object to which the field symbol is assigned also changed. A field symbol always reference a data element. You can no longer create data objects at runtime(dynamically) since the ABAP runtime system combines all the declarative statements in on processing block and executes these first. A field symbols only references a data object after the latter has been assigned to the field symbols using the ASSIGN statement. You can change the type of the assigned data object using the CASTING-TYPE addition for the ASSIGN statement. .
Which of the following statements about internal tables is correct? Key access to an internal table of the type STANDARD generally has even less runtime consumption than index access. Index access to an internal table of type SORTED will, in certain cases, violate the sort sequence. Access to nested internal tables using field symbols usually increase performance. Index access to an internal table of the type HASHED has less runtime consumption. You can perform a binary search on internal tables of the type SORTED using the addition BINARY SEARCH only. .
You want a subroutine U to have a formal parameter P that is used to return a value. Which of the following definitions of U would you use to ensure that the value is passed back to the calling program only if the processing of U ends normally and is not terminated with a MESSAGE statement? FORM U CHANGING VALUE(P). FORM U CHANGING P. FROM U USING P. LOCAL P. FROM U USING p. FORM U USING VALUE(P). .
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 line? A MESSAGE E...statement An AUTHORITY-CHECK statement that return code SY-SUBRC NE 0. A MESSAGE I...statement. .
Which of the following events generate lists? PROCESS BEFORE OUTPUT START-OF-SELECTION. AT SELECTION-SCREEN. INITIALIZATION. AT LINE-SELECTION. .
Which component of an application sever controls the data traffic between a work process and a presentation server? Dispatcher. SAPGUI. Front-end processor. Message Handler. Screen processor. .
For which tasks is the database interface responsible? (3 Correct Answer) Syntax check of "native" SQL commands. Conversion of Open SQL statement from ABAP statements into the corresponding database statements. Data consistency check with respect to foreign key relationships. Database independence of application programs. Usage of the SAP buffers. .
Which SAP GUI types are there? (3 Correct Answer) SAP GUI for Windows SAP GUI for HTML. SAP GUI for Web AS. SAP GUI for ITS. SAP GUI for Java. .
Where can you have automatic input checks against the check table? For input fields on screens if the input fields have been copied from the Dication into the Screen Painter. For input fields on ABAP lists. For input fields on selection screens. .
Is it possible to increase the number of key fields in transparent tables that are already active? No, Key changes are not allowed. Yes, irrespective of whether the table already contains data or not. Yes, However, the table must not contain any data yet. .
Which of the following statements about APPEND structures are true? After adding an APPEND structure to a table, you must convert the table. You can use an APPEND structure like any other structure in ABAP programs. ? An APPEND structure allow you to append field to an SAP table without having to modify the table itself. An APPEND structure is the same as substructure. .
Which of the following statements apply to a database view? (2 Correct Answer) A database view supplies the results quantity of an outer join logic. Using a database view, you can read data from several tables. Using a database view, you can insert data into several tables. A database view is a special view of transparent tables. A database view can have one or several base tables. .
The search help function know various link options in the ABAP dictionary. Which of the following statements apply? (2 Correct Answer) 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). 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). 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. If the search help function is linked to a table A. this search help is displayed whenever there are input field from A on the screen. If the search help function is linked to a table A. this search help displayed whenever there are input fields on that screen that have A as the check table. .
Which statements about parameters for an elementary search help apply? (3 Correct Answer) Parameters can be displayed on the result list. Parameters must be fields from the selection method only. Import parameters control which data can be included in the data selection. Export parameters control which data can be returned to the input template. A parameter is either an import or an export parameter .
Which of the following statements about indexes are correct? (3 Correct Answer) The primary index consists of the key fields of the database table. An Index can be assigned to several database tables. A database table can have more than one index. Using an index speeds up data selection from a table. .
For what purpose are foreign key (FK) defined in the ABAP Dictionary? (2 Correct Answer) For the purpose of data consistency: when you active the table the FKs are created in the database. You thus prevent invalid data from getting into the table. For the propose data consistency: when you maintain data records using dialog transaction (screens). The input values are automatically check in accordance with the FKs. FKs are used solely for documenting table relationships. .
In which of the following table types is there a one-to-one relationship between the table defined in the ABAP Dictionary and relevant physical table in the database? Cluster table Pooled table Structure Transparent database table. .
What is allowed within class definitions? (2 Correct Answer) Typing with LIKE to ABAP Dictionary types. The definition of internal tables with header lines. The TABLES statement. The definition of internal tables without header lines. Typing with TYPE to ABAP Dictionary types. .
Which techniques are basic requirements for polymorphism? (3 Correct Answer) Narrowing Case. Redefinition of methods (for polymorphsim through inheritance). Widening Cast. Implementation of methods of an interface in the respective classes (for polymorphism through interfaces). .
Which of the following statements about interfaces are correct? (3 Correct Answer) Interfaces actually stand for an interface (protocol) between a client (interface user) and a server (implementing class). Interfaces are used to call static components of a class. Using interface references you can reference all the public components of an object that have been defined in the corresponding interface-implementing class. A client (caller) can use interface reference to access all methods of the interfaces and thus archive polymorphism behavior. Using interfaces you can simulate multiple inheritance.
Using the statement CREATE OBJECT you can instantiate objects of a class. What situations can arise here? (3 Correct Answer) All objects of the same class contain the same number of attributes and methods after being created. You can preset different objects of a class with different values immediately when they are being created. The contents of the attributes of different objects in a class always contain the same content or value immediately after being created. You define the type and number of attributes of an object through the corresponding class. .
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 option do you have to create an object of the class cl_docment? (3 Correct Answer) CREATE OBJECT ref_cl. CREATE OBJECT ref_if TYPE cl_document. CREATE OBJECT ref_if. DATA class_name TYPE string. class_name = "CL_DOCUMENT". CREATE OBJECT ref_if TYPE (class_name). .
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? (3 Correct Answer) In a static method, instance attributes can also be used, provided they are declared as READ ONLY. Instance methods can use both static as well as instance components in their implementation part. Both static as well as instance attributes are declared using the DATA statement. Static methods can be called through the class: <class_name>=><method_name>. Static attributes exist only once for each class. .
Which of the following statements about functional methods are correct? (3 Correct Answer) Functional methods cannot have any EXPORTING or CHANGING parameters. Functional methods have exactly one RETURNING parameter. You can functional methods directly in a WRITE statement. You can use functional methods directly in an arithmetic expression. .
Which of the following statements apply to the SAP grid control? (2 Correct Answer) Can only be implemented in module pools. Can only display single-line lists. Cannot print data. Provides standard functions such as sorting. Can only display structures from the Dictionary. .
Which access authorizations apply to friend relationships? (3 Correct Answer) A friend of a class access to the public attributes of the class allowing the friendship. A subclass of a friend class has automatic access to the private attributes of the class allowing the friendship. A friend of a class has access to the private attributes of the class allowing the friendship. The allowing of a friendship is not inherited. .
Which statements in connection with methods are correct? (2 Correct Answer) You can call methods in ABAP objects in the same way as function modules. You can call methods only within ABAP Objects classes. Like form routines or function modules, methods are a means to modularize software. Similar to the case with function modules, you have the option with methods of marking parameters as "optional". .
SE24 If you have a "Singleton Pattern", you must ensure that only one object can be created from a cl_singleton class. What mechanisms must you avail of here? (5 Correct Answer) The singleton class must have a class method implemented in which the CREATE OBJECT call is programmed for this one object. The singleton class must have the addition CREATE PRIVATE in the definition part. In the singleton class, there must be an even defined that is triggered when the first and only object is created and also prevents further objects of this class from being created. The singleton class must have an instance method implemented in which the CREATE OBJECT call is programmed for this one object. The CREATE OBJECT call for this one object can take place in the class constructor of the singleton class. .
The reference ME is defined by the system and has the following function. You use the reference ME within a class solely to reference the private methods of the class itself. You use the reference ME within a class to call attributes and methods of the class itself. You use the reference ME within a class solely to reference the private attributes of the class itself. .
In a OO transaction, a transaction code is assigned to a method of a global class CL_A. Afterwards, this method can be called directly using the transaction code. What limitation exists with regard to the (instance) constructor of this class CL_A? The constructor must not have any importing parameters. There is no limitation. The constructor must be defined in the protected section.
Which of the following statements about inheritance are correct? (2 Correct Answer) Through inheritance, the public attributes of the super class are inherited to the subclass. Through inheritance, the private attributes of the super class are inherited to the subclass and they can be addressed in the subclass directly using "ME->". Through inheritance, the protected attributes of the super class are inherited to the subclass. Through inheritance, the private attributes of the super class are inherited to the subclass and they can be addressed in the subclass directly using "THIS->". .
Typing is not always necessary in ABAP, for example, for interface parameters of a subroutine. Which of the following statements applies to ABAP objects? Typing is imperative for interface parameters of a method belonging to an ABAP objects class. To simplify writing the software and design it clearly, you can do without typing altogether within the ABAP object classes. If you have numeric interface parameter in an ABAP Objects class. You can do without typing. .
What is a (instance) constructor? An instance attribute that is automatically given a unique identification by the system when an object is created. An instance method for initializing the attributes of an object; it is automatically called by the system during CREATE OBJECT. An instance method for controlling how much main memory is to be reserved for an object. .
Which statements apply to dialog program? If you are using asynchronous update, the database changes are executed directly from the program If you are using asynchronous update, the statement COMMIT WORK is not required because it is executed implicitly after each screen change. In the PAI of each screen, you must use the statement COMMIT WORK. If an inline change has resulted in an error, the statement ROLLBACK WORK must be listed in the last screen in order to rollback the entire SAP LUW. All inline change must be done in the PAI of the last screen in order to ensure the rollback ability of the SAP LUW. .
What can you do to undo database changes executed beforehand in a dialog? (T/F) (2 Correct Answer) Output a termination message.(ABORT, X) Analyze the log record. Output an error message. Perform a ROLLBACK WORK. Raise an exception. .
Which of the following steps should be carried out in a transaction that implements an updating technique? Call the ABAP command COMMIT WORK. Unlock the data record that is to be updated Lock the data record that to be update. Read the data record that is to be update. Pass the changes entered by the user to the update process. .
You call an update function using CALL FUNCTION ... IN UPDATE TASK. At what time are the values of the function parameters determined? At the end of the dialog step. at the start of the V1 update. At the time of the call At the start of function execution. At COMMIT WORK. .
You are writing a transaction to update a database table. Which of the following elements must the program contain? (3 Correct Answer) A logical database. A table buffer refresh on the application server. A call for ENQUEUE/DEQUEUE fuction modules. An AUTHORITY-CHECK statement. A call for an update function module in the case of time-consuming changes. .
What are the main reasons for using update techniques? (3 Correct Answer) To log the database changes. To achieve delayed implementation of database changes. To collect database change requests from several dialog step in order to process them or delete them together. To create reusable modules for database changes. To relieve the load on the dialog work processes. .
What happens if you have a CALL TRANSACTION statement? (4 Correct Answer) The update process triggered by the called transaction can be executed asynchronously or synchronously, as required. The called transaction is processed in a separated database LUW. Processing of the calling program will be continued at the end of the transaction. Another internal session is opened for the transaction. .
Which sub objects can an SAP enhancement contain? (T/F) (4 Correct Answer) Menu exits. Screen exits. Append Structures. Function module exits. User exits. .
You want to supply your users with a transaction variant. Using transaction variants you can … (T/F) (3 Correct Answer) ... have transaction run in the background. ... change the flow logic of a screen. ... reduce the complexity of transactions. ... suppress individual fields. ... suppress entire(a) screens. .
Which of the following statements apply to table appends? (T/F) (3 Correct Answer) There can be several append structures for one table. If you copy a table to which an append structure has been added, the fields in the append structure become standard fields in the table. When you active the table, all the active append structure of the table are established and appended to the table in the database. An append structure can be assigned to several tables. .
You wish to use a Business Transaction Event (BTE) to enhance an SAP application. Which statement applies? (T/F) (2 Correct Answer) BTEs are called on a cross-client basis. BTEs allow you to call additional components in other systems. BTEs allow you to link up addtional components to the SAP standard system. BTEs interface can be used repeatedly. .
You wish to modify an SAP program. What do you need to watch out for? (T/F) (3 Correct Answer) If a user has modified an SAP object and SAP delivers a new version of the object in a release upgrade of Support Package, the modified object must be adjusted during the upgrade. You can perform the modification immediately if you set the global setting for system modifiability to "Modifiable". RZ11(CONFIGURATION) There R/3 System does not allow modifications by user DDIC or SAP*. You can change application programs delivered by SAP without registration using the Modification Assistant. Before you can change the program, you must request a key for the object in the SAP New Web front-end. .
You wish to adapt the SAP standard software to the needs of the customer. Which of the following methods should you preferably use? (T/F) (2 Correct Answer) Customizing. Modification of SAP objects. Enhancement concept. Customer's own developments. .
Assuming a customer has modified SAP objects in the customer system, which activities are required at release upgrade or when applying a Support Package? (T/F) (3 Correct Answer) No manual operations are necessary. Everything is performed automatically. ABAP Dictionary objects are not handled separately. The modified objects must be adjusted to match the standard version whenever SAP delivers new versions of the objects. After each upgrade, the new SAP objects is available as an active version. Only ABAP Dictionary tables, data elements, and domain are adjusted during the upgrade. .
You wish to use a Business Add-In (BAdI) in order to enhance an SAP application. Which of the following statements are correct? (2 Correct Answer) A BAdi always has exactly one interface in which the methods of the enhancement are defined. More than one implementation can exist event for BAdis that are not used on multiple basis. BAdis can contaion menu enhancements. If a defualt implementation exists for a BAdi. this will always be run. If you have filter-dependent BAdis, there can always be only one active implementation for a filter value. .
How do you output icons on an ABAP list You must enter the include <icon> in the program and also specify the addition AS ICON in the WRITE statement. You must enter include <system> in the program. You must specify the addition FORMAT AS ICON is the WRITE statement. .
How do you ensure there will be the correct number of decimal places for currency amounts on an ABAP list output? By maintaining the corresponding customizing table and by using the addition CURRENCY in the WRITE statement. his take place automatically, provided the checkbox 'CURRENCY output' is ticked in the program attributes. By saving the currency amounts with decimal place in the database. .
You want to output the string "Name:" in line 20, column 10 on the first page of a list, and the string "Address" immediately below it, the page should otherwise remain blank (no header). Which of the following reports can you use to achieve this? (T/F) (2 Correct Answer) REPORT TEST NO STANDARD PAGE HEADING. skip to line 20. position 10. write:/ ‘Name:’, /’Address’. REPORT TEST NO STANDARD PAGE HEADING. skip to line 20. position 10. write:/ ‘Name:’, /’Address:’ under "Name’. REPORT TEST NO STANDARD PAGE HEADING. skip to line 20. position 10. write: / 'Name:'. write /'Address:'.’. REPORT TEST NO STANDARD PAGE HEADING. skip to line 20. position 10. write:/ "Name:", /10 "Address:". REPORT TEST. skip to line 20. position 10. write:/ "Name:", "Address" under "Name". REPORT TEST. skip to line 20. position 10. write:/ 'Name:', 'Address' under 'Name'. .
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 addition, node_02 has a hierarchically dependent node, node_21. You have the following statements in programs: NODES. (2 Correct Answer) NODE_00, Node_02 Node_21. NODE_00, Node_02, Node_21. NODE_00, Node_02. NODE_00, NODE_01, Node_02. .
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 addition, node_02 has a hierarchically dependent node, node_21. You have the following statements in programs: NODES. 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 executed each time after the event GET node_02. The event is not executed. The event is executed only if no data record is found for node_00. .
Dose a PAI occur 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 sub-screen container. Yes, if at least one required entry field exits on of the tab pages. No. Yes, always. .
Which of the following statements about context menus on screens is correct? All the elements of a screen always have the same context menu. You set context menus using the command set pf-status. You set context menus within a subprogram ON_CTMENU_<FORM>. The key combination Shift-F10 on a screen always calls a context menu. .
You want to have the system branch to list processing from within a screen. Which 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 have to program the two commands CALL SELECTION-SCREEN <screen no> and LEAVE TO LIST-PROCESSING. You must place the command LEAVE TO LIST-PROCESSING at the end of the PAI of the respective screen. .
Which of the following statements about pushbuttons are correct? Pushbuttons... (2 Correct Answer) On a screen always have a corresponding function key. In an application toolbar always have a corresponding function key. With function code E cause program termination. In an application toolbar always have a function code. .
What effect does the statement SUPPRESS DIALOG have in a PBO module of a screen? The screen is displayed. But no inputs are possible. Processing is continued with the calling screen. The screen in question is not called. Screen display is suppressed. Neither the respective PBO module nor any of the subsequent PBO modules are processed.
Which of the following statements about radio buttons is correct? For each screen, the user can choose only one radio button. Clicking a radio button always triggers a PAI. Only the selected radio buttons have the value 1 for PBO in the field SCREENACTIVE. For each radio button group, the user can choose only one radio button. .
Which of the following statements about sub-screens are correct? (T/F) You call sub-screens using the screen command CALL SUBSCREEN. You call sub-screens using the ABAP command CALL SUBSCREEN. (SCREEN COMMAND) The statement LEAVE TO SCREEN is not allowed in sub-screen flow logic. Sub-screens have their own OK code field. .
You have defined a screen with required entries. You want the "CANCEL" function to work event if all the required entry fields are not filled. How can you do this? The "Cancel" function must have the function code "BACK". There is no way to do this: required entry fields must always be filled first. No special actions are required. You must temporally 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. .
Which of the following statements about screens is correct? Only full-screens can have a subsequent screen. You can define screens only in programs of type M. On a screen, you can only output fields with Dictionary reference. You assign each screen to exactly one program. .
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 a PAI module of the corresponding screen. In the attributes of the corresponding screen. .
Which of the following statements about field transport between ABAP and screen are correct? (3 Correct Answer) 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. Field transport from the screen to ABAP is delayed if you have a FIELD statement. Dictionary structure on the screen requires a TABLES statement in ABAP. .
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. Assign all the radio buttons to the same modification group. Enclose all entire radio button in a frame. .
Under which circumstances is 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 a new entry has been made for all fields in the chain. When the value of at least one field within CHAIN is other than its initial value. .
Report abuse Terms of use
By using daypo, you agree that we and our partner companies can define cookies for different purposes, such as customize the content and advertising. To change the settings or more information: cookie policy.