You are on page 1of 11

1- SQL staments inclisive upadte strategies

Do you want to write a dialog program that changes data on database. You want to bundle
all updates by using update function module. You want to informe the user if one of the
update function modules fads. What is the easiest way to do this?
a) After the commit work wait a couple of seconds , check the results of the update,
and writhe a message to the inbox of the user .
b) Run a job the periodic ally check the results of the update and writhe a message
to the inbox of the user .
c) The system notifies the user automatically with an express message
d) Perform The update synchronously retrieve the status and writhe a message to
the inbox of the user.
SO01
User interface web dynpro
2- User interfaces (web dynpro). 3 correctas
a) View controllers
b) User controllers
c) Exactly one component cotroller
d) Windows controller

Dictionary
3- Some transaction contain select stamnets in their application that cause very lo
increasing the performance during database table acces ??
a) To put the appropriate database table in the special fast-acces-tablespaceof the
.
b) If a program P1 calls a program P2 from outside of the development
environment and even i .
c)

If an inactive version is being activated, it becomes the new active version of an


object at th..

d) The inactive version can only be seen from the developer who has created it,
that is, there

4- You create a function group ZATP that contains a couple a function modules to manager
to material .
a) SAPLZATP
b) SAPTZATP
c) ZATP
d) SAPMZATP
e) SAPFZATP

5- BASIC ABAP PROGRAM AND INTERFACES CREATION


You have written classical screen (dynpro) whit number 100 in a module pool containing a
button n you want to check whether the user has clicked this save button. How can you
active th is ?
a) Check if P_SAVE active equals 1.
b) Check if P_SAVE active equals SAVE.
c) Check if the field OK_CODE contains the value SAVE. (SY-UCOMM)
d) Check if the field with the ok attribute in the screen 100 the value SAVE.

6- Tables relationships

For a data base table departament you should define the text table zdepartamentt in de
abap dictionary text table of the table zdepartament? 3 respuestas
a) The text table zdepartamentt has at last one text field whit is not a key field
b) The table text zdepartamentt is linked with table zdepartament by a foreing key .
for the type.
c) The text table zdpartamentt has the same key fields as the table zdepartament
plus one add
d) The text table zdepartamentt is a cluster table type.

7- BASIC ABAP PROGRAM AND INTERFACES CREATION


You design a executable that display flight booking . the selection screen of your program
re-enter the carrier if they type in a carrier for which they have no authorization. Hence,
your perform
a) In the event block at user-command
b) In the event block at selection-screen (la pregunta no es sobre dynpro)
c) In a PBO module of the selection screen
d) In the event block get scar

8- Tables relationships
You create en abap classical screen (dynpro) to enter flight connect each connection is
database table SPFLI . the carriers are stored in the table SCARR and by the value of
the field the dynpro.
a) Implement a search help that ensures the user can only enter correct values
b) Maintain SCARR as the value table of the domain of field SPFI-CARRID
c) Implement a PAI module that check that user has entered a correct value
d) Define SPFI-CARRID as a foreign key field with check table SCARR and foreign key
mandt

e) Define SPFI-CARRID as a foreign key field with check table SPFLI and foreign key
mandt

9- Class identification analyzation and design


In your program you need the name of the fields of a structure wa_material at runtime.
Therefore you describe_by_data. This method returns a reference of type
cl_bap_typedescr. You have defined a ref is sub class of cl_abap_typedescr . Wich of
the following statements is syntactically crrect?
a) r_describe ?= cl_abap_typedescr=>descibe_by_data( wa_material)
b) r_describe = cl_abap_typedescr=>descibe_by_data( wa_material)
c) r_describe != cl_abap_typedescr=>descibe_by_data( wa_material)

10- BASIC ABAP PROGRAM AND INTERFACES CREATION


You want to write a subroutine named check_booking that receives a parameter of type
sbook . You want to change to field. Any error. How do you declared to subroutine ?
a) FORM check_booking CHANGING VALUE (P_BOOK) TYPE sbook.
b) FORM check_booking USING (p_book = TYPE sbook)
c) FORM check_booking CHANGING p_book TYPE sbook ON RETURN
d) FORM check_booking USING p_book TYPE sbook

