42
Examen de Avance Academia ABAP Nombre del participante: Nombre del instructor: Fecha: 1) Which SAP GUI type is there? More than one. SAP GUI for ITS. SAP GUI for Windows SAP GUI for Java SAP GUI for Web AS. SAP GUI for HTML 2) Which components of an application server control the data traffic between a work process and presentation server? Choose one Message handler. Dispatcher. screen processor Front-end processor SAP GUI 3) For which task is the database interface responsible? More than one. Database independence of application programs Syntax check of "native" SQL commands Usage of the SAP buffers Data consistency check with respect to foreign key relationship. Conversion of open SQL statement form ABAP Statements into the corresponding database Statements. 4) Which techniques are basic requirements for polymorphism? More than one. Narrowing Cast Redefinition of method (for polymorphism through inheritance). Widening Cast Implementation of methods of an interface in the respective classes (for polymorphism through interfaces). 5) The reference ME is defined by the system and has the following function: Choose one You use the reference ME within a class solely to reference the private methods of the class itself.

Estudiar Examen ABAP Contest Ado

Embed Size (px)

Citation preview

Page 1: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

1) Which SAP GUI type is there?More than one.

SAP GUI for ITS. SAP GUI for Windows SAP GUI for Java SAP GUI for Web AS. SAP GUI for HTML

2) Which components of an application server control the data traffic between a work process and presentation server?

Choose one

Message handler. Dispatcher. screen processor Front-end processor SAP GUI

3) For which task is the database interface responsible?More than one.

Database independence of application programs Syntax check of "native" SQL commands Usage of the SAP buffers Data consistency check with respect to foreign key relationship. Conversion of open SQL statement form ABAP Statements into the corresponding database

Statements.

4) Which techniques are basic requirements for polymorphism?More than one.

Narrowing Cast Redefinition of method (for polymorphism through inheritance). Widening Cast Implementation of methods of an interface in the respective classes (for polymorphism

through interfaces).

5) The reference ME is defined by the system and has the following function:Choose one

You use the reference ME within a class solely to reference the private methods of the class itself.

You use the reference ME within a class solely to reference the private attributes of the class itself.

You use the reference ME within a class to call attributes and methods of the class itself.

Page 2: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

6) Which access authorizations apply to friend relationship?More than one

A friend of a class has access to the public attributes of the class allowing the friendship. A subclass of a friend class has automatic access to the private attributes of the class allowing

the friendship. A friend of a class has access to the private attributes of the class allowing the friendship. The following of a friendship is not inherited.

7) Ref_cl is a reference to the class CL_document. Ref_it is a reference to the interface it Display. The interface it_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

Create object ref_cl Create object ref_it type cl_document. Create object ref_it DATA class_name type String. class_name = "CL_DOCUMENT". Create Object ref_it type

(Class_name).

8) What is an (instance) Constructor?Choose One

An instance attribute that is automatically given a unique identification by the system when an object is created.

An instance method for controlling how much main memory is to be reserved for an object. An instance method for initializing the attributes of an object; It is automatically called by the

system during create Object

9) What is allowed within class definitions? More than One

The definition of internal tables without header lines. Typing with LIKE to ABAP directory types Typing with TYPE to ABAP directory types The tables Statement, The definition of internal tables with header lines.

10) Which statements in connection with methods are correct?More than one

You can call method in ABAP objects in the same way as function modules. You can call methods only within ABAP object classes. Like from routines or function modules, methods are a means to modularize software. Similar to the case with function modules, you have the option with methods of marking

parameters as "optional".

Page 3: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

11) Typing is not allowed necessary in ABAP, for example, for interface parameters of a subroutine. Which of the following statements applies to ABAP objects?

Choose one

Typing is imperative for interface parameters of a method belonging to an ABAP Objects class.

If you have numeric interface parameters in an ABAP Object class, you can do without typing. To simplify writing the software and design it clearly, you can do without typing altogether

within the ABAP objects classes.

12) Which of the following statements about functional methods are correct?More than one.

Functional methods can have any EXPORTING or CHANGING parameter. Functional methods have exactly one RETURNING parameter. You can use functional methods directly in a WRITE statement. You can use functional methods directly in an arithmetic expression.

13) In the case of classes, we distinguish between two types of components (attributes and methods): Instance component and static components. With of the following statements apply in this context?

More than one

Static methods con be called through the class: <class name> = ><method name>. In a static method, instance attributes can also be used, provided they are declared as READ

