Test 02 Flashcards
W.1 You want to display the data in a view of WebDynpro component. However the data you want to display are stored in the context of component controller . What is the best way to display the data?.
A. Move the context of the component controller to the context of the view controller and bind the control that displays the data to the context of view controller.
B. Copy the context of component controller to the context of view controller and bind the control data that displays the data to the context of view controller .
C. Bind the control that display the data to the context of component controller.
D. Map the context of components controller to the context of the view controller and bind the control data that displays the data to the context of view controller.
D. Map the context of components controller to the context of the view controller and bind the control data that displays the data to the context of view controller.
B.4 What do you do if you want to extend SAP table sbook although in your company its strictly forbidden to modify SAP objects?
A. You have to define a structure where you put in the field travel_agency in and include this structure in the SAP table sbook.
B. You have to create an append structure where you can define an appropriate field with name zztravel_agency
C. You have to extend the SAP table sbook by adding the field travel_agency directly into the definition of the table sbook.
B. You have to create an append structure where you can define an appropriate field with name zztravel_agency
W.5 You want to create WebDynpro Application in the object navigator. What do you need to specify in the WebDynpro application?
A. A Webdynopro component and window within this component.
B. A Webdynopro component and context within this component
C. A Webdynopro component and interface view within this component
D. A Webdynopro component and controller within this component
C. A Webdynopro component and interface view within this component ***
B.6 You detected an error in SAP standard program , you need to correct this error in the development system and then transport it to the production system . What is this action called?
A. Support Package
B. Repair
C. HotFix
D. Modification
B. Repair
- B.15 When you implement a class you can use most of the procedural ABAP statements within the class. But some statements are forbidden within the class definitions? (3 correct answers)
A. The TABLES statements
B. Definition of nested structures
C. Typing with LIKE to ABAP dictionary types
D. Definition of internal table with header line.
A. The TABLES statements
C. Typing with LIKE to ABAP dictionary types
D. Definition of internal table with header line.
W.17 You want to write a ABAP program that make use of SAP GUI . Which of the following UI types can you see? (2 correct answer)
A. Business Server Pages(BSPs)
B. Classical Screens(dynpros) with controls(like ALV control)
C. ABAP WebDynpro
D. Selection Screen
B. Classical Screens(dynpros) with controls(like ALV control)
D. Selection Screen
B.22 SAP programer has written a standard program in way that it can call customer coding, you want to implement this coding . What is this technique called?
A. Enhancements B. Modifications C. Corrections D. Personalization E. Repair
A. Enhancements
B.26 Which kind of enhancements can BADIs provide? (3 correct answers)
A. Table Enhancement B. Menu Enhancement C. Functional Enhancement D. Data Element Enhancement E. Screen Enhancement
B. Menu Enhancement
C. Functional Enhancement
E. Screen Enhancement
B.28 Why doesnt SAP recommends to modify the SAP standard programs. (2 correct answer)
A. To simplify the upgrade to new versions
B. To avoid performance problems
C. To ensure smooth support from SAP
D. To protect SAP’s intellectual property.
A. To simplify the upgrade to new versions
C. To ensure smooth support from SAP
W.30 You want to create Web Dynpro component with two view. The selection view contains two input fields for departure and arrival city and a button to trigger the search flight connections between two cities. The resulting view contains a table that displays the found flight connections and a button to navigate back to selection. In each view you have defined an outbound plug that will be fired by pressing the button in that view. Furthermore you have defined the inbound plug in each view. Which is the easiest way to define the navigation structure between two views?
A. Create a combi view that contains two viewcontainerui element controls. Embed the combi view in a window and the other two views in the viewcontainerui element . Then connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
B. Embed each view in its own window . Then connect the outbound plug of the selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
C. Embed both the views in same window, within the window connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
D. Create a combi window that contains two Viewcontainerui element , Embed these two view in two viewcontainerui element. The connect outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
C. Embed both the views in same window, within the window connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
B.34 You want to add two field to SAP standard table using append technique. What do you have to keep in mind of this technique? (Only 2 correct answers)
A. The name of Append structure should start with ZZ or YY.
B. An Append structure can be assigned to more than 1 table
C. The fields of the Append structure should start with ZZ or YY
D. Append structures must be compared with the SAP original in release upgrade
E. Append structures are not possible for tables containing long field
C. The fields of the Append structure should start with ZZ or YY
E. Append structures are not possible for tables containing long field
W.35 You need to create the ABAP program that list a invoice from a supplier. What types of programs can you create to achieve this goal? (2 correct answer).
A. ABAP WebDynpro applications
B. ABAP Executable Program.
C. ABAP subroutine
D. ABAP Include program.
A. ABAP WebDynpro applications
B. ABAP Executable Program.
B.37 You want to run a dialog program that update all the changes to the database. You want to bundle all the changes by using update function module. You want to inform the user of the update function module fails. Which is the easiest way to do it?
- Perform the update synchronously, retrieve the status and write the message to the inbox of the user
- After the commit work , wait for couple of seconds , check the result of the update , write to the inbox of user
- Run a job periodically checks the result of the update and writes the message to the inbox of the user
- The system notifies the user automatically with the express message.
- The system notifies the user automatically with the express message.
B.40 Your colleague need advise on several ABAP types, Which of the following statement are correct? (There are 3 correct answers)
A. Data object of ABAP type STRING initially takes up no spaces, If any data is put into it at runtime , it takes up exactly the space that is needed . If its cleared the value changes to spaces, but the previous length remains.
B. A data Object of type X has fixed length while data object of type XSTRING the length changes dynamically depending upon the length of the content
C. Type X is useful for working with bit information
D. You can compute date with the following DATA: old_date type d, new_date type d, old_date = sy-datum. new_date = old_date + 14.
B. A data Object of type X has fixed length while data object of type XSTRING the length changes dynamically depending upon the length of the content
C. Type X is useful for working with bit information
D. You can compute date with the following DATA: old_date type d, new_date type d, old_date = sy-datum. new_date = old_date + 14.
B.41 You defined two classes cl_airplane and cl_passenger_plane, where cl_passenger_plane is subclass of cl_airplane. In the class cl_airplane , the public instance method display_attributes is defined, which has no parameters. In the sub class of cl_passenger_plane, the public instance method display_number_of_seats is defined which has no parameters.In your program, you have implemented the following lines: DATA: r_plane type ref to cl_airplane, r_passenger type ref to cl_passenger_plane. create object r_passenger. r_plane = r_passenger. Which of the methods are syntantically correct? (3 correct answers)
A. r_airplane->display_attributes( ).
B. r_passenger->display_number_of_seats( ).
C. r_airplane->display_number_of_seats( ).
D. r_passenger->display_attributes( ).
A. r_airplane->display_attributes( ).
B. r_passenger->display_number_of_seats( ).
D. r_passenger->display_attributes( ).