Sei sulla pagina 1di 17

Class identification analization and design (TAW12_01 Pag.

156)

31) You can realize polymorphism between objects from different classes if
these classes are connected via inheritance. For objects of classes that are not
connected via inheritance, another technique exists to achieve polymorphism.
With which of the following concepts you can also achieve polymorphism?

1 correct

 The interface concept. (T)

 The friend concept.

 The event concept.

RESPUESTA

Polymorphism (Fuente internet)

Identical (identically-named) methods behave differently in different classes. In


ABAP Objects, polymorphism is implemented by redefining methods during
inheritance and by using constructs called interfaces.

NetWeaver Overview (TAW10_1 Pag. 30)

32) The SAP NetWeaver Application Server offers the possibility to install an
ABAP stack or a Java stack. Which of the following statements about the
possible combinations of ABAP and Java stacks in one SAP NetWeaver
Application Server is true?

1 correct

 In one SAP NetWeaver Application Server there can be installed either a


stand-alone ABAP stack, or a combination of an ABAP stack and a Java
stack, but there can never be installed a stand-alone Java stack.

 In one SAP NetWeaver Application Server there can be installed either a


stand-alone ABAP stack, or a stand-alone Java stack, or a combination of an
ABAP stack and a Java stack. (T)

 In one SAP NetWeaver Application Server, both stacks must always be


installed.

 In one SAP NetWeaver Application Server there can be installed either


an ABAP stack or a Java stack, but never both stacks.

Class identification analization and design (aclarado por Gabriel


LINUX)

33) You are writing a Business-Server-Page-Application (BSP) where you use


the global class CL_BSP_CONTROLLER2. This class has implemented the global
interface IF_BSP_CONTROLLER in which the method HANDLE_EVENT is defined.
There is no other method in the class CL_BSP_CONTROLLER2 with the name
HANDLE_EVENT. In your program we find the following lines: DATA r_class TYPE
REF TO cl_bsp_controller2, r_interface TYPE REF TO if_bsp_controller. CREATE
OBJECT r_class. CREATE OBJECT r_interface TYPE cl_bsp_controller2. Which of
the following method calls are syntactically correct? (in relation to the above
coding lines)
2 correct

 r_class->if_bsp_controller~handle_event(…) (T)

 r_class-> handle_event(…)

 r_interface->handle_event(…) (T)

 r_interface->if_bsp_controller~handle_event(…)

ABAP types and data object ()

34) Your colleagues need your advice on some implicit type conversion issues.
Which of the following statements are correct?

1 correct

 Implicit type conversion works for ABAP types only, not for
Dictionary types.

 As a matter of principle, it is forbidden to assign to a data object of


type STRING the content of a data object of type I.

 As a matter of principle, it is forbidden to assign to a data object of


type I the content of a data object of type STRING.

 A data object of type N may be used for calculations (although type


N is not the best type to do so). (T)

NetWeaver Overview (TAW10_1 Pag. 29, 30, 31 y 32)

35) Which of the following statements about the SAP NetWeaver is true?

3 correct

 The Bank Analyzer is part of SAP NetWeaver.

 SAP NetWeaver provides tools to integrate a heterogeneous


software landscape. (T)

 The Industrial Solution Utilities (ISU) is part of SAP NetWeaver.

 SAP NetWeaver can be used to integrate non-SAP application


systems. (T)

 The main purpose of SAP NetWeaver is to integrate people,


information, and processes and to provide a platform for application. (T)

 SAP ERP is part of SAP NetWeaver.


ALV Grid Control

36) You want the system to output a list in the program using the SAP ALV Grid
Control. Which order do you have to carry out the following steps in the
program to achieve this?

1 correct

A. Create a screen and define custom control area in this screen.

B. Generate an object of class CL_GUI_CUSTOM_CONTAINER.

C. Generate and object of class CL_GUI_ALV_GRID.

D. Call method SET_TABLE_FOR_FIRST_DISPLAY.

 A-B-C-D (T)

 B-A-C-D

 C-D-A-B

 A-C-D-B

ABAP types and object (TAW10_ 1 Pag. 251, 252)

37) Which of the following statements about data types is correct?

3 correct

 Data types can be defined only in the ABAP Dictionary.

 A data type can be used to define variables or constants. (T)

 Data type can be defined in the program. (T)

 Data types can be defined in the ABAP Dictionary. (T)

Topic: Tables relationships (TAW10_2 Pag. 423)