ONLY. Static attributes exist only once for each class. Both static as well as instance attributes are declared using the DATA statement. Instance methods can use both static as well as instance components in their implementation

part.

14) If you have a "Singleton Pattern", you must ensure that only one object can be creates from a cl_singleton class. What mechanisms must you avail of here?

More than one

The singleton class must have an instance method implemented in which the CREATE OBJECT call is programmed for this one object.

The singleton class must have a class method implemented in which the CREATE OBJECT call is programmed for this one object.

The CREATE OBJECT call for this one object can take place in the class constructor of the singleton class.

In the singleton class, there must be an event defined that is triggered when the first and only objects is created and also prevent further objects of this class from being created. Pendiente

The singleton class must have the addirion CREATE PRIVATE in the definition part.

Page 4: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

15) Which of the following statements about inheritance are correct? More than one

Through inheritance, the public attributes of the superclass are inherited to the subclass. Through inheritance, the private attributes of the superclass are inherited to the subclass and

they can be addressed in the subclass directly using "ME->". Through inheritance, the protected attributes of the superclass are inherited to the subclass. Through inheritance, The private attributes of the supper class are inherited to the subclass and

they can be addressed in the subclass directly using "THIS->".

16) Using the statement CREATE OBJECT you can instantiate objects of a class. What situation can arise here?

More than one.

All objects of the same class contain the same number of attributes and methods after being created.

You can preset different objects of a class with different values immediately when they are being created.

The contents of the attributes of different objects in a class always contain the same content or value immediately after being creates.

You define the type and number or attributes of an object through the corresponding class.

17) Which of the following statements about interfaces are correct?More than one.

A client (caller) can use interface references to access al methods of the interfaces an thus achieve polymorphic behavior.

Interfaces actually stand for an interface (protocol) between a client ( interface user) and a server (implementing class).

Using interfaces you can simulate muliple inheritance. Using interfaces references you can reference all the public components of an object that

have been defined in the corresponding interface-implementing class. Interfaces are used to call static components of a class.

18) What are the main reasons for using update techniques?More than one.

To create reusable modules for databases changes. To relieve the load on the dialog work processes. To archive delayed implementation of databases changes. To log the databases changes. to collect databases change requests for several dialog steps in order to process then or

delete them together.

Page 5: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

19) What can you do to undo databases changes executed beforehand in a dialog?More than one

Perform a ROLLBACK WORK. Raise an exception. Analyze the log record. Output a termination message. Output an error message.

20) You are writing a transaction to update a database table, which of the following elements must the program contains?

More than one

An AUTHORITY-CHECK statement A call for an update function module in the case of time-consulting changes. A table buffer refresh on the application server. A logical database A call for ENQUEUE/DEQUEUE function modules. The COMMIT WORK statement when using the update method

21) You call an update function using CALL FUNCTION ... IN UPDATE TASK. At what time are the values of the function parameters determined?

Choose one

At the start of function execution At COMMIT WORK At The start of the V1 update At the end of the dialog step. At the time of the call.

22) Which are the following steps should be carried out in a transaction that implements an update technique?

More than one

Read the data record that is to be updates. Pass the changes entered by the user to the update process. Unlock the data record that is to be updated. Call the ABAP command COMMIT WORK. Lock the data record that is to be updates.

23) Which statement apply to dialog programs?Choose on

If an inline change has resulted in an error, the statement ROLLBACK WORK must be listed in the PAI of the last screen in order to roll back the entire SAP LUW.

All inline changes must be done in the PAI of the last screen in order to ensure the rollback ability of the SAP LUW.

If you are using asynchronous update, the statement COMMIT WORK is not required because it is executed implicitly after each screen change.

If you are using asynchronous update, the database is changes directly from the program. In the PAI of each screen, you must use the statement COMMIT WORK.

24) What happens if you have CALL TRANSACTION statement?

Page 6: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

More than one.

Another internal session is opened for the transaction. The caller transaction is processed in a separate database LUW. Processing of the calling program will be continued at the end of the transaction. The update process triggered by the caller transaction can be executed asynchronously or

synchronously, as required.

25) Which statement are allowed if are working with an internal table of the type SORTED?More than one.

COLLECT. APPEND. SORT. MODIFY. READ. INSERT.

26) In program P, the SUBMIT statement is used to call report R, How can you pass data from P to R?More than one.

