0 penilaian0% menganggap dokumen ini bermanfaat (0 suara)
34 tayangan20 halaman
DBLCLICL_ROW_COL event is triggered when a cell in the list is double-clicked. What do you have to do in your program to respond the event? More than one answer is correct. Decide wether each answer is true or false.
DBLCLICL_ROW_COL event is triggered when a cell in the list is double-clicked. What do you have to do in your program to respond the event? More than one answer is correct. Decide wether each answer is true or false.
DBLCLICL_ROW_COL event is triggered when a cell in the list is double-clicked. What do you have to do in your program to respond the event? More than one answer is correct. Decide wether each answer is true or false.
1. 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 wich data is displayed in a lis using class CL_GUI_ALV_GRID What do you have to do in your program to respond the event? More than one answer is correct. Decide wether eache answer is true or false
TRUE/FALSE Create your own class TRUE/FALSE Capture the event with the CATCH statement TRUE/FALSE Write a handling method for the event TRUE/FALSE Register on the event using SET HANDLER statement
2. 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
TRUE/FALSE CREATE OBJECT ref_cl TRUE/FALSE CREATE OBJECT ref_if TYPE cl_document TRUE/FALSE CREATE OBJECT ref_it TRUE/FALSE DATA class_name TYPE string. Class_name=CL_DOCUMENT CREATE OBJECT ref_if TYPE (class_name).
3. Which of the following statements about functional methods are correct? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE Functional methods cannot have any EXPORTING or CHANGING parameters TRUE/FALSE Functional methods have exactly one RETURNING parameter TRUE/FALSE You can use functional directly en a WRITE statement TRUE/FALSE You can use functional methods directly use an arithmetic expression
4. Which of the following statements abaout interfaces are correct? More than one answer is correct. Decide wether each answer is true or false
TRUE/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. TRUE/FALSE A client (caller) can use interface to access all interface methods and thus active polymorphic behavior TRUE/FALSE Interface are used to call the static components of a class TRUE/FALSE Using interfaces, you can simulate herence multiple TRUE/FALSE Using interfaces, you can reference all the public components of an object that have been defined in the corresponding interface implementing class
5. 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 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. (UP-Cast)
Which of the following statements woul be syntactically correct after the above program component? More than one answer is correct. Decide wether each answer is true or false
6. What is allowed whithin class definitions? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE Typing with LIKE to ABAP Dictionary types TRUE/FALSE The definition of internal tables without header lines TRUE/FALSE The definition of internal tables with header lines TRUE/FALSE Typing with TYPE to ABAP Dictionary types TRUE/FALSE The TABLES statement
7. In the case of classes, we distinguis 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. Decide wether each answer is true or false
TRUE/FALSE In a static method, instance attributes can also be used, provided they are delcared as READ ONLY. TRUE/FALSE Static methods can be called through the class <class name> =><method name> TRUE/FALSE Instance methods can use both static as well as instance components in ther implementation part TRUE/FALSE Static attributes exist only once for each class TRUE/FALSE Both static as well as instance attributes are declared using the DATA statement
8. Which of the following statements about inheritance are correct? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE Through inheritance, the public attributes of the superclass are inherited to the subclass TRUE/FALSE Through inheritance, the private attributes of the supercalls are inherited to the subclass and they can be addressed in the subclass directly using ME-> TRUE/FALSE Through inheritance, the protected attributes of the supercalls are inherited to the subclass TRUE/FALSE Through inheritance the private attributes of the superclass are inherited to the subclass and they can be addressed in the subclass directly using THIS-> 9. 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 mehtod 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
10. Using the stament CREATE OBJECT you can instantiate objects of a class. What situations can arise here? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE All objects of the same class contain the same number of attributes and methods after being created TRUE/FALSE You can present different objects of a class with different values immediately after being created TRUE/FALSE The contents of the attributes of different objects in a class always contain the same contet or values immediately after being created TRUE/FALSE You define the type and number of attributes of an object through the corresponding class
11. Which techniques are basic requirements for polymorphism?
TRUE/FALSE Narrowing cast TRUE/FALSE Redifinition of methods (for polymorphism through inheritance) TRUE/FALSE Widening Cast TRUE/FALSE Implementation of methods of an interface in the respective classes (for polymorphism through interfaces)
12. 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 whitin 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
ABAP Workbench basis
13. Which of the following tables types do you choose for your internal table if it is to containg a large number of entries and to be read only via fully qualified key access? Choose the correct answer
STANDARD
HASHED
SORTED
14. Which of the following statements are correct? More than one answer is correct Decide wheter each answer is true or false
TRUE/FALSE The client field must always be specified in the WHERE condition for SELECT TRUE/FALSE A secondary index can help improve system performance for accesses to internal tables TRUE/FALSE A secondary index can help improve system performance accesses TRUE/FALSE Multiple database tables can be read using a database view or a join TRUE/FALSE The open SQL statements are converted into database-specific SQL statement by the database interface
15. Which of the following statements about data types and data objects are correct? More than one answer is correct Decide wheter each answer is true or false
TRUE/FALSE Data types can be defined in the ABAP Dictionary TRUE/FALSE A data type is a description of a variable TRUE/FALSE A data object is a variable TRUE/FALSE Data types can be defined only in the ABAP Dictionary TRUE/FALSE Data types can be defined in the program
16. 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 satus 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
17. 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
18. Which commands are allowed if you are working with an internal table of type SORTED?
19. Wich of the following statements about SELECT statement are correct? More than one answer is correct Decide whether each answer is true or false
TRUE/FALSE With SELECT SINGLE access, the result is one data record Maximum TRUE/FALSE The SELECT statement always read the data directly from the database, that is, it always bypasses the table TRUE/FALSE The return code of the SELECT statement is maintained in the system field SY- SUBRC TRUE/FALSE With ARRAY FETCH (SELECT INTO TABLE), the result is contained in an internal table TRUE/FALSE All records in the relevant table are read using a SELECT loop without a WHERE clause (SELECTENDSELECT)
20. DATA: itab TYPE tt_spfli. Parameters: pa_carr TYPE spfli-carrid. AUTHORITY-CHECK OBJECT S_CARRID IDCARRID FIELD pa_carr IDACTVT 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.
21. Which of the following ABAP statements generate a list in executable programs?
22. What is a table type in the ABAP Dictionary? Choose the correct answer
Description of a database table Database table with content Description of an internal table
23. 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)
24. Which of the following events are suitable for the generation lists? More than one answer is correct. Decide whether each answer
TRUE/FALSE GET events TRUE/FALSE INITIALIZATION TRUE/FALSE START-OF-SELECTION TRUE/FALSE AT LINE-SELECTION TRUE/FALSE AT SELECTION-SCREEN
Advanced ABAP
25. You have programmed a SELCET_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.
26. 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?
More than one answer is correct. Decide wheather each answer is true or false.
TRUE/FALSE From a function module, you cannot execute a dialog; in particular, you cannot send a screen. TRUE/FALSE Data can be transferred to a function module using IMPORTING parameters only. TRUE/FALSE You can create function module in function groups only. TRUE/FALSE In function groups, global data can be defined. TRUE/FALSE In function groups, subroutines can be defined that can be called within the relevant function group.
27. 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.
TRUE/FALSE In shared objects areas, networks of object references can be stored. TRUE/FALSE Data in shared objects areas is compressed. TRUE/FALSE Data in shared objects can be accessed directly, without the data having to be copied. TRUE/FALSE More data can always be saved in shared objects areas than in the shared memory/buffer.
28. You want to develop an application with dynamic elements. Which of the statements are correct? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE The runtime type services classes enable type information to be determined at program runtime. TRUE/FALSE You can use the CREATE TYPE statement to create data types at program runtime. TRUE/FALSE You can use the CREATE DATA statement to create variables at program runtime. TRUE/FALSE You can access variables created using CREATE DATA only using field symbols. TRUE/FALSE Data types cannot be created or constructed at program runtime.
29. Which statements about internal tables are correct? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE The costs for reading a data record from a hashed table do not depend on the number of entries in the table. TRUE/FALSE If a field symbol is assigned with the READASSIGNING <fs> statement, the entry in the internal table can be changed directly using this field symbol. TRUE/FALSE 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. TRUE/FALSE If a field symbol is used to access the content of an internal table, the data record is not copied to the work area.
30. How is the shared objects area accessed in ABAP? Choose the correct answer.
Using a special data type Using a special class Using a special database table
31. 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. Decide whether each answer is true or false.
TRUE/FALSE Each table has exactly one primary index. TRUE/FALSE For transparent tables, you can create up to two secondary indexes. TRUE/FALSE 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. TRUE/FALSE The more secondary indexes you create, the more probable it is that the database will use a suitable index to access the database. TRUE/FALSE The client field does not have to be explicitly executed in a secondary index since it is added automatically by the database interface.
32. 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. Decide whether each answer is true or false.
TRUE/FALSE You can not use an index to access hashed tables. TRUE/FALSE You can use the INSERT TABLE statement to add data records to all types of internal table. TRUE/FALSE There are four types of internal table: standard, sorted, hashed, and indexed tables. TRUE/FALSE 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. TRUE/FALSE If you want to add an entry to a sorted table, the sort sequence must remain the same.
33. 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. Decide whether each answer is true or false.
TRUE/FALSE Use of the IN operator in the WHERE condition. TRUE/FALSE Use of a JOIN in the SELECT statement. TRUE/FALSE SELECET with aggregate functions. TRUE/FALSE Use of subqueries in the WHERE condition. TRUE/FALSE The SELECT SINGLE statement.
34. 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? Choose the correct answer.
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.
SAP Technologies
35. 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).
36. For which tasks is the database interface responsible? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE Sytax check of native SQL commands. TRUE/FALSE Database independence of application programs. TRUE/FALSE Conversion of OPEN SQL statement from ABAP statement into the corresponding database statements. TRUE/FALSE Usage of the SAP buffers. TRUE/FALSE Data consistency check with respect to foreign key relationships.
Dialog Programming
37. Under which circumstances is a module with the addition ON CHAIN-INPUT executed? Please choose the correct answer.
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.
38. What effect does the statement SUPPRESS DIALOG have in a PBO module of a screen? Please choose the correct answer.
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.
39. Where can you set the status and the title for a modal dialog box (popup)? Please choose the correct answer.
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.
40. You have created a screen with 5 radio buttons. How do you ensure that only one radio button is selected at a time? Please choose the correct answer.
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.
41. Which of the following statements about the subscreens are correct? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE Subscreens have their own OK code field. TRUE/FALSE You call subscreens using the ABAP command CALL SUBSCREEN. TRUE/FALSE You call subscreens using the screen command CALL SUBSCREEN. TRUE/FALSE The statement LEAVE TO SCREEN is not allowed in subscreen flow logic.
42. Which of the following statements about context menus on screens is correct? Please choose the correct answer.
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>.
43. Which of the following statement about pushbuttons are correct? Pushbuttons More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE in an application toolbar always have a function code. TRUE/FALSE in an application toolbar always have a corresponding function key. TRUE/FALSE on a screen always have a corresponding function key. TRUE/FALSE with function code E cause program termination.
44. Which of the following statements about field transport between ABAP and screen are correct? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE Dictionary structures on the screen require a TABLES statement in ABAP. TRUE/FALSE Field transport from ABAP to the screen generally takes place before the first PBO module of the screen. TRUE/FALSE Name equivalence is imperative for field transport between ABAP and screen. TRUE/FALSE Field transport from the screen to ABAP is delayed if you have a FIELD statement.
45. 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? Please choose the correct answer.
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.
46. Which conditions must be fulfilled in a programmed check so that a screen input field is made ready for input again? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE An I-type message must be output. TRUE/FALSE The check module must be called using: FIELD field name MODULE check module MESSAGE Ennn. TRUE/FALSE The check module must be called using: FIELD field name MODULE check module. TRUE/FALSE The module must output an E-type message or a W-type message.
47. You want to have the system branch to list processing form within a screen. Which of the following statements apply here? Please choose the correct answer.
You must place the command LEATE 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.
48. Does a PAI occur when you switch between tab pages whose titles have function type P in a tabstrip? Please choose the correct answer.
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.
Database changes
49. 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. Decide whether each answer is true or false.
TRUE/FALSE Raise an exception. TRUE/FALSE Perform a ROLLBACK WORK. TRUE/FALSE Output an error message. TRUE/FALSE Analyze the log record. TRUE/FALSE Output a termination message.
50. Which statements apply to dialog programs that change databases? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE When the asynchronous update is used, the COMMIT WORK statement is not required, since it is executed implicitly after each screen change. TRUE/FALSE All inline changes must be executed in the PAI of the last screen in order to ensure the rollback capability of SAP-LUW. TRUE/FALSE In the PAI of each screen, you must use the COMMIT WORK statement. TRUE/FALSE When the asynchronous update is used, database changes are made directly by the program. TRUE/FALSE When the asynchronous update is used, database changes are made directly by the program. TRUE/FALSE 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.
51. What are the main reasons for using update techniques? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE To relieve the load on the dialog work processes. TRUE/FALSE To create reusable modules for database changes. TRUE/FALSE To collect database change request from several dialog steps in order to process them or delete them together. TRUE/FALSE To achieve delayed implementation of database changes. TRUE/FALSE To log the database changes.
52. You are calling an update function using CALL FUNCTION IN UPDATE TASK. At what event are the values of the function parameters detemined? Choose the correct answer
At the time of the call. At COMMIT WORK At the start of the function execution.
53. You are writing a transaction to update a database table. Which of the following elements should the program contain? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE A call for an update function module in the case of time-consuming changes. TRUE/FALSE An AUTHORITY-CHECK statement. TRUE/FALSE A call for ENQUEUE/DEQUEUE function modules. TRUE/FALSE The COMMIT WORK statement when using the update method. TRUE/FALSE Use of a logical database.
54. Why must logical SAP locks and not database locks be set in dialog programs to prevent concurrent data accesses? Choose the correct answer.
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.
55. Which of the following steps should be carried out in a transaction that implements an updating technique? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE the changes entered by the user to the update process. TRUE/FALSE Read the data record that is to be updated. TRUE/FALSE Lock the data record that is to be updated. TRUE/FALSE Unlock the data record that is to be updated. TRUE/FALSE Call the ABAP command COMMIT WORK.
56. Which statements about parameters for an elementary search help apply? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE A parameter is either an import or an export parameter. TRUE/FALSE Export parameters control which data can be returned to the input template. TRUE/FALSE Import parameters control which data can be included in the data selection. TRUE/FALSE Parameters must be fields from the selection method only. TRUE/FALSE Parameters can be displayed on the results list.
57.Which of the following statement apply to a database view? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE A database view can have one or several base tables. TRUE/FALSE A database view is a special view of transparent tables. TRUE/FALSE Using a database view, you can insert data into several tables. TRUE/FALSE Using a database view, you can read data from several tables. TRUE/FALSE A database view supplies the results quantity of an outer join logic.
58. The search help functions know various link options in the ABAP Dictionary. Which of the following statements apply? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE 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. TRUE/FALSE 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. TRUE/FALSE 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. TRUE/FALSE 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). TRUE/FALSE 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).
59. Which of the following statements about APPEND structures are true? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE An APPEND structure is the same as a substructure. TRUE/FALSE An APPEND structure can be assigned to several tables. TRUE/FALSE APPEN structures allow you to append fields to an SAP table without having to modify the table itself. TRUE/FALSE You can use an APPEND structure like any other structure in ABAP programs. TRUE/FALSE After adding an APPEND structure to a table, you must convert the table.
60. Is it possible to increase the number of key fields in transparent tables that are already active? Please choose the correct answer.
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.
61. You want to change the technical properties that are defined in a domain. How do you proceed/which statements are correct? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE 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. TRUE/FALSE Once changes have been made and the domain activated, you have to reactivate each dependent object individually. TRUE/FALSE You make the changes immediately, since, initially, an inactive version is created for all dependent objects that contain these changes. TRUE/FALSE If a dependent object is a transparent table that already contains data, the table in the database may have to be converted.
62. For what purpose are foreign keys(FK) defined in the ABAP Dictionary? Please choose the correct answer.
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 preven invalid data from getting into the table.
63. Changes to active transparent tables; The type for the non-key field is to be changed from NUMC to CHAR. What follow up actions are to be expected? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE 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.
TRUE/FALSE 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.
TRUE/FALSE 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.
TRUE/FALSE 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.
64. 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.
65. Which of the following statements about the SAP table buffer are correct? More than one answer is correct. Decide whether each answer is true or false.
TRUE/FALSE 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. TRUE/FALSE Large tables must be buffered as completely as possible. TRUE/FALSE Database views can be buffered. TRUE/FALSE Each application server involved in SAP system has its own table buffer.
List Creation Technique
66. 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
67. A logical database has four nodes alltogether. First you have the root node node_00. Undemeath 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. Please choose the correct answer-
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
68. What can you control using the field catalog of an SAP ALV grid control?
TRUE/FALSE Output the list in a striped pattern TRUE/FALSE Influence the format properties of column contents, such as the number of decimal places or the alignment of the content of a cell TRUE/FALSE Set the output characteristic of a column, such as the column position of width TRUE/FALSE Specify the colors of the list rows TRUE/FALSE Hide the list columns
69. How do you ensure there will be the correct number of decimal places for currency amounts on an ABAP list output? Please choose the correct answer
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.
70. What advantages do logical database offer? More than one answer is correct. Decide whether each answer is true or false
TRUE/FALSE Autorization checks are performed at a central location in the logical database TRUE/FALSE You can perform database updates with the PUT statement TRUE/FALSE You do not have to program the database accesse themselves in the program TRUE/FALSE Logical database can be reused by several programs TRUE/FALSE The logical database provides a modifiable list structure
71. You want the system to output a list in the program using the SAP ALV grid control. What steps do yoyu have to carry out in the program to achieve this? More than one answer is correct. Decide whether each answer is true or false
TRUE/FALSE Program WRITE statements for the list output TRUE/FALSE Generate an object of class CL_GUI_CUSTOM_CONTAINER TRUE/FALSE Create a screen and define a custom control area on this screen TRUE/FALSE Generate an object of class CL_GUI_ALV_GRID TRUE/FALSE Call method SET_TABLE_FOR_FIRST_DISPLAY
72. 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.
73. A logical database has four nodes altogether. First you have the root node node_00. Underneath the roor 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?
Please choose the correct answer
Node_00, Node_01 Node_02
Node_00, Node_02
Node_00, Node_02 Node_21
Enhancement and modification
74. Which subobjects can an SAP enhancement contet? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE Function module exits TRUE/FALSE Menu exits TRUE/FALSE Append structures TRUE/FALSE User exits TRUE/FALSE Screen exits
75. You whis to adapt the SAP standard software to the needs of the customer.Which of the following methods should you preferably use? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE Customer`s own developments TRUE/FALSE Modification of SAP objects TRUE/FALSE Customizing TRUE/FALSE Enhacement concept
76. You want to modify an SAP program. What do you need to watch out for? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE Before you can change the program, you must request a key for the object TRUE/FALSE You can use the Modification Assitant to change application programs delivered by SAP, without the need for registration TRUE/FALSE The SAP system does not allow modifications by user DDIC or SAP* TRUE/FALSE You can perform the modification immediately if you set the global setting for the system change option to Modificable TRUE/FALSE If SAP delivers a new version of an object, the modified object must be adjusted if you upgrade or import a Support Package
77. You want to supply you users with a transaction variant. Using transaction Variants you can More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE suppress individuals fields TRUE/FALSE have transactions run in the backgroung TRUE/FALSE reduce the complexity of transactions TRUE/FALSE suppress intire screens TRUE/FALSE change the flow logic of a screen
78. 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 wether each answer is true or false
TRUE/FALSE After each upgrade, the new SAP object is available as an active version TRUE/FALSE No manual operations are necessary Everything is performed automatically TRUE/FALSE The modified objects must be adjusted to match the standard version whenever SAP delivers new versions of the objects TRUE/FALSE Only ABAP Dictionary tables, data elements, and domains are adjusted during the upgrade TRUE/FALSE ABAP dictionary object are not handled separately
79. You wish to use Business Transactions Events (BTE) to enhance an SAP Application. Which statements apply? More than one answer is correct. Decide wether each answer is true or false
TRUE/FALSE You can define yourself where an event will be called in the SAP application TRUE/FALSE BTEs are called on a cross-client basis TRUE/FALSE BTEs allow you to link up additional components to the SAP standard system TRUE/FALSE A BTE interface can be used repeatedly TRUE/FALSE BTEs allow you to call components in other systems
80. 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 wether each answer is true or false
TRUE/FALSE If you have filter-dependent Badis. There can always be only one active implementation for a filter value TRUE/FALSE If a default implementation exists for a Badi, this will be always be run TRUE/FALSE Badis can contain menu enhancements TRUE/FALSE More than one implementation can exist even for Badis that are not used in a multiple basis TRUE/FALSE A Badi always has exactly one interface in which the methods of the enhancement are defined.
Which steps are needed when implementing a singleton pattern? a. Define the instantiation of the class as private. b. Create an instance of the class in one of its static methods c. Create an event that returns the instance of the class. d. Define the class as abstract. e. Save the instance of the class in one of its static attributes
How you can create Singleton class (3 Answer) a. Create Abstract class b. Create class with visibility private c. Create instance of class in its static method d. Create event to return the instance of class
We can use the CLASS-DATA(static data) to save the created instance within the class and check with that instance, if application asks for a new instance. *&---------------------------------------------------------------------* *& Report shows how to use the static data of the class to *& implement the design patterns. *&---------------------------------------------------------------------* REPORT ztest_singleton_pattern. * *----------------------------------------------------------------------* * CLASS lcl_application DEFINITION *----------------------------------------------------------------------* CLASS lcl_application DEFINITION CREATE PRIVATE. * PUBLIC SECTION. * Static Method which will return us the object reference CLASS-METHODS: get_apps_instance RETURNING value(ro_apps) TYPE REF TO lcl_application. * METHODS: set_v_name IMPORTING iv_name TYPE char30, get_v_name RETURNING value(rv_name) TYPE char30. * PRIVATE SECTION. * static class reference to hold the existing object reference CLASS-DATA: lo_apps TYPE REF TO lcl_application. * DATA: v_name TYPE char30. * ENDCLASS. "lcl_application DEFINITION * * *----------------------------------------------------------------------* * CLASS lcl_application IMPLEMENTATION *----------------------------------------------------------------------* CLASS lcl_application IMPLEMENTATION. * * This method will return the object reference to the calling application METHOD get_apps_instance. IF lo_apps IS INITIAL. * creation of the object CREATE OBJECT lo_apps. ENDIF. * assigning reference back to exporting parameter ro_apps = lo_apps. ENDMETHOD. "get_apps_instance * METHOD set_v_name. me->v_name = iv_name. ENDMETHOD. "set_v_name * METHOD get_v_name. rv_name = me->v_name. ENDMETHOD. "get_v_name * ENDCLASS. "lcl_application IMPLEMENTATION * * START-OF-SELECTION. * *.Reference: 1 ......................................... DATA: lo_application TYPE REF TO lcl_application. DATA: lv_result TYPE char30. * WRITE: / 'LO_APPLICATION: '. * calling the method which gets us the instance * Statement CREATE OBJECT LO_APPLICATION * would not work as the class LCL_APPLICATION instantiation * is set to PRIVATE lo_application = lcl_application=>get_apps_instance( ). * Set the variable and get it back. lo_application->set_v_name( 'This is first Object' ). lv_result = lo_application->get_v_name( ). WRITE: / lv_result. CLEAR lv_result. * *.Reference: 2............................................ DATA: lo_2nd_apps TYPE REF TO lcl_application. SKIP 2. WRITE: / 'LO_2ND_APPS : '. * calling the method which gets us the instance * By calling GET_APPS_INSTANCE method again to get the singleton * object, it would give the same object back and assign it to * LO_2ND_APPS object reference. This would be varified by * getting the value of the instance attribute V_NAME lo_2nd_apps = lcl_application=>get_apps_instance( ). lv_result = lo_2nd_apps->get_v_name( ). WRITE: / lv_result. CLEAR lv_result.