Final Dumps ABAP 12

Share Embed Donate


Short Description

ABAP Cert Ques...

Description

SAP ABAP CERTIFICATION QUESTIONS.

TAW10-01 1) Watchpoint a) b) c) d)

You can create a watch point in the editor by choosing Goto  Create. Watchpoint can only be created in a debugger Can combine multiple watchpoints using AND/OR. When the value of the variable to which the watchpoint has been created has been changed, execution stops and you would get a message that the watchpoint has been reached.

2) A certain part of a program always gives errors you wish to debug it. which of the following are correct? (Multiple answers-2 correct).

a) b) c) d)

You can create a watchpoint from abap editor. Watchpoints can only be created in debugger. Watchpoint can be combined using AND/OR. If a value is changed during debugging hen a watch point is encountered.

3) Where can u create data types: a) In program. b) In dictionary c) Only in dictionary. 4) Question based on development object. a) Have to assign each development object to a package. b) A transport layer has to be specified to each development object independently. c) A transport layer has to be specified while creating a package. 5)

A Constant. a) Cannot be changed at runtime. b) Can be changed at runtime c) Can be changed at runtime if it is not used in the program.

6) Events a) events can be nested b) the execution of events is decided by the abap at runtime c) the events are executed in the way they are written 7) Field Catalog. a) b) c) d)

Used to edit the column position, width. Used to edit the column content’s position , width Used to display the colors in the row list Used to hide columns.

8) active and inactive objects a) The inactive objects can be transported b) When an inactive object is activated it is called Newly Active object and the old active object is called the newly inactive object c) Only the developer can see the inactive object and is not shared.

9)

What is true about the internal tables if it is defined as DATA it TYPE TABLE OF ….. a) The internal table with header line is faster than the internal table without header line. b) You can use LOOP AT it…. ENDLOOP as well as LOOP AT it INTO it…ENDLOOP. c) Two names are identical, the name of the internal table body and the internal table work area.

10) An internal table is given. READ TABLE statement is given. And the fields are assigned to ...which is the fastest way to modify the table? (1 correct). a) Modify using field symbol...Rather than using actual fields… …the other 2 options were also of the same type. 11) Purpose of DEBUGGERS (functions). 12) WHAT THINGS ABOUT SAP NETWEAVER ARE CORRECT? a) b) c) d)

SAP ERP IS A PART OF SAP NETWEAVER ISU IS A PART OF SAP NETWEAVER BANK ANALYZER IS AN IMPORTANT APPLICATION SAP NETWEAVER IS RELATED TO PROCESS INTEGRATION, APPLICATION INTEGRATION, INFORMATION INTEGRATION e) SAP NETWEAVER BINDS USES OF DIFFERENT CULTURES f) SAP NETWEAVER BINDS SAP WITH NON SAP PLATFORMS g) Bank analyzer is a part of SAP NETWEAVER 13) For inactive object what is true statement (1 answer). a) When p1 calls the program p2 then active object will be called instead of inactive b) Only developer can see the inactive object. 14) Suppose you wanted to add two fields in two database table fields are date and time. Which will be best option? (1 answer) a) Include structures b) Append in two table c) Direct in table. 15) For data access which Internal table acts how (Internal table comparisons in book) 16) In debugger mode what can we do? (1 answer) a) We can add, change and delete item of internal table b) We can change internal table description. 17) Which of the following use SAP GUI and the UI elements a) b) c) d)

ALV GRID CONTROL Screen selection Web Dynpro. Bsp

18) You want to select 3 fields MANDT, CARRID and CONNID from the table MARA and what is the best way to select the fields so that the system performance is high.

a) Create a WA of type MARA and use SELECT * FROM MARA INTO WA. b) Create WA with only carrid, connid and mandt and use SELECT * FROM MARA INTO CORRESPONDING FIELDS OF WA c) Create WA with only carrid, connid and mandt and use SELECT CARRID CONNID MANDT FROM MARA INTO WA. d) Create WA of type MARA and use, SELECT CARRID CONNID MANDT FROM MARA INTO WA. 19) What things about transport organizer are correct? a) It bundles the transport objects as a single package and then allocates to transport organizer. b) Or each transport object, one package is assigned and then transported. 20) What is true about work process? a) For each dialog step a work process is assigned and then the dialog steps are processed sequentially. 21) Suppose you are updating some function modules but some error occurs before commit so what is the best and fast way to inform the user? a) Automatically send an express mail to the user who triggered the update. 22) Which of the following reports are freely allowed if u r working with an internal table of type sorted? a) b) c) d) e)

SORT APPEND MODIFY COLLECT READ.

23) Order of programming…… a) Types, Data, Parameter, Select-option. 24) The statement used to clear all contents of internal table and deal locates memory. a) FREE INTERNAL TABLE. 25) A program has event blocks in it.... the events are defined in the following fashion. (set alphabetically) AT START-OF-SELECTION, INITIALIZATION, LOAD OF PROGRAM, START-OF-SELECTION. When executed the events are executed in a PARTICULAR fashion. Which one of the following sequences shows the exact sequence of events? (1 correct answer). a) b) c) d)

-sequence c: initialization, load of program, start-of-selection, at selection-screen. -sequence a: load-of-program, start-of-selection, initialization, at selection-screen. -sequence d: start-of-selection, load-of-program, at selection-screen, Initialization. -sequence b: load-of-program initialization at selection-screen start-of-selection.

26) A structure is defined as follows. TYPES: Begin of t1, name(20) type c, id(3) type n, dept(10) type c, End of t1. Which one of them are possible definitions for continuation? ( 2 correct answers ). a) -TYPES str1 TYPE t1. b) -TYPES str2 LIKE str1. c) -DATA str1 TYPE t1. d) -DATA str2 LIKE str1.

27) You have defined a class and your customer wants you to get a display which can show a list of invoices. In doing this which of the following is forbidden? ( 3coorect answers ) a) b) c) d)

-typing with LIKE to ABAP DICTIONARY TYPES. If type to abap is true -defining INTERNAL TABLES WITH HEADER LINES. -using TABLES statement. -defining INTERNAL TABLES WITHOUT HEADER LINES.