Using the SET/GET parameters. Using the ABAP MEMORY. By declaring the data object with the same name, in both programs, using the DATA statement. By passing parameters using additions in the SUBMIT statement.

27) Which statement at the time of AT SELECTION-SCREEN causes the selection screen to be displayed again with fields ready for input and a message in the status line?

Choose one

A MESSAGE I... statement. An AUTHORITY-CHECK statement that returns code SY-SUBRC NE 0 A MESSAGE E... statement.

28) What do you get when you refer to a client-specific transparent table in the dictionary if you have a data definition with TABLES?

Choose one

An internal table. A field A structured work area (line).

29) What do you get when you refer to a client-specific transparent table in the dictionary if you have

a data definition with DATA?Choose one

An internal table. A field A structured work area (line).

30) Which of the following events generate lists?More than one.

Page 7: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

INITIALIZATION START OF SELECTION PROCCESS BEFORE OUTPUT. AT SELECTION-SCREEN AT LINE-SELECTION GET EVENTS

31) You want a subroutine U to have a formal parameter P that is used to return a value, Which of the following definitions of U would you use to ensure that the value is passed back to the calling program only if the processing of U ends normally and is not terminates with a MESSAAGE statement?

Choose one.

FORM U USING P FORM U CHANGING P FORM U CHANGING VALUE(P) FORM U USING P. LOCAL P. FORM U USING VALUE(P).

32) Which of the following statements about the SELECT statement are correct?More than one.

The SELECT statement always reads the data into the SAP memory first. The SELECT statement supports the return code (SY_SUBRC). With SELECT SINGLE access, the result is one data record maximum. With SELECT...ENDSELECT access, the result is one data record maximum. With SELECT...INTO TABLE access, the result is one data record maximum. With ARRAY FETCH (SELECT… INTO TABLE), the result is contained in an internal table

33) Which of the following statements are correct?More than one

The client field is a selective field and should therefore always be specified in the WHERE condition for SELECT.

A secondary index for non-key fields generally works like a primary index for key fields. You can select from several databases tables using a database view or a join. A key field in a database table uniquely identifies a data record. The OPEN SQL statement is converted into database-specific statements by the database

interface. A secondary index can help improve system performance accesses

Page 8: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

34) Which of the following statement about data types, data objects, and field symbol are correct?More than one.

A field symbol only references a data object after the latter has been assigned to the field symbol using the ASSIGN statement.

A field symbol always references a data element. If you change the value of a field symbol, the value of the data object to within the field

symbol is assigned also changes. You can no longer create data object at runtime (dynamically) since the ABAP runtime system

combines all the declarative statement in one processing block and executed this first. You can change the type of the assigned data object using the CASTING-TYPE addition for the

ASSIGN statement.

35) Which of the following ABAP statements in an executable program create a list?More than one..

CLEAR WRITE SKIP PERFORM ULINE

36) Which of the following statements about internal tables is correct?More than one

Index access to an internal table of the type HASHED has less runtime consumption. Index access to an internal table of the type SORTED will, in certain cases, violate the sort

sequence. Key access to an internal table of the type STANDARD generally has event less runtime

consumption than index access. Access to nested internal tables using field symbols usually increases performance. You can perform a binary search on internal tables of the type sorted using the addition BINARY

SEARCH only.37) In which of the following table types is there a one-to-one relationship between the table

definition in the ABAP dictionary and the relevant physical table in the database?Choose one

Transparent database table. Structure. Cluster table. Pooled table.

38) Where can you have automatic input checks against the check table?Choose one

For input fields on screen if the input field have been copied from the dictionary into the screen painter.

For input Fields on ABAP lists. For input fields in selection Screens.

39) Which statements about parameters for an elementary search help apply?

Page 9: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

More than one.

Export parameters control which data can be returned to the input template. A parameter is either an import or an export parameter. Parameters must be fields from the selection method only Parameters can be displayed on the result list. Import parameters control which data can be included in the data selection.

40) The help search function know various link options in the ABAP dictionary. Which of the following statements apply?

More than one.

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 a table A, this search help is displayed whenever there are input fields on that screen that have A as the check table.

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).

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.

41) Is it possible to increase the number of key fields in transparent tables that are already active?Choose one.

Yes, irrespective of whether the table already contains data or not. Yes, However, the table must not contain any data yet. No. Key changes are not allowed.

42) Which of the following statements apply to a database view?More than one