11- Classical screen (dynpros) and selection screen


Which of following stataments about field transport between ABAP and classical screen
(dynpro) are. 3 respuestas correctas
a) Dyctionary structure on the screen require a TABLES staments en ABAP
b) Name equivalence is imperative for field transport between ABAP and screen
c) Field transport from the screen to ABAP is displeyed is you have a field staments
d) Field transport from ABAP to the screen generally take places before the first
PBO module of the screen

12- Classical screen (dynpros) and selection screen


Which of following stataments about subscreen are correct? 2 respuestas correctas
a) Subscreen may have their own PBO and PAI logic
b) Subscreen have their own ok code field
c) You call subscreen using the ABAP command call subscreen
d) You call subscreen using the screen command call subscreen

En los subscreen no se puede ejecutar user command.

13- Table relationships


When you define a field of a database table you typically refer to a data element, which
normally refer to domain . But it is domain. Which feature do you get, if you define
the data type by referecing to a ?
a) Only then can you add this table field to databa se view
b) Only then can you link a search help to this table field
c) Only then is it possible to define a check table for this table field

14- Enhancements and modifications


In your team abap developers there is some confusion concerning the relationship between
enhancements points, enhance are correct? 2 correctas
a) You can no longer use classical BADIs
b) Enhacements points organize explicit enhacements spots , enhacements sections,
and new BADIs
c) Enhacements spots organize explicit enhacements points, enhacements sections,
and new BADIs

d) Enhacements spots manages either new BADIs or explicit enhacements points


and enhacements sections

15- BASIC ABAP PROGRAM AND INTERFACES CREATION


You want to write an ABAP program that make use of the SAP GUI . which of the
following UI types can you use ? 2 respuestas correctas
a) ABAP web dynro
b) Business Server pages (BSPs)
c) Classical screens (dynpros) with control s (like the alv grid control)
d) Selection screen

16- Class identification analyzation and desing


You defined two classes cl_airplane and cl_ passenger _ plane , where
cl_passenger_plane is the sub class of cl_ airplane in the classes
no parameters. In the sub class cl_ passenger_plane,the public instance method
display_number_of_seats is defined, which has
r_airplane TYPE REF TO cl_airplane, r_passenger TYPE REF TO cl_passenger_plane CREATE
OBJECT r_passenger r_airplane = relation to the above coding lines)

Note

there are 3 correct an swers to this question

a) r_passenger->display_attributes()

b) r _airplane->display_number_of_seatrs()
c) r_passenger->display_number_of _seats()
d) r_airplane ->display _ attributes()

17- Class identification analyzation and desing


You are writing a Business-Server-Page-Aplication (BSP) where you use the global class
CL_BSP_CONTROLLER2 this HANDLE_EVENT is defined . There is no other method in the
class CL_BSP_CONTROLLER2 whit the name HANDLE_EVENT cl_bsp_controiler2 , r_interface
TYPE REF TO if_bsp_controller , CREATE OBJECT r_interfac T relation to the above coding
lines ) 2 respuesta correctas
a) r_interface->handle_event()
b) r_class->if_bsp_controller~handele_event()
c) r_interface-> if_bsp_controller~handele_event()
d) r_class->handle_event()

18- Class identification analyzation and desing


In a class cl_vehicle you need a method get_fuel , whish estimates the fuel consumption of
a vehicle . This method should be imp
2 respuestas correctas
a) A functional method needs at least one RETURN stamen
b) You can use a0020functional method directly in an arithmetic expression
c) A functional method has a exactly one RETURN parameter

d) A functional method can have any number of IMPORTING and EXPORTING


parameters.

19- NETWEAVER OVERVIEW


The SAP Netweaver Aplication Server offers the possibility to install an ABAP stack or
stack JAVA stack . Whish of th Netweaver Aplication Server is true?
a) In one Netweaver Aplication Server there can be installed either a Stand-alone
ABAP stack, or a stand-a
b) In one Netweaver Aplication Server, both stack must always be installed
c)

In one Netweaver Aplication Server there can be installed either a Stand-alone


ABAP stack, or acombin

d) In one Netweaver Aplication Server there can be installed either a ABAP stack or
Java stack, but ne
ABAP + Java = Addin Installation
Ejm: PI, BW, ERP
20- Class identification analyzation and desing
You have implemented a class cl_cutomer where you have defined a private attribute name.
From where can you acc 2 respuestas correctas
a) You have diect access to thr attribute name from all methods of the class cl_customer
itself
b) You have diect access to thr attribute name from all methods of the class cl_friend,
where cl_cutomer grants friends
c) You have diect access to thr attribute name from the main part of the program
d) You have diect access to thr attribute name from all methods of all subclass of
cl_customer

21- Class identification analyzation and desing


You like to create a list whit the global class CL_GUI_ALV_GRID, in the class the event
DOUBLE_CLICK is defined. This event user makes a double click on the list a popup should
appear whish shows the number of line on whish
2 respuestas correctas
a) Define a global class in which the event DOUBLE_CLICK is redefined and raised
b) Catch the event DOUBLE_CLICK is with the CATCH stamanent under which the dialog
box call implemented
c) Register for the event DOUBLE_CLICK by using the satament SET HANDLER
d) Write handler method for the event DOUBLE_CLICK of the class CL_GUI_ALV_GRID,
which catch the
CL_SALV_TABLE (la mas actual) el alv no es ditable
CL_GUI_ALV_GRID: permite construeir alv editable, mas codigo necesita una dynpro
REUSE_ALV_GRID_DISPLAY:
Los manejos de eventos con objetos se usan en alv, workflows,..
22- Class identification analyzation and desing
One you colleagues has left your company and now you are in cl maintaining his
program . One program deals with the handing find the following lines. DATA :
current_list_no TYPE I current_cl_..._list=>number_of_lists(). What type of component is
the item
a) Number_of_list is a public instance functional method of the class cl_list
b) Number_of_list is a public static attribut of the class cl_list
c) Number_of_list is a public instance attribut of the class cl_list
d) Number_of_list is a public static functional method of the class cl_list

23- ABAP Dictionary

You should create a simple search help for an input field . The development of you last
search help is long time ago, therefore you try to re . 3 respuestas correctas
a) The dialog behavior . For instance should a selection screen appear or not
b) The selection method . From which table or view the help data should from
c) The attachment to a field . At which field the search help should appear
d) The interface import and export parametrers

24- ABAP DEBUGGER PROGRAM USAGE


Which of the following staments is true concerning work whit structures and internal
tables in the ABAP debugger?
a) With the ABAP debugger you can create new data object even if they are
structures or internal tables
b) With the ABAP debugger you can change the definition of a structure at runtime
c) With the ABAP debugger you can edit internal tables (for axample, append lines,
delete lines, change the content)

25- Classical screen (dynpros) and selection-screens


You have defined a classical screen (dynpro) with mandatory input fields. You Want the
CANCEL function to work even if not a
a) There is no way to do this; required entre fields must always be filed first
b) You must temporarily switch off the required entry for the fields concerned
within the LOOP AT SCREEN ENDLOOP
c) The cancel function must by type E and be handled in a module with the addition
AT EXIT-COMMAND
d) The cancel function must have the function code BACK
e) No special action are required

26- User interfaces (Web Dynpro)

You want to create a Web Dynpro application in the SE80 . What do you need to specify in
the Web Dynpro application?
a) A Web Dynpro component and interface view within this component
b) A Web Dynpro component and interface windows within this component
c) A Web Dynpro component and a controller within this component
d) A Web Dynpro component and a co within this component

27- UNICODE
an ABAP program that needs to be migrated to Unicode system . Within the program ,
the two data object city and member are declared in the following way DATA city(20)
TYPE c DATA BEGING OF Member, firtaname(20) TYPE c , age TYPE I, City(20) TYPE c, END
OF MEMBER. The program contains the following line, City = Member+44(20). W
a) Because the results of offset calculation depend on the Unicode codepage used
b) Because you can not read beyond non-character data within a structure using the
offset notation
c) Because an integer has 8 bytes
d) Because in Unicode System , offset are allowed for structured data object only

You might also like