Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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
RESPUESTA
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
r_class->if_bsp_controller~handle_event(…) (T)
r_class-> handle_event(…)
r_interface->handle_event(…) (T)
r_interface->if_bsp_controller~handle_event(…)
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.
35) Which of the following statements about the SAP NetWeaver is true?
3 correct
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-B-C-D (T)
B-A-C-D
C-D-A-B
A-C-D-B
3 correct
38) You should implement a search help should be selected via outer join.
Which of the following view types would you choose?
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)
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?
RESPUESTA (http://www.sap4.com/index.php?
title=Perform#Paso_de_par.C3.A1metros_por_referencia)
Ejemplo:
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)
Two correct
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?
45) Which commands allowed if you are working with an internal table of type
SORTED?
3 correct
DELETE (T)
MODIFY (T)
SORT
INSERT (T)
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?
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?
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?
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)
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?
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)
(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)
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.
(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?
(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)
(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)
(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.
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?
61) Which of the following statements about active and inactive versions of a
development object are correct?
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?
66) Which of the following statements about field transport between ABAP and
classical screen (dynpro) are correct?
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.
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
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)
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?
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?
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?
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.
(1 respuesta correcta)
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.
Respuesta: 2 y 4
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?
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.
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)
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?
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.
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?