fotos abap word v1 (sin respuestas)

Upload: karma-avelcain

Post on 03-Jun-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    1/20

    1.-You want to crate a Web Dynpro application in the Object Navigator (SE80). What doyou need to specify in the Web Dynpro application?

    A) A Web Dynpro component and an interface view within this component.B) A Web Dynpro component and a context within this component .C) A Web Dynpro component and a window within this component.D) A Web Dynpro component and a controller within this component.

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

    A) Define a structure with these two fields and include this structure into bothdatabase tables.

    B) Define an append structure with these two fields and assign this append structureto both database tables.

    C) Define these two fields separately in each database table.

    3.-In a class cl_vehicle you need a method get_fuel, which estimates the fuel consumptionof a vehicle. This method should be implemented as a functional method. You define afunctional method?

    Note: There are two correct answers to this question.

    A) You can use a functional method directly in an arithmetic expression.B) A functional method can have any number of IMPORTING and EXPORTING

    parameters.C) A functional method needs at least one RETURN statement.D) A functional method has exactly one RETURNING parameter.

    4.-You want to implement a BAdi that provides a functional enhancement. What do youneed to do?

    A) Define an interface for the BAdi.B) Call the BAdi.C) Create an enhancement project with CMOD.D) Implement a class wich implements the BAdi interface.

    5.-Which statements about internal tables concerning the program performance arecorrect?

    Note: There are 2 correct answers to this question.

    A) If you have a standard table, searching an entry by using a fully qualified key isfaster than searching by index.

    B) If a file symbol is assigned with the READ ASSIGN statement, the entry inthe internal table can be changed directly using this field symbol.

    C) The cost for reading a data record are higher for a large number of entries in asorted table than for a large number of entries in a standard table.

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    2/20

    D) The cost for reading a data record for a hashed table do not depend of the numberof entries in the table.

    6.-You have written a classical screen (dynpro) with number 100 in a module poolcontaining a button named P_SAVE. You have assigned the function code SAV to thisbutton. In the PAI module user_command_0100 you want to check whether the user hasclicked this Save button. How can you active this?

    A) Check if the field SY- OKCODE contains the value SAV .B) Check if P_SAVE- OKCODE equals SAV . C) Check if P_SAVE active equals 1.D) Check if the field with the ok attribute in the screen 100 contains the value SAV .

    7.-Which of the following places uses of types?

    Note: There are 3 correct answers to this question.

    A) Definition of selection screen parametersB) Definition of method parametersC) Definition of subroutine parametersD) Definition of parameters for PBO modules

    8.-You want to add some fields to standard SAP table using the append technique. Whatdo you have to keep in mind about this technique?

    Note: There are two correct answers to this question.

    A) An append structure can be assigned to more than one tableB) The name of the append structure must start with ZZ or YYC) Append structures are no possible for tables containing a long fieldD) The fields of an append structure must start with ZZ or YYE) Append structures must be compared with the SAP original in a release upgrade

    9.-In classical screen programming (dynpro programming), where can you set the statusand the title for a modal dialog box (popup)?

    A) In a PAI module of the corresponding screenB) In the attributes of the corresponding screenC) In a PBO module of the corresponding screenD) At the event TOP-OF-PAGE

    10.-Your colleagues need your advice on some implicit type conversion issues. Which ofthe followings statements are correct?

    A) Implicit type conversion works for ABAP types only, not for Dictionary typesB) 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

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    3/20

    C) A data object of type N may be used for calculations (although type N is not thebest type to do so)

    D) As a matter of principle, it is forbidden to assign to a data object of type STRINGthe content of a data object of type I

    11.-Which of the following tools belong to the ABAP Workbench?

    Note: There are 3 correct answers to this question.

    A) Funtion BuilderB) Screen Painter C) Easy Access MenuD) Class BuilderE) Human Capital Management Info System

    12.-After creating a search help in the ABAP Dictionary you have to attach this search helpto a search field.

    Note: There are 3 correct answers to this questions.

    A) A search help can be attached to a data elementB) A search help can be attached directly to a field of a structure or a tableC) A search help can be attached to a check table of an ABAP Dictionary fieldD) A search help can be attached to a Domain.

    13.-For a new colleague you have to explain the necessary steps for defining a data baseview int the ABAP Dictionary. What are the necessary steps for the definition of adatabase view in the ABAP Dictionary?

    Note: There are 3 correct answers to this question.

    A) You have to name the database tables where the view gets the dataB) You have to define the join conditions between the tablesC) You have to define selection criteria for the viewD) You have to choose the fields from the tables that should be part of the view

    14.-You should create a simple search help for an input field. The development of yourlast search helps is a long time ago. Therefore, you try to recall what component are in asimple search help.

    Note: There are 3 correct answers to this question.

    A) The dialog behavior: For instance should a selection screen appear or not.B) The attachment to a field: At which field the search help should appear.C) The interface: import and export parameters.D) The selection method: From which table or view the help data should come from .

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    4/20

    15.-You need to create an integer data object and you wonder about the features of ABAPtype I. Which of the following statements is correct?

    A) A data object of type I always has the length of 4 bytesB) A data object of type I always has the length of 8 bytesC) A data object of type I always has the length of 1, 2 or 4 bytes. The actual length

    dependes of the content.

    16.-For one ABAP Dictionary field you should define fixed values. Where in the ABAPDictionary do you have to define the fixed values of the field?

    A) In the structure or the database table where the field is definedB) In the domain of the fieldC) In the data element of the field

    17.-When analyzing older programs an associate consultant will quiten often find thedefinition and use of an internal table with a header line, for example DATA it TYPE

    TABLE OF spfli WITH HEADER LINE. Which statements of an internal table with headerline are correct?

    Note: There are 2 correcto answers to this question.

    A) Two data objects with the same name exist: the internal table s body and theheader line, which is a structure of the row type of the table

    B) Instead a LOOP AT it ENDLOOP one might as well use LOOP AT it INTO it ENDLOOP.

    C) Internal tables with header line are faster than internal tables without header line.D) To address a component of the header line you use the following: it[]-component =

    ABC .

    18.-What can you control using the field catalog of an a SAP ALV Grid Control?

    Note: There are 3 correcto answers to this question.

    A) Influence the format properties of coloumn contents, such as the number ofdecimal places or the alignment of the content of a cell.

    B) Specify the colors of the list rows.C) Hide individual columnsD) Set the output characteristics of a column, such as the column position or width.

    19.-You write an ABAP executable program that displays the flight connections betweentwo cities. Your have provided selection parameter for departure city and destination city.In your program you have written event blocks AT SELECTION-SCREEN,INITIALIZATION, LOAD-OF-PROGRAM, START-OF-SELECTION (in alphabetical order).In which sequence will ABAP Runtime call this event blocks?

    A) INITIALIZATION, LOAD-OF-PROGRAM, START-OF-SELECTION, ATSELECTION-SCREEN

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    5/20

    B) INITIALIZATION, AT SELECTION-SCREEN, LOAD-OF-PROGRAM, START-OF-SELECTION

    C) INITIALIZATION, LOAD-OF-PROGRAM, AT SELECTION-SCREEN, START-OF-SELECTION

    D) LOAD-OF-PROGRAM, INITIALIZATION, AT SELECTION-SCREEN, START-OF-

    SELECTION

    20.-Which of the following statements about active and inactive versin of a developmentobject are correct?

    A) If a program P1 calls a program P2 from outside of the development environmentand even if there is an inactive version of the program P2, still the active version ofprogram P2 will be call.

    B) If an inactive version is being activated, it becomes the new active version of anobject at the very moment the old active version becomes the new inactive version.

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

    is no shared view of inactive version.D) Inactive versions can be transported as long as they were originally created ina adevelopment system.

    21.-You want to write an ABAP program that makes use of the SAP GUI. Which of thefollowings UI types can you use?

    Note: there are 2 correct answers to this question.

    A) Classical screens (dynpro) with controls (like the ALV Control)B) ABAP Web DynproC) Business Server Pages(BSPs)D) Selections screens

    22.-You should implemente a search help, where the data of the search help should beselected via outer join. Which of the following view types should you choose?

    A) The help viewB) The maintenance viewC) The database view

    23.-You have written an ABAP executable program that displays the flight connectionsbetween 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 propi erties of eventblocks.

    Note: There are 2 correct answers to this question.

    A) The ABAP runtime decides in which sequence to execute event blocksB) Event blocks are executed in the sequence they occur in the program

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    6/20

    C) Even blocks can be nested, for example, you can have event blocks within eventblocks

    D) Event blocks start with an event key word and end with the start of any othermodularization block, for example, another event block or module or subroutine.

    24.-Which of the following statements about organization of developments are correct?

    Note: There are 2 correct answers to this question

    A) A development object (for example, a program) must either be assigned to apackage or be declarated as a local object

    B) One important attribute of the object directory entry of a development object is theoriginal system. It is convenient to use the production system as the originalsystem

    C) You can assign a transport layer to each type of development objectD) One important attribute of a package is the transport layer which determines the

    following system for a regular transport of the package s objects.

    25.-You have defined a classical screen (dynpro) with mandatory input fields. You want toCancel function to work even if not all of the mandatory fields have been filled. How canyou achieve this?

    A) You must temporarly swich off the required entry for the fields concerned within theLOOP AT SCREEN ENDLOOP.

    B) No special action are requiredC) There is no way to do this, required entry fields must always be filled firstD) The Cancel function must have the function code BACK.E) The Cancel function must be type E and be handled in a module with the addition

    AT EXIT-COMMAND

    26.-You want to write a subroutine named check_booking that receives a parameter oftype sbook. You want to change fields of the actual parameter within your subroutine, butonly if your subroutine executes without any error. How do you declare the subroutine?

    A) FORM check_booking CHANGING VALUE(p_book) TYPE sbook.B) FORM check_booking USING VALUE (p_book TYPE sbook).C) FORM check_booking CHANGING p_book TYPE sbook ON RETURN.D) FORM check_booking USING VALUE p_book TYPE sbook.

    27.-Your colleagues need your advice on several ABAP types. Which of the followingstatements are correct?

    Note: There are 3 correct answers to this question.

    A) A data object of type X has a fixed length while with a data object of typeXSTRING the length changes dinamically depending of the length of the content.

    B) Type X is useful for working with bit information.

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    7/20

    C) You can compute a date with the following: DATA: old_date TYPE d, new_dateTYPE d. old_date = SY-DATUM. new_date = old_date + 14.

    D) A date object of ABAP type STRING initially takes up no space. If any data is putinto it at runtime it takes up exactly the space that is needed. If it is cleared later,the value is changed to spaces, but the previous length will remain.

    28.-You want to display data of accounting documents with BELNR = 1000 from tablesBKPF and BPOS. These transparent tables contain header data and position data. Theprimary key of BKPF consist of MANDT(client) and BELNR (document number). Theprimary key of BPOS consist of MANDT(client), BELNR(document number) andPOS(position). Which would be the correct statment to achive this?

    A) SELECT * FROM bkpf RIGHT OUTHER JOIN bpos ON bkpf-belnr INTO waWHEREbkpf- belnr = 1000 .

    B) SELECT * FROM bkpf INNER JOIN bpos ON bkpf-belnr = bpos-belnr INTO wa

    WHEREbkpf- belnr = 1000 . C) SELECT * FROM bkpf INNER JOIN bpos ON bkpf.belnr = bpos.belnr INTO wa

    WHEREBkpf.belnr = 1000 .

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

    Note: There are 2 correct answers to this question.

    A) ABAP subroutineB) ABAP Include ProgramC) ABAP WebDynpro applicationD) ABAP Executable program

    30.-When you implement a class you can use most of the procedural ABAP statementswithin this class. But some statements are forbidden. What is forbidden within classdefinitions?

    Note: There are 3 correct answers to this question.

    A) The definition of nested structures.

    B) Typing with LIKE to ABAP Dictionary types.C) The TABLES statementD) The definition of internal tables with header lines

    31.-Which commands are allowed if you are working with an internal table of typeSORTED?

    Note: There are 3 correct answers to this question.

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    8/20

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    9/20

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    10/20

    39.-Which of the following statements about data types are correct?

    Note: There are 3 correct answers to this question

    A) A data type can be used to define variables or constants.B) Data types can be defined in the program

    C) Data types can be defined only in the ABAP dictionaryD) Data types can be defined in the ABAP dictionary

    40.-You want to display data from transparent table BKPF and BPOS which containsheader data an position data of accounting documents. The primary key of BKPF consistof MANDT (client), and BELNR (document number). The primary key of BPOS consists ofMANDT (client), BELNR (document number), and POS (position). What are your optionsto select data from BKPF together with the corresponding data from BPOS?

    Note: There are 3 correct answers to this question

    A) Use a left outer joinB) Use an inner joinC) Use two nested select loopsD) Use a view

    41.-Which of the following statements is true concerning working with structures andinternal tables in the ABAP Debugger?

    A) With the ABAP Debugger you can edit internal tables (for example, append lines,delete lines, change the content).

    B) With the ABAP Debugger you can change the definition of a structure at runtime

    C) With the ABAP Debugger you can create a new data objects even if they arestructures or internal tables.

    42.-What kinds of controllers exist within a Web Dynpro component?

    Note: There are 3 correct answers to this question

    A) User controllersB) View controllersC) Exactly one component controllerD) Windows controllers

    43.-One of your colleagues has left your company and now you are in charge ofmaintaining his programs. One program deals with handling of lists. You go through thecoding, and in the main part of the program you find the following lines: DATA:current_list_no TY PE i, , current_list_no = cl_list=>number_of_lists(). What type ofcomponent is the tem number_of_lists?

    A) number_of_lists is a public static functional method of the class cl_listB) number_of_lists is a public instance functional method of the class cl_list

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    11/20

    C) number_of_lists is a public static attribute of the class cl_listD) number_of_lists is a public instance attribut of the class cl_list

    44.-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 designthe table zdepartmentt so that it is the text table of the table zdepartment?

    Note: There are 3 correct answers to this question

    A) The text table zdepartmentt has at least one text field which is not a key field.B) The text table zdepartmentt has the same key fields as the table zdepartment plus

    one aditional key field of data type LANGC) The text table zdepartmentt is linked with table zdepartment by a foreign key. For

    the type of the foreign key you choose Key fields of a text table.D) The text table zdepartmentt is a cluster table type.

    45.- Why doesn t SAP recommend modifying standard SAP programs?

    Note: There are 2 correct answers to this question

    A) To protect SAP s intellectual property B) To simplify upgrades to a new releaseC) To avoid performance problemsD) To ensure smooth support from SAP

    46.-Which of the following statements about subscreens are correct?

    Note: There are 2 correct answers to this question

    A) Subscreens may have their own PBO and PAI logicB) Subscreens have their own OK code fieldC) You call subscreens using the ABAP command CALL SUBSCREEND) You call subscreens using the screen command CALL SUBSCREEN

    47.-Why do you need to bundle database updates in your dialog programs?

    Note: There are 2 correct answers to this question

    A) Because there is an implicit database commit after each dialog step.B) To keep the database in a consistent state if the user wants to cancel the

    transaction.C) To increase the performance of your programD) Because there is not implicit database commit after each dialog step

    48.-On classical screen(dynpro) there is an input field for an airline code coming from thefield carrid of the database table zcarr. This field carrid refers to the data element z_carr_idwhich itself refers to the domain z_char_3. Your task is to change the F1-Help of the field

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    12/20

    carrid of the dynpro. The documentation of which object do you have to change in order tochange the F1-help o the dynpro?

    A) The documentation of the domain z_char_3B) The documentation of the element z_carr_idC) The documentation of the field carrid of the table zcarr

    49.- In classical screen programming (dynpro programming). Which conditions must befufilled in a programmer check so that a screen input field is made ready for input?

    Note: There are 2 correct answers to this question

    A) The check module must be called using: FIELD field_name MODULEcheck_module MESSAGE Enn.

    B) An I-type message must be outputC) The module must output an E-type message or a W-type messageD) The check module must be called using: FIELD field_name MODULE

    check_module .

    50.-In your program you need the names of the fields of a structure wa_material atruntime. 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 areference of type cl_abap_typedescr. Which of the following statements is syntacticallycorrect?

    A) r_describe != cl_abap_typedescr=>describe_by_data(wa_material).B) r_describe ?= cl_abap_typedescr=>describe_by_data(wa_material).C) r_describe = cl_abap_typedescr=>describe_by_data(wa_material).

    51.-You want to display data in a view of an ABAP WebDynpro component. However, thedata you want to display are stored in the context of the component controller. What thebest way to display the data?

    A) Move the context of the component controller to the context of the view conrollerand bind the controls that display the data to the context of the view controller

    B) Copy the context of the component controller to the context of the view controllerand bind the controls that display the data to the context of the view controller

    C) Map the context of the component controller to the context of the view controllerand bind the controls that display the data to the context of the view controller

    D) Bind the controls that display the data to the context of the component controller.

    52.-Which statements concerning the Object Navigator is true?

    Note: There are 3 correct answers to this question.

    A) Within the Object Navigator you can mantain each type of ABAP Workbench object(for example, programs, screens).

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    13/20

    B) The navigation area can be hidden, so that the tool area appears in full-screenmode.

    C) Navigation area and tool area are always coupled. For example, if you mantain aprogram in the tool area, the same program will auomatically as well appear at thetop of the object list of the navigation area.

    D) Workbench favorites can be mantained in the navigation area.

    53.-Some transaction contain SELECT statements in their applications that cause verylong runtimes. You should now improve the performance without change. What techniquescan be suitable for increasing the performance during database table access?

    Note: There are 2 correct answers to this question

    A) To put the appropiate database tables in the special fast-access-tablespace of thedatabase

    B) To use table buffering for the appropiate database tablesC) To define indices to the appropiate database tablesD) To unit appropiate databse tables in a pool table

    54.-The SAP NetWeaver Application Server offers the possibility to instal an ABAP stackor 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?

    A) In one SAP NetWeaver Application Server there can be installed either a stand-alone ABAP stack, or a stand-alone Java stack, or a combinartion of an ABAPstack and a Java stack.

    B) 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 therecan never be installed a stand-alone Java stack.

    C) In one SAP NetWeaver Application Server, both stacks must always be installed.D) In one SAP NetWeaver Application Server there can be installed either an ABAP

    stack or a Java stack, but never both stacks.

    55.-In your team of ABAP developers there is some confusion concerning the relationshipbetween enhancement points, enhancement spots, enhancement selections and BAdIs.Which statements about these concepts are correct?

    Note: There are 2 correct answers to this question

    A) You can no longer use classical BAdIsB) Enhancement spots organize a explicit enhancement points, enhancement

    sections and new BAdIsC) An enhancement spot manages either new BAdIs or explicit enhancement points

    and enhancement sections.D) Enhancement points organize explicit enhancement spots, enhancement sections,

    and new BAdIs.

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    14/20

    56.-You exacute an ABAP program with several dialog steps (screen). Which statment iscorrect?

    A) The entire program is always processed in exactly one dialog work process. Thisdialog work process also remains reserverd for this program while the screendisplays on the front end.

    B) The ABAP dispatcher takes over the entire execution of the ABAP programs andgets the user context of the programs from the roll area.

    C) The program components for the individual dialog steps are usually executed invarious dialog work processes that are released once a program component hasbeen processed (while the screens display on the front end).

    57.-You are writting a Business-Server-Page-Application (BSP) where you use the globalclass CL_BSP_CONTROLLER2. This class has implemented the global interfaceIF_BSP_CONTROLLER in which the method HANDLE_EVENT is defined. There is noother 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_bso_controller2,r_interface TYPE REF TO if_bsp_controller. CREATE OBJECT r_class. CREATEOBJECT r_interface TYPE cl_bsp_controller2. Which of thee following method calls aresintactically correct? (in relation to the above coding lines).

    Note: There are 2 correct answers to this question.

    A) r_class- >if_bsp_controller~handle_event( ). B) r_interface- >handle_event( ) . C) r_interface->if_bsp_controller~han dle_event( ). D) r_class- >handle_event( ).

    58.-You can realize polymorphism between objects from different classes if these classesare connected via inheritance. For objects of classes that are not connected viainheritance, another technique exist to achieve polymorphism. With which of the followingconcepts you can also achieve polymorphism?

    A) The interface conceptB) The friend conceptC) The event concept

    59.-You create a function group ZATP that contains a couple of funtion modules tomanage material master data. What is the name of the corresponding main program?

    A) SAPFZATPB) SAPMZATPC) ZATPD) SAPTZATPE) SAPLZATP

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    15/20

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    16/20

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    17/20

    68.-You want the system to output a list in the program using the SAP ALV Grid Control. Inwhich order do you haver to carry out the following steps in the program to achieve this?

    A)

    B)

    C)

    D)

    69.-You detect an error in the coding of a standard SAP ABAP program. You need tocorrect this error in you development system and transport it to your production system.What is this action call?

    A) HotfixB) RepairC) Support PackageD) Modification

    70.-What do you have to do to extend the SAP table sbook although in your company it isextrictly forbbiden to modify SAP objects?

    A) You have to define a structure where you put the field travel_agency in and include

    this structure in the SAP table sbook.B) You have to create an append structured where you define an appropiate field with

    the name zztravel_agency.C) You have to extend the SAP table sbook by adding the field travel_agency directly

    in to the definition of the table sbook.

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    18/20

    71.-You want to create a Web Dynpro component with two views. The selection viewcontains two input fields for departure and arrival city an a button to trigger the search forflight connections between this two cities. The resulting view contains a table thathdisplays the found flight connections ans a button to navigate back to the selection view. Ineach view you have defined at outbound plug that will be fired by pressing the button of

    the view. Furthermore, you have define dan inbound plug in each view. Which is theeasiest way to define a navigation structure between the two views?

    A) Embed each view in its own window. Then connect the outbound plug of theselection view in the inbound plug of the result view and the outbound plug of theresult view with the inbound plug of the selection view.

    B) Create a combi window that contains two ViewContainerUIelement controls.Embed the two views in the ViewContainerUIelements. Then connect the outboundplug of the selection view with the inbound plug of the result view and the outboundplug of the result view with the inbound plug of the selection view.

    C) Create a combi view that contains two ViewContainerUIelement controls. Embed

    the combi view in a Window, and the two other views in theViewContainerUIelements. Then connect the outbound plug of the selection viewwith the inbound plug of the result view and the outbound plug of the result viewwith the inbound plug of the selection view.

    D) Embed both views in the one Window. Within that window, connect the outboundplug of the selection view with the inbound plug of the result view and the outboundplug of the result view with the inbound plug of the selection view.

    72.-You want to write a dialog program that changes data on the database. You want tobundle all updates by using update function modules. You want to inform the user if on ofthe update function modules fails. What is the easiest way to do this?

    A) Run a job that periodically checks the result of the update and writes a message tothe inbox of the user.

    B) Thes system notifies the user automatically with an express message .C) After the commit work, wait a couple of seconds, checks the results of the update,

    and write a message to the inbox of the user.D) Perform the update synchronously, retrieve the status and write a message to the

    inbox of the user.

    74.-You want to select the fields MATNR, ENAM and EDAT from table MARA to displaythem in a report. What would be the best way to do this?

    A) Declarete a work area wa containing only fields fields MATNR, ENAM and EDATand use SELECT * FROM mara INTO CORRESPONDING FIELDS OF wa.

    B) Declarete a work area wa of type MARA and use SELECT * FROM mara INTO wa.C) Declarete a work area wa containing only fields MATNR, ENAM and EDAT and

    use SELECT matnr enam edat FROM mara INTO wa.D) Declarete a work area wa of type MARA and use SELECT matnr enam edat FROM

    mara INTO wa.

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    19/20

    74.-Which of the followings statements concerning constants at runtime is correct?

    A) The value of a constant can not be changed at runtime.B) The value of a constant can be changed at runtime anytime without any

    restrictions.C) The value of a constant can be changed at runtime if there have not been any

    executable statements that make use of the constant s value.

    75.-When you define a field of a database table you tipically refer to a data element, whichin turn normally refers to a domain. But it is also possible to set the data type directly inthe data element, without refering to a domain. Which feature do you get, if you define adata type by referencing to a domain?

    A) Only then can you add this table field to a database viewB) Only then is possible to define a check table for this table fieldC) Only then can you link a search help to this table field

    76.-Which of the following statements about field transport between ABAP and classicalscreen (dynpro) are correct?

    Note: There are 3 correct answers to this question

    A) Name equivalence is imperative for fields transport between ABAP and screenB) Field transport from the screen to ABAP is delayed if you have a FIELD statementC) Field transport from ABAP to the screen generally takes place before the first PBO

    module of the screenD) Dcitionary structures on the screen require a TABLES statement in ABAP.

    77.-You defined to classes cl_airplane and cl_passenger_plane, wherecl_passenger_plane is the subclass of cl_airplane. In the class cl_airplane, the publicinstance method display_attributes is defined, which has no parameters. In the subclasscl_ passenger_plane, the public instance method display_number_of_seats is defined,which has also no parameters. In your program, you have implemented the following lines:DATA r_airplane TYPE REF TO cl_ariplane, r_passenger TYPE REF TOcl_passenger_plane. CREATE OBJECT r_passenger. r_airplane = r_passenger. Which ofthe following method calls are sintactically correct? (in relation of the above coding lines).

    Note: There are 3 correct answers to this question

    A) r_passenger->display_attributes( )B) r_airplane->display_attributes( )C) r_passenger->display_number_of_seats( ) D) r_airplane->display_number_of_seats( )

    78.-You write an application that stores data in an internal table temporarily. Since theapplication is runtime critical, you wonder which type of internal table to use. Whichstatements about internal tables are correct?

  • 8/12/2019 Fotos ABAP Word V1 (Sin Respuestas)

    20/20

    Note: There are 2 correct answers to this question

    A) There are four types of internal tables: standard, sorted, hashed, and indexestables.

    B) You can use the INSERT TABLE statement to add data record to all types ofinternal tables

    C) If you want to add an entry to a sorted table, the sort sequence must remain thesame

    D) You can use an index to access hashed tables.

    79.-You want to write a dialog program that changes data on the database. You want tobundle all updates by using update function mudules. What do the function modules haveto do if they encounter a problem?

    A) Abort the program with MESSAGE axxx(nnn).B) Inform the user with MESSAGE ixxx(nnn).C) Write a warning with MESSAGE wxxx(nnn).D) Write an error message with MESSAGE exxx(nnn).