You are on page 1of 61

Temas para Certificacin SAP Technologies ABAP Workbench Basics List Creation Techniques ABAP Dictionary ABAP Objects

Advanced ABAP Dialog Programming Database Changes Enhancements and Modifications

Peso < 10% 11-20% 11-20% 11-20% 11-20% 11-20% 11-20% < 10% < 10%

Libro TAW10-1 TAW10-1 TAW10-1 TAW10-2 TAW10-3 TAW10-3 TAW12-1 TAW12-1 TAW12-2

Libros TAW10-1 TAW10-2 TAW10-3 TAW12-1 TAW12-2

Tema

Libro

Preguntas / Opciones

Respuesta

Tema
SAP Technologies

Libro
TAW10-1

N
1

Preguntas / Opciones
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 A 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 B B of the programs from the roll area. The program components for the individual dialog steps are usually executed in various dialog work C processes that are re-released once a program component has been processed (while the screens are C displayed on the front end).
A

Respuesta

OPCION

SAP Technologies

TAW10-1

2 A B C D E

For which tasks is the database interface responsible? More than one answer is correct. Decide whether each answer is true or false. Syntax check of native SQL commands. Database independence of application programs. Conversion of OPEN SQL statement from ABAP statement into the corresponding database statements. Usage of the SAP buffers. Data consistency check with respect to foreign key relationships. The following solutions are provided by SAP: More than one answer is correct. Decide whether each answer is true or false. mySAP Business Change Enabler (mySAP BCE) mySAP Product Lifecycle Management (mySAP PLM) mySAP Customer Relationship Management (mySAP CRM) mySAP Supply Chain Management (mySAP SCM) mySAP Strategic Organization Planning (mySAP SOP) Which of the following statements accurately describe a client in an SAP system? More than one answer is correct. Decide whether each answer is true or false. A client represents a completely independent business entity. A client has its own database. A client corresponds to a customer. A client may represent an entire company. The following strings are valid entries in the command field: More than one answer is correct. Decide whether each answer is true or false. /nend /nex ?SM04 /nsm04 From SAP Easy Access: SM04 From SAP Easy Access: search_sap_menu The following personalization options are available in the SAP GUI: More than one answer is correct. Decide whether each answer is true or false. You can change the font size (within limits) in the SAP GUI You can have system messages displayed in a dialog box You can change the size of input fields You can suppress the display of pictures in the SAP GUI Every user can display a picture of his or her choice on the SAP Easy Access screen You can use a personal input history on your front end What are the advantages of a three-tier client/server configuration as compared to a single-tier or two-tier configuration? More than one answer is correct. Decide whether each answer is true or false. Simpler scalability Simpler administration Load balancing possible None of the above

TRUE

FALSE

A B C D E

SAP Technologies

TAW10-1

3 A B C D E

TRUE

FALSE

A B C D E

SAP Technologies

TAW10-1

4 A B C D

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

5 A B C D E F

TRUE

FALSE

A B C D E F

SAP Technologies

TAW10-1

6 A B C D E F

TRUE

FALSE

A B C D E F

SAP Technologies

TAW10-1

TRUE

FALSE

A B C D

A B C D

SAP Technologies

TAW10-1

Which process at the application server level receives the user request? Choose the correct answer. A Work process B Dispatcher C Buffer

OPCION

A B C

D SAPGUI

SAP Technologies

TAW10-1

9 A B C D E F G

Which work process types can you find on an SAP Web Application Server? More than one answer is correct. Decide whether each answer is true or false. Dialog work process Message server work process Update work process ICM work process Background work process Enqueue work process Spool work process The term central instance describes the instance Choose the correct answer. That you are logged on to while working in the system On which all application processes required for operating an SAP system are configured On which the gateway process is configured On which the majority of work processes are configured On which the majority of dialog work processes are configured What tasks does the task handler carry out? Choose the correct answer. Communicates with SAP GUI Coordinates activities within the work process Accesses the database Processes the ABAP coding on which a transaction is based Is the assignment of users to dialog work processes fixed? Choose the correct answer. Yes, it is fixed for the entire time that the user is logged on to the SAP system Yes, it exists for the entire duration of a transaction consisting of several screens No. Each dialog step of a transaction, consisting of several screens, can theoretically be processed by a different work process None of the above The SAP Web Application Server database interface enables you to: More than one answer is correct. Decide whether each answer is true or false. Enhance performance using the local buffers Access online databases on the Internet Use database-independent Open SQL in ABAP programs Access file content on the SAP Web Application Server Application Link Enabling (ALE) allows you to: More than one answer is correct. Decide whether each answer is true or false. Exchange data only between SAP systems, as long as they have the same release status Exchange data across system boundaries, but only for SAP applications Exchange data between collaborating enterprises, using certain formats and technologies The communication between different systems of your system landscape Update your order data using the appropriate BAPI, only once every 24 hours The following interfaces or communication options are supported by SAP systems: More than one answer is correct. Decide whether each answer is true or false. HTTP (HyperText Transfer Protocol) SMTP (Simple Mail Transfer Protocol) RFC (Remote Function Call) BAPIs (Business Application Programming Interfaces) XDTP (Extended Data Transfer Protocol) STP (SAP Transfer Protocol) You can use BAPIs to: More than one answer is correct. Decide whether each answer is true or false. Request data from an SAP system Pass data to an SAP system Transfer SAP screen images to third-party applications (such as Microsoft Word) Access business processes in SAP systems

TRUE

FALSE

A B C D E F G

SAP Technologies

TAW10-1

10 A B C D E

OPCION

A B C D E

SAP Technologies

TAW10-1

11 A B C D

OPCION

A B C D

SAP Technologies

TAW10-1

12 A B C D

OPCION

A B C D

SAP Technologies

TAW10-1

13 A B C D

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

14 A B C D E

TRUE

FALSE

A B C D E

SAP Technologies

TAW10-1

15 A B C D E F

TRUE

FALSE

A B C D E F

SAP Technologies

TAW10-1

16 A B C D

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

17

SAP Business Workflow ensures that: More than one answer is correct. Decide whether each answer is true or false. A Appropriately configured business processes can be partially automated B Appropriately configured business processes are executed in consistent sequences

TRUE

FALSE

A B

C The right employee receives the right work at the right time D Your workflow-supported business processes are handled more efficiently E All your company processes that have been implemented in ABAP run without errors

C D E

SAP Technologies

TAW10-1

18

Business _______ Programming Interfaces are specialized _______ modules. They are accessed using the _______ interface. They are created and managed using the _______ Builder. Choose the correct answer.
A B C D Application / Function / RFC / Class Application / Function / RFC / Function Application / Function / ALE / Function Autorization / Function / RFC / Function A B C D
OPCION

SAP Technologies

TAW10-1

19 A B C D E

The SAP Service Marketplace is directed at which of the following? More than one answer is correct. Decide whether each answer is true or false. Everyone who is interested in SAP SAP employees SAP partners SAP customers SAP competitors Which of the following statements in SAP Technologies are correct? More than one answer is correct. Decide whether each answer is true or false. You can only work in one window (session) at a time in an SAP system. You access BAPIs in SAP systems using an RFC interface. You can also use SAP Business Workflow functions (for example, with XML) to trigger functions in other systems. You can download developer keys from SDN. Which tool is used to manage and organize development objects Choose the correct answer. WorkBench Organizer Customizing Organizer Repository Browser Information System What is a R/3 system Choose the correct answer. Instance plus system services Instance plus Database Multiple Application Servers Database What does workflow achieve More than one answer is correct. Decide wether each answer is true or false controls information flow automates executon of activities manages communication media builds screen sequences What are the task of the dispatcher More than one answer is correct. Decide wether each answer is true or false distributing transaction load performing program syntax checks assigning users to work processes organizing communication Which Basic configuration would typically run on one server Choose the correct answer. Central 3 Tier Database 2 Tier Presentation What menu options are available on all screens More than one answer is correct. Decide wether each answer is true or false Help System Status Options Tools

TRUE

FALSE

A B C D E

SAP Technologies

TAW10-1

20 A B C D

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

21 A B C D

OPCION

A B C D

SAP Technologies

TAW10-1

22 A B C D

OPCION

A B C D

SAP Technologies

TAW10-1

23 A B C D

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

24 A B C D

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

25 A B C D

OPCION

A B C D

SAP Technologies

TAW10-1

26 A B C D E

TRUE

FALSE

A B C D E

SAP Technologies

TAW10-1

27

How many dialog steps in an SAP Transaction Choose the correct answer. A One for every explicit database commit

OPCION

B At least One C Only One D One for every transaction in the SAP LUW

B C D

SAP Technologies

TAW10-1

28 A B C D

What is a valid configuration for an R3 System More than one answer is correct. Decide wether each answer is true or false One Application server and many Database servers One Application server and one Database server Many Application servers and one Database server No Application server and one Database server Define Instance Choose the correct answer. a presentation, application and database server dispatcher, work processes, and services work processes only Multiple application servers Which layer in an R/3 client server architecture processes ABAP programs Choose the correct answer. Presentation Internet Database Application

TRUE

FALSE

A B C D

SAP Technologies

TAW10-1

29 A B C D

OPCION

A B C D

SAP Technologies

TAW10-1

30 A B C D

OPCION

A B C D

Tema

Libro

N
1

Preguntas / Opciones
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 A STANDARD B HASHED C SORTED Which of the following statements are correct? More than one answer is correct Decide wheter each answer is true or false The client field must always be specified in the WHERE condition for SELECT A secondary index can help improve system performance for accesses to internal tables A secondary index can help improve system performance database accesses Multiple database tables can be read using a database view or a join

Respuesta

ABAP Workbench basics TAW10-1

OPCION

A B C

ABAP Workbench basics TAW10-1

2
A B C D

TRUE

FALSE

A B C D

E The open SQL statements are converted into database-specific SQL statement by the database interface E

ABAP Workbench basics TAW10-1

3
A B C D E

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

TRUE

FALSE

A B C D E

ABAP Workbench basics TAW10-1

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 A An AUTHORITY-CHECK statement with a return code not equal to 0 B A MESSAGE statement of type I C A MESSAGE statement of type E 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
A Call by reference B Call by value and result C Call by value

OPCION

A B C

ABAP Workbench basics TAW10-1

OPCION

A B C

ABAP Workbench basics TAW10-1

6
A B C D E

Which commands are allowed if you are working with an internal table of type SORTED? More than one answer is correct Decide whether each answer is true or false SORT DELETE INSERT READ TABLE MODIFY Wich of the following statements about SELECT statement are correct? More than one answer is correct Decide whether each answer is true or false With SELECT SINGLE access, the result is one data record Maximum The SELECT statement always read the data directly from the database, that is, it always bypasses the table The return code of the SELECT statement is maintened in the system field SY-SUBRC With ARRAY FETCH (SELECT INTO TABLE), the result is contained in an internal table All records in the relevant table are read using a SELECT loop without a WHERE clause (SELECTENDSELECT) 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?

TRUE

FALSE

A B C D E

ABAP Workbench basics TAW10-1

7 A B C D E

TRUE

FALSE

A B C D E

ABAP Workbench basics TAW10-1

Choose the correct answer If the user does not have the relevant authorizations in his or her master record, the system leaves the A 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.

OPCION

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 C statement is not executed, since in this case , the AUTHORITY-CHECK always determines the program automatically.
B

ABAP Workbench basics TAW10-1

9 A B C D E

Which of the following ABAP statements generate a list in executable programs? More than one answer is correct Decide whether each answer is true or false SETSCREEN CLEAR WRITE ULINE PERFORM

TRUE

FALSE

A B C D E

ABAP Workbench basics TAW10-1

10

What is a table type in the ABAP Dictionary? Choose the correct answer A Description of a database table B Database table with content C Description of an internal table What do you get with the following variable definition if dbtab is a transparent table in the ABAP Dictionary? data: myvar type dbtab. Choose the correct answer A An elementary field B An internal table C A structure variable (work area) Which of the following events are suitable for the generation lists? More than one answer is correct. Decide whether each answer GET events INITIALIZATION START-OF-SELECTION AT LINE-SELECTION AT SELECTION-SCREEN The addition ____________ to SELECT-OPTION statement suppresses multiple-single or multiple-range selections. Choose the correct answer. DEFAULT PARAMETERS NO-INTERVALS NO-EXTENSION