A data base view is a special view of transparent tables Using a database view, you can insert data into several tables A database view can have one or several base tables A database view supplies the results quantity of a outer join logic Using a database view, you can read data from several tables

Page 10: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

43) 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

If the table does not contain any data yet, the table only 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 key fields only. In the case of non-key fields, such changes can be executed only by the database administrator using special database techniques.

44) Which of the following statements about indexes are correct?More than one

Using an index speeds up data selection from a table A database table can have more than one index The primary index consists of the key fields of the database table An index can be assigned to several database tables.

45) Which of the following statements about APPEND structures are true?More than one

An APPEND structure can be assigned to several tables APPEND structures allow you to append fields to an SAP table without to modify the tables

itself An APPEND structure is the same as a substructure After adding an APPEND structure to a table, you must convert the table You can use an APPEND structure like any other structure in ABAP programs.

46) For what purpose are foreign keys (FK) defined in the ABAP Dictionary?Choose one.

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.

FKs are used solely for documenting table relationships 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

47) Which of the following statements about radio buttons is correct?Choose one.

For each radio button group, the user can choose only one radio button Clicking a radio button always triggers a PAI For each screen, the user can choose only one radio button Only the selected radio buttons have the value 1 for PBO in the field SCREEN-ACTIVE.

Page 11: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

48) Which of the following statements about context menus on screens is correct?Choose one.

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>

49) Which conditions must be fulfilled in a programmed check so that a screen input field is made ready for input again?

More than one

An I-type message must be output The check module must be called using: FIELD field name MODULE check module MESSAGE E. 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

50) Which of the following statements about screens is correct?Choose one.

You assign each screen to exactly one program You can define screens only in programs of type M (module pools) Only full-screen can have a subsequent screen On a screen, you can only output fields with Dictionary reference

51) Under which circumstances is a module with the addition ON CHAIN-INPUT executed?Choose one.

When the value of at least one field within the CHAIN is other than its initial value When a new entry has been made for 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

52) Which of the following statements about pushbuttons are correct? Pushbuttons…More than one

…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

53) Which of the following statements about subscreens are correct?More than one

Subscreens have their own OK code field You call subscreens using tha ABAP command CALL SUBSCREEN You call subscreens using the screens command CALL SUBSCREEN The statement LEAVE TO SCREEN is not allowed in subscreen flow logic

54) You want to have the system branch to list processing form within a screen. Which of the following statements apply here?

Page 12: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

Choose one.

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

55) Where can you set the status and the title for a modal dialog box (popup)?Choose one.

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

56) Does a PAI occur when you switch between tab pages whose titles have a function type in a tabstrip?

Choose one.

Yes, always Yes, if at least one required entry field exists on one of the tab pages Yes, if at least one PAI module exists for the subscreen container No

57) Which of the following statements about field transport between ABAP and screen are correct?More than one

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.

58) 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?

Choose one.

The “Cancel” function must have the function code “BACK” You must temporarily switch off the required entry for the fields concerned within the LOOP AT

SCREEN… ENDLOOP The “Cancel” function must be type “E” and be handled in a module with the addition AT

EXIT-COMMAND. There is no way to do this; required entry fields must always be filled first No special actions are required

Page 13: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

59) You have created a screen with 5 radio buttons. How do you ensure that only one radio button is selected at a time?

Choose one.

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

60) What effect does the statement SUPPRESS DIALOG have a PBO module of a screen?Choose one.

The screen is displayed, but no inputs are possible Screen display is suppressed Neither the respective PBO module nor any of the subsequent PBO modules are processed Processing is continued with the calling screen The screen in question is not called

61) A logical database has four nodes altogether. First you have the root node node_00. Underneath the root node you have node_01 and then node_02 arranged in such a way so that they belong to the same hierarchy level. In addition, node_02 has a hierarchically dependent node, node_21. You have the following statements in the program: NODES?

Choose one.

Node_00, Node_02, Node_21 Node_00, Node_02 Node_00, Node_01, Node_02

62) How do you store data in the HIDE area during list processing?Choose one.

The HIDE area is filled in the TOP include through the HIDE statement. The HIDE area is filled in the event TOP-OF-PAGE for each list page. First you write a list line using WRITE. Then you can store data for this line in the HIDE area.

63) What advantages do logical database offer?More than one.

You can perform database updates with the PUT statement. Authorization checks are performed at a central location in the logical database. Logical database can be reused by several programs. The logical database provides a modifiable list structure. You do not have to program the database accesses themselves in the program.