28) Which of the following can be an appropriate NETWEAVER AS? ( 1 correct answer ) a) -can install only SAP Net weaver ABAP AS b) -can install only SAP Net weaver JAVA AS. c) -can install either an SAP Net weaver ABAP AS or a SAP Net weaver JAVA AS or a combination of both. d) -cannot install either an SAP Net weaver ABAP AS or a SAP Net weaver JAVA AS or a combination of both. 29) What are the tools of abap workbench? (3 correct answers) a) b) c) d) e) f)

-class builder -web Dynpro application -screen painter -database optimizer -function analyzer. -function builder.

30) Scenario given….Authorization check done at a) --at selection screen. b) --at user command. 31) What is true about events? a) b) c) d)

Events start with keyword event and end with another event or module or sub routine. Events execute in order they appear in program. Events order is decided by runtime system. Events can be nested.

32) What statements can use BAPI? a) Request data from sap system. b) Pass data to sap system. c) Access business processes in sap system. 33) Which component in application server controls data traffic between work process and presentation server? a) Gateway. b) Message server. c) Dispatcher. d) SDM e) Enqueue. 34) Which events generate lists? a) Start-of-selection. b) At line-selection. c) At user-command. d) At PF. e) TOP-OF-PAGE DURING LINE-SELECTION.

35) Assuming a pushbutton with function code ‘FUNC’ is available in tool bar of list report, what event is processed when the button is clicked? a) Start-of-selection. b) At line-selection. c) At user-command. d) At PF. e) TOP-OF-PAGE DURING LINE-SELECTION. 36) The following message appears when processing is interrupted and user can correct entries? a) Warning. b) ERROR. 37) You have newly joined a development team and your team member is developing a report. He wants to put the validation for the vendor number. In which event he should put the error message so that in case when wrong vendor is entered error message should appear and focus the cursor on that field. a) Start-of-selection b) End-of-selection c) At selection screen on field d) Initialization 38) Which statement can be used to read a single record from the internal table? a) Move it_tab to wa_taab with . b) Read table it_tab into wa_tab index . c) Move-corresponding it_tab to it_taab1. d) None of the above. 39) What is true about abap workbench? a) It hides the toolbar. b) It combines both toolbar and navigation area 40) Which of these are correct statements for SELECT-OPTIONS and RANGES? (There are 3 correct answers). a) SELECT-OPTIONS will generate ranges internal table implicitly. b) RANGES statement will generate ranges internal table explicitly. c) The structure of the internal table generated by SELECT-OPTIONS and RANGES are the same (contain SIGN, OPTIONS, LOW and HIGH) d) The structure of the internal table generated by SELECT-OPTIONS and RANGES are different. 41) Choose the correct statements for BAPI. a) BAPIs are the methods of Business Objects. b) BAPIs can be called from Java Application. c) BAPI is interface which contains methods and data declaration. d) You can redefine the BADI as per your choice. 42) In debugger mode what can we do ( 1 answer ) a) We can add, change and delete item of internal table 43) To allow the user to enter values on the screen for a list field, use: a) OPEN LINE. b) SET CURSOR FIELD. c) WRITE fld AS INPUT FIELD. d) FORMAT INPUT ON. 44) In regard to PERFORM, which of the following is NOT a true statement? a) May be used within a subroutine. b) Requires actual parameters.

c) Recursive calls are allowed in ABAP. 45) If you have a program in inactive version. After u activate it. a) Only the developer can see the inactive version b) Active version becomes inactive & inactive version becomes active. 46) In debugger mode what can we do a) We can add, change and delete item of internal table b) We can change internal table description c) We can change structure details 47) There are two tables BKPF, BPOS. BKPF has key fields MANDT, CARRID AND CONNID with BENR = 1000. BPOS has key fields MANDT CARRID, how do you join the two tables with Corresponding fields a) inner join b) left outer join c) view d) Use 2 select statements. 48) What are the correct points about object navigator? a) navigation area and tool area r coupled that is when u click on a program of navigation area it shows in tool area and vice versa b) u can add favorites to navigation area c) screen of object navigator contains programs ,screens etc 49) For which tasks is the database interface responsible? (3 correct) a) Syntax check of “native” SQL commands b) Conversion of Open SQL statement from ABAP statements into the corresponding database statements c) Data Consistency check with respect to foreign key relationships d) Database independence of application programs e) Usage of the SAP buffers 50) Find the correct order Types: Begin of s1. ******* ****** End of s1. Data r1 type s1. r2 like r1/. Select options r1 for abc 51) Flow of ABAP statements. 52) There is a function group named ZABCD, what would be the naming convention for the functional module. a) SAPMZDEF. b) SAPLZDEF. c) ZDEF. 53) There is a sorted internal table .Which r correct? a) insert b) delete c) modify d) sort

54) Variable A is of data type I. your friend wants to know the features of the data type I. which one of the following is true a) Data type I is an INTEGER and has a fixed length of 4 bytes. b) Data type I is an INTEGER and is incomplete. c) Data type I is an INTEGER and has fixed lengths of 1, 2 3 and 4 bytes. 55) When you pass a parameter to the subroutine, the value of the passed parameter should be passed back to the calling program only if the subroutine executes without errors. a) b) c) d)

CHANGING VALUE ( ). USING VALUE ( ). USING. CHANGINING

TAW10-02 56) You want to add another field to the table, but the company does not want you to Modify the SAP object, what would you do?

a) Create a structure with one field and append the structure, the field name should begin with ZZ or YY. a) create a structure and include in the table b) Add a field to the table. 57) if you want to add a field to two tables what would you do a) add the field to two tables separately b) create a structure with the field and append structure to two tables c) create a structure with the field and include in both the tables 58) What u can do to make the fields ready for input again a) use the field statement b) use the e or w type message c) use field statement ,e type error message along with a type 59) U can have keyword PARAMETER with TYPE in which cases a) b) c) d)

Method parameter. Interface parameter. Subroutine parameter. PBO and PAI modules.

60) Search helps can be attached to: a) data element b) fields of a table c) check tables d) domain 61) Which condition must be fulfilled in a programmed check so that a screen input field is ready for input? (2 correct) a) The check module must be called using field field_name, module check_module. b) The module must output an e-type message or w-type message. c) The check module must be called using field field_name, module check_module Message Ennn.