38) You should implement a search help should be selected via outer join.
Which of the following view types would you choose?

 The help view (T)


 The maintenance view
 The database view

Topic: SQL statements inclusive update strategies. (TAW10_1 Pag.


231, 295)

39) You want to write a dialog program that changes data on the database. You
want to bundle all updates by using update function modules. What do the
function modules have to do if they encounter a problem?
 Abort the program with MESSAGE axxx(nnn).
 Write an error message with MESSAGE exxx(nnn) (T)
 Write a warning with MESSAGE wxxx(nnn)
 Inform the user with MESSAGE ixxx(nnn)

Topic Enhancement and Modifications (TAW12_2 Pag. 180)

40) In your team of ABAP developers there is some confusion concerning the
relationship between enhancement points, enhancement spots, enhancement
sections, and BAdIs. Which statements about these concepts are correct?

 An enhancement spot manages either new BAdIs or explicit


enhancement points and enhancement sections. (T)
 You can no longer use the classical BAdIs.
 Enhancement points organize explicit enhancement spots,
enhancement sections, and new BAdIs.
 Enhancement spots organize explicit enhancement points,
enhancement sections, and new BAdIs.

Topic: Basic ABAP programs and Interfaces creation

41) You want to write a subroutine named check_booking that receives a


parameter of type sbook. You want to change fields of the actual parameter
within your subroutine, but only if your subroutine executes without any error.
How do you declare the subroutine?

 FORM check_booking CHANGING VALUE(p_book) TYPE sbook. (T)


 FORM check_booking USING p_book TYPE s_book
 FORM check_booking CHANGING p_book TYPE s_book ON RETURN.
 FORM check_booking USING VALUE(p_book= TYPE sbook)

RESPUESTA (http://www.sap4.com/index.php?
title=Perform#Paso_de_par.C3.A1metros_por_referencia)

Paso de parámetros por valor y resultado

Si queremos devolver un parámetro de salida cambiando desde una subrutina


al programa que la llama únicamente después de que la rutina se haya
ejecutado correctamente, usaremos CHANGING en la sentencia FORM y
ENDFORM.

PERFORM....CHANGING .........<aii> ....


FORM ........ CHANGING ..........VALUE(<fii>)....
Solamente cuando alcanzamos la sentencia ENDFORM el sistema pasa el valor
actual de <fii> a <aii>.

Ejemplo:

Data: f1 value ‘A’.


perform: EJEMPLO3 changing f1,
EJEMPLO4 changing f1.
end-of-selection.
write:/ ‘Stopped. f1 =’, f1.
form EJEMPLO3 changing value (p1).
p1 = ‘B’.
endform.
form EJEMPLO4 changing value (p2).
p1 = ‘X’.
stop.
endform.

Topic: User Interfaces (Web Dynpro) (TAW12_2 Pag. 234)

42) You want to create a Web Dynpro component with two views. The selection
view contains two input fields for departure and arrival city and a button trigger
the search for flight connections between these two cities. The resulting view
contains a table that displays the found flight connections and a button to
navigate back to the selection view. In each view you have defined an
outbound plug that will be fired by pressing the button view. Furthermore, you
have defined an inbound plug in each view. Which is the easiest way to define
the navigation structure between the two views?

 Embed each view in its own Window. Then connect the outbound plug
of the selection view with the inbound plug of the result view and the
outbound of the result view with the inbound plug of the selection view.
 Create a combi view that contains two ViewContainerUIelement
controls. Embed the combi view in a Window, and the two other views in the
ViewContainerUIelements. Then connect the outbound plug of the selection
view with the inbound plug of the result view and the outbound plug of the
result view with the inbound plug of the selection view.
 Create a combi window that contains two ViewContainerUIelement
controls. Embed the two views in the ViewContainerUIelement, and the
other views in the ViewContainerUIelements. Then connect the outbound
plug of the selection view with the inbound plug of the result view and the
outbound plug of the result view with the inbound plug of the selection
view.
 embed both views in one window within that window connect the
outbound plug of the selection view with the inbound plug of the result view
and the outbound plug of the result view with the inbound plug of the
selection view. (T)

Topic: Classical Screen Dynpros Selection screens (TAW10_2 Pag. 101,


103)
43) In classical screen programming (dynpro programming) which condition
must be fulfilled in a program check so that a screen input field is made ready
for input again?

Two correct

 The module must output an E-type message or a W- type message. (T)


 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. (T)
 An I-type message must be output.