Page 14: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

64) How do you output icons on an ABAP list?Choose one.

You must enter the include <icon> in the program and also specify the addition AS ICON in the WRITE statement.

You must enter the include <system> in the program You must specify the addition FORMAT AS ICON in the WRITE statement.

65) Which of the following statements apply to the SAP grid control?More than one.

Provides standard functions such as sorting. Can only be implemented in module pools. Can only display structures from the Dictionary. Cannot print data. Can only display single-line lists.

66) The statement WRITE ‘Address and Bank Link’ (001) is listed correctly. However, a differentText appears in the list at this position. What can be the reasons for this?More than one.

No text element 001 is defined. The user who started the program has logged on in a language for which no translation exists

for this text element. Text element 001 was defined with a different text. The corresponding list line is dynamically set to “inactive”.

67) You want to output the string “Name:” in line 20, column 10 on the first page of a list, and the String “Address” immediately below it. The page should otherwise remain blank (no header).

Which of the following reports can you use to achieve this?More than one.

REPORT TEST NO STANDARD PAGE HEADING. SKIP TO LINE 20. POSITION 10. WRITE: /”Name:”, / “Address”.REPORT TEST NO STANDARD PAGE HEADING.

SKIP TO LINE 20. POSITION 10. WRITE: /“Name:”, /10 “Address”.REPORT TEST.

SKIP TO LINE 20. POSITION 10. WRITE: / “Name:”, “Address:” UNDER “Name”.REPORT TEST NO STANDARD PAGE HEADING.

SKIP TO LINE 20. POSITION 10. WRITE: / “Name:”, / “Address:” UNDER “Name:”.REPORT TEST NO STANDARD PAGE HEADING.

SKIP TO LINE 20. POSITION 10. WRITE / “Name:”. WRITE / “Address:”.

Page 15: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

68) Control level list: On a flight connection list, the user can choose between list sorting by departure and destination locations. The sorted lists are output as control level lists. How can you program the two different control level lists?

More than one.

You need two internal tables with different structures and sorting. You need toimplement two different kinds of control level processing.

You need an extract dataset that is sorted accordingly. You need to implement two different kinds of control level processing.

You need an internal table that is sorted accordingly. You need to implement only one kind of control level processing.

You need two extract datasets with a different HEADER and different sorting. You need to implement two different kinds of control level processing.

69) 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?

Choose one.

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.

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 AT SELECTION-SCREEN. If there is an input Error, processing must be interrupted with a STOP statement and an I-type MESSAGE must be output.

70) How do you ensure there will be the correct number of decimal places for currency amounts on an ABAP list output?

Choose one.

By maintaining the corresponding Customizing table and by using the addition CURRENCY In the WRITE statement.

This takes place automatically, provided the checkbox ‘CURRENCY output’ is ticked in the program attributes.

By saving the currency amounts with decimal places in the database.

71) You wish to use a business transaction event (BTE) to enhance an SAP application. WhichStatement applies?More than one.

BTEs are called on a cross-client basis. You can define yourself where an event will be called in the SAP application. A BTE interface can be used repeatedly. BTEs allow you to call additional components in other systems. BTEs allow you to link up additional components to the SAP standard system.

Page 16: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

72) You wish to use a business add-In(BadI) in order to enhance an SAP application. Which of the following statements are correct?

More than one.

If a default implementation exists for a BadI, this will always be run. If you have filter-dependent BadIs, there can always be only one active Implementation for a

filter value. More than one implementation can exist even for BadIs that are not used on a Multiple basis. A BadI always has exactly one interface in which the methods of the enhancement Are

defined. BadIs can contain menu enhancement.

73) Which subobjects can an SAP enhancement contain?More than one.

Menu exists. Function module exists. User exits. Screen exits. Append structures.

74) Assuming a customer has modified SAP objects in the customer system, which activities are required at release upgrade or when applying a support package?

More than one.

No manual operations are necessary. Everything is performed automatically. After each upgrade, the new SAP object is available as an active version. Only ABAP Dictionary tables, data elements, and domains are adjusted during the Upgrade. ABAP dictionary objects are not handled separately. The modified objects must be adjusted to match the standard version whenever SAP delivers

new versions of the objects.

75) You wish to adapt the SAP standard software to the needs of the customer. Which of theFollowing methods should you preferably use?More than one.