62) Which of the following statements about sub-screens are correct? a) b) c) d)

You call sub screens using the screen command CALL SUBSCREEN You call sub screens using the ABAP command CALL SUBSCREEN They can have their own PF-Status Sub screens have their own OK code field

63) You have defined a screen with mandatory entries. You want the CANCEL function to work even if all mandatory fields are not filled. How can you do this? a) The CANCEL function must have the function code BACK. b) There is no way to do this: mandatory fields must be filled first c) No special actions are required d) You must temporarily switch off the required entry for the fields concerned with the LOOP AT SCREEN …ENDLOOP. e) The CANCEL function must be type E and be handled in a module with addition AT EXITCOMMAND 64) Your manager wants you to add fields to the tables. But as per SAP, you cannot modify ABAP STANDARD OBJECTS are there any other ways of adding fields to tables without modifying them. a) b) c) d) e)

if there is a long field at the end of the table you cannot append a structure Append structures start with the name ZZ or YY. By appending more than one appends structures to a table. Field names of append structures start with ZZ or YY. By including the include structures.

65) Which one of the following is used to in search helps. a) Help view. b) Maintenance view. c) Database View. 66) You have created a dialog box (screen) which holds the number 100. You want to this dialog box. How can this be done? a) CALL SCREEN 100. b) LEAVE SCREEN. c) LEAVE TO SCREEN 100. d) CALL SCREEN 100 STARTING AT 15 16. 67) Following method of attaching search help is not possible a) b) c) d)

for a domain for data element for screen field for table

68) You have a selection screen (Dynpro) which has two input fields. Based on the input the corresponding data is displayed on the next screen. There are two database tables given SPFLI which has primary fields MANDT, CARRID, CONNID and SCARR with primary fields CARRID. Now u want that the carrid field in the screen should only take values from SCARR table. Which of the following is the best possible way to do so? (1 answer) a) Define a foreign key relationship with SCARR as check table and MANDT CARRID as foreign key fields. b) Define a foreign key relationship with SPFLI as check table and MANDT CONNID as foreign key fields. c) Maintain SCARR as a value table in domain of SPFLI-CARRID.

69) Zdepartment is a database table...you create a table zdepartmentt in DDIC, which should be a text table of the mentioned database table?(1 answer) a) You create table zdepartmentt in dictionary with same fields as zdepartment. b) You create table zdepartmentt in dictionary with same fields as zdepartment and a language field. c) You create table zdepartmentt in dictionary with same fields as zdepartment and an additional text field. d) Define table zdepartmentt as text table. 70) You can create a data type (data object) by referring to a data element. Data element refers to a domain internally. You can also create data element by direct referencing also. What is possible if a data type directly refers to a domain? (2 answer) a) U can add the field in a database view. b) U can define a check table for the field. (Don’t remember other two options) 71) How do you set the title for the modal dialog box? (1 correct) a) PBO. b) PAI. c) Attributes in screen. 72) Which view supports outer join. a) maintenance view, b) HELP VIEW c) Database view. d) Projection view. 73) THERE IS A DYNPRO; IN THAT THERE IS A BUTTON ‘PF_SAVE’ AND ITS FUNCTION CODE IS ‘SAV’. TO READ THE FUNCTION IN THE MAIN PROGRAM BY USING THE PAI, WHAT IS CORRECT WAY TO READ THE FUNCTION VALUE( 1 CORRECT ) a) SY-OKCODE b) IF THE OK FIELD VALUE IS ‘SAV’ c) IF THE OK FIELD VALUE IS ‘PF_SAVE’ d) USING LOOP AT SCREEN TABLE 74) WHICH OF THE FOLLOWING STATEMENTS ARE CORRECT ABOUT THE SUBSCREENS correct answers. a) you can call a sub screen using the ABAP command CALL SUBSCREEN b) Sub screens may have their own PAI & PBO modules. c) you can call a sub screen using the screen command CALL SUBSCREEN d) Sub screens have their own OK_CODE.

2

75) OUTER JOIN IN SEARCH HELP IS POSSIBLE IN a) MAINTAINENCE VIEW b) HELP VIEW c) DATABASE VIEW 76) QUESTION ABAP INNER JOIN SYNTAX(HOW TO ACCESS ATTRIBUTES OF 2 TABLES) a) The view that provides read only access. b) PROJECTION VIEW.

77) You have defined a screen with required entries. You want "cancel" function to work even if all the required entry fields are not fixed .How can you do this. a) THE "CANCEL" FUNCTION MUST BE TYPE 'E' AND BE HANDLED IN A MODULE WITH ADDITION AT EXIT-COMMAND.

78) There is a field TELEPHONE in table of ZDEPARTMENT. It is referred y the data element ZDETEL which in turn is referred by its domain ZDOTEL. Your friend wants to change the field TELEPHONE. How do you document this? a) -edit documentation using the data element ZDETEL b) -edit documentation through the domain ZDOTEL 79) Which one the following can be used only to read a table. a) -projection view. b) -maintenance view. c) -database view. 80) You have defined a screen (Dynpro programming) with required entries. You want to "CANCEL" the function to work event f all the required entry fields are not filled. How can you do this? 1 correct answer. a) -the "CANCEL“ function must have the function code "BACK". b) -there is no way to do this: required entry fields must always be filled first. c) -you must temporarily switch off the required entry for the fields concerned within the LOOP AT SCREEN......... ENDLOOP. d) -the "CANCEL" function must be of type 'E'. 81) There is a push button PF_SAVE on a screen. It holds the function code as 'SAV'. You want to know whether the customer has clicked on the pushbutton. What must be checked? (1 correct answer.) a) -check if the PF_SAVE ok_code is 'SAV'. b) -check if the SY_OKCODE has field value SAV in element list. c) -check if the OK filed value is PF_SAVE. d) -check if the code for PF_SAVE is in PBO. e) -by creating a loop to screen table. 82) There are two tables BKPF and BPOS. BKPF has key fields MANDT, CARRID & CONNID, with BLENR = 1000. BPOS has key fields MANDT and CARRID. how do you do join the two tables with corresponding fields.(3 correct answers.) a) -by inner join b) -by left outer-join c) -by using nested select statements. d) -none of the above. 83) Business want to change the F1 help for the field for all Reports At what level you will change So that it reflect for all place. a) Domain b) Data element c) Change all table field d) Code at selection screen on help-request in all the reports 84) Which are of those are GUI types in SAP. e) HTML GUI f) JAVA based GUI g) Windows GUI h) Web GUI. 85) Parameter id is assigned at what level? a) Domain b) Data element c) Field level d) None of the above 86) A database table without MANDT field is called?(Select most appropriate answer) a) Client dependent b) Client in-dependent