OPCION

A B C

ABAP Workbench basics TAW10-1

11

OPCION

ABAP Workbench basics TAW10-1

12

TRUE

FALSE

ABAP Workbench basics

TAW10-1

13

OPCION

A B C D

A B C D

ABAP Workbench basics

TAW10-1

14

_________ and _________ are declarative language elements that are used to generate default selection Choose the correct answer. A PARAMETERS / SELECTION-SCREEN B PARAMETERS / SELECT-OPTIONS C START-OF-SELECTION / SELECTION-SCREEN Which statement is valid for processing internal table itab Data: itab type table of zmytab with header line. Choose the correct answer. Loop at itab where itab-id = A.Endloop. Loop where itab-id = A.Endloop. Loop at itab where id = A.Endloop. Loop at itab.Endtab. Where is the statement "Message e123 Raising condition" used Choose the correct answer. Anywhere in the program In a Function In a Form Only In a PAI Module Which addition to the Parameters statement is not valid Choose the correct answer. Default Type Like Value

OPCION

A B C

ABAP Workbench basics

TAW10-1

15

OPCION

A B C D

A B C D

ABAP Workbench basics

TAW10-1

16 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

17 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

18

An Authorization refers to how many Authorization Objects Choose the correct answer. A defined by Basis B 10

OPCION

A B

C 1 D 0 E unlimited

C D E

ABAP Workbench basics

TAW10-1

19

Which use of the FORM statement works successfully when passing IT to FORMA Types: Begin of line, End of Line. Types IT_LINE Type Standard table of line. Data IT TYPE IT_LINE. Perform FORMA using IT
A B C D

Choose the correct answer. FORM FORMA Using P_IT like LINE FORM FORMA Using P_IT like IT_LINE FORM FORMA Using P_IT type IT_LINE FORM FORMA Using P_IT like LINE How many fields are available for viewing in field display mode while in debugger Choose the correct answer. unlimited 8 4 2 An ABAP program makes calls to function modules from the same function group, What happens with the Global data from the function group More than one answer is correct. Decide wether each answer is true or false The global data remains active for the duration of the function call only Function modules from the same function group can access the global data when they are called The global data is reinitialized for each new call The global data remains available for the duration of the calling program Static data records that have a long life are considered to be Choose the correct answer. Transactional data Master Data Client data Customer documents Where are local data types defined Choose the correct answer. ABAP Workbench Dictionary Repository in ABAP Programs What program type can be run directly Choose the correct answer. Module Pool Interface Pool Executable Runnable Which is not a type of RFC call Choose the correct answer. Remote Asynchronous Transactional Synchronous Standard and sorted tables are referred to as Choose the correct answer. Unique generic index keyed non unique

OPCION

A B C D

ABAP Workbench basics

TAW10-1

20 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

21

TRUE

FALSE

A B C D

A B C D

ABAP Workbench basics

TAW10-1

22 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

23 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

24 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

25 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

26 A B C D E

OPCION

A B C D E

ABAP Workbench basics

TAW10-1

27

What must be assigned to a module pool in order for it to be executed Choose the correct answer. A Event B Program Type

OPCION

A B

C Module D Transaction

C D

ABAP Workbench basics

TAW10-1

28 A B C D E

Identify the valid chaining statement Choose the correct answer. write ctr1, ctr2, ctr3. write: ctr1 ctr2 ctr3. Write: ctr1, ctr2, ctr3. Chain write ctr1 ctr2 ctr3. write ctr1: ctr2:ctr3.

OPCION

A B C D E

ABAP Workbench basics

TAW10-1

29

What is the default mode for passing actual parameters in a perform Choose the correct answer. A By Reference B By Value C By Changing What will be written to the list in the following code. Assume all defaults are taken when the function was defined Data: fielda(4) type c. fielda = AAAA. Call Function Z_TEST_FUNCTION Exporting f_fielda = fielda. Write fielda. Function Z_TEST_FUNCTION Importing f_fielda Exporting f_fieldb f_fielda = BBBB. f_fieldb = CCCC. Choose the correct answer.
A BBBB B AAAA C CCCC

OPCION

A B C

ABAP Workbench basics

TAW10-1

30

OPCION

A B C

ABAP Workbench basics

TAW10-1

31 A B C D

Which of the following is not a valid ABAP data statement Choose the correct answer. Data fielda(5) type x Data fielda(5) type c Data fielda(5) type t Data fielda(5) type n How would you clear the body of an internal table (with a header line) More than one answer is correct. Decide wether each answer is true or false Refresh ITAB Clear ITAB[] Clear ITAB Refresh ITAB []

OPCION

A B C D

ABAP Workbench basics

TAW10-1

32 A B C D

TRUE

FALSE

A B C D

ABAP Workbench basics

TAW10-1

33

What does the runtime system do with dates if they are assigned to a numeric field Choose the correct answer. A It converts the date to a julian date B It calculates the number of days that have elapsed since 01.01.0001
C It calculates the number of days that have elapsed since 00.00.0000 D It leaves the date as a numeric field

OPCION

A B C D

ABAP Workbench basics

TAW10-1

34

Mark the default size for a packed field Choose the correct answer. A 1
B C D E

OPCION

size must be specified 8 4 Mark the valid sysntax and usage of the message statement. Assume the message class UD is defined in the REPORT statement More than one answer is correct. Decide wether each answer is true or false Message E004(UD) Message (UD)E004 Message E004 Message ID UD Type E Number 0004

A B C D E

ABAP Workbench basics

TAW10-1

35

TRUE

FALSE

A B C D

A B C D

ABAP Workbench basics

TAW10-1

36

What is true about an Authorization Object ? Choose the correct answer. A Authorization Objects contain permissable values for the fields B Groups up to 10 authorization fields in an OR relationship C Groups up to 10 authorization fields in an AND relationship What are the requirements of reading a hashed internal table More than one answer is correct. Decide wether each answer is true or false A Specify the INDEX B Use the TABLE KEY option C Specify the full key

OPCION

A B C

ABAP Workbench basics

TAW10-1

37

TRUE

FALSE

A B C

D Use UNIQUE KEY option E Sort the table first by the key

D E

What is the value of ZFIELDB after the last line of the following code is executed Data: ZFIELDA(5) type c value 'ABCDE'. ZFIELDB(4) type c. ABAP Workbench basics TAW10-1
38

ZFIELDA = XX. Clear ZFIELDA. ZFIELDB = ZFIELDA.


A B C D

Choose the correct answer. BCDE ABCD Spaces ABCDE What happends in the case when a formal parameter typed with 'TYPE ANY' is used Choose the correct answer. Conversion routines from the Data Element are executed formal parameter takes on the type of the actual parameter Conversion routines from the Domain are executed Syntax Error Identify the rules involved when calling subroutines More than one answer is correct. Decide wether each answer is true or false Optional parameters are allowed The number of actual and formal parameters must be the same Type checking is performed on parameters When calling by value, the address of the actual paramter is passed to the form What internal table type can only be accessed by its key Choose the correct answer. Keyed Sorted Hashed Standard Mark the valid statement for reading an entry from an internal table of type sorted Choose the correct answer. Read Table itab with Table Key K1 Read Table itab by key K1 Read Table itab with sorted key k1 Read Table itab by binary key k1 What program type can be executed directly Choose the correct answer. Class Executable Include Function Group Where is the record inserted in internal table itab Types: begin of itab_structure, Field1 type p, Field2 type c, Field3 type I, Field4 type n, end of itab_structure. Data: itab type standard table of itab_structure. Data: wa_itab type itab_structure. Insert wa_itab into table itab.

OPCION

A B C D

ABAP Workbench basics

TAW10-1

39 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

40 A B C D

TRUE

FALSE

A B C D

ABAP Workbench basics

TAW10-1

41 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

42 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

43 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

44

A B C D

Choose the correct answer. in the correct sorted position At the end It can't be done At the beginning

OPCION

A B C D

ABAP Workbench basics

TAW10-1

45

Mark the valid use of the data statement, assume that ZBOOK-ID is a dictionary object Choose the correct answer. A Data fielda(5) like zbook-id B Data fielda value zbook-id

OPCION

A B

C Data fielda like zbook-id D Data fielda type c like zbook-id

C D

ABAP Workbench basics

TAW10-1

46 A B C D

What is the default length for Integer Data Types Choose the correct answer. 1 4 size must be specified 2

OPCION

A B C D

ABAP Workbench basics

TAW10-1

47 A B C D

Where can watchpoints be set More than one answer is correct. Decide wether each answer is true or false only the current program named programs locally only called programs What is the customer namespace for functions Choose the correct answer. FZ Y_ or Z_ F Y or Z What is true of passing by value and result in the following code Perform calculate_sales using amount. FORM calculate_sales changing value(f_amount).

TRUE

FALSE

A B C D

ABAP Workbench basics

TAW10-1

48 A B C D

OPCION

A B C D

ABAP Workbench basics

TAW10-1

49

A B C D

More than one answer is correct. Decide wether each answer is true or false Formal parameter is not copied to memory space of actual parameter Formal Parameter f_amount is allocated its own memory space Formal parameter is copied to memory space of actual parameter at the end of the form The address of the actual parameter is passed to the formal parameter Assuming you have created a data object of type c with the name ZFIELDA in your program. Which of the following is allowed Choose the correct answer. Data: ZFIELDA type n Types: ZFIELDA type I Data: ZFIELDA type c Constants: ZFIELDA type n

TRUE

FALSE

A B C D

ABAP Workbench basics

TAW10-1

50

OPCION

A B C D

A B C D

ABAP Workbench basics

TAW10-1

51

What is true about an Authorization More than one answer is correct. Decide wether each answer is true or false A It is attached to profiles B An authorization is defined in the program attributes
C

TRUE

FALSE

A B C

Defines permissable values for each authorization field listed in the authorization object What is the value of result after the following code is executed DATA: result TYPE I. result = 5 / 10. Choose the correct answer. result = 2 result = 0 result = .5 result = 1 A program makes the function call listed below. What takes place if the function raises an exception in its call to the function Call Function 'MYFUNCTION' exporting e1 = p1 importing i1 = p2.

ABAP Workbench basics

TAW10-1

52

OPCION

A B C D

A B C D

ABAP Workbench basics

TAW10-1

53

A B C D

Choose the correct answer. Program continues Program is suspended Message occurs Runtime error What is the effect of sorting a sorted internal table Choose the correct answer. Breaks the sort sequence Program abend Uses linear search rather than binary Syntax error

OPCION

A B C D

ABAP Workbench basics

TAW10-1

54 A B C D

OPCION

A B C D

Tema
List Creation Technique

Libro
TAW10-1

N
1

Preguntas / Opciones
How do you store data in the HIDE area during processing? Please choose the correct answer A First you write a list line using WRITE. Then you can store data for this line in the HIDE area B The HIDE area is filled ub the event TOP-OF-PAGE for each list page C The HIDE area is filled in the TOP include through the HIDE statement 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. GET node_00 LATE. Please choose the correct answerThe event is executed only if no data record is found for node_00 B 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 C delivered into the program D The event is not executed
A

Respuesta
OPCION

A B C

List Creation Technique

TAW10-1

OPCION

A B C D

List Creation Technique

TAW10-1

3 A B C D E

What can you control using the field catalog of an SAP ALV grid control? More than one answer is correct. Decide whether each answer is true or false 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

TRUE

FALSE

A B C D E

List Creation Technique

TAW10-1

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 A By saving the currency amounts with decimal places in the database A This takes place automatically, provided the checkbox CURRENCY output is ticked in the program B B attributes By maintaning the corresponding Customizing table and by using the addition CURRENCY in the C C WRITE statement. What advantages do logical database offer? More than one answer is correct. Decide whether each answer is true or false Autorization checks are performed at a central location in the logical database You can perform database updates with the PUT statement You do not have to program the database accesse themselves in the program Logical database can be reused by several programs The logical database provides a modifiable list structure You 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 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