Customer’s own developments. Modification of SAP objects. Customizing. Enhancement concept.

Page 17: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

76) You wish to modify an SAP program. What do you need to watch out for?More than one.

You can change application programs delivered by SAP without registration using The modification assistant.

Before you can change the program, you must request a key for the object in the SAPNet Web Frontend.

You can perform the modification immediately if you set the global setting for System modifiability to “Modifiable”.

If a user has modified an SAP object and SAP delivers a new version of the object in A release upgrade or support package, the modified object must be Adjusted during the upgrade.

The R/3 system does not allow modifications by user DDIC or SAP*.

77) Which of the following statements apply to table appends?More than one.

An append structure can be assigned to several tables. If you copy a table to which an append structure has been added, the fields in the Append structure become standard fields in the table. There can be several append structures for one table. When you activate the table, all the active append structures of the table are established and

appended to the table in the database.

78) You want to supply your users with a transaction variant. Using transaction variants you can…?More than one.

…have transactions run in the background. …suppress individual fields. …suppress entire screens. …change the flow logic of a screen. …reduce the complexity of transactions. …predefine fields with values

79) You execute an ABAP program with several dialog steps (screens). Which statement is correct?Choose one.

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).

Page 18: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

80) 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 one.

STANDARD HASHED SORTED

81) Which of the following statements about data types and data objects are correct?More than one.

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

82) 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

Choose one.

Call by reference Call by value and result Call by value

83) Which commands are allowed if you are working with an internal table of type SORTED?More than one.

SORT DELETE INSERT READ TABLE MODIFY

84) 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

Choose one.

Call by reference Call by value and result Call by value

Page 19: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

85) DATA: itab TYPE tt_spfli.Parameters: pa_carr TYPE spfli-carrid.AUTHORITY-CHECK OBJECT ‘S_CARRID’

ID’CARRID’ FIELD pa_carrID’ACTVT’ FIELD ‘03’.

SELECT * FROM spfli INTO TABLE itabWHERE carrid = pa_carr.

What happens when the above program component is executed?Choose one.

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.Call by value and result

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.

86) What is a table type in the ABAP Dictionary?Choose one.

Description of a database table Database table with content Description of an internal table

87) What do you get with the following variable definition if dbtab is a transparent table in the ABAP Dictionary? TABLES dbtab.Choose one.

An elementary field An internal table A structure variable (work area)

88) How do you store data in the HIDE area during processing?Choose one.

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

Page 20: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

89) 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.Choose one.

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(entregar) into the program

90) What can you control using the field catalog of an SAP ALV grid control?More than one.

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

91) 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?More than one.

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

92) 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?Choose one.

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.

Page 21: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

93) 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?Choose one.

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.

94) What is the advantage of shared objects over import/export to shared memory/buffer?More than one.

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.

95) You want to develop an application with dynamic elements. Which of the statements are correct?More than one.

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.

96) Which statements about internal tables are correct?More than one.

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.

97) How is the shared objects area accessed in ABAP?Choose one.

Using a special data type Using a special class Using a special database table

Page 22: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

98) 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.

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 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.

99) 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.

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.

100) 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.

Use of the IN operator in the WHERE condition. Use of a JOIN in the SELECT statement. SELECET with aggregate functions. Use of subqueries in the WHERE condition. The SELECT SINGLE… statement.

101) 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 one.

Calculations are basically carried out in integral arithmetic. The result is converted to the type of result variables.

The ABAP runtime always uses 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.

Page 23: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

102) 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_GRIDWhat do you have to do in your program to respond the event?More than one.

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

103) 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.

Which of the following statements would be syntactically correct after the above program component?More than one.

r_ca->ma( ) r_cb->ma( ) r_ca->mb( ) r_cb->mb( )

104) Why must logical SAP locks and not database locks be set in dialog programs to prevent concurrent data accesses?Choose one.

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.

105) You want to change the technical properties that are defined in a domain. How do you proceed/which statements are correct?More than one.

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.

Page 24: Estudiar Examen ABAP Contest Ado

Examen de Avance Academia ABAP

Nombre del participante:Nombre del instructor: Fecha:

If a dependent object is a transparent table that already contains data, the table in the database may have to be converted.

106) For what purpose are foreign keys(FK) defined in the ABAP Dictionary?Choose one.

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 invalid data from getting into the table.

107) Which of the following statements about the SAP table buffer are correct?More than one.

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.