c) Structure d) Database View. 87) Append structure statement which are correct (2 answer) a) Append fields start with zz b) Append structure not more than one table 88) For search help which view is applicable a) Help view b) Database view c) Maintain view 89) For view which is needed (3 answer) a) Data base table b) Table relations c) Field which is needed for view d) Selection parameters 90) Suppose you have a field spfli-carrid in screen. You have table scar and field carrid. You want user always give value from scar. What you will do? a) Make foreign key spfli-carrid and make check table scar 91) How can you give popup message a) Call screen 200 starting at 5 5. 92) You have two tables with key fields. How you will get common data from two tables? a) Inner join b) outer join c) Nested select statement. 93) Question on MOVE ... INTO CORRESPONDING FIELDS OF.... 94) what u can do to make the fields ready for input again?(2 correct)

a) Use the FIELD STATEMENT

b) Use the E OR W type message 2 c) Use FIELD STATEMENT E TYPE ERROR MESSAGE ALONG WITH A TYPE. 95) Which are in sap GUI?(2 correct) a) Classical screen b) BSP c) Web Dynpro d) Selection screen 96) How to make a cancel button exit irrespective of mandatory fields.(1 correct) a) At-exit-command E Type message b) Exit c) At selection screen 97) Suppose you want to add two fields date & time in two different database tables. Which will be best option? (1 answer). a) Include table b) Append in two table c) Direct in table 98) Which

condition must be fulfilled in a programmed check so screen input field is ready for input. a) THE CHECK MODULE MUST BE CALLED USING FIELD FIELD_NAME MODULE CHECK_MODULE.

b) THE MODULE MUST OUTPUT AN E-TYPE MESSAGE OR W-TYPE MESSAGE.

that a

99) You have defined a screen with required entitries. You want "cancel" function to work even if all the required entry fields are not fixed .How can you do this. a) THE "CANCEL" FUNCTION MUST BE TYPE 'E' AND BE HANDLED IN A MODULE WITH ADDITION AT EXIT-COMMAND. 100)

a) b) c) d) e)

Which SAP GUI types are there? (3 correct Answers)

SAP SAP SAP SAP SAP

GUI GUI GUI GUI GUI

for for for for for

Windows HTML Web AS ITS Java

101) Scenario is given Authorization check done at a) At selection screen b) At user command 102)

a) b) c) d)

1 answer.

What is true 2 answers. Enhancement spots include either new badis or explicit enhancement points and sections. Enhancement points include new badis and enhancement sections. Enhancement spots include new badis, explicit enhancement points and sections. Classic badis are no more used.

103) a) b) c)

What is true about watch points? (2 answer). Watch points can be created only in debugger. Watch points can also be created through Go to – create – watch point In whatever way watch points are created, they are always linked with data object and during program execution we get message watch point has reached. d) Many watch points can be connected using AND – OR.

104) THE DATABASE VIEW type of data dictionary view consists of one or more transparent tables may be accessed by abap program using open SQL. 105) This flow logic statement is used to make multiple fields open for input after an error or warning message. a) Field. b) Chain c) On-input. 106)

U can have keyword PARAMETER with TYPE in which cases?(3 correct)

a) Method parameter. b) Function parameter. c) Interface parameter. 107) a) b) c)

Search helps can be attached to: Data element Fields of a structure Check tables

108) how u can select the corresponding fields of 2 tables?(3 correct) a) Inner join b) Select statement 109) a) b) c)

what u can do to make the fields ready for input again?(2 correct) Use the FIELD STATEMENT Use the E OR W type message Use FIELD STATEMENT, E TYPE ERROR MESSAGE ALONG WITH A TYPE

You have to add same 2 columns to 2 different tables (non-key fields). How will u do that? a) Add 2 columns separately b) Use appends structure c) Use include structure.

110)

E-LEARNING 1) Field Catalog. a) Used to edit the column position, width. b) Used to edit the column content’s position , width c) Used to display the colors in the row list d) Used to hide columns. 2) The update requests are bundled and the user has cancelled the transaction. a) Message of type Ennn. b) Message of type Annn. c) Message of type Xnnn. d) Message of type Innn. 3) Suppose u r updating some function modules but some error occurs before commit so what is the best and fast way to inform the user?

a) Automatically send an express mail to the user who triggered the update. 4) Flow of ALV Grid Control 5) Questions on Unicode and commit work of LUW. 6) What is true about active and inactive versions (1 answer). a) -only developer can see inactive version, it is not shared over system. b) -When inactive version becomes active the old active version becomes new inactive version. c) -p2 has active and inactive versions. When p1 calls p2, active version is called and not inactive. 7) You have proposed conversion from NON-UNICODE to UNICODE (and some nonsense story thereafter..) .which of the following are true?(multiple answers) a) Transfer of data is faster between two Unicode and non Unicode systems. b) Unicode system supports system from other cultures. c) UNICODE system occupies less space in memory. (2 more options...Sorry I don’t remember them) 8) (Basically a conceptual question pls go thro the properties of Unicode). 9) Question on offset structure UNICODE with a structure description… (Based on example given in e-learning) 10) You wish to update values into database table thro dialog program, which of the following is correct? (1 correct) a) Every dialog step is executed in a dialog process and the update is triggered asynchronously. b) A single dialog process handles the dialog and triggers the update program. c) Call updates method asynchronously to update the dbtable... 11) 12) 13) 14)

Benefits of UNICODE. Purpose of DEBUGGERS (functions). ALV GRID FLOW. EVENT HANDLE IN ALV REGARDING THE OUTPUT FIELD PROPERTIES.