OPCION

List Creation Technique

TAW10-1

5 A B C D E

TRUE

FALSE

A B C D E

List Creation Technique

TAW10-1

TRUE

FALSE

A B C D E

A B C D E

List Creation Technique

TAW10-1

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, A A 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 eB B 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 C C MESSAGE must be output. 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

OPCION

List Creation Technique

TAW10-1

OPCION

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


A B

A B C

List Creation Technique

TAW10-1

For a logical database whose name has three characters, the first two characters refer to the _________ of the logical database. The third character identifies the _________ Choose the correct answer. A NAME / APPLICATION AREA B APPLICATION AREA / NAME C NAME / TABLE If there is a ___________ statement within the END-OF-SELECTION processing block, program processing ends and the list buffer is displayed. Choose the correct answer. REJECT CHECK STOP EXIT The Logical database reads the data in ____________ subroutines. Choose the correct answer. GET_DATA PUT_<NODE> NODE: <NODE> Which of the following statements in ABAP are correct? More than one answer is correct. Decide whether each answer is true or false. The maximum length of the name for a RADIOBUTTON GROUP is eight characters. Adding COMMENT For FIELD <f> ensures that F1 Help for the field <f> is displayed for the comment text and the parameter while designing the selection screen It is recommended that you use Native SQL to read data from a logical database to maintain portability from one RDBMS to another. If you address subordinate nodes in the hierarchy, the selection screen criteria for only that subordinate node appears. Checks such as Authorization checks are usually performed during the event Process Before Output (PBO). Aside from function modules, function groups can also contain the following elements: Datadeclarationes (global data objects), Subroutines and Screens Select the one item that is not a SAP Default Navigation Button on a standard list Choose the correct answer. Save Back/Exit/Cancel Cut/Paste Find How many column headers are displayed on the screen in a standard list Choose the correct answer. 2 4 There are no column headers 1 What is written to the report in the following code Data: Fielda type i value 1. Perform Calculate_Sales. Fielda = fielda + 1. write:/ fielda. Form Calculate_Sales. Data: Fielda type I value 2. Fielda = Fielda + 2. Endform.
A B C D E

OPCION

A B C

List Creation Technique

TAW10-1

10

OPCION

List Creation Technique

TAW10-1

11

OPCION

List Creation Technique

TAW10-1

12 A B C D E F

TRUE

FALSE

A B C D E F

List Creation Technique

TAW10-1

13 A B C D

OPCION

A B C D

List Creation Technique

TAW10-1

14 A B C D

OPCION

A B C D

List Creation Technique

TAW10-1

15

Choose the correct answer. 2 3 1 5 4 What system field would you query to determine the current detail list Choose the correct answer. sy-list sy-lsind sy-listi sy-field

OPCION

A B C D E

List Creation Technique

TAW10-1

16 A B C D

OPCION

A B C D

Tema
Dictionary ABAP

Libro
TAW10-2

N
1 A B C D E

Preguntas / Opciones
Which statements about parameters for an elementary search help apply? More than one answer is correct. Decide whether each answer is true or false. A parameter is either an import or an export parameter. Export parameters control which data can be returned to the input template. Import parameters control which data can be included in the data selection. Parameters must be fields from the selection method only. Parameters can be displayed on the results list. Which of the following statement apply to a database view? More than one answer is correct. Decide whether each answer is true or false. A database view can have one or several database tables. A database view is a special view of transparent tables. Using a database view, you can insert data into several tables. Using a database view, you can read data from several tables. A database view supplies the results quantity of an outer join logic.

Respuesta
TRUE FALSE

A B C D E

Dictionary ABAP

TAW10-2

2 A B C D E

TRUE

FALSE

A B C D E

Dictionary ABAP

TAW10-2

A B C D E

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. If the search help function is linked to a table A, this search help is displayed whenever there are input A fields on that screen that have A as the check table. If the search help function is linked to a table A, this search help is displayed whenever there are input B fields from A on the screen. If the search help function is linked to the data element as well as to the field, the search help for the C field is displayed. A search help function that is linked to the data element can return values only for the search field D (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 E where the F4 help was triggered). Which of the following statements about APPEND structures are true? More than one answer is correct. Decide whether each answer is true or false. An APPEND structure is the same as a substructure. An APPEND structure can be assigned to several tables. APPEND structures allow you to append fields to an SAP table without having to modify the table itself. You can use an APPEND structure like any other structure in ABAP programs. After adding an APPEND structure to a table, you must convert the table. Is it possible to increase the number of key fields in transparent tables that are already active? Please choose the correct answer.

TRUE

FALSE

Dictionary ABAP

TAW10-2

4 A B C D E

TRUE

FALSE

A B C D E

Dictionary ABAP

TAW10-2

OPCION

A Yes, however the table must not contain any data yet. B Yes, irrespective of whether the table already contains data or not. C No. key changes are not allowed.

A B C

Dictionary ABAP

TAW10-2

A B C D

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. Before you make any changes, use a where-used list to search for dependent object, since the changes can continue to the fields in structures and database tables. Once changes have been made and the domain activated, you have to reactivate each dependent object individually. You make the changes immediately, since, initially, an inactive version is created for all dependent objects that contain these changes. If a dependent object is a transparent table that already contains data, the table in the database may have to be converted.

TRUE

FALSE

A B C D

Dictionary ABAP

TAW10-2

For what purpose are foreign keys(FK) defined in the ABAP Dictionary? Please choose the correct answer. A FKs are used solely for documentation table relationships. For the purpose of data consistency; When you maintain data records using dialog transactions B (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. C You thus preven invalid data from getting into the table.

OPCION

A B C

Dictionary ABAP

TAW10-2

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. If the table does not contain any data yet, the table needs to be activated. In this case, you delete the old A A 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 B 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 C administrator. Afterwards, you can reactivate the table in the Dictionary. Type changes in the Dictionary are supported for the key fields only. In the case of non-key fields, such D D changes can be executed only by the database administrator using special database techniques.
C

Dictionary ABAP

TAW10-2

Where can you have automatic input checks against the check table? Please choose the correct answer A For input fields on selection screens. B For input fields on ABAP lists. For input fields on screens if the input fields have been copied from the Dictionary into the Screen C painter. 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. 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. What must be assigned to search help parameters Choose the correct answer. values domain nothing data element Structure MY_STRUCTURE is created in the dictionary, when does the structure get created in the underlying database Choose the correct answer. When the table is activated It does not correspond to an object in the underlying database and does not get created When the database administrator physically creates the table At the end of the table creation after it is saved. At the beginning of the table creation When are Dictionary changes made available to ABAP programs Choose the correct answer. Immediately, providing the object is activated Next time user signs on Next time program is re-generated After Database is re-organized Where does information come from when you press F1 on a screen field Choose the correct answer. Search help Data element documentation Domain short text Domain Help values

OPCION

A B C

Dictionary ABAP

TAW10-2

10

TRUE

FALSE

A B C D

A B C D

Dictionary ABAP

TAW10-2

11 A B C D

OPCION

A B C D

Dictionary ABAP

TAW10-2

12

OPCION

A B C D E

A B C D E

Dictionary ABAP

TAW10-2

13 A B C D

OPCION

A B C D

Dictionary ABAP

TAW10-2

14 A B C D

OPCION

A B C D

Tema

Libro

Preguntas / Opciones
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 list 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 Create your own class B Capture the event with the CATCH statement C Write a handling method for the event D Register on the event using SET HANDLER statement
A

Respuesta

ABAP Objects

TAW10-3

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

A B C D

ref_cl is a reference to the class cl_document. ref_if is a reference to the interface if_display. The interface if_display is implemented by the class cl_document. What options do you have to create an object of the class_cl_document? More than one answer is correct. Decide wether eache answer is true or false CREATE OBJECT ref_cl CREATE OBJECT ref_if TYPE cl_document CREATE OBJECT ref_it DATA class_name TYPE string. Class_name='CL_DOCUMENT' CREATE OBJECT ref_if TYPE (class_name). Which of the following statements about functional methods are correct? More than one answer is correct. Decide wether each answer is true or false Functional methods cannot have any EXPORTING or CHANGING parameters Functional methods have exactly one RETURNING parameter You can use functional directly en a WRITE statement You can use functional methods directly in an arithmetic expression

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

3
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

Which of the following statements about interfaces are correct? More than one answer is correct. Decide wether each answer is true or false Interfaces represent a separation between an interface and implementation (class), for which the client A defines the protocol (interface) and the server (implementing class) implements it.
B C D

TRUE

FALSE

A client (caller) can use interface to access all interface methods and thus active polymorphic behavior B
C D E

Interface are used to call the static components of a class Using interfaces, you can simulate multiple inheriting Using interfaces, you can reference all the public components of an object that have been defined in E the corresponding interface implementing class 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 woul be syntactically correct after the above program component?

ABAP Objects

TAW10-3

More than one answer is correct. Decide wether each answer is true or false r_ca->ma( ) B r_cb->ma( ) C r_ca->mb( ) D r_cb->mb( )
A

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

6
A B C D E

What is allowed whithin class definitions? More than one answer is correct. Decide wether each answer is true or false Typing with LIKE to ABAP Dictionary types The definition of internal tables without header lines The definition of internal tables with header lines Typing with TYPE to ABAP Dictionary types The TABLES statement 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

A B C D E

ABAP Objects

TAW10-3

TRUE

FALSE

A B

In a static method, instance attributes can also be used, provided they are delcared as READ ONLY.

A B C D E

Static methods can be called through the class <class name> =><method name> C Instance methods can use both static as well as instance components in ther implementation part D Static attributes exist only once for each class E Both static as well as instance attributes are declared using the DATA statement

ABAP Objects

TAW10-3

Which of the following statements about inheritance are correct? More than one answer is correct. Decide wether each answer is true or false A 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 B be addressed in the subclass directly using ME->
C

TRUE

FALSE

A B C D

Through inheritance, the protected attributes of the superclass are inherited to the subclass

Through inheritance the private attributes of the superclass are inherited to the subclass and they can D be addressed in the subclass directly using THIS-> ABAP Objects TAW10-3 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 A during CREATE B An instance method for controlling how much main memory is to be reserved for an object An instance attribute that is automatically given a unique identification by the system when an object C is created 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
A B

OPCION

A B C

ABAP Objects

TAW10-3

10

TRUE

FALSE

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

A B C D

You can preset different objects of a class with different values immediately after being created The contents of the attributes of different objects in a class always contain the same content or values C immediately after being created D You define the type and number of attributes of an object through the corresponding class ABAP Objects TAW10-3 11
A B C D

Which techniques are basic requirements for polymorphism? More than one answer is correct. Decide wether each answer is true or false Narrowing cast Redifinition of methods (for polymorphism through inheritance) Widening Cast Implementation of methods of an interface in the respective classes (for polymorphism through interfaces)

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

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 A ABAP objects classes B If you have numeric interface parameters in an ABAP Objects class you can do without typing C Typing is imperative for interface parameters of a method belonging to an ABAP object class Refer to the following code and indicate which statements are true Data: cl_container type ref to cl_gui_custom_container, cl_grid type ref to cl_gui_alv_grid. More than one answer is correct. Decide wether each answer is true or false cl_grid points to the object that communicates with the container control cl_container points to the object that communicates with the container control cl_container points to the object that communicates with the ALV grid control cl_grid points to the object that communicates with the ALV grid control

OPCION

A B C

ABAP Objects

TAW10-3

13

TRUE

FALSE

A B C D

A B C D

ABAP Objects

TAW10-3

14 A B C D

When does an object get generated Choose the correct answer. When the reference variable for the class is defined When the program is loaded When a method of an object is called When a CREATE OBJECT statement is processed What method of Class CL_GUI_ALV_GRID would be used to display the contents of an internal table Choose the correct answer. REFRESH_TABLE_DISPLAY CONSTRUCTOR SET_TABLE_FOR_DISPLAY SET_TABLE_FOR_FIRST_DISPLAY What does a context object provide More than one answer is correct. Decide wether each answer is true or false Increased Database Load Reuseability Smaller and simpler Programs Stored calculated values on the presentation server Object oriented Programming

OPCION

A B C D

ABAP Objects

TAW10-3

15

OPCION

A B C D

A B C D

ABAP Objects

TAW10-3

16 A B C D E

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

17 A B C D

What is true about classes and object in Object Oriented ABAP More than one answer is correct. Decide wether each answer is true or false Class is a template for an object Objects are an instance of a class Classes are an instance of an object Objects can change their class

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

18

Which object type is a requirement for the ALV grid control Choose the correct answer. A CL_GUI_CONTAINER_ALV B CL_GUI_ALVGRID_CONTAINER C CL_GUI_CUSTOM _CONTAINER Mark the item that is not true about the Catch..EndCatch statement Choose the correct answer. a runtime error causes the system to go to the ENDCATCH statement a runtime error in a form called within a catch block is caught the return value assigned to the system exception is stored in sy-subrc the Others option catches any runtime errors not already assigned Identify the statement about Global Classes that is NOT true Please choose the correct answer Class Builder can be used to test global classes A method to be transported is identified in transport organiser as LIMU METH Programs that are available to Global Classes must be associated in Class Builder Global classes are stored in TADIR with key R3TR CLASS Access to a global class is done as a reference variable using TYPE REF TO What is true about classes and objects in Object Oriented ABAP More than one answer is correct. Decide wether eache answer is true or false Classes are an instance of an object Objects can change their class Class is a template for an object Objects are an instance of a class Mark the invalid attribute definitions class lcl_course definition. 10 public section. 20 Data: school(20) type c, 30 Supervisor type string value ADAMS, 40 Price(3) type p decimals 2 value 100 READ-ONLY. 50 types: type_category(15) type c, 60 type_name(10) type c. 70 constants: write_position type i value 10. 80 class-data: course_count type i. 90 private section. 100 data: category(15) type c, 110 name(10) type c. 120 courseid like mara-matnr. endclass.
A B C D E

OPCION

A B C

ABAP Objects

TAW10-3

19 A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

20
A B C D E

OPCION

A B C D E

ABAP Objects

TAW10-3

21
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

22

Please choose the correct answer 30 - 120 30 - 80 40 - 70 70 - 80 40 - 120 How do you call the method in a superclass that has the same name as a redefined method in the subclass? Please choose the correct answer Call Method Superclass->mymethod. Call Method Super->mymethod. Call Method mymethod. You can't . Only the redefined method can be called Identify the requirements that determine when an object gets deleted by garbage collection More than one answer is correct. Decide wether eache answer is true or false When all active objects are marked When none of its methods are registered as event handlers When objects can no longer be addressed from main memory When there are no more references pointing to an object

OPCION

A B C D E

ABAP Objects

TAW10-3

23
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

24
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

25
A B C D E

In the context of relationship between Super and Sub classes, identify the statements which apply More than one answer is correct. Decide wether eache answer is true or false Subclass does not know its superclass A subclass is a specialization of a superclass A change in a superclass does not automatically get realized in the subclass Superclass does not know its subclasses A superclass is a specialization of a subclass What is the only component that is implemented in the implementation part of a class Please choose the correct answer Method Attribute Object Interface Event What mechanism is used to define common components of different classes in ona place Please choose the correct answer Create Object Class Definition Interface Raise Event Identify the line that contains the valid use of the READ-ONLY addition class lcl_course definition. 10 public section. 20 Data: Price(3) type p decimals 2 value 100 READ-ONLY. 30 Types: type_category(15) type C READ-ONLY. 40 Constants: write_position type I value 10 READ-ONLY. 50 private section. 60 data: category(15) type C READ-ONLY, 70 class-data: course_count type I READ-ONLY. endclass.

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

26
A B C D E

OPCION

A B C D E

ABAP Objects

TAW10-3

27
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

28

A B C D E

Please choose the correct answer 30 60 50 20 40 Which statement will create an instance of a class Please choose the correct answer Class my_class Definition. Data: my_object TYPE REF TO my_class Create Object my_object Class my_class Implementation Identify the one addition that is not part of the interface of a method Please choose the correct answer Result Exception Importing Returning Where is the visibility of class components defined Please choose the correct answer Object Instance Class Methods Class Implementation Class Definition Identify the valid rule when calling public methods from within the class Please choose the correct answer When calling a static method, the class name is required When calling an instance method, the => operator is still required When calling a static method, the class name can be omitted Private methods can not call public methods Select the answers that apply to static methods and instance methods More than one answer is correct. Decide wether eache answer is true or false Instance methods MUST be addressed by object ref after instantiation Static methods MUST be addressed by object reference after instantiation Instance methods MUST be addressed by class name Static methods MUST be addressed by class_name even when object is instantiated

OPCION

A B C D E

ABAP Objects

TAW10-3

29
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

30
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

31
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

32
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

33
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

34
A B C D

In the context of polymorphism and interfaces, mark the item that is NOT true Please choose the correct answer the user is protected from the actual implementations interfaces describe the point of contact of a class interfaces contain their own implementation part a class can implement any number of interfaces What is possible with a subclass in an inheritance relationship to the superclass More than one answer is correct. Decide wether eache answer is true or false The subclass can remove components of the superclass can add new components to the subclass can provide inherited methods with new implementations (redefinition) inherits all the characteristics of the superclass Components defined in the superclass are not present in the subclass unless they are explicitly defined in the definition of the subclass Identify the behaviors of Abstract Classes More than one answer is correct. Decide wether eache answer is true or false Methods can only be implemented in the subclass Can only be implemented through an Interface Cannot be instantiated Methods can not be implemented in the subclass Using the UML modeling language for ABAP OO design, refer to the following and indicate the visibility of the components ------------------------| cl_myclass | ------------------------| +city | | #address | |-----------------------| | + get_city() | | - display_addr() | | | |-----------------------|

OPCION

A B C D

ABAP Objects

TAW10-3

35
A B C D E

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

36
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

37

A B C D E F

More than one answer is correct. Decide wether eache answer is true or false get_city is a public attribute address is protected attribute display_address is a public method display_address is a static public method display_address is a private method city is a public attribute

TRUE

FALSE

A B C D E F

ABAP Objects

TAW10-3

38

Identify the Characteristics of a Final Class More than one answer is correct. Decide wether eache answer is true or false A methods cannot be explicitly designated as FINAL B contains final methods implicitly C cannot have subclasses

TRUE

FALSE

A B C

ABAP Objects

TAW10-3

39

Refer to the following code and identify the statements that are true CLASS lcl_course DEFINITION. PUBLIC SECTION. METHODS: get_course_name IMPORTING im_name type s tring. CLASS-METHODS: list_prices_and_discounts. ENDCLASS. CLASS lcl_course IMPLEMENTATION. METHOD get_course_name. ENDMETHOD. METHOD list_prices_and_discounts. ENDMETHOD. ENDCLASS. Data: course1 type ref to lcl_course, course2 type ref to lcl_course. Start-of-selection. Create object course1. Course2 = course1. More than one answer is correct. Decide wether eache answer is true or false
A B C D E F method list_prices_and_discounts is a static method Method list_prices_and_discounts can only be called once list_prices_and_discounts is a instance method Memory is reserved for 2 instances of lcl_course Only one instance of method get_course_name exists Only one instance of method list_prices_and_discounts exists A B C D E F
TRUE FALSE

ABAP Objects

TAW10-3

40
A B C D

What statement will request memory to be allocated to an object Please choose the correct answer Call Constructor Create Object Call Method Create Constructor Global Class cl_course has been defined using the class builder. The development class is ZCL. What is the key entry in the repository table TADIR Please choose the correct answer R3TR ZCL CLASS None of the answers are correct R3TR CLAS cl_course R3TR cl_course R3TR GLOB CLASS What can be said about the lifetime of an object Please choose the correct answer All answers are correct An object exists for as long as it is being used in the program An object exists as long as at least one reference points to it An object exists as long as at least one method of the object is registered as an event handler. Using example code below, choose the correct syntax for the redefined method Class lcl_car definition. Public Section. method calc_speed importing im_distance type ty_dist . End Class.

OPCION

A B C D

ABAP Objects

TAW10-3

41
A B C D E

OPCION

A B C D E

ABAP Objects

TAW10-3

42
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

43

Please choose the correct answer Method calc_speed importing im_distance. B Method calc_speed Redefinition. C Method calc_speed importing im_distance Redefinition D Method calc_speed Redefinition importing im_distance type ty_dist.
A

OPCION

A B C D

ABAP Objects

TAW10-3

44

Refer to the following code and Select the VALID method call Class lcl_course definition. Public section. data: course_name(12) type c. methods: display_price importing im_course_name type string. Private section. Data: price type P value 100. constants: c_objects101(10) type c value 'OBJECTS101'. endclass. class lcl_course implementation. method display_price. course_name = im_course_name. If course_name = c_objects101. Write: price. Endif. endmethod. endclass. Data obj_course type ref to lcl_course. start-of-selection. create object obj_course. Please choose the correct answer Call method obj_course->display_price exporting im_course_name = 'OBJECTS101'. B Call method obj_course->display_price importing im_course_name = 'OBJECTS101'. C Call method obj_course->display_price exporting course_name = 'OBJECTS101'. D Call method obj_course->display_price exporting im_course_name = c_objects101.
A
OPCION

A B C D

ABAP Objects

TAW10-3

45
A B C D

A MOVE_CAST_ERROR runtime just occurred. Identify the cause Please choose the correct answer Super class and subclass both point to an instance of the same class type Casting a super class to a subclass when superclass does not point to an instance of the subclass type Subclass reference variable correpsonds to the superclass reference variable Super class method is called from the subclass

OPCION

A B C D

ABAP Objects

TAW10-3

46
A B C D E

Local Class lcl_course has been defined in a program belonging to development class ZCL. What is the key entry in the repository table TADIR Please choose the correct answer R3TR CLASS R3TR LOCAL CLASS None of the answers are correct R3TR ZCL CLASS R3TR lcl_class Refer to the following code and indicate which statements are true Data: cl_container type ref to cl_gui_custom_container, cl_grid type ref to cl_gui_alv_grid. More than one answer is correct. Decide wether eache answer is true or false cl_grid points to the object that communicates with the ALV grid control cl_grid points to the object that communicates with the container control cl_container points to the object that communicates with the ALV grid control cl_container points to the object that communicates with the container control Mark the items that characterize the Methods of a Class More than one answer is correct. Decide wether eache answer is true or false Can change the state of an object Can access only public attributes in their class Can access all attributes in their class Can be defined with a parameter interface Only pass return codes to the calling program What happens when the Set Handler command is executed Please choose the correct answer An instance of the event is created The Event Handler Method is registered The Event is triggered The Event is handled Changing the view of an instance of a class with more details is referred to as Please choose the correct answer narrowing cast up cast widening cast dynamic referencing Identify the statements that best describe the visibility of classes More than one answer is correct. Decide wether eache answer is true or false Local Classes are available only to the program where the class is defined Global classes are centrally available to all ABAP programs Local Classes are available only to programs in the same development class Global Classes are available only from programs belonging to the same development class Mark the operator used to widen cast of a class Please choose the correct answer => =? -> ?= = What can be said about the visibility of attributes in the following code CLASS lcl_course DEFINITION. PUBLIC SECTION. Data: name type string. PRIVATE SECTION. Data: price type course-price. ENDCLASS.

OPCION

A B C D E

ABAP Objects

TAW10-3

47

TRUE

FALSE

A B C D

A B C D

ABAP Objects

TAW10-3

48
A B C D E

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

49
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

50
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

51
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

52
A B C D E

OPCION

A B C D E

ABAP Objects

TAW10-3

53

More than one answer is correct. Decide wether eache answer is true or false price is protected from outside access B price is available to methods inside the class C name is available to methods only inside the class D name is protected from outside access
A

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

54

What triggers an event More than one answer is correct. Decide wether eache answer is true or false A Raise Event Inside the Method B Call Method C Raise Event

TRUE

FALSE

A B C

ABAP Objects

TAW10-3

55
A B C D

The syntax for static method specification Please choose the correct answer Call method class name->method Call method class name =>method Call class-method Call Method-> class name Identify the valid statements that will write out the Static Attributes in the following code class lcl_course definition. public section. data: name(15) type c value 'ABAPObjects101'. class-data price type p value 100. private section. data: category(10) type C value 'Objects'. endclass. data: course1 type ref to lcl_course, course_name type string, course_price type p, course_category type string.

OPCION

A B C D

ABAP Objects

TAW10-3

56

More than one answer is correct. Decide wether eache answer is true or false course_price = lcl_course=>price. Write course_price. B write: price. C write lcl_course=>price. D write lcl_course->price.
A

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

57
A B C D

Initializing an object in a subclass requires that the constructor of the superclas is first called. Identify the correct syntax Please choose the correct answer Call Method Super Constructor Call Method Super-> Constructor Call Method Constructor Call Method Constructor-> Super

OPCION

A B C D

ABAP Objects

TAW10-3

58

In Object orientation, the term USER includes More than one answer is correct. Decide wether eache answer is true or false A Events B Methods C Attributes Pick the syntax for a functional method with only 1 parameters More than one answer is correct. Decide wether eache answer is true or false refvar->method returning() refvar->method(p1) refvar->method(im = p1) refvar->method receiving() Class A provides friendship to Class B. Class B provides friendship to Class C. Identify the valid friend relationship. More than one answer is correct. Decide wether eache answer is true or false C is friend of A C is friend of B A is friend of B and C B and C are friends of A B is friend of A A program needs to gain access to the public attributes of class lcl_course. Identify the statements that are valid. class lcl_course definition. public section. data: name(15) type c value 'ABAPObjects101'. class-data price type p value 100. private section. data: category(10) type C value 'Objects'. endclass. data: course1 type ref to lcl_course, course_name type string, course_price type p, course_category type string. Create Object course1.
A B C D E

TRUE

FALSE

A B C

ABAP Objects

TAW10-3

59
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

60
A B C D E

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

61

More than one answer is correct. Decide wether eache answer is true or false course_price = lcl_course=>price. course_name = course1->name. course_name = course1=>name. course_name = name course_price = lcl_course->price.

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

62

A program needs to gain access to the public attributes of class lcl_course. Identify the statements that are valid. class lcl_course definition. public section. data: name(15) type c value 'ABAPObjects101'. class-data price type p value 100. private section. data: category(10) type C value 'Objects'. endclass. data: course1 type ref to lcl_course, course_name type string, course_price type p, course_category type string. **INSTANTIATION OMITTED **
A B C D E

More than one answer is correct. Decide wether each answer is true or false course_name = name name can not be accessed unless course1 is instantiated course_name = course1=>name. course_name = course1->name. course_price = lcl_course=>price. The concept of restricting direct access to data via hidden internal processes is best represented by which term Please choose the correct answer Instantiation Encapsulation Inheritance Polymorphism Identify the characteristics of the self reference ME Please choose the correct answer Self references allow an object to give other objects a reference to it. The self-reference ME can be used to access individual components All answers are correct None of the answers are correct

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

63
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

64
A B C D E

OPCION

A B C D

The reference ME can be used to determine the dynamic type of the reference variable in the debugger E The syntax for instance method specification is More than one answer is correct. Decide wether each answer is true or false Call method Objref=>method Call Method->Objref Call method (from within another instance method) Call method Objref->method What syntax provides access to individual components of a class within the class More than one answer is correct. Decide wether each answer is true or false CALL METHOD object instance->ME-> ME-> CALL METHOD ME-> object instance->ME-> Identify the ABAP OO Event signature protocols More than one answer is correct. Decide wether each answer is true or false Events can only have exporting Parameters Exporting parameters can only be passed by reference Exporting parameters can only be passed by value Events can only have importing Parameters

ABAP Objects

TAW10-3

65
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

66
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

67
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

68

Mark the item that is not true about the handler table Please choose the correct answer A Event handler methods are called in the sequence that they were registered in the handler table B There is a separate handler table for every object that has defined events Registered Methods in the handler table can only be triggered by RAISE EVENT i.e. not by CALL C METHOD
D

OPCION

A B C D

A single SET Handler command can be used to register multiple handler methods in the handler table

ABAP Objects

TAW10-3

69

In the following method, what other parameters are allowed CLASS lcl_course DEFINITION. PUBLIC SECTION. METHODS: get_course_name IMPORTING im_name type string Returning value(student_count) type I . ENDCLASS. Please choose the correct answer Exceptions B Exporting C Changing D Receiving
A
OPCION

A B C D

ABAP Objects

TAW10-3

70
A B C D

What implications exist when private components of a class are changed Please choose the correct answer Users of the private components must change their interface Any programs accessing the class must also change Programs are insulated from change None of the answers are correct Finish the following sentence so that it is TRUE. Static Components in an inheritance relationship.. More than one answer is correct. Decide wether each answer is true or false does not allow for methods to be redefined in subclasses cannot be shared exist once per roll area receive their own copy of the static attribute for each subclass

OPCION

A B C D

ABAP Objects

TAW10-3

71
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

72

Choose the correct redefinition of the superclass method in class lcl_super_course *Super Class Definition CLASS lcl_super_course DEFINITION. PUBLIC SECTION. METHODS: get_course_name IMPORTING im_name type string. ENDCLASS. *Sub Class Method ReDefinition A CLASS lcl_sub_course DEFINITION INHERITING FROM lcl_super_course. PRIVATE SECTION. METHODS: get_course_name IMPORTING im_name type string. ENDCLASS. B CLASS lcl_sub_course DEFINITION INHERITING FROM lcl_super_course. PUBLIC SECTION. METHODS: get_course_name IMPORTING im_name type string. ENDCLASS. C CLASS lcl_sub_course DEFINITION INHERITING FROM lcl_super_course. PRIVATE SECTION. METHODS: get_course_name REDEFINITION. ENDCLASS.

D CLASS lcl_sub_course DEFINITION INHERITING FROM lcl_super_course. PUBLIC SECTION. METHODS: get_course_name REDEFINITION. ENDCLASS. Please choose the correct answer SubClass Definition B B SubClass Definition A C SubClass Definition C D SubClass Definition D
A
OPCION

A B C D

ABAP Objects

TAW10-3

73
A B C D

In the context of Triggering and Handling of Events, mark those which apply More than one answer is correct. Decide wether each answer is true or false Events can be triggered with the Trigger Event command Methods must be registered to an event in order to be called when the event is triggered An event is defined in the Implementation of a Class Event Triggering using Raise Event can be issued in a method

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

74
A B C D E

An inherited class More than one answer is correct. Decide wether each answer is true or false can remove superclasss components can add components over and above the superclass can access the inherited private components can redefine the public methods of the superclass can not access the protected components What is contained in a class that does not exist in an interface Please choose the correct answer implementation attributes method definition How can a program access private attributes of an object Please choose the correct answer By methods of a different object within the same Program Only by methods of the specific object itself By methods of a different instance of the same object From outside the class Which of the following answers characterize ABAP OO events More than one answer is correct. Decide wether each answer is true or false Classes subscribe to events Events subscribe to classes Methods subscribe to classes Classes trigger events Start-of-selection is an OO event Mark the items that characterize some primary differences between objects and functions More than one answer is correct. Decide wether each answer is true or false

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

75
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

76
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

77
A B C D E

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

78
A B

TRUE

FALSE

Functions allow multiple instances of the same data objects. Objects only allow single instances of data A
B C D

Calling a function loads the entire function group implicitly into memory whereas instances of an object are generated explicitly when an object is created A program can only work with a single instance of the same function group versus a program can C access several instances of the same object A program can directly access data in the function group while access to data in an object is not D possible ABAP Objects TAW10-3 79
A B C D

A public attribute 'color' is added to a superclass. A subclass already has the same attribute 'color'. What is the outcome ? More than one answer is correct. Decide wether each answer is true or false The subclass is invalidated A syntax message will occur The superclass is invalidated A runtime error will occur Where would the components of class be defined Please choose the correct answer Logic component of a program Implementation part of a class Data Component of a program Definition part of Class Select the term used for Classes that can implement the same method differently Please choose the correct answer polymorphism inheritance encapsulation casting instantiation What are the rules for Event parameters More than one answer is correct. Decide wether each answer is true or false EXPORTING Parameters for events can only be passed by value EXPORTING Parameters for events can only be passed by reference Events can only have EXPORTING parameters Events also allow RETURNING parameters

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

80
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

81
A B C D E

OPCION

A B C D E

ABAP Objects

TAW10-3

82
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

83
A B C D

What redefining methods in a subclass, what is allowed ? More than one answer is correct. Decide wether each answer is true or false Code can be changed Only Instance methods Signature can be changed Private Static methods Define Polymorphism More than one answer is correct. Decide wether each answer is true or false its a characteristic when methods of the same class react differently to the same method call its one of the main strengths of inheritance its a characteristic when methods from differentclasses react differently to the same interface the same method is implemented in different ways by redefining the method in subclasses its a characteristic when objects from different classes react differently to the same method call Where are the methods of a class implemented Please choose the correct answer Object instantiation part of a program Implementation part of a class Definition part of Class Call method of the class Your program has registered several handler methods. How does the program know what methods are available for execution when an event is triggered Please choose the correct answer the system looks for registered handler methods In the registry registered for the event table and processes those that are the system looks for registered handler methods In the event handler internal table and processes those that are registered for the event The methods defined in the Class Definition listen for raised triggeredevents and respond when an event is It is determined by the RAISE Event command Which access authorizations apply to friend relationships? More than one answer is correct. Decide wether each answer is true or false A friend of a class has access to the private attributes of the class allowing the friendship 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 The allowing of a friendship is not inhderited The reference ME is defined by the system and has the following function: Please choose the correct answer

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

84
A B C D E

TRUE

FALSE

A B C D E

ABAP Objects

TAW10-3

85
A B C D

OPCION

A B C D

ABAP Objects

TAW10-3

86

OPCION

A B C D

A B C D

ABAP Objects

TAW10-3

87
A B C D

TRUE

FALSE

A B C D

ABAP Objects

TAW10-3

88
A B C

OPCION

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 solely to reference the private methods of the class itself You use the reference ME within a class to call attributes and methods of the class itself If you have a "Singleton Pattern", you must ensure that only one object can be created from a cl_singleton class. What mechanisms must you avail of here? More than one answer is correct. Decide wether each answer is true or false The singleton class must have a class method implemented in which the CREATE OBJECT call in programmed for this one object In the singleton class, there must be an event defined that is triggered when the first and only object is created and also precents further objects of this class from being created The CREATE OBJECT call for this one object can take place in the class constructor of the singleton class The singleton class must have an instance method implemented in which the CREATE OBJECT call is programmed for this one object

A B C

ABAP Objects

TAW10-3

89

TRUE

FALSE

A B C D

A B C D

Tema
Advanced ABAP

Libro
TAW10-3

N
1

Preguntas / Opciones
You have programmed a SELECT_ENDSELECT loop in table SBOOK (Flight Booking Data), whereby approximately 1,000 data records are read. How is the data transported from the database to the application server? Choose the correct answer
A B

Respuesta

OPCION

The data records are always transferred from the database to the application server record by record.

A B C

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 C the network load. Advanced ABAP TAW10-3
2

A B C D E

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. 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. What is the advantage of shared objects over import/export to shared memory/buffer? More than one answer is correct. Decide whether each answer is true or false. In shared objects areas, networks of object references can be stored. Data in shared objects areas is compressed. Data in shared objects can be accessed directly, without the data having to be copied. More data can always be saved in shared objects areas than in the shared memory/buffer. You want to develop an application with dynamic elements. Which of the statements are correct?

TRUE

FALSE

A B C D E

Advanced ABAP

TAW10-3

3 A B C D

TRUE

FALSE

A B C D

Advanced ABAP

TAW10-3

A B C D E

More than one answer is correct. Decide whether each answer is true or false. 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. Which statements about internal tables are correct? More than one answer is correct. Decide whether each answer is true or false. The costs for reading a data record from a hashed table do not depend on the number of entries in the table. If a field symbol is assigned with the READASSIGNING <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.

TRUE

FALSE

A B C D E

Advanced ABAP

TAW10-3

TRUE

FALSE

A B C D

A B C D

Advanced ABAP

TAW10-3

How is the shared objects area accessed in ABAP? Choose the correct answer. A Using a special data type B Using a special class C Using a special database table You want to develop an application that reads data from the SAP database. Since the application is runtime critical, you want to 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. Each table has exactly one primary index. For transparent tables, you can create up to two secondary indexes. An index should be composed of only a few fields, since the index must be updated for each change operation that also contains index fields. The more secondary indexes you create, the more probable it is that the database will use a suitable index to access the database. The client field does not have to be explicitly executed in a secondary index since it is added automatically by the database interface. You 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. 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.

OPCION

A B C

Advanced ABAP

TAW10-3

TRUE

FALSE

A B C D E

A B C D E

Advanced ABAP

TAW10-3

TRUE

FALSE

A B C D

A B C D

If you want to add an entry to a sorted table, the sort sequence must remain the same.

Advanced ABAP

TAW10-3

A B C D E

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

TRUE

FALSE

A B C D E

Advanced ABAP

TAW10-3

10

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 A result variables. The ABAP runtime always uses packed numbers for business calculations. This means that this B 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 C floating point arithmetic. Which of the following statements about field symbol are corrects? More than one answer is correct. Decide whether each answer is true or false. Field symbols contain the addresses of data objects at runtime. When you change the content of a field symbol, this changes the address of the assigned data object. When you change the content of a field symbol, this changes an address. That is, the field symbol no longer points to the data object. You can use field symbols to access data objects as if they had a different type than their static type. There are no data references in ABAP; there are only dereferenced pointers in the form of field symbols.

OPCION

A B C

Advanced ABAP

TAW10-3

11 A B C D E

TRUE

FALSE

A B C D E

Advanced ABAP

TAW10-3

12

A B C

E F

Which of the following statements regarding dynamic programming is correct? More than one answer is correct. Decide whether each answer is true or false. When you change the content of an assigned data reference, this changes an address. That is, the reference no longer points to the data object. In ABAP, you can define the type of an object when you define the reference, or wait until it is generated at runtime. In ABAP, you can define the type of a data object when you define it, or wait until it is generated at runtime. A globally typed data reference points to a data object that has already been assigned a different global type. In addition, a generically typed field symbol was used to dereference the data reference. If this field reference is used to access the data object, the type attributes of the data object will apply, and not those of the data reference. If a data reference variable is typed statically, it passes on its type attributes when it is assigned to a non-typed data reference. You can use RTTI classes in ABAP to determine all of the type properties of a (data) object at runtime. How much memory is reserved for the data object input_record in the following statement Types: begin of rec_type, flag type c, count(3) type c, today type d, end of rec_type. Data: input_record type rec_type.

TRUE

FALSE

A B C

E F

Advanced ABAP

TAW10-3

13

A B C D

Choose the correct answer. 4 bytes 0 bytes 12 bytes 5 bytes

OPCION

A B C D

Advanced ABAP

TAW10-3

14

What interface parameter would you check to determine the success of a BAPI call Choose the correct answer. A Exceptions Parameter 'RETURN' B Dictionary Structure BAPIRET2 C Export Parameter 'RETURN' What is the development class for local objects Choose the correct answer. Z00 $TMP Blank Local

OPCION

A B C

Advanced ABAP

TAW10-3

15 A B C D

OPCION

A B C D

Advanced ABAP

TAW10-3

16 A B C D

What message types can be generated by transactional documents More than one answer is correct. Decide wether each answer is true or false EDI workflow abend email In the catch statement, what is every runtime error assigned to Choose the correct answer. Error Class Development Class Case Catch Class

TRUE

FALSE

A B C D

Advanced ABAP

TAW10-3

17 A B C D

OPCION

A B C D

Advanced ABAP

TAW10-3

18

How do you output icons on an ABAP list? Choose the correct answer A You must enter the include <system> in the program. You must enter the include <icon> in the program and also specify the addition AS ICON in the B WRITE statement. C You must specify the addition FORMAT AS ICON in the WRITE statement. The statement WRITE 'Addres and Bank Link'(001). is listed correctly. However, a different text appears in the list at this position. What can be the reasons for this? More than one answer is correct. Decide whether each answer is true or false. No text element 001 is defined. B The corresponding list line is dynamically set to "inactive". The user who started the program has logged on in a language for which no traslation exists for this C text element. D Text element 001 was defined with a different text.
A

OPCION

A B C

Advanced ABAP

TAW10-3

19

TRUE

FALSE

A B C D

Advanced ABAP

TAW10-3

20

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 answer is correct. Decide wheather each answer is true or false. REPORT TEST. A SKIP TO LINE 20. POSITION 10. WRITE:/ 'Name:', 'Address:' UNDER 'Name:'. REPORT TEST NO STANDARD PAGE HEADING. B SKIP TO LINE 20. POSITION 10. WRITE:/'Name:',/'Address:'.
C

TRUE

FALSE

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

REPORT TEST NO STANDARD PAGE HEADING. SKIP TO LINE 20. POSITION 10. WRITE:/'Name:',/'Address:' UNDER 'Name:'. REPORT TEST NO STANDARD PAGE HEADING. E SKIP TO LINE 20. POSITION 10. WRITE:/'Name:',/10 'Address:'. Which of the following statements apply to the SAP grid control? More than one answer is correct. Decide wheather each answer is true or false. Can only display structures from the Dictionary. Provides standard functions such as sorting. Can only display single-line lists. Cannot print data. Can only be implemented in module pools. You want to have a list output in the program with the help of the SAP grid control. What steps must you perform in the program to achieve this? More than one answer is correct. Decide wheather each answer is true or false. Create an object reference for the SAP grid control. Make the container control available. Create a screen. Create an object class for the SAP grid control. Program WRITE statements for the list output.

Advanced ABAP

TAW10-3

21 A B C D E

TRUE

FALSE

A B C D E

Advanced ABAP

TAW10-3

22

TRUE

FALSE

A B C D E

A B C D E

N
1 A B C D

Preguntas / Opciones
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. What effect does the statement SUPPRESS DIALOG have in a PBO module of a screen?
A B C D

Respuest
OPCION

A B C D

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. 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. 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. Which of the following statements about the subscreens are correct? More than one answer is correct. Decide whether each answer is true or false. Subscreens have their own OK code field. You call subscreens using the ABAP command CALL SUBSCREEN. You call subscreens using the screen command CALL SUBSCREEN. The statement LEAVE TO SCREEN is not allowed in subscreen flow logic. Which of the following 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>.

OPCION

A B C D

3 A B C D

OPCION

A B C D

OPCION

A B C D 5 A B C D 6 A B C D 7

A B C D

TRUE

FALSE

A B C D

OPCION

A B C D

Which of the following statement about pushbuttons are correct? Pushbuttons More than one answer is correct. Decide whether each answer is true or false. A in an application toolbar always have a function code. B in an application toolbar always have a corresponding function key.

TRUE

FALSE

A B

on a screen always have a corresponding function key. D with function code E cause program termination.
C 8

C D

A B C D

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. 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. 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 EXITCOMMAND. There is no way to do this; required entry fields must always be filled first.

TRUE

FALSE

A B C D

OPCION

A B C D E

A B C D E

10

A B C D

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. An I-type message must be output. The check module must be called using: FIELD field name MODULE check module MESSAGE Ennn. The check module must be called using: FIELD field name MODULE check module. The module must output an E-type message or a W-type message. 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 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. 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. Which is not an automatic check carried out by the Screen Processor Please choose the correct answer Format Check Obligatory Field Check Fixed Values Foreign Key Check Parameter Id Validation Why is it a good idea to use a backup version of the OK_CODE i.e. SAVE_OK_CODE = OK_CODE Please choose the correct answer OK_CODE is a system reserved variable and cannot be accessed directly Because the OK_CODE gets reset at the beginning of each execution of PAI processing To prevent accidental setting of the OK_CODE in a different screen So the OK_CODE is freed up for subscreens

TRUE

FALSE

A B C D

11

OPCION

A B C D

A B C D

12

OPCION

A B C D 13 A B C D E

A B C D

OPCION

A B C D E

14

OPCION

A B C D 15

A B C D

What type of memory is typically used as default values for screen fields Please choose the correct answer A SAP memory B ABAP/4 memory C Shared Memory How many At Exit-Command Modules are allowed in the PBO.

OPCION

A B C

16

A B C D 17 A B C D 18 A B C D

Please choose the correct answer 0 2 Unlimited 1 What is true about the POH/POV events Please choose the correct answer After these events are processed the screen is redisplayed but the PBO is not processed After these events are processed the PAI is processed then the PBO and then the screen is displayed After these events are processed the PBO module is processed and the screen is redisplayed None of the answers are correct Using screen painter, how do you logically relate Radio Buttons Please choose the correct answer Ensure the prefix name of the radio buttons is the same Encompass them in a Radio Button Group Define a Group box Make sure each one has the same Screen Group Name

OPCION

A B C D

OPCION

A B C D

OPCION

A B C D

Mark the invalid flow logic statement.


10 PROCESS BEFORE OUTPUT. 20 MODULE SET_STATUS_0100. 30 Set Titlebar 'ABC'. 40 CALL SUBSCREEN SUB INCLUDING 'SAPMZABC' '110'. 50 LOOP. 60 MODULE CHECK_LOOP. 70 ENDLOOP. 80 PROCESS AFTER INPUT. 90 MODULE USER_COMMAND_0100. 100 FIELD FLIGHT MODULE CHECK_FLIGHT ON-REQUIRED.

19

A B C D E 20 A B C D 21 A B C D 22 A B C D

More than one answer is correct. Decide whether each answer is true or false. 30 100 20 40 50 Where should the CANCEL (Rex X) button on the standard toolbar take the user Please choose the correct answer To where the transaction was called To the initial screen of the transaction To the previous screen To the Cancel area What statement allows you to generate a report from an online transaction Please choose the correct answer LEAVE TO BASIC LIST LEAVE TO LIST-PROCESSING CALL REPORT report_name GENERATE list What methods could be used to specify the next screen to be displayed More than one answer is correct. Decide whether each answer is true or false. Set Screen Use the Next Screen Option on the Screen Attributes Loop at Screen Submit Screen What is true about Dialog programs More than one answer is correct. Decide whether each answer is true or false. The flow logic is contained in Modules Dialog Programs do not require a transaction to execute the module pool Screens are optional in a dialog program. Transactions are a vehicle to execute dialog program update and enqueue techniques are important.

TRUE

FALSE

A B C D E

OPCION

A B C D

OPCION

A B C D

TRUE

FALSE

A B C D

23
A B C D E 24

TRUE

FALSE

A B C D E

The OK_CODE serves what purpose Please choose the correct answer A contains screen field values B contains function codes

OPCION

A B

determines successful user action What is true about subscreens More than one answer is correct. Decide whether each answer is true or false. Multiple subscreens are possible in a single screen. You can also specify the subscreens dynamically at runtime Can set their own titlebar Can set their own GUI status have their own OK_CODE After a user action is performed, what event is triggered in a dialog program Please choose the correct answer Case OK_CODE PAI Module User_command PBO What statement will start a new internal session in the same external session More than one answer is correct. Decide whether each answer is true or false. Leave to transaction Call Transaction Submit.. .. and Return Submit The following statement MESSAGE S001(AT) is issued in a PAI module of a Dynpro. Where does the message appear? Please choose the correct answer On the same screen On the next screen After the AT-EXIT Module In the System Log Refer to the following code. Module CHECK_FIELD_CD raises an Error Message. Mark the Field(s) that are Open For Input. process after input. 10 module exit at exit-command. module back. 20 field a module check_field_a. 30 field b module check_field_b. 40 chain. field: a, b, c. module check_field_abc. endchain. 50 chain. field: c, d. module check_field_cd. <== ERROR endchain.

25
A B C D E 26 A B C D 27 A B C D

TRUE

FALSE

A B C D E

OPCION

A B C D

TRUE

FALSE

A B C D

28

OPCION

A B C D

A B C D

29

Please choose the correct answer c B a, b, c


A

OPCION

A B

c, d D b, d
C

C D

30
A B C D E 31 A B C D 32 A B C D 33 A B C D 34 A B C D

Which statement will ensure processing returns to the calling point after the user presses F3 to exit the list Please choose the correct answer CALL report AND RETURN SUBMIT report LEAVE TO LIST-PROCESSING SUBMIT ZPGMA and Return SUBMIT ZPGMA with selection-set.. .. Where would you typically see the code "Call Selection-Screen" Please choose the correct answer At Line-Selection Start-of-Selection Top-of-Page At Selection-Screen When would you use one of the the F4_IF* functions Please choose the correct answer In the module that perform OKCODE processing In the PAI when Process on Value-Request dialog event is triggered In the PBO when Process on Value-Request dialog event is triggered In the PAI when Process on Help-Request dialog event is triggered What is the difference between call screen and set screen Please choose the correct answer There is no difference Call Screen is used only for external screens. Set screen is only for screens in the same module pool Call screen executes and returns to the point of call. Set Screen does not Set screen executes and returns to the point of call. Call Screen does not Indicate the functions that are capable of transporting data to screen fields More than one answer is correct. Decide whether each answer is true or false. DYNP_VALUES_UPDATE DYNP_VALUES_READ DYNPREAD F4IF_FIELD_VALUE_REQUEST

OPCION

A B C D E

OPCION

A B C D

OPCION

A B C D

OPCION

A B C D

TRUE

FALSE

A B C D

35
A B C D E 36 A B C D

If you are building a tabsrip to be handled at the presentation level, what function type should be assigned to the tab title Please choose the correct answer P T Blank F E What is true about context menus More than one answer is correct. Decide whether each answer is true or false. A subordinate output field in a table control inherits the context menu of the table control They are a special GUI Status A subordinate input field in a subscreen causes the subscreen to inherit the context menu of the subordinate field Context Menus are assigned to input fields What includes are generated in module pool SAPMZABC if only DYNPRO 100 exits. Refer to the following Flow Logic for Dynpro 100. PROCESS BEFORE OUTPUT. * MODULE SET_STATUS_0100. PROCESS AFTER INPUT MODULE USER_COMMAND_0100.

OPCION

A B C D E

TRUE

FALSE

A B C D

37

A B C D 38 A B C D 39 A B C D

More than one answer is correct. Decide whether each answer is true or false. MZABCTOP USER_COMMAND_0100 MZABCO01 MZABCI01 What is required in the flow logic in order to process a table control? Please choose the correct answer A loop .. endloop statement for the table control only in the PAI A loop .. endloop statement for the table control in both the PBO and the PAI A loop .. endloop statement for the table control only in the USER_COMMAND module A loop .. endloop statement for the table control only in the PBO What statement in Dialog Programming makes screen fields available for input Please choose the correct answer Field Module Check Case

TRUE

FALSE

A B C D

OPCION

A B C D

OPCION

A B C D

40

If you do not SUPPRESS DIALOG in a dynpro before you LEAVE TO LIST-PROCESSING, the following will happen: More than one answer is correct. Decide whether each answer is true or false. The screen will be displayed with the report that was built, but the gui-status will be the one from A A the previous screen B The report will be displayed on the screen only after the user presses the enter key B C The previous screen (calling screen) will be redisplayed C

TRUE

FALSE

The screen will be displayed, and will be empty What is proper coding practice in the flow logic of a Dynpro when a subscreen is defined on the screen Please choose the correct answer Call Subscreen in the PAI and PBO The Call Subscreen statement is not required Call Subscreen in the PAI only Call Subscreen in the PBO only Where does the Modification GROUP assigment of fields get defined Please choose the correct answer Using the SET GROUP statement Do you really care In the Dynpro In the screen painter

41

OPCION

A B C D 42 A B C D

A B C D

OPCION

A B C D

43
A B C D E

How many Modification Groups are allowed per screen field Please choose the correct answer 4 1 3 Unlimited 2 What attribute in a table control must be defined in order to activate row selection functionality Please choose the correct answer TOP_LINE w/selcolumn LINE_SEL_MODE Function code Mark the program Attribute that is used to define a Dialog Program Please choose the correct answer R D 1 M

OPCION

A B C D E

44

OPCION

A B C D

A B C D

45
A B C D

OPCION

A B C D

46

You have issued a Set Titlebar in the PBO of your screen. How long will the title remain active Please choose the correct answer A Until the Next screen change B Until the next Set TitleBar statement C Until the next DB Luw What is the order of transport in PBO when a table control is defined in your module pool Please choose the correct answer Screen fields followed by table control fields All fields regardless of table control definition are transported at the beginning of PBO Table control fields followed by the remaining screen fields Dictonary Fields followed by Program Fields

OPCION

A B C

47
A B C D

OPCION

A B C D

48

Mark the valid name for a 'text field' in screen painter Please choose the correct answer A _mytext B !mytext C ?mytext In what case are Tabstrips good candidates. More than one answer is correct. Decide wether each answer is true or false A When Users need the ability to navigate freely between components B When Navigation between components is predetermined in a fixed manner C When several components of an application need to be displayed on one screen Where would you typically program dynamic screen changes. Please choose the correct answer

OPCION

A B C

49

TRUE

FALSE

A B C

50

OPCION

A B C D

In a PBO module In a PAI Module PAI screen event in Flow logic PBO screen event in Flow logic To handle user request in a dialog program, you must assign function codes to the relevant screen and window elements in the Screen Painter and Menu painter. Mark the element that does not contain a function code. Please choose the correct answer Screen Pushbuttons menu functions Container tool-bar pushbuttons

A B C D

51

OPCION

A B C D

A B C D

52

A B C D

F4 is pressed for a screen field. What is the order of precedence that takes place. Assume that all "possible values" options have been defined for the screen field. a)The corresponding check table will be referenced and displayed b)Process on Value-Request is executed c)A search help is referenced and displayed d)The corresponding domain values will be displayed Please choose the correct answer b, c, a, d a, b, c, d b, d, a, c d, a, c, b What table do you automatically get in a dynpro without having to declare it in your module pool Please choose the correct answer Subscreen Sy-Table Screen Screen_ITAB What field is not mandatory when creating a transaction. Please choose the correct answer Program Transaction Text Screen Number Authorization Object When does the dialog processor perform automatic checks Please choose the correct answer Before PBO Processing Begins After the User has pressed enter and before the PAI modules are processed After PAI Processing is complete After the User has pressed enter and before the PBO modules are processed Your dynpro has a table control. It also makes use of the field statement. What is the order of data transport in the PAI (from the scree to ABAP) Please choose the correct answer All fields except table control and field statements, Table control fields, Field statement fields Field statement fields, Table control fields, remaining fields Dictionary Fields followed by Program Fields Table control fields, Field statement fields, All remaining fields

OPCION

A B C D

53
A B C D

OPCION

A B C D

54
A B C D

OPCION

A B C D

55
A B C D

OPCION

A B C D

56

OPCION

A B C D

A B C D

57

Screen 100 calls 200. Screen 200 makes a request to perform list processing with the suppress dialog option. Where does processing resume after returning from the list. More than one answer is correct. Decide wether each answer is true or false A To the next screen defined in the screen attributes of screen 100 A B There is no return if the statement LEAVE TO LISTPROCESSING is used B C To the beginning of the transaction C

TRUE

FALSE

If LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN xxx is used, return will go to screen xxx E To the next screen defined in the screen attributes of screen 200 A complex data object must be declared in your Top Include for a table control. What is it's TYPE ? Please choose the correct answer CXTAB TableView TableControl Table What makes up a dialog step Please choose the correct answer All PBO and PAI modules in the Module pool One sequence of a PBO followed by a PAI One sequence of a PAI followed by a PBO All ABAP Modules of a screen

D E

58
A B C D

OPCION

A B C D

59
A B C D

OPCION

A B C D

60

What happens when a user presses F1 on a screen field Please choose the correct answer A The system will display the documentation of the field to which a screen field refers The system will display the documentation of the data element to which a screen field B refers C The system will display the documentation of the domain to which a screen field refers
D

OPCION

A B C D

The system will display the technical information of the field to which a screen field refers What will cause the system to implicitly trigger database commits. More than one answer is correct. Decide wether each answer is true or false CALL SUBSCREEN At User-Command Message I001. Exit the Transaction CALL TRANSACTION What makes up a Tabstrip. More than one answer is correct. Decide wether each answer is true or false Tab Title Function Keys Tabstrip Menu Bar Subscreens Subscreen Area Mark the one component that is NOT part of a dynpro Please choose the correct answer Module Pool Flow logic Screen attributes Element List Screen layout How do you determine the Parameter ID for a screen field Please choose the correct answer F1, Technical Info on the screen field Check users default Check table TPARA Check the Value statement in the Top Include What are the minimum requirements for Processing User request in a Dynpro. More than one answer is correct. Decide wether each answer is true or false OK_CODE Checking is performed in the Screen Flow Logic The last field of the element list of the screen has the name OK_CODE OK_CODE is Defined in the TOP Include Define a GUI Status

61
A B C D E

TRUE

FALSE

A B C D E

62
A B C D E

TRUE

FALSE

A B C D E

63
A B C D E

OPCION

A B C D E

64
A B C D

OPCION

A B C D

65
A B C D

TRUE

FALSE

A B C D

66

The standard function key used for dispplaying a list of possible values is: Please choose the correct answer A F2 B F3 C F1

OPCION

A B C

F4 What must be assigned to a module pool in order for it to be executed Please choose the correct answer Event Program Type Module Transaction Refers to the following Code. An E(rror) or W(arning) message is issued in the PAI of dynpro. What does not take place. Field MYTAB-RESERVATION Module Validate_Reservation. Please choose the correct answer The field is ready for input again PBO is reprocessed The system places the cursor in the error field Screen is Redisplayed The Message is displayed

67
A B C D

OPCION

A B C D

68

OPCION

A B C D E

A B C D E

69

A B C D

Transaction 'ZABC' contains mandatory fields on the first screen, A dialog program issues the statement CALL Transaction ZABC and Skip First Screen. What is required in the first screen of transaction ZABC for the call to function properly. Please choose the correct answer Export the screen fields to memory The mandatory fields must be filled in with "Get Parameter" statement or default values in Transaction ZABC The mandatory fields must be filled in with "Set Parameter" statement or default values in Transaction ZABC The first screen in transaction ZABC can indicate that mandatory fields do not need to be filled in if called by another transaction Which of the following corresponds to the command entry /ntcod Please choose the correct answer SUBMIT TRANSACTION tcod LEAVE PROGRAM LEAVE TO TRANSACTION tcod CALL TRANSACTION tcod In a dialog program, what coding technique allows passing of all the rows of the internal table T_BOOKING to the program named RSPGM01 Please choose the correct answer SUBMIT RSPGM101 WITH BOOKING = T_BOOKING. SET PARAMETER ID BOK FIELD T_BOOKING. SUBMIT RSPGM101. IMPORT T_BOOKING TO MEMORY ID MYID. SUBMIT RSPGM101. EXPORT T_BOOKING TO MEMORY ID MYID. SUBMIT RSPGM101. In PBO, what field contains the total number of lines in table control tc_flight Please choose the correct answer TC_FLIGHT-LINES SY-DYNNR SY-STEPL TC_FLIGHT-TOTAL_LINES What needs to be coded if you want to branch to report program ABC from a dialog program, but you do not want the user to see the selection screen Please choose the correct answer SUBMIT ABC WITH CARRID = W_CARRID CALL ABC WITH CARRID = W_CARRID SUBMIT ABC AND SKIP FIRST SCREEN. SUBMIT ABC VIA SELECTION-SCREEN.

OPCION

A B C D

70
A B C D

OPCION

A B C D

71
A B C D

OPCION

A B C D

72
A B C D

OPCION

A B C D

73
A B C D

OPCION

A B C D

Tema
Database changes

Libro
TAW12-1

N
1

Preguntas / Opciones
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. Raise an exception. Perform a ROLLBACK WORK. Output an error message. Analyze the log record. Output a termination message. Which statements apply to dialog programs that change databases? More than one answer is correct. Decide whether each answer is true or false. When the asynchronous update is used, the COMMIT WORK statement is not required, since it is executed implicitly after each screen change. All inline changes must be executed in the PAI of the last screen in order to ensure the rollback capability of SAP-LUW. In the PAI of each screen, you must use the COMMIT WORK statement. When the asynchronous update is used, database changes are made directly by the program. When the asynchronous update is used, set SAP locks are transferred to the update procedure so that they do not have to be removed in the actual dialog program. What are the main reasons for using update techniques? More than one answer is correct. Decide whether each answer is true or false. To relieve the load on the dialog work processes. To create reusable modules for database changes. To collect database change request from several dialog steps in order to process them or delete them together. To achieve delayed implementation of database changes. To log the database changes.

Respuest

TRUE

FALSE

A B C D E

A B C D E

Database changes

TAW12-1

TRUE

FALSE

A B C D E

A B C D E

Database changes

TAW12-1

3 A B C D E

TRUE

FALSE

A B C D E

Database changes

TAW12-1

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 A At the time of the call. B At COMMIT WORK C At the start of the function execution. 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. A call for an update function module in the case of time-consuming changes. An AUTHORITY-CHECK statement. A call for ENQUEUE/DEQUEUE function modules. The COMMIT WORK statement when using the update method. Use of a logical database.

OPCION

A B C

Database changes

TAW12-1

TRUE

FALSE

A B C D E

A B C D E

Database changes

TAW12-1

Why must logical SAP locks and not database locks be set in dialog programs to prevent concurrent data accesses? Choose the correct answer. A Because SAP locks are more efficient than database locks.
B C

OPCION

A B C

Because set database locks may be implicitly removed before the changes have been made to the data. Because SAP locks are more up to date and easier to maintain than database locks. Which 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. Pass the changes entered by the user to the update process. Read the data record that is to be updated. Lock the data record that is to be updated. Unlock the data record that is to be updated. Call the ABAP command COMMIT WORK. What would be a reason for choosing to use asynchronous updates in your ABAP program. More than one answer is correct. Decide whether each answer is true or false. To improve user response time your updates need to run together as a logical unit Immediate updates to the Database are required your program need the updates completed in order to continue processing

Database changes

TAW12-1

TRUE

FALSE

A B C D E

A B C D E

Database changes

TAW12-1

8 A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1

9
A B C D E

Which Number range function would you use to determine if an external number lies in a specified number range interval. Please choose the correct answer NUMBER_GET_INFO NUMBER_RANGE_INTERVAL_LIST NUMBER_CHECK . NUMBER_RANGE_EXTERNAL_CHECK NUMBER_GET_NEXT Identify the synchronous update techniques. More than one answer is correct. Decide whether each answer is true or false. Update table.. .. PERFORM.. .. ON COMMIT and WAIT COMMIT WORK AND WAIT CALL FUNCTION in Update Task Which update request always run asynchronously Please choose the correct answer V2 Local V1 Transactional Which does not provide synchronous processing Please choose the correct answer an update-task function module triggered with COMMIT WORK AND WAIT an update-task function module triggered with COMMIT WORK Batch Input Programs PERFORM.. .. ON COMMIT Which statements would conclude a SAP LUW. More than one answer is correct. Decide whether each answer is true or false. ROLLBACK WORK CALL Transaction MESSAGE S101 COMMIT WORK What message type does not implicitly trigger database commits for the table updates specified in your program Please choose the correct answer I type MESSAGE statement A type MESSAGE statement E type MESSAGE statement W type MESSAGE statement S type MESSAGE statement What is true about V2 updates within the same SAP LUW Please choose the correct answer An error in one V2 function module cause all other V2 functions to be rolled back Each V2 function module for a given COMMIT WORK always runs in its own (separate) DB LUW V2 errors cause V1 updates to be rolled back They are usually time critical updates What is true about both synchronous and asynchronous Remote Function Calls More than one answer is correct. Decide whether each answer is true or false. The function module forms its own Database LUW The remote function will continue to execute even if the caller is no longer active All parameters must have a dictionary reference They are executed on another R/3 database server What happens when number range interval buffering is active for internal numbers More than one answer is correct. Decide whether each answer is true or false. Duplicate numbers will never be encountered in the system perceived improved performance can be achieved a programmer can choose to ignore buffering on request The numbering sequence is contiguous

OPCION

A B C D E

Database changes

TAW12-1 10
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 11
A B C D

OPCION

A B C D

Database changes

TAW12-1 12
A B C D

OPCION

A B C D

Database changes

TAW12-1 13
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 14
A B C D E

OPCION

A B C D E

Database changes

TAW12-1 15
A B C D

OPCION

A B C D

Database changes

TAW12-1 16
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 17
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 18
A B C D

Program A makes a call to Program B with "Submit Program B and Return". How many SAP LUW's are involved Please choose the correct answer 3 2 0 1 If you want to work with the standard number range functionality, you only need the function modules in the function group Please choose the correct answer SNR3 SNR1 SNR2 SNR4 What Functions are generated on the Activation of Lock Object EZMARA More than one answer is correct. Decide whether each answer is true or false. ENQUEUE_EZMARA DEQUEUE_EZMARA ENQUEUE_EZ_MARA DEQUEUE_EZ_MARA

OPCION

A B C D

Database changes

TAW12-1 19
A B C D

OPCION

A B C D

Database changes

TAW12-1 20
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 21

How would you define a lock object Please choose the correct answer A Use the Data Browser B Through a Function Call C Create it as an object in the dictionary What takes place after each dialog step Please choose the correct answer A Commit Work is executed System passes a Database commit to the database system The application gathers data for update processing The SAP LUW is concluded What is true about Perform On Commit Please choose the correct answer Parameter passing is allowed Multiple calls to a FORM result in single execution of the FORM Commit Work is allowed in the form RollBack Work is allowed in the FORM Refer to the following code. How would you program a generic lock on all rows of a table that have key values 'AA', '111' for the first 2 fields Call Function Enqueue_ESMYLOCK Exporting Field1 = Field2 = Field3 = Please choose the correct answer It is not possible in this case B Field1 = Generic, Field2 = Generic, Field3 = Space C Field 1 = AA, FIELD2 = 111, Field3 = Initial D Field 1 = AA, FIELD2 = 111, Field3 = Space
A

OPCION

A B C

Database changes

TAW12-1 22
A B C D

OPCION

A B C D

Database changes

TAW12-1 23
A B C D

OPCION

A B C D

Database changes

TAW12-1 24

OPCION

A B C D

Database changes

TAW12-1 25
A B C D

"Call Function Starting New Task" is an example of what type of call Please choose the correct answer Batch Asynchronous Synchronous Direct What would trigger a rollback. Please choose the correct answer An RFC Function Call that terminates normally A program that issues a MESSAGE type 'A'. A user cancels the transaction A program that issues a Commit Work statement

OPCION

A B C D

Database changes

TAW12-1 26
A B C D

OPCION

A B C D

Database changes

TAW12-1 27

What order is recommended when setting and releasing locks in your program Please choose the correct answer A read data,lock data, update database, release locks B lock data, read data, release locks, update database C A program that issues a Commit Work statement What transaction is used to handle termination updates Please choose the correct answer SM13 CCMS SM12 SE80 What table is used to store transaction codes. Please choose the correct answer tstc txncodes tstct txn A commit work is issued in a transaction that employs asynchrnous ipdating, what takes place.
A B C D

OPCION

A B C

Database changes

TAW12-1 28
A B C D

OPCION

A B C D

Database changes

TAW12-1 29
A B C D

OPCION

A B C D

Database changes

TAW12-1 30

More than one answer is correct. Decide wether each answer is true or false SAP LUW is concluded User is notified of updates Update requests are processed Database commit is triggered

TRUE

FALSE

A B C D

Database changes

TAW12-1 31

What technique is used to ensure remote functions are still processed even if the partner computer is not active. Please choose the correct answer A Asynchronous RFC B Synchronous RFC C Transactional RFC If you trigger a lock object and it is already locked by some ather user, what exception would be raised?. Please choose the correct answer 03 - Already_Locked 08 - General_Failure 01 - Foreign_Lock 02 - System Failure Mark the item that are true with the Asynchronous Update technique in a SAP LUW More than one answer is correct. Decide wether each answer is true or false Update task functions are logged in the SM12 log tables Requests are not passed directly to the DB You can combine update requests from consecutive dialog steps COMMIT concludes the SAP LUW All updates are performed or none at all The scope Parameter for your lock object function module has been set to 2, what does this imply. More than one answer is correct. Decide wether each answer is true or false You must release the locks programatically Locks generated in the dialog program are passed on to the update program An update termination error holds the locks The locks are automatically released when the updates complete Three Lock have been set in a Transaction. What are methods that would cause the release of all three. More than one answer is correct. Decide wether each answer is true or false End the Transaction Reset Command CALL FUNCTION DEQUEUE_ALL Commit Work Program ends abnormally

OPCION

A B C

Database changes

TAW12-1 32
A B C D

OPCION

A B C D

Database changes

TAW12-1 33
A B C D E

TRUE

FALSE

A B C D E

Database changes

TAW12-1 34
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 35
A B C D E

TRUE

FALSE

A B C D E

Database changes

When a COMMIT WORK is issued, in what order does processing occur. Refer to the following code 1. Dialogtask TAW12-1 36 FORM routines logged with PERFORM. ON COMMIT. 2. High-priority (V1) update-task function modules. 3. Low-priority (V2) update-task function modules. Please choose the correct answer A 1, 2, 3 A B 3, 2, 1 B C 2, 3, 1 C TAW12-1 37
A B C D

OPCION

Database changes

What attribute on an update task function module determines how update requests are processed Please choose the correct answer Function Type Application Processing type Function Group How are locks remove from the lock tables Please choose the correct answer The database breaks The update task removes them at the end of the SAP LUW The update task removes them at the beginning of the SAP LUW Commit Work statement is issued A SET UPDATE TASK LOCAL is issued in the dialog program. What effect does this have on updating. More than one answer is correct. Decide wether each answer is true or false Update requests do not use the VBLOG table Cluster tables are used to processing the update request Update requests use shared memory A new dialog work process is used for the update Process Mark the invalid program text element. Please choose the correct answer Titles/Headers Parameter Texts Selection Texts Text Symbols Which function would you use to retrieve a number from an internal number range. Please choose the correct answer NUMBER_GET_INFO NUMBER_GET_NEXT NUMBER_RANGE_INTERVAL_LIST NUMBER_RANGE_EXTERNAL_CHECK Which of the following will change the contents of the data cluster that corresponds with memory id 'MYID'. More than one answer is correct. Decide wether each answer is true or false CLEAR MEMORY ID 'MYID' FREE MEMORY ID 'MYID' IMPORT ABC TO MEMORY ID 'MYID' EXPORT ABC TO MEMORY ID 'MYID' What methods would initialize a screen field that is defined with parameter id CAR. More than one answer is correct. Decide wether each answer is true or false

OPCION

A B C D

Database changes

TAW12-1 38
A B C D

OPCION

A B C D

Database changes

TAW12-1 39
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 40
A B C D

OPCION

A B C D

Database changes

TAW12-1 41
A B C D

OPCION

A B C D

Database changes

TAW12-1 42
A B C D

TRUE

FALSE

A B C D

Database changes

TAW12-1 43
A B C D

TRUE

FALSE

Set the screen painter attribute GET Parameter and fill in the Parameter ID field with CAR Use the GET Parameter in the PBO of the DYNPRO Use the SET Parameter in the PBO of the DYNPRO Use the GET Parameter in the PAI of the DYNPRO How does a perform on Commit differ from a Perform statement. More than one answer is correct. Decide wether each answer is true or false subroutines called using on commit have no interface subroutines called using on commit pass parameters by reference only subroutines called using on commit pass parameters by value only subroutines called using on commit use global data only

A B C D

Database changes

TAW12-1 44
A B C D

TRUE

FALSE

A B C D

You might also like