Topic User Interface (WebDynpro) (TAW12_2 Pag. 220)

44) You want to display data in a view of an ABAP Web Dynpro component.
However, the data you want to display are stored in the context of the
component controller. What is the best way to display the data?

 Move the context of the component controller to the context view


controller and bind the controls that display the data to the context of the
view controller.
 Map the context of the component controller to the context of the view
controller and bind the controls that display the data to the context of the
view controller. (T)
 Bind the controls that display the data to the context of the component
controller.
 Copy the context of the component controller to the context of the view
controller and bind the controls that display the data to the context of the
view controller.

Topic: Internal table definition and ... (TAW10_1 Pag. 380)

45) Which commands allowed if you are working with an internal table of type
SORTED?

3 correct

 DELETE (T)
 MODIFY (T)
 SORT
 INSERT (T)

Topic: Enhancements and Modification (TAW12_2 Pag. 50)

46) Why doesn´t SAP recommend modifying standard SAP programs?


 To simplify upgrades to a new release. (T)
 To ensure smooth support from SAP (T)
 To avoid performance problems.
 To protect SAP's intellectual property.

Topic: SQL statements inclusive upcast strategies

47) You want to display data from transparent tables BKPF and BPOS which
contain header data and position data of accounting documents. The primary
key of BKPF consists of MANDT (client) and BELNR (document number). The
primary key of BPOS consists of MANDT (client), BELNR (document number),
and POS (position). What are you options to select data from BKPF together
with the corresponding data from BPOS?

 Use a view (T)


 Use an inner join (T)
 Use two nested select loops (T)
 Use a left outer join.

Topic: ABAP types and data object (TAW10_1 Pag. 214)

48) You need to create an integer data object and you wonder about the
features of ABAP type I. Which of the following statements is correct?

 A data object of type I always has the length of 8 bytes.


 A data object of type I can have the length of 1, 2, or 4 bytes. The
actual length depends of the content.
 A data object of type I always has the length of 4 bytes. (T)

Table relationships (TAW10_2 Pag. 301)

49) For a database table zdepartment you should define the text table
zdepartmentt in the ABAP Dictionary where the names of the departments are
stored. How would you design the table zdepartmentt so that it is the text table
of the table zdepartment?

 The text table zdepartmentt is a cluster table type.


 The text table zdepartmentt is linked with table zdepartment by a foreign
key. for the type of the foreign key fields you choose Key fields of a text
table. (T)
 The text table zdepratmentt has at least one text field which is not a key
fields. (T)
 The text table zdepartmentt has the same key fields as the table
zdepartment plus one additional key field of data type LANG. (T)

SQL statements inclusive up-cast strategies. (TAW10_1 Pag. 433)

50) You want to select the fields MATNR, ENAM and EDAT from table MARA to
display them in a report. What would be the best way to do this?
 Declare a work area wa of type MARA and use SELECT * FROM mara INTO
wa.
 Declare a work area wa containing only fields MATNR, ENAM and EDAT
and use SELECT matnr enam edat FROM mara INTO wa.
 Declare a work area wa of type MARA and use SELECT matnr ename
edat FROM mara INTO wa.
 Declare a work area wa containing only fields MATNR, ENAM and EDAT
and use SELECT * FROM mara INTO CORRESPONDING FIELDS OF wa. (T)

Topic: Basic ABAP programs and interface creation (TAW10_2 Pag. 5,


6)

52) You need to create an ABAP program that displays a list of invoices from a
supplier. What types of programs can you create to achieve this goal?

(2 respuestas son correctas)

 ABAP Include Program


 ABAP Subroutine Pool
 ABAP WebDynpro application (T)
 ABAP Executable program (T)

Topic: User Interfaces (Web Dynpro) (TAW12_2 Pag. 230)

53) You want to create a Web Dynpro application in the Object Navigator
(SE80). What do you need to specify in the Web Dynpro application?

(1 respuesta correcta)

 A Web Dynpro component and an interface view within this


component. (T)
 A Web Dynpro component and a window within this component.
 A Web Dynpro component and a context within this component.
 A Web Dynpro component and a controller within this component.

Topic: SQL statements inclusive update strategies (TAW10_1 Pags.


500, 501)

(1 respuesta correcta)