15) HOW TO TERMINATE PROGRAM IN DIALOGUE PROGRAMMING. ANS: ROLL BACK & USING MESSAGE ‘A’ 16) REGARDING LUW STRUCTURE OFFSET & LENGTH. 17) REGARDING THE TYPE COMPATIBILITY WHILE CONVERTING TO UNICODE TYPE 18) QUESTION REGARDING UNICODE CONVERSION. 19) Which one of the following is the correct flow of an ALV GRID? (1 correct answer.) a) Create a custom container on the screen Create an object for cl_gui_custom_control Assign it to cl_gui_alv_grid Method set_table_for_first_display ( ).

b) Create an object for cl_gui_custom_control Create a custom container on the screen Assign it to cl_gui_alv_grid Call method set_table_for_first_display( ).

c) Assign it to cl_gui_alv_grid Create a custom container on the screen Call method set_table_for_first_display( ). Assign it to cl_gui_alv_grid 20) What are the benefits of Unicode??? 21) Watch point? (Select 3 answers) a) Multiple Watchpoints are connected with AND/OR. b) Watchpoint can place at buffer. c) Watch point can place at goto->create d) It’s not a big deal that where Watchpoint is place but it triggers when exception arise. ….. (Please I m so sorry I m not able to recognize the points but plz read about Watchpoint properly) 22) How we can confirm the user database commit is not happen? 23) Unicode how can we get the offset value of structure. 24) Select the correct flow for getting ALV grid display through ABAP Objects. a) Create Custom Control---Create Object reference to CL_GUI_CUSTOM_CONTAINER--- Create Object reference to CL_GUI_ALV_GRID---Call method SET_TABLE _FOR_FIRST_DISPLAY 25) 2 questions on Unicode (one from conversion). 26) What’s the use of field catalog and how it’s used for formatting? (Refer ALV)

a) b) c) d)

Output color To increase and decrease the width of output column To change the length of the text To change the contents of cell.

27) QUESTION REGARDING UNICODE CONVERSION by giving examples of string. 28) ALV grid control double click event. Every time we double click we should get a dialog box. How to achieve this? (2 answer). a) -in a class write method to call dialog box. b) -set handler for method on user command. c) -using exception 29) The method used in the field catalog is. a) set_table_for_first_display b)

TAW12-1 1.

There is a method Event () in the class cl_vehicle and a reference object is created r_v type ref to c_vehicle and the method is accessed with the statement cl_vehicle=>event (). a) b) c) d)

The method Event() is a public static method. The method Event() is a public static attribute. The method Event() is a public instance method . The method Event() is a pubic instance attribute.

2.

what type of enhancements does BADI implement

3.

a) Screen enhancements. b) Table enhancements. c) Functional enhancements. d) Menu enhancements. Concept of polymorphism is there in inheirtance.what r the other areas a) Friend concept. b) Interface concept. c) Subclass.

4. bsp_cl_controller is a class .bsp_if_controller is an interface. there is a method named EVENT() in there interface and this interface is inherited by the class. r_cl type ref of bsp_cl_controller. r_if type ref of bsp_if_controller. CREATE OBJECT: r_cl , r_if. CREATE OBJECT r_if TYPE bsp_cl_controller a) b) c) d) 5.

r_vehicle is a class and r_passenger is a sub class of it. There is a method display in r_vehicle class and there is a method display_attribute in r_passenger. r_p is a object of passenger and r_v is an object of vehicle. r_v = r_p.(up cast) (3 correct). a) b) c) d)

6.

r_if ->event() r_if->r_if~event() r_cl->r_if~event() r_cl->event()

r_v->display() r_v->display-attribute() r_p->display() r_p->display-attribute()

Private attributes of the class cl_class can be accessed by, a) b) c) d)

7.

all the methods of the different classes all the methods of the same class can be accessed within the main program cl_friend can access all the private attributes of the class cl_class , if cl_class has granted friendship to the class cl_friend. Which of the following statements about functional methods are correct?

a) Functional methods can contain any number of IMPORTING and EXPORTING parameters b) Functional methods must contain at least one RETURNING statement c) Functional methods must contain exactly one RETURNING parameter d) You can use functional methods in arithmetic expression 8.

RTTI example. r_i TYPE cl_wd_structdscr.

a) r_i ?= cl_wd_typedescr=>describe_by_name(). b) r_i = cl_wd_typedescr=>describe_by_name(). c) r_i != cl_wd_typedescr=>describe_by_name(). 9.

Which are forbidden in class? a) b) c) d)

tables like dictionary data types with header line structure

10. RTTI: you have a global class CL_ABAPTYPEDESCR .than another subclass CL_ABAPSTRUCTDESCR. R_DESCRIBE is a ref var of latter. This CL_ABAPTYPEDESCR has a method DESCRIBE_BY_DATA… Which of the following is true…(1 answer) a) R_DESCRIBE ?= CL_ABAPTYPDESCR=>DESCRIBE _BY_DATA. b) R_DESCRIBE != CL_ABAPTYPDESCR=>DESCRIBE _BY_DATA. c) R_DESCRIBE = CL_ABAPTYPDESCR=>DESCRIBE _BY_DATA. 11. You have a global class CL_ABAPTYPEDESCR. This class has a method which is supposed to perform some kind of operation and pass the result/value. A variable is described (say r_val) as: r_val = CL_ABAPTYPEDESCR=>describe_get_value(). Which of the following is correct about describe_get_value? (1 answer). a) b) c) d)

It is a public static functional method of the class CL_ABAPTYPEDESCR. It is a instance functional method of the class CL_ABAPTYPEDESCR. It is a static functional method of the class CL_ABAPTYPEDESCR. It is a functional method of the class CL_ABAPTYPEDESCR.

