option
My Daypo

AcademyQ

COMMENTS STADISTICS RECORDS
TAKE THE TEST
Title of test:
AcademyQ

Description:
Questions for Cerification

Author:
hEcKSaNz
(Other tests from this author)

Creation Date:
06/06/2012

Category:
Computers

Number of questions: 172
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.
Name the type of ABAP Dictionary table that has these characteristics: Same number of fields as the database table Same name as database table Maps 1:1 to database table Pooled Cluster Transparent View.
What is the system field for the current date? SY-DATUM SY-DATE SY-DATID SY-SDATE.
You may change the following data object as shown below so that it equals 3.14. CONSTANTS: PI type P decimals 2 value '3.1' PI = '3.14'. TRUE FALSE.
Which of these sentences most accurately describes the GET VBAK LATE. event? This event is processed before the second time the GET VBAK event is processed This event is processed after all occurrences of the GET VBAK event are completed This event will only be processed after the user has selected a basic list row This event is only processed if no records are selected from table VBAK.
TO include database-specific SQL statements within an ABAP program, code them between NATIVE SQL_ENDNATIVE DB SQL_ENDDB SELECT_ENDSELECT EXEC SQL_ENDEXEC.
When a secondary list is being processed, the data of the basic list is available by default TRUE FALSE.
After a DESCRIBE TABLE statement SY-TFILL will contain The number of rows in the internal table The current OCCURS value Zero, if the table contains one or more rows The length of the internal table row structure.
After adding rows to an internal table with COLLECT, you should avoid adding more rows with APPEND TRUE FALSE.
A dictionary table is made available for use within an ABAP program via the TABLES statement TRUE FALSE.
What must you code in the flow logic to prevent a module from being called unless a field contains a non-initial value (as determined by its data type)? ON INPUT CHAIN FIELD ON REQUEST.
In regard to a function group, which of the following is NOT a true statement? Combines similar function modules Shares global data with all its function modules Exists within the ABAP workbench as an include program Shares subroutines with all its function modules.
In regard to data transported in PAI when the FIELD statement is used, which of the following is NOT a true statement? Fields in PBO are transported directly from PAI Fields with identical names are transported to the ABAP side Fields not defined in FIELD statements are transported first Fields that are defined in FIELD statements are transported when their corresponding module is called.
A field declared as type T has the following internal representation SSMMHH HHMMSS MMHHSS HHSSMM.
Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked? AT USER-COMMAND AT PFn AT SELECTION-SCREEN END-OF-SELECTION.
The following program outputs what? report zjgtest1 write: /1 'Ready_'. PARAMETER: test. INITIALIZATION. write: /1 'Set_'. START-OF-SELECTION. write: /1 'GO!!'. Set_ GO!! (each on its own line) Set_ Ready_ GO!! (all on their own lines) Ready_ GO!! (each on its own line) Ready_ Set_ GO!! (all on their own lines).
An internal table that is nested within another internal table should not contain a header line. TRUE FALSE.
To select all database entries for a certain WHERE clause into an internal table in one step, use... SELECT_INTO TABLE itab_ SELECT_INTO itab_ SELECT_APPENDING itab SELECT_itab_.
This selection screen syntax forces the user to input a value REQUIRED-ENTRY OBLIGATORY DEFAULT SELECTION-SCREEN EXCLUDE.
If this code results in an error, the remedy is: SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3. WRITE: /1 tab1-fld1, tab1-fld2. ENDSELECT. Add a SY-SUBRC check Change the WHERE clause to use fld1 or fld2 Remove the /1 from the WRITE statement Add INTO (tab1-fld1, tab1-fld2).
To allow the user to enter values on the screen for a list field, use: OPEN LINE SET CURSOR FIELD WRITE fld AS INPUT FIELD FORMAT INPUT ON.
To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the data declaration for the field? PBO module include program TOP include program PAI module include program Subroutine include program.
The system internal table used for dynamic screen modification is named: ITAB SCREEN MODTAB SMOD.
The system internal table used for dynamic screen modification is named: SY-CUCOL SY-LILLI SY-CUROW SY-LISEL.
For the code below, second_field is of what data type? DATA: first_field type P, second_field like first_field. P C N D.
A BDC program is used for all of the following except: Downloading data to a local file Data interfaces between SAP and external systems Initial data transfer Entering a large amount of data.
What is the transaction code for the ABAP Editor? SE11 SE38 SE36 SE16.
Database locks are sufficient in a multi-user environment. TRUE FALSE.
In regard to LEAVE, which of the following is NOT a true statement? May be used to return immediately to a calling program May be used to stop the current loop pass and get the next May be used to start a new transaction May be used to go to the next screen.
The ABAP statement below indicates that the program should continue with the next line of code if the internal table itab: CHECK NOT itab[] IS INITIAL. Contains no rows Contains at least one row Has a header line Has an empty header line.
To allow the user to enter a range of values on a selection screen, use the ABAP keyword DATA RANGES PARAMETERS SELECT-OPTIONS.
Assuming an internal table contains 2000 entries, how many entries will it have after the following line of code is executed? DELETE itab FROM 1500 TO 1700. This is a syntax error 1801 1800 1799.
All of the following may be performed using SET CURSOR except Move the cursor to a specific field on a list Move the cursor to a specific list line Move the cursor to a specific pushbutton, activating that function Move the cursor to a specific row and column on a list.
Coding two INITIALIZATION events will cause a syntax error TRUE FALSE.
To save information on a list line for use after the line is selected, use this keyword APPEND EXPORT WRITE HIDE.
Within a function module's source code, if the MESSAGE_RAISING statement is executed, all of the following system fields are filled automatically except SY-MSGTY SY-MSGNO SY-MSGV1 SY-MSGWA.
The ______________ type of ABAP Dictionary view consists of one or more transparent tables and may be accessed by an ABAP program using Open SQL Database view Projection view Help view Entity view.
The output for the following code will be: report zabaprg. DATA: char_field type C. char_field = 'ABAP data'. WRITE char_field. ABAP data A Nothing, there is a syntax error None of the above.
The event AT SELECTION-SCREEN OUTPUT. occurs before the selection screen is displayed and is the best event for assigning default values to selection criteria. TRUE FALSE.
Assuming tab1-fld7 is not a key field, how can you prevent reading all the table rows? SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6) WHERE fld7 = pfld7. WRITE: /1 fld4, fld5, fld6. ENDSELECT. Take fld7 out of the WHERE clause Create an index in the ABAP Dictionary for tab1-fld7 Use INTO TABLE instead of just INTO Take the WRITE statement out of the SELECT_ENDSELECT.
When creating a transparent table in the ABAP Dictionary, which step automatically creates the table in the underlying database? Adding technical settings to the table Checking the table syntax Saving the table Activating the table.
If this code results in an error, the remedy is: SELECT fld1 SUM( fld1 ) FROM tab1 INTO_ select sum(fld1) fld1 from…. Remove the spaces from SUM( fld1 ) Move SUM( fld1 ) before fld1 Add GROUP BY f1 Change to SUM( DISTINCT f1 ).
Assuming itab has a header line, what will be output by the following code? READ TABLE itab INDEX 3 TRANSPORTING field1. WRITE: /1 itab-field1, itab-field2. The contents of the third row's itab-field1 The contents of the third row's itab-field1 and itab-field2 The contents of the third row's itab-field2 Nothing.
Which statement will sort the data of an internal table with fields FRUIT, QTY, and PRICE so that it appears as follows? FRUIT QTY PRICE Apples 12 22.50 Apples 9 18.25 Oranges 15 17.35 Bananas 20 10.20 Bananas 15 6.89 Bananas 5 2.75 SORT itab DESCENDING BY QTY PRICE SORT itab BY PRICE FRUIT SORT itab SORT itab BY PRICE DESCENDING.
To read a single line of an internal table, use the following LOOP AT itab. _ ENDLOOP READ itab SELECT SINGLE * FROM itab READ TABLE itab.
Given: PERFORM subroutine USING var. The var field is known as what type of parameter? Formal Actual Static Value.
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 wether 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. Class_name=”CL_DOCUMENT” 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? 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.
In regard to CALL, which of the following is NOT a valid statement? CALL FUNCTION CALL SCREEN CALL TRANSACTION CALL PROGRAM.
An event starts with an event keyword and ends with END-OF-EVENT Another event keyword END-EVENT.
The following code indicates: SELECT fld1 fld2 FROM tab1 APPENDING TABLE itab WHERE fld1 IN sfld1 Add rows to the existing rows of itab Add rows to itab after first deleting any existing rows of itab Select rows from tab1 for matching itab entries Nothing, this is a syntax error.
The SAP service that ensures data integrity by handling locking is called Update Dialog Enqueue/Dequeue Spool.
Which of the following is not a true statement in regard to a hashed internal table type? Its key must always be UNIQUE May only be accessed by its key Response time for accessing a row depends on the number of entries in the table Declared using internal table type HASHED TABLE.
To measure how long a block of code runs, use the ABAP statement GET TIME SET TIME FIELD GET RUN TIME FIELD SET CURSOR FIELD.
Given: DATA: BEGIN OF itab OCCURS 10, qty type I, END OF itab. DO 25 TIMES. itab-qty = sy-index. APPEND itab. ENDDO. LOOP AT itab WHERE qty> 10. WRITE: /1 itab-qty. ENDLOOP. This will result in: Output of only those itab rows with a qty field less than 10 Output of the first 10 itab rows with a qty field greater than 10 A syntax error None of the above.
You may declare your own internal table type using the TYPES keyword TRUE FALSE.
Which of the following is not a component of control break processing when looping at an internal table? AT START OF AT FIRST AT LAST AT NEW.
Which of the following would be best for hiding further selection criteria until a function is chosen? AT NEW SELECTION-SCREEN SELECTION-SCREEN AT LINE-SELECTION SUBMIT SELECTION-SCREEN CALL SELECTION-SCREEN.
The AT USER-COMMAND event is triggered by functions defined in the __________. screen painter ABAP report menu painter status ABAP Dictionary.
In regard to SET PF-STATUS, you can deactivate unwanted function codes by using ________. EXCLUDING IMMEDIATELY WITHOUT HIDE.
The order in which an event appears in the ABAP code determines when the event is processed TRUE FALSE.
Which of the following is NOT a component of the default standard ABAP report header? Date and Time List title Page number Underline.
In regard to field selection, what option of the SELECT statement is required? FOR ALL ENTRIES WHERE INTO MOVE-CORRESPONDING.
To declare a selection criterion that does not appear on the selection screen, use NO-DISPLAY INVISIBLE MODIF ID OBLIGATORY.
What is output by the following code? DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab. itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab. itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab. LOOP AT itab. SY-TABIX = 2. WRITE itab-letter. EXIT. ENDLOOP. A A B C D B B C D.
After a successful SELECT statement, what does SY-SUBRC equal? 0 4 8 Null.
If the following code results in a syntax error, the remedy is: DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1 WITH HEADER LINE. itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab. itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab. SORT itab. LOOP AT itab. write: /1 itab-field1, itab-field2. ENDLOOP. There is no syntax error here Remove the SORT statement Change INSERT to APPEND Add a WHERE clause to the loop.
When modifying an internal table within LOOP AT itab. _ ENDLOOP.you must include an index number TRUE FALSE.
Before a function module may be tested, it must first be Linked Authorized Released Active.
If a table contains many duplicate values for a field, minimize the number of records returned by using this SELECT statement addition MIN ORDER BY DISTINCT DELETE.
Within the source code of a function module, errors are handled via the keyword EXCEPTION RAISE STOP ABEND.
The following statement writes what type of data object? WRITE: /1 'Total Amount:'. Text literal Text variable In-code comment Text integer.
Which of the following describes the internal representation of a type D data object? DDMMYYYY YYYYDDMM MMDDYYYY YYYYMMDD.
In regard to PERFORM, which of the following is NOT a true statement? May be used within a subroutine Requires actual parameters Recursive calls are allowed in ABAP Can call a subroutine in another program.
In regard to HIDE, which of the following is NOT a true statement? Saves the contents of variables in relation to a list line's row number The hidden variables must be output on a list line The HIDE area is retrieved when using the READ LINE statement The HIDE area is retrieved when an interactive event is triggered.
The complete technical definition of a table field is determined by the field's Domain Field name Data Type Data Element.
The following code indicates: SELECT fld6 fld3 fld2 fld1 FROM tab1 INTO CORRESPONDING FIELDS OF TABLE itab WHERE fld3 = pfld3. The order of the fields in itab does not matter Fill the header line of itab, but not the body Table itab can only contain fields also in table tab1 None of the above.
What will be output by the following code? DATA: BEGIN OF itab OCCURS 0, fval type i, END OF itab. itab-fval = 1. APPEND itab. itab-fval = 2. APPEND itab. FREE itab. WRITE: /1 itab-fval. 2 0 blank 1.
If an internal table is declared without a header line, what else must you declare to work with the table's rows? Another internal table with a header line A work area with the same structure as the internal table An internal table type using the TYPES statement A PARAMETER.
To remove lines from a database table, use _________. UPDATE MODIFY ERASE DELETE.
When is it optional to pass an actual parameter to a required formal parameter of a function module? The actual parameter is type C The formal parameter contains a default value The formal parameter's \"Reference\" attribute is turned on It is never optional.
Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for improving performance TRUE FALSE.
To bypass automatic field input checks, include this in PAI AT EXIT-COMMAND ON INPUT ON REQUEST LEAVE TO SCREEN 0.
The following code indicates: REPORT ZLISTTST. START-OF-SELECTION. WRITE: text-001. FORMAT HOTSPOT ON. WRITE: text-002. FORMAT HOTSPOT OFF. AT LINE-SELECTION. WRITE / text-003. Text-002 may not be selected The value of text-002 is stored in a special memory area. Text-002 may be clicked once to trigger the output of text-003 None of the above.
A concrete field is associated with a field-symbol via ABAP keyword MOVE WRITE ASSIGN VALUE.
Page footers are coded in the event TOP-OF-PAGE END-OF-SELECTION NEW-PAGE END-OF-PAGE.
The TABLES statement declares a data object TRUE FALSE.
Which of the following is NOT a required attribute when creating an ABAP program? Application Title Status Type.
Within the ABAP program attributes, Type = 1 represents INCLUDE program Online program Module pool Function group Subroutine pool.
Which keyword adds rows to an internal table while accumulating numeric values? INSERT APPEND COLLECT GROUP.
The following code indicates: SELECTION-SCREEN BEGIN OF BLOCK B1. PARAMETERS: myparam(10) type C, Myparam2(10) type N, SELECTION-SCREEN END OF BLOCK. Draw a box around myparam and myparam2 on the selection screen. Allow myparam and myparam2 to be ready for input during an error dialog Do not display myparam and myparam2 on the selection screen Display myparam and myparam2 only if both fields have default values.
Which keyword adds a line anywhere within an internal table? APPEND MODIFY ADD INSERT.
Which Open SQL statement should not be used with cluster databases? UPDATE MODIFY DELETE INSERT.
This flow logic statement is used to make multiple fields open for input after an error or warning message GROUP FIELD-GROUP CHAIN LOOP AT SCREEN.
Report abuse Terms of use
HOME
CREATE TEST
COMMENTS
STADISTICS
RECORDS
Author's Tests