54) You want to display data of accounting documents with BELNR = 1000 from
tables BKPF and BPOS. These transparent tables contain header data and
position data. The primary key of BKPF consists of MANDT (client) and BELNR
(document number). The primary key of BPOS consists of MANDT (client),
BELNR (document number), and POS (position). Which would be the correct
statement to achieve this?
 SELECT * FROM bkpf RIGHT OUTER JOIN bpos ON bkpf ~belnr =
bpos~belnr INTO wa WHERE bkpf ~belnr = ‘1000’.
 SELECT * FROM bkpf INNER JOIN bpos ON bkpf. belnr = bpos. belnr
INTO wa WHERE bkpf . belnr = ‘1000’.
 SELECT * FROM bkpf INNER JOIN bpos ON bkpf ~belnr = bpos ~ belnr
INTO wa WHERE bkpf ~belnr = ‘1000’. (T)

Table Relationships (REVISAR)

54) You create an ABAP classical screen (dynpro) to enter flight connection
data Each connection is identified by the contents of the field MANDT (client),
CARRID (carrier ID) and CONNID (connection ID) in the database table SPFLI.
The carriers are stored in table SCARR and identified by the value of the field
CARRID. What is the easiest way to ensure that only CARRID values form field
SCARR-CARRID can be entered in the dympro?

 Define SPFLI-CARRID as a foreign key field with check table SCARR and
foreign key MANDT and CARRID. (T)
 Implement a search help that ensure that the user can only enter
correct values.
 Defined SCARR-CARRID as foreign key field with check table SPFLI and
foreign key MANDT and CARRID
 Implement a PAI module that check that the user has entered a correct
value
 Maintain SCARR as the value table of the domain of field SPFLI-CARRID.
 Class identification analyzation and design.

Topic: Basic ABAP programs and interface creation

(2 respuestas correctas)

55) You want to write an ABAP program that makes use of the SAP GUI. Which
of the following UI types can you use?

 Selection screens. (T)


 Business Server Pages (BSPs).
 Classical screens (dynpros) with controls (like the ALV Grid Control).
(T)
 ABAP Web Dynpro.

Topic: SQL statements inclusive update strategies (TAW10_1 Pag. 95,


96)

(2 respuestas correctas)

56) Why do you need to bundle database updates in your dialog programs?
 To increase the performance of your program.
 Because there is no implicit database commit alter each dialog step.
.
 To keep the database in a consistent state if the user wants to
cancel the transaction. . (T)
 Because there is an implicit database commit alter each dialog step.
(T)

Topic: Table relationships (REVISAR)

(1 respuesta correcta)

57) When you define a field of database table you typically refer to a data
element, which in turn normally refers to a domain. But it is also possible to set
the data type directly in the data element, without referring to a domain. Which
feature do you get, if you define the data type by referencing to a domain?

 Only then can you link a search help to this table field.
 Only then can you add this table field to a database view.
 Only then is it possible to define a check table for this table field. (T)

Topic: Basic ABAP programs and interface creation

(1 respuesta correcta)

58) You create a function group ZATP that contains a couple of function
modules to manage material master data. What is the name of the
corresponding main program?

 SAPTZATP
 SAPLZATP (T)
 ZATP
 SAPMZATP
 SAPFZATP

RESPUESTA
http://help.sap.com/saphelp_nw70/helpdata/en/d1/801ef5454211d189
710000e8322d00/frameset.htm

The name of the main program is assigned by the system. This is made up of
the prefix SAPL followed by the function group name. For example, the main
program for function group SXXX is called SAPLSXXX.

The names of the include files begin with L followed by the name of the
function group, and conclude with UXX ( or TOP for the TOP include). The TOP
include contains global data declarations that are used by all of the function
modules in the function group. The other include file within the main program
is used to hold the function modules within the group.

Topic: Classical screen (dynpros) selecction-screens (TAW10_2 Pag.


147, 149)
59) Which of the following statements about subscreen are correct?
2 correct

 Subscreens have their own OK code field.


 Subscreens may have their own PBO and PAI logic. (T)
 You call subscreens using the screen command CALL SUBSCREEN.
(T)
 You call subscreens using the ABAP command CALL SUBSCREEN.

ABAP Dictionary (TAW10_2 Pag. 202)

60) For one ABAP dictionary field you should define fixed value. Where in the
ABAP dictionary, do you have to define the fixed value of a field?

 In the domain of the field (T)


 In the structure or the database table where the field is defined.
 In the data element of the field

ABAP Workbench usage (TAW10_2 Pag. 323)

61) Which of the following statements about active and inactive versions of a
development object are correct?

 Inactive versions can be transported as long as they were originally


created in a development system.
 If a program P1 calls a program P2 from outside of the development
environment and even if there is an inactive version of program P2, still the
active version of program P2 will be called. (T)
 If inactive version is being activated, it becomes the new active version
of an object at de very moment the old active version becomes the new
inactive version.
 The inactive version can only be seen from the developer who has
created it, that is there is no shared view of inactive versions. (T) REVISAR

Enhancements and modification (TAW12_2 Pag. 4)

62) An SAP programmer has written a standard program in a way that it can
call customer coding. You want to implement this coding. What is this
technique called?

 Correction
 Enhancements (T)
 Modification
 Personalization.
 Repair
Classical screens (Dynpros) selection screens (TAW10_2 Pag. 107)

63) You have defined a classical screen (Dynpro) with mandatory input field.
You want the “Cancel “ function to work even if not all of the mandatory field
have been filled. How you can you achieve this?

 No special actions are required.


 There is no way to do this, required entry fields must always be filled
firs.
 The Cancel function must be type E and be handled in a module with
the addition AT EXIT-COMMAND (T)
 The Cancel function must have the function code BACK.
 You must temporally switch off the required entry for the fields
concerned within the LOOP AT SCREEN… END LOOP

ABAP types and data objects

64) Which of the following places uses of types?

There are 3 correct answers to this question

 Definition and subroutine parameters (T)


 Definition of method parameters (T)
 Definition of parameters for PBO modules
 Definition of selection screen parameters (T)

TOPIC: Classical screens (dynpro) protection-screens (TAW10_2 Pag.


13)

66) Which of the following statements about field transport between ABAP and
classical screen (dynpro) are correct?

There are 3 correct answers to this question

 Field transport from the screen to ABAP is delayed if you have a FIELD
statement. (T)
 Dictionary structure on the screen require a TABLES statement in ABAP
(T)
 Name equivalence is imperative for field transport between ABAP and
screen. (T)
 Field transport from ABAP to the screen generally takes place before
the first PBO module of the screen.

TOPIC: Enhancements and Modification (TAW12_2 Pag. 121)

67) You detect an error in the coding of a standard SAP ABAP program. You
need to correct this error in your developments system and transport it to you
production system. What is this action called?

 Hotfix
 Modification
 Repair (T)
 Support Package

TOPIC: ABAP Dictionary (TAW10_2 UNIT 12 Pag. 367)

There are 3 correct answers to this question.

68) For a new colleague you have to explain the necessary steps for defining a
database view in the ABAP Dictionary. What are the necessary steps for the
definition of a database view in the ABAP Dictionary?

 You have to name the database tables where the view gets the data.
(T)
 You have to define selection criteria for the view
 You have to choose the fields from the tables that should be part of the
view. (T)
 You have to define the join conditions between the tables. (T)

TOPIC: ABAP Dictionary (TAW10_2 Pag. 238)

69) You have to define two database tables where in both tables you need the
fields change_date and change_time (which are no key fields) How would you
proceed?

 Define the two fields separately in each database table.


 Define an append structure with these two fields and assign this append
structure to both database tables.
 Define a structure with these two fields and include this structure into
both database tables. (T)

TOPIC: Class identification analyzation and design (REVISAR)

70) When you implement a class you can use most of the procedural ABAP
statements within the class. But some statements are forbidden. What is
forbidden within class definition?

There are 3 correct answers to this question.

 The definition of internal tables with header lines. (T)


 The definition of nested structure.
 The TABLES statement. (T)
 Typing with LIKE to ABAP Dictionary types. (T)

TOPIC: ABAP debugger program use (TAW10_1 Pag. 236)

71) During debugging a program you find that only in certain constellations an
error appears. Watch points could help you to reach the erroneous
constellation faster. Which statements are true about watch points?

There are 2 correct answers to this question.


 Several watchpoints can be combined with AND or OR. (T)
 A watchpoint is always related to a date object of the debugged
program. No matter how you define the watchpoint, the system always
stops execution if the content of the related data object is being changed
and issues a message “Watchpoint reached”.
 A watchpoint can be defined in the ABAP Editor via the menu path
Goto->Create watch point.
 You can define a watchpoint only from within the debugger. (T)

TOPIC: Basic ABAP program and XXXXXX creation

72) You have written an ABAP executable program that displays the flight
connections between two cities for your customer. You hand over your program
to your customer for maintenance and need to explain to your customer’s
programmer the properties of event blocks.

Note: There are 2 correct answers to this question.

 The ABAP runtime decides in which sequence to execute event blocks.


(T)
 Event blocks can be nested, for example, you can have event blocks
within even blocks.
 Event blocks are executed in the sequence they occur in the program.
 Event blocks star with an event key word and end with the star of any
other modularization block, for example, another event block or module or
subroutine. (T)

Topic: Enhancements and Modification

Implement a class which implements the BADI interface. (TAW12_2


Pag. 94)

(1 respuesta correcta)

73) You want to implement a BADI that provides a functional enhancement.


What do you need to do?

 Implement a class which implements the BADI interface. (T)


 Create an enhancement Project with CMOD.
 Define an interface for the BADI.
 Call the BADI.

Topic: ABAP dictionary (TAW10_2 Pag. 420)

74) You should create a simple search help for an input field. The development
of your last search help is a long time ago. Therefore, you try to recall what
components are in a simple search help.

Note: There are 3 correct answers to this question.

 The interface import and export parameters. (T)


 The selection method from which table or view the help data should
come from. (T)
 The dialog behavior, for instance should a selection screen appear or
not. (T)
 The attachment to a field at which field the search help should appear.

Topic: ABAP Workbench usage (TAW10_ 1 Pag. 179)

Respuesta: 2 y 4

75) Which of the following statements about the organization of developments


are correct?

Note: There are 2 correct answers to this question.

 You can assign a transport layer to each type of development object.


 A development object (For example, a program) must either be assigned to
a package or be declared as a local object. (T)
 One important attribute of the object directory entry of a development
object is the original system. It is convenient to use the production system
as the original system.
 One important attribute of a Package is the transport layer which determines
the following Systems for a regular transport of the packages objects. (T)

Topic: Enhancements and Modification (TAW12_2 Pag. 21)

Respuesta: 1 y 3

76) You want to add some fields to a standard SAP table using the append
technique. What do you have to keep in mind about this technique?

There are 2 correct answers to this question

 Append structures are not possible for tables containing a long field. (T)
 The name of the append structure must start with ZZ or YY
 The fields of an append structure must start with ZZ or YY (T)
 An append structure can be assigned to more than on table.
 Append structures must be compared with the SAP original in a release
upgrade.

Topic: ABAP debugger program user (TAW10_1 Pag. 368)

Respuesta: 3
77) Which of the following statements is true concerning working with
structures and internal tables in the ABAP Debugger?

 With the ABAP Debugger you can create new data objects even if they are
structures or internal tables.
 With the ABAP Debugger you can change the definition of a structure at
runtime.
 With the ABAP Debugger you can edit internal tables (for example, append
lines, delete lines, change the content) (T)

Topic: Classical screens (dynpros) Selection-Screens

Respuesta: 1

78) You want 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?

 You need to program the check at the event AT SELECTION-SCREEN if there


is an input error, an E-type Message must be output. (T)
 You need to program the check at the event AT SELECTION-SCREEN if there
is an input error, processing must be interrupted with a STOP statement and
a I-type MESSAGE must be output.
 You need to program the check at the event END-OF-SELECTION. If there is
an input error, an E-type MESSAGE must be output.

Topic: ABAP dictionary (TAW10_2 Pag. 416)

Respuesta: 1,2,3

79) After creating a search help in the ABAP Dictionary you have to attach this
search help to a search field.

Note: There are 3 correct answers to this question.

 A search help can be attached to a data element. (T)


 A search help can be attached directly to a field of a structure or a table.
(T)
 A search help can be attached to a check table of an ABAP Dictionary
field. (T)
 A search help can be attached to a domain.

Topic: Class Identification analyzation and design (TAW12_1 Pag. 384)

80) If you program you need the names of the fields of a structure wa_material
at runtime. Therefore you can use the RTTI classes. The root class is cl_abap
typedescr, which provides a public static functional method describe_by_data.
This method returns a reference of type cl_abap typedescr you have defined a
reference r_descr as follows DATA r_describe TYPE REF TO cl
_abap_structdescr. The clad cl_abap_ structdescr is a sub class of cl_abap_
typedescr. Which of the statement is syntactically correct?

 r_describe ?= cl_abap_typedescr =>describe_by_data ( wa material )


(T)
 r_describe = cl_abap_typedescr=>describe_by_data( wa _material )
 r-describe != cl_abap_typedescr=>describe_by_data( wa material )

Potrebbero piacerti anche