NOTE: pls don’t go by the method name describe_get_value (); it is just for understanding. 12. IF_BSP_CONTROLLER is an interface with a method HANDLE_EVENT (). CL_BSP_CONTROLLER 2 implements the interface but does have the method HANDLE_EVENT (). r_cl is a reference variable of class and r_if is of interface. CREATE OBJECT r_cl. CREATE OBJECT r_if TYPE CL_BSP_CONTROLLER 2 .which of the following is correct? (2 corrct). a) r_cl -> HANDLE_EVENT(). b) r_cl -> IF_BSP_CONTROLLER~HANDLE_EVENT(). c) r_if-> HANDLE_EVENT(). d) r_if -> IF_BSP_CONTROLLER~HANDLE_EVENT(). 13. Multiple inheritances are supported by? a) –interface. b) 14. How to call an instance method of a class? a) EX: OREF->M1( ). 15. Which is allowed with in class definitions? a) TYPING WITH LIKE TO ABAP DICTIONARY TYPES b) TABLES STATEMENT c) THE DEFINITION OF INTERNAL TABLE WITH OUT HEADER LINE 16. HOW TO ACCESS AN ATTRIBUTE OR METHOD OF INTERFACE EX: CLASS C1 WITH --INTERFACE I1. (WITH D1 AS ATTRIBUTE+M1 AS METHOD) OBJECT REF OF C1 IS OR1. a) OR1->I1~M1 b) OR1->I1~D1 17. Which is allowed within class definition? a) THE DEFINITION OF INTERNAL TABLE WITHOUT HEADER LINES. b) TYPING WITH TYPE TO ABAP DICTIONARY TYPES.

18. Which statements about functional methods are correct? a) FUNCTIONAL METHODS CAN HAVE ONLY ONE RETURNING PARAMETER. b) YOU CAN USE FUNCTIONALMETHODS DIRECTLY IN ARITHMETIC EXPRESSION. 19. QUESTIONS ABOUT DOWNCAST DEMONSTRATED WITH AN EXAMPLE. 20. Which concept provides the polymorphism? a) INTERFACE CONCEPT 21. Which of the following is true about events? a) EVENTS ARE RAISED WITH STATEMENT RAISE EVENT. b) EVENTS ARE REGISTERED WITH SET HANDLER METHOD. 22. QUESTION REGARDING INTERFACE CLASSES 23. QUESTION REGARDING CONSTRUCTORS. 24. QUESTION ABOUT STATIC METHODS AND INSTANCE METHODS. 25. Interface I1 has a method EVENT( ). Class C1 inherits the method EVENT( ). You have c01 as an object of class C1.You should choose the correct syntax. a) c01-> I1~EVENT( ). b) I1->EVENT( ). 26. Uncast/Downcast related Qs. Qs will not mention the words uncast/downcast. Read the Qs carefully and then select the options. Understand the syntax for down/up cast. 27. Properties of function method. It was based on code snippet. BSP_CL_CONTROLLER is a CLASS. BSP_IF_CONTROLLER is an INTERFACE. The interface has a METHOD named HANDLE_EVENT. There is no implementation for the method in the interface for the class. The references are defined are follows: R_CL type ref to BSP_CL_CONTROLLER. R_IF type ref to BSP_IF_CONTROLLER. Which of the following are suitable navigations.....? (2 correct answers). a) -R_IF -> HANDLE_EVENT( ). b) -R_CL -> HANDLE_EVENT( ). c) -R_IF ~ HANDLE_EVENT( ). d) -R_CL -> R_IF ~ HANDLE_EVENT( ). 28. Which of them places uses of types? (3 correct answers.) a) -using method parameters b) -using functional parameters c) -using data elements of tables d) -using subroutine parameters 29. R_VEHICLE is a CLASS. This class holds a private METHOD called GET_FUEL which in turn calculates the amount of fuel available. Which of them can access this private method? (2 correct answers.) a) -friend class can access. (after vehicle granting friendship to another class) b) -can access in the main program. c) -can be accessed within the same class. d) -can be accessed by the sub class. 30. There is a CLASS called ZCLASSDESCRIPTION. It has a METHOD called DISPLAY_ATTRIBUTES with no parameters in it. There is a SUBCLASS called ZSUBDESCRIPTION. It also has a method called DISPLAY_SUB_ATTRIBUTES with no parameters in it. In the main program the references for the respective classes are declared as follows. CLASS TYPE REF TO ZCLASSDESCRIPTION. R_SUB TYPE REF TO ZSUBDESCRIPTION. Create object R_CLASS

Create object R_SUB. R_CLASS = R_SUB. Which of the following can be accessed after the casting is done? (3 correct answers). a) -R_CLASS -> DISPLAY_ATTRIBUTES( ). b) -R_CLASS -> DISPLAY_SUB_ATTRIBUTES( ). c) -R_SUB -> DISPLAY_SUB_ATTRIBUTES( ). d) -R_SUB -> DISPLAY_ATTRIBUTES( ). 31. You have a functional method defined in your class. Your friend wants to know the features of functional methods. Which of the following are correct? (2 correct answers). a) -a functional method must have ATLEAST ONE RETURN STATEMENT. b) -a functional method can have any number of IMPORTING and EXPORTING parameters. c) -a functional method can be DIRECTLY USED to calculate ARITHMETIC EXPRESSIONS. d) -a functional module MUST have EXACTLY ONE RETURNING PARAMETER. 32. Inheritance is one example of polymorphism another one is a) Interface. 33. Parameter for functional methods. (1 correct) a) importing, 1 returning b) importing, 1 return statement c) importing, changing d) importing ,exporting 34. Polymorphism can be performed using Inheritance. Which is the other method possible through which polymorphism can be performed? (1 correct answer.) a) -EVENTS b) -INTERFACES c) -FIELD-SYMBOLS. 35. You have defined a class and your customer wants you to get a display which can show a list of invoices. in doing this which of the following are forbidden? (3 correct answers.) a) -typing with LIKE to ABAP DICTIONARY TYPES. b) -defining INTERNAL TABLES WITH HEADER LINES. c) -using TABLES statement. d) -defining INTERNAL TABLES WITHOUT HEADER LINES. 36. BSP_CL_CONTROLLER is a CLASS. BSP_IF_CONTROLLER is an INTERFACE. The interface has a METHOD named HANDLE_EVENT. There is no implementation for the method in the interface for the class. The references are defined are follows: R_CL type ref to BSP_CL_CONTROLLER. R_IF type ref to BSP_IF_CONTROLLER. Which of the following are suitable navigations... (2 correct answers.) a) -R_IF -> HANDLE_EVENT( ). b) -R_CL -> HANDLE_EVENT( ). c) -R_IF ~ HANDLE_EVENT( ). d) -R_CL -> R_IF ~ HANDLE_EVENT( ). 37. One Question on RTTI. 38. What is allowed within class definitions?(T/F) a) Typing with LIKE to ABAP Dictionary types (f). b) The definition of internal tables with header line (f) c) The TABLES statement (f)

d) The definition of internal table without header line (t) e) Typing with TYPE to ABAP Dictionary types (t) 39. You CAN HAVE KEYWORD PARAMETER WITH TYPE IN WHICH CASES. (3 CORRECT) a) METHOD PARAMETER b) FUNCTION PARAMETER c) SUBROUTINE PARAMETER d) Interface parameter. 40. RTTI scenario with different symbols. Which one is correct representation? (1 answer). a) ----- ?= ----b) ----- != ----c) ----- = ----41. BSP_IF_CONTROLLER is an INTERFACE. Has a METHOD HANDLE_EVENT. BSP_CL_CONTROLLER is a CLASS. Implements method HANDLE_EVENT. The class has no other method. The references are: R_CL type ref to BSP_CL_CONTROLLER. R_IF type ref to BSP_IF_CONTROLLER. Create object R_CL. Create object R_IF Type BSP_CL_CONTROLLER. What method calls is possible considering above code. (2 ans.wer) a) -R_IF -> HANDLE_EVENT( ). b) -R_CL -> HANDLE_EVENT( ). c) -R_IF -> R_CL ~ HANDLE_EVENT( ). d) -R_CL -> R_IF ~ HANDLE_EVENT( ). 42. One SAP programmer left job .Other programmer is working on his incomplete code. Guide him by telling what can be calculate-count() in the given code. (1 answer) Data Number-count type I. Number-count = cl_count => calculate-count(). a) -static public function method. b) -static public attribute c) -instance public function method d) -instance public attribute. 43. Concept of polymorphism is there in inheirtance.what r the other areas? (1 correct answer) a) *friends concept b) *interface concept(correct answer) c) *subclass 44. Which r forbidden in class?(3 answers) a) *tables(correct) b) *like dictionary data type(correct) c) *with header lines(correct) 45. Bsp_cl_controller is a class .bsp_if_controller is an interface. There is a method named EVENT() in there interface and this interface is inherited by the class. r_cl type ref of bsp_cl_controller. r_if type ref of bsp_if_controller. a) *r_if ->event()(correct) b) *r_cl->r_if-event()(correct) 46. r_vehicle is a class and r_passenger is a sub class of it.There is a method display in r_vehicle class and there is a method display_attribute in r_passenger.r_p is a object of passenger and r_v is an object of vehicle.r_v=r_p. (3 correct). a) *r_v->display() b) *r_v->display-attribute() c) *r_p->display() d) *r_p->display-attribute()

47. Which are in sap gui?(2 correct). a) *classical screen b) *bsp c) *web dynpro d) *selection screen

TAW12-02 1.

Which sub objects can a sap enhancement contain. a) MENU EXIT b) SCREENEXIT c) FUNCTION MODULE EXIT.

2.

A Copy of an SAP object has been changed, what the action is called. a) Enhancement b) Modification c) Repair d) Change.

3.

Which is that we place by creating a web dynpro application? (1 correct??) a) component, view b) component ,context c) component, window d) component, controller

4.

BADI class implementations (3 correct) a) functional enhancements b) menu enhancements c) table enhancements d) screen enhancements

5.

If you want to modify SAP objects to the needs of the customer, which one of the following would You use. a) Customizing b) Modification of sap objects c) Enhancement concept d) Customer’s own development

6.

What do you do when you want the node of the context controller in the view context? a) Move the node from the component context to the view context. b) Copy the node from the component context to the view context. c) Bind the node from the component context to the view context. d) Map the node from the component context to the view context.

7.

Which of the following controllers are used in WEB DYN PRO? a) WINDOW controllers b) USER controllers c) COMPONENT controllers d) VIEW controllers.

8.

You have created a WEB DYNPRO with required entries. VIEW 1 has two input/output fields through which we get the data in VIEW 2 and a pushbutton to navigate to VIEW 2. Also inbound and outbound plugs are set for VIEW 1. VIEW 2 has table and a pushbutton to navigate to VIEW 1. Also inbound and outbound plugs are set for VIEW 2. What are the essential components required to create a WEBDYN PRO APPLICATION and what is placed by creating a WEBDYN PRO? a) Embed EACH VIEW in DIFFERENT WINDOWS. push the OUTBOUND plug of VIEW 2 to INBOUND plug of VIEW 1. Push the OUTBOUND plug of VIEW1 to INBOUND plug of VIEW 2. b) Embed TWO VIEWS in the same window. push the OUTBOUND plug of

VIEW 2 to INBOUND plug of VIEW 1. Push the OUTBOUND plug of VIEW 1to INBOUND plug of VIEW 2. 9.

Features of enhancements. a) An implicit enhancement point is a combination of enhancement points, BADIs and enhancements sections. b) An enhancement spot is a combination of enhancement points, BADIs and enhancements section. c) Enhancement spots use either enhancement points and enhancement section or BADIs. d) BADI is a combination of enhancement points and enhancement sections.

10. Your friend has a problem in understanding enhancement spots, enhancement points, enhancement section, and new BADI. Which of the following would help? (multiple answers -2 correct ) a) b) c) d)

Enhancement spots implement new BADIs or enhancement point and sections. You no longer implement old BADIs. Enhancement spots implement enhancement point and sections and new BADIs. Enhancement section implements enhancement point and spots and new BADIs.

11.A sap program has a problem in source code. You correct the source code and transport it to production. What has u done? a) Repair. b) Enhancement. c) Modification. d) Correction. 12.Web Dynpro question about how would you correlate the input fields on the screen. To the context?(1answer) a) Mapping the context node on to the input screen. 13. You wish to adopt the SAP standard software to the needs of the customer .Which of the following methods should you preferably use? (T/F). a) Customizing b) Modification of sap objects c) Enhancement concept d) Customer’s own development 14. WHAT IS THAT WE PLACE BY CREATING A WEBDYNPRO APPLICATION? a) COMPONENT, VIEW b) COMPONENT, CONTEXT c) COMPONENT, WINDOW d) COMPONENT, CONTROLLER 15. HOW TO DEFINE ENHANCEMENTS? * IMPLEMENTATION OF A BADI IN CMOD 16. WHICH SUBOBJECTS CAN SAP ENHANCEMENT CONTAIN b) MENU EXIT c) SCREEN EXIT d) FUNCTION MODULE EXIT 18. IN MODIFICATION TOPIC QUESTION ON ORIGINAL COPY AND REPAIR COPY. 19. Web Dynpro consists of COMPONENT CONTROLLER, WINDOW CONTROLLER, and VIEW CONTROLLER. 20. Which of the following are true? a) THE VIEWS ARE EMBEDDED IN WINDOW CONTROLLER AND OUTBOUND PLUG OF VIEW 1 )ARE MAPPED WITH INNERBOUND PLUGS OF VIEW2

AND OUTERBOUND PLUGS OF VIEW 2 ARE MAPPED WITH INNERBOUND PLUGS OF VIEW1. 21. The assigning contents of component controller to views is

a) CONTEXT MAPPING. 22. Web Dynpro related. There are 2 views. 1st view has 2 inputs and a push button which takes u to the second view. 2nd view displays the result from the first view and it also has a push button which takes you back to the first view. Qs Is what is the best way to embed the views in windows controller? a) Combine 2 views in a single window and link the outbound and inbound interfaces accordingly. 23.Have to design a screen which takes 2 Inputs and Displays a data. What are the ways to display this? a) Using Web Dynpro component. b) Using Executables. 24. What type of enhancements does the BADI implement? (3 correct answers). a) -screen enhancements b) -table enhancements c) -data element enhancements d) -functional enhancements e) -menu enhancements 25.Which of the following controllers are used in WEB DYN PRO?(3correct answers) a) -WINDOW controllers b) -USER controllers c) -COMPONENT controllers d) -VIEW controllers. 26.You have created a WEBDYN PRO with required entries. a) VIEW 1 has two input/output fields through which we get the data in VIEW 2 and a pushbutton to navigate to VIEW 2. Also inbound and outbound plugs are set for VIEW 1. b) VIEW 2 has table and a pushbutton to navigate to VIEW 1. Also inbound and outbound plugs are set for VIEW 2. 27.What are the essential components required to create a WEBDYN PRO APPLICATION and what is placed by creating a WEB DYNPRO? (1 correct answer.) a) -embed EACH VIEW in DIFFERENT WINDOWS. Push the OUTBOUND plug of VIEW 2 to INBOUND plug of VIEW 1. Push the OUTBOUND plug of VIEW 1to INBOUND plug of VIEW 2 b) -embed BOTH VIEWS on ONE WINDOW. MAP the views as follows: push the OUTBOUND plug of VIEW 2 to INBOUND plug of VIEW 1. Push the OUTBOUND plug of VIEW 1to INBOUND plug of VIEW 2. 28.A user has created a function module. The user wants to add code to it without modifying it. What is the technique called? (1 correct answer.) a) -REPAIR b) -MODIFICATION c) -PERSONALIZATION d) -ENHANCEMENT. e) -CORRECTION.

29.Your customer wants to know the features of Enhancement points. Which one of the following is true? (1 correct answer.) a) -implicit enhancement is a combination of enhancement points, enhancement sections, and BADIs. b) -enhancement spots is a combination of enhancement points, enhancement sections and BADIs. c) -BADIs is a combination of enhancement points and enhancement sections. d) -explicit enhancement is a combination of enhancement spots and BADIs. 30. In Case of Web Dynpro for ABAP how will you map context Attribute of view container and component container. a) Double click on that b) Drag it to the another container’s context c) Write the mapping path into context’s attribute d) You cannot mape. 31. Which all statements are true for BADI? (There are 3 correct answers) a) You can use filter to choose the implementation you want to call. b) BADI cannot have multiple implementations. c) BADI can be reusable. d) BADI can be filtering dependent. 32.What a) b) c)

is Enhancement Spot? BADI. Explicit point Explicit Section

33.What is Context mapping? 34.. When we create web Dynpro object what we have (3 answer) a) Component controller b) Interface controller c) window 35.Web Dynpro example( make a window and put two view in their and make one relationship between two view by one outbound to another inbound ) 36. What is the best way to combine 2 views? a) Combine them in separate windows b) B.combine them in single window c) create a combine window d) create a combine view 37. If u change a copy of sap what is the action called? a) Repair (repair of sap object is means modification) 38. There is an error with SAP standard Program. You want to fix the problem and send it to your production team. What is it called? a) Repair. b) Hot fix c) Personalization d) Enhancement 39.What is true? (2 answer.) a) -enhancement spots include either new badis or explicit enhancement points and sections. b) -enhancement points include new badis and enhancement sections. c) Enhancement spots include new badis, explicit enhancement points and sections.

d) -classic badis are no more used. 40. What is the best way to combine 2 views? a) *combine them in single window 41. Which is that we place by creating a web Dynpro application? (1 correct). a) *component,view b) *component ,context c) *component,window d) *component,controller 42. Exits of a badi class? a) *user exits b) *menu exit(correct) c) *screen exit(correct) d) *function exit(correct) 47. Implementation of a badi(1 correct) a) Se19 48. if u change a copy of sap : what is the technique called --repair (correct) 49. what is the action called ---modification (correct) 50. WHICH ENHANCEMENTS PLANNED BY SAP ARE MAINTAIND IN CMOD? a) SCREEN EXITS b) MENU EXITS c) FUNCTION MODULE EXITS. d) User Exits.

51. Which one of the following statements is FALSE?

a) Local objects CANNOT be transported to another instance. b) After a CHANGE REQUEST is released, no further changes to its' objects are allowed. c) Development classes can be viewed by using transaction SE80. d) A CHANGE REQUEST contains objects that can be transported to QA-PRD. e) A CHANGE REQUEST only contains one task. 52. What must you do to undo DB changes previously issued in a dialog? More than one answer is correct.

a) Output E message. b) Perform rollback work. c) Raise exception. d) Analyze log record. e) Code rollback LUW.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF