SAP ABAP Certification Questions

Share Embed Donate


Short Description

Download SAP ABAP Certification Questions...

Description

SAP ABAP Certification Questions I am posting all the common questions with answers from the recent certification exams of ABAP. FAQ's Year : 2012 (1)BASIC ABAP PROGRAMS & INTERFACE CREATION 1) You need to create an ABAP program that displays a list of invoices from a supplier. What types of programs can you create to achieve this goal? There is more than one correct answer to this question. A) Abap Executable Program B) Abap Webdynpro Application C) Abap Module Pool 2) You have written an ABAP executable program that displays the flight connections between two cities for your customer. You hand over your program to your customer for maintenance and need to explain to your customer's programmer the properties of event blocks. There is more than one correct answer to this question. c) Event Blocks Start With An Event Key Word And End With The Start Of Any Other Modularization Block, For Example, Another Event Block Or Module Or Subroutine. e) The Abap Runtime Decides In Which Sequence To Execute Event Blocks. 5) You want to generate page headers for a secondary list in an ABAP executable program. Which event block do you use to do this? Please choose the correct answer. C) Top-Of-Page during Line-Selection 6) In your ABAP program you want to display a dialog box that asks the user to confirm a chosen action. Which function module can you use to do this? Please choose the correct answer A) Popup_To_Confirm 7) You want to display a dialog box window in your ABAP dialog program. Which statement can you use to do this? Please choose the correct answer. d) CALL SCREEN 200 STARTING AT 5 5. 8) You have written a Dynpro with number 100 in a module pool containing a button labeled Save. You have assigned the function code 'SAV' to this button. In the PAI module user_command_100 you want to check whether the user has clicked this save button. How can you achieve this? Please choose the correct answer. D) Check If The Field Sy-Ucomm Contains The Value 'Sav'. 9) You have written a module pool that manages flight connections. How ca n the end-user start a screen in your module pool? Please choose the correct answer. C) The User Uses A Dialog Transaction That You Have Created To Start A Screen In The Module Pool. 10) You create a function group ZATP that contains a couple of function modules to manage material master data. What is the name of the corresponding program? Please choose the correct answer. d) SAPLZATP

11) You write an ABAP executable program that displays the flight connections between two cities. Your have provided selection parameters for departure city and destination city. In your program you have written event blocks for the event blocks AT SELECTION-SCREEN, INITIALIZATION, START-OF-SELECTION, TOP-OF-PAGE (in alphabetical order). In which sequence will ABAP Runtime call these event blocks? Please choose the correct answer. B) Initialization, At Selection-Screen, Start-Of-Selection, Top-Of-Page 12) You analyze an executable ABAP program. In the event block AT SELECTIONSCREEN you see this line of code: MESSAGE w003 (ZMAT). What is the effect of this line? Please choose the correct answer. B) On The Selection Screen, The User Sees A Warning. The User May Change The Input Parameters Or Press Enter To Continue With The Program. 13) You design an executable program that displays flight bookings. The selection screen of your program contains a parameter pa_car of type S_CARRID for the carrier. To make sure that users only see flight connections they are allowed to see, you perform an authority check on the authorization object S_CARRID. Where do you do this?Please choose the correct answer. A) In The Event Block At Selection-Screen. 14) You design an executable program that displays flight connections. The selection screen of your program contains a parameter pa_car of type SCARRID for the carrier. To make sure that users only see flight connections they are allowed to see, you perform an authority check on the authorization object S_CARRID. How do you do this? Please choose the correct answer. A) Authority-Check Obje ct 'S_Carrid' Id 'Carrid' Field Pa_Car Id 'Actvt' Field '03'. 15) You design a Dynpro with number 100 for an ABAP program. Dynpro 100 contains input fields that reference the data dictionary structure SDYN_BOOK. What do you have to do so that your ABAP program can access the data entered by the user during PAI processing? Please choose the correct answer. C) Use The Statement Tables Sdyn_Book To Declare A Structure With The Name And Type Sdyn_Book In The Top-Include Of The Program. 16) You Want To Write A Subprogram Named Check_Booking That Receives A Parameter Of Type Sbook. You Want To Change Fields Of The Actual Parameter Within Your Subprogram, But Only If Your Subprogram Executes Without Any Error. How Do You Declare The Subprogram?Please Choose The Correct Answer. D) FORM CHECK_BOOKING CHANGING VALUE (P_BOOK) TYPE SBOOK 17) You want to create a selection screen for your ABAP executable program. Which statements can you use to do this? There is more than one correct answer to this question. A) Parameters B) Select-Options (2) UNICODE 1) You are an ABAP consultant and your customer asks you to list the benefits of moving from a Non-Unicode to a Unicode system. There is more than one correct answer to this question. A) A Unicode System Can Support Users Of Different Cultures.

D) Transfer Of Character Data Between Two Unicode Systems From Different Cultures Is Easier Than Between Non-Unicode Systems. 2) You review an ABAP program that needs to be migrated to a Unicode system. The program opens a data set to read a text file into an internal table. How do you need to modify the OPEN DATASET statement so that your program will run on a Unicode system? Please choose the correct answer. B) Add The Extension In Text Mode. 3) You Review An ABAP Program That Needs To Be Migrated To A Unicode System. Within The Program, The Two Data Objects City And Member Are Declared In The Following Way: DATA City (20) TYPE C. DATA: BEGIN OF Member, First name (20) TYPE C, Age TYPE I, City (20) TYPE C, END OF Member. The Program Contains the Following Line: City = Member+54(20). Why Does This Line Not Work As Expected? Please Choose The Correct Answer. c) Because You Can Not Read Beyond Non-Character Data Within A Structure Using The Offset Notation. (3)ALV GRID CONTROL 1) Which of the following can you Control Using the Field Catalog of a Sap Alv Grid Control? There Is More Than One Correct Answer To This Question. A) Set The Output Characteristics Of A Column, Such As The Column Position Or Width. B) Influence The Format Properties Of Column Contents, Such As The Number Of Decimal Places Or The Alignment Of The Content Of A Cell. E) Hide The List Columns. 2) In global class CL_GUI_ALV_GRID that is delivered by SAP, the DOUBLE_CLICK event is defined, which is triggered when a cell in the list is double-clicked. You have written a program in which data is displayed in a list using class CL_GUI_ALV_GRID. What do you have to do in your program to respond to the event? There is more than one correct answer to this question. A) Create Your Own Handler Class. B) Write A Handling Method For The Event. D) Register On The Event Using The Set Handler Statement. 3) You want the system to output a list in the program using the SAP ALV grid control. In which order do you have to carry out the following steps in the program to achieve this? Please choose the correct answer. a) CREATE CUSTOM CONTAINER AREA, CL_GUI_CUSTOM_CONTAINER.. CL_GUI_ALV_GRID, SET_TABLE _FOR _FIRST_DISPALY. 4) NETWEAVER OVERVIEW 1) Which solutions are parts of the SAP Business Suite? There is more than one correct answer to this question. B) SAP ERP (Enterprise Resource Planing)

C) SAP SCM (Supply Chain Management) E) SAP PLM (Product Lifecycle Management) 2) Which of the following statements about the SAP NetWeaver are true? There is more than one correct answer to this question. a) SAP NetWeaver provides tools to integrate a heterogeneous software landscape. b) The main purpose of SAP NetWeaver is to integrate people, information, and processe s and to provide a platform for applications. f) SAP NetWeaver can be used to integrate Non-SAP application systems. 3) The configuration of a SAP system comprises several server layers. Which of the following is the smallest possible configuration of a SAP system concerning its server layers? Please choose the correct answer. d) Presentation Server, Application Server, Database Server 4) You execute an ABAP program with several dialog steps (screens). Which statement is correct? Please choose the correct answer. b) The program components for the individual dialog steps are usually executed in various dialog work processes that are released once a program component has been processed (while the screens are displayed on the front end). 5) For which tasks is the database interface responsible? There is more than one correct answer to this question. A) Conversion Of Open Sql Statements From Abap Statements Into The Corresponding Database Statements. B) Database Independence Of Application Programs. D) Usage Of sap Buffers. 6) The SAP NetWeaver Application Server offers the possibility to install an ABAP stack or a Java stack. Which of the following statements about the possible combinations of ABAP and Java stacks in one SAP NetWeaver Application Server? Please choose the correct answer. C) In one SAP NetWeaver Application Server there can be installed either a stand-alone ABAP stack, or a stand-alone Java stack, or a combination of an ABAP stack and a Java stack. . (5)ABAP DEBUGGER 1) Which of the following statements is true concerning working with structures and internal tables in the ABAP Debugger? Please choose the correct answer. b) With the ABAP Debugger you can edit internal tables (e.g. append lines, delete lines, change the content). 2) You want to debug a program because you need to track an erroneous behavior at runtime. In which ways can you start the ABAP Debugger? There is more than one correct answer to this question. a) You can execute the program from the first line on in debugging mode with Execute -> Debugging. b) If there appears a screen during execution, you can enter /h to switch to debugging mode. c) You can set a breakpoint by selecting a line of the source code of the program in the ABAP editor. d) You can set a breakpoint with the ABAP statement BREAK-POINT. 3) During debugging a program you find that only in certain constellations an error appears. Watch points could help you to reach the erroneous constellation faster. Which statements are true about watch points? There is more than one correct answer to this question. b) You can define a watch point only from within the debugger.

d) Several watch points can be combined with AND or OR. (6) TABLE RELATIONSHIPS 1) When you define a field of a database table you references to data element which normally references to a domain. But it is also possible to define the data type directly in the data element, without referencing to a domain. Which feature do you get, if you define the data type by referencing to a domain? Please choose the correct answer. a) Only then it is possible to define a check table for this table field. b) Only then you can link a search help to this table field. 2) For a field of an SAP transaction there are two simple search helps A and B (in a collective search help)provided by SAP. But your users only need the simple search help A. Your task is it to hide the other simple search help B but without modify the program / search help. How would you proceed? Please choose the correct answer. b) You define an append search help for the SAP collective search help, include the simple search help B and set the hidden flag. 3) For a database table zdepartment you should define the text table zdepartmentt in the ABAP dictionar y where the names of the departments are stored. How would you design the table zdepartmentt so that it is the text table of the table zdepartment?There is more than one correct answer to this question. a) The text table zdepartm entt has the same key fields as the table zdepartment plus one additional key field of data type LANG. b) The text table zdepartmentt has one text field which is not a key field. d) The text table zdepartmentt is linked with table zdepartment by a foreign key. For the type of the foreign key fields you choose Key fields of a text table. 4) You create an ABAP dynpro to enter flight connection data. Each connection is identified by the contents of the fields CARRID (carrier id) a nd CONNID (connection id) in the database table SPFLI. The carriers are stored in table SCARR and identified by the value of the field CARRID. What is the easiest way to ensure that only CARRID values from field SCARR-CARRID can be entered in the dynpro? Please choose the correct answer. A) Define SPFLI-CARRID As A Foreign Key Field With Check Table SCARR And Foreign Key MANDT And CARRID. 5) In the ABAP dictionary you create two tables BKPF and BPOS which contain header data and position data of accounting documents. The primary key of BKPF consists of MANDT (client), and BLNR (document number). The primary key of BPOS consists of MANDT (client), BELNR (document number), and POS (position). You want to make sure that field BELNR of BPOS can only contain values from field BELNR in BKPF. How can you enforce this? Please choose the correct answer. a) Define BPOS-BELNR as a foreign key field with the check table BKPF and the foreign key consisting of MANDT and BELNR. 6) You should implement a search help, where the data of the search help should be selected via outer join. Which of the following view types you would choose? Please choose the correct answer. c) The help view. (7) ENHANCEMENT & MODIFICATION 1) You detect an error in the coding of a standard SAP ABAP program. You need to correct this error in your

development system and transport it to your production system. How is this action called? Please choose the correct answer. b) Repair 2) Your company uses a standard SAP report but wants to change its layout. You are assigned to do this. What would be the best way to solve this task? Please choose the correct answer. a) Personalize the standard SAP report. 3) An SAP programmer has written a standard program in a way that it can call customer coding. You want to implement this coding. How is this technique called? Please choose the correct answer. a) Enhancement 4) You want to add some fields to a standard SAP table using the append technique. What do you have to keep in mind about this technique? There is more than one correct answer to this question. b) The fields of an append structure must start with ZZ or YY. c) Append structures are not possible for tables containing a long field. 5) An SAP note states that you need to correct an error in the coding of a standard SAP ABAP program. Since this correction is vital for your company, you want to do it straight away. What is the best way to do this? Please choose the correct answer. c) Use the notes assistant to modify the coding as stated in the note. 6) Which of the following enhancement techniques involves a modification from a technical viewpoint? Please choose the correct answer. a) User Exit 7) Which kinds of enhancements can BAdIs provide? There is more than one correct answer to this question. a) Functional enhancements b) Screen enhancements c) Menu enhance ments 8) In your team of ABAP developers there is s ome confusion concerning the relationship between enhancement points, enhancement spots, enhancement sections, and BAdIs. Which statements about these concepts are correct? There is more than one correct answer to this question A) Enhancement Spots Organize Explicit Enhancement Points, Enhancement Sections, And New Badis. B) An Enhancement Spot Manages Either New Badis Or Explicit Enhancement Points And Enhancement Sections. 9) A customer asks you about implicit enhancement sections. What can you tell him? Please choose the correct answer. d) There are no implicit enhancement sections. 10) Why does SAP not recommend modifying standard SAP programs? There is more than one correct answer to this question. a) To simplify upgrades to a new release. b) To ensure smooth support from SAP. 11) You want to implement a BAdI that provides a functional enhancement. What do you need to do? There is more than one correct answer to this question.

b) Implem ent a class which implements the BAdI interface. c) Identify the name of the BAdI. 12) A user has made a modification to a SAP subroutine. A new upgrade released is to be applied and sap has made modification to the same subroutine that the user has modified. What will happen during upgrade using the modification assistant? There is more than one correct answer to this question. a) The modification assistant will prompt you for a change request to reapply the change d) The user modifications are automatically inserted into the new subroutine release 13) Why does SAP not recommend modifying standard SAP programs? There is more than one correct answer to this question. a) To simplify upgrades to a new release. b) To ensure smooth support from SAP. (8)ABAP T YPES & DATA OBJECTS 1) Which of the following statements about data types and data objects are correct? There is more than one correct answer to this question. a) A data object is a variable. b) A data type is a description of a variable. e) Data types can be defined in the program. 2) Dbtab is a transparent table in the ABAP Dictionary. What do you get then with the following variable definition? DATA myvar TYPE dbtab. Please choose the correct answer. b) A structure variable (work area) 3) Which of the following statements concerning constants at runtime is correct? Please choose the correct answer. a) The value of a constant cannot be changed at runtime. 4) In the top of a program you find the following type definition: TYPES: BEGIN OF t1, comp1 TYPE scarr-carrid,comp2 TYPE scarr-carrname, END OF t1. Which of the following ABAP statements referring to Type t1 would be syntactically correct? There is more than one correct answer to this question. a) DATA str1 TYPE t1 d) TYPES t2 TYPE t1. 5) At which of the following places is made use of types? There is more than one correct answer to this question. a) Data objects b) Selection screen parameters d) Subroutine parameters g) Function module parameters h) Method parameters 6) Let's assume there would be a ABAP Dictionary structure STR1. Now for whatever reason you want to create a local type of the same name STR1. What would happen if you created the local type in your program and then created a structure that is typed with STR1? TYPES: BEGIN OF str1, comp1, comp2, END OF str1. DATA: my_str TYPE str1. Please choose the correct answer. a) The local definition of type STR1 will be used.

7) You need to create a numeric data object that can contain up to 12 decimal places and where no rounding error is to be feared of. Which of the following statements concerning ABAP type P are true? There is more than one correct answer to this question. a) The initial default value of a data object of ABAP type P is 0. b) A data object of type P has a default length of 8 bytes. 8) Your colleagues need your advice on several ABAP types. Which of the following statements are correct? There is more than one correct answer to this question. a) You can compute a date with the following: DATA: old_date type d, new_date type d. old_date = sy-datum. new_date = old_date + 14. c) Type X is useful for working with bit information’s. 9) Your colleagues need your advice on some implicit type conversion issues. Which of the following statements are correct? There is more than one correct answer to this question. a) A data object of type N may be used for calculations (though type N is not the best type to do so). d) To assign a value from a data object of type C to a data object of type P, the value must have the following form 10) You need to create an integer data object and you wonder about the features of ABAP type I. Which of the following statements is correct? Please choose the correct answer. a) A data object of type I have always the length of 4 bytes. (9)INTERNAL TABLE DEFINITION & USE 1) Which commands are allowed if you are working with an internal table of type SORTED? There is more than one correct answer to this question. a) INSERT b) DELETE d) READ TABLE e) MODIFY 2) Which of the following ABAP Dictionary object types is a description of an internal table? Please choose the correct answer. c) Table type 3) You write an application that stores data in an internal table temporarily. Since the application is runtime critical, you consider which type of internal table to use. Which statements about internal tables are correct? There is more than one correct answer to this question. b) You can use the INSERT TABLE statement to add data records to all types of internal table. e) If you want to add an entry to a sorted table, the sort sequence must remain the same. 4) Which statements about internal tables concerning the program performance are correct? There is more than one correct answer to this question. A) The Costs For Reading A Data Record From A Hashed Table Do Not Depend On The Number Of Entries In The Table. C) If A Field Symbol Is Assigned With The Read ... Assigning Statement, The Entry In The Internal Table Can Be Changed Directly Using This Field Symbol. D) If A Field Symbol Is Used To Access The Content Of An Internal Table, The Data Record Is Not Copied To The Work Area. 5) When analyzing older programs an associate consultant will quite often find the definition and use of an internal table with a header line, for example the following: DATA: it TYPE TABLE OF spfli WITH HEADER LINE.

Which statements about internal tables with a header line are correct? There is more than one correct answer to this question.. a) In fact there exist two data objects with the same name: the internal table's body and the header line, which is a structure of the row type of the table. b) Instead of LOOP AT it. ... ENDLOOP. One might as well use LOOP AT it INTO it. ... ENDLOOP. 6) Which of the following table types do you choose for your internal table if it is to contain a large number of entries and to be read only via fully qualified key access? Please choose the correct answer. c) HASHED (10) ABAP DICTIONARY 1) After creating a search help in the ABAP dictionary you have to attach this search help to a search field. There is more than one correct answer to this question. B) A Search Help Can Be Attached To A Data Element. C) A Search Help Can Be Attached Directly To A Field Of A Structure Or Table. D) A Search Help Can Be Attached To A Check Table Of An Abap Dictionary Field. 2) For one ABAP Dictionary field you should define fixed values. Where in the ABAP Dictionary you have to define the fixed values of a field? Please choose the correct answer. A) In the Domain Of The Field. 3) With Which View Type It Is Only Allowed To Read Data From The Database? Please Choose The Correct Answer. C) Database View 4) For a new colleague you have to explain the necessary steps for define a database view in the ABAP dictionary. What are the necessary steps for the definition of a database view in the ABAP dictionary? There is more than one correct answer to this question A) You Have To Name The Database Tables From Which The View Gets The Data. B) You Have To Define The Join Conditions Between The Tables. C) You Have To Choose The Fields From The Tables Which Should Be Part Of The View. 5) For a new colleague you have to explain the functionality of the ABAP Dictionary. Which of the following items can you create in the ABAP Dictionary? There is more than one correct answer to this question a) Type groups c) Types for internal tables (table type) d) Domains e) Search helps 6) On a dynpro there is an input field for an airline code coming from the field carrid of the database table zcarr. This field carrid refers to the data element z_carr_id which itself refers to the domain z_char_3. Your task is to change the F1-help of the field carrid on the dynpro. The documentation of which object do you have to change in order to change the F1-help on the dynpro? Please choose the correct answer B) The Documentation Of The Data Element Z_Carr_Id. 7) You Have To Create A New Database Table. Therefore You Are Thinking Of Which Table Type You Should Use. In Which Of The Following Table Types Is There A One-To-One Relationship Between The Table Defined In The Abap Dictionary And The Relevant Physical Table In The Database? Please Choose The Correct Answer. C) Transparent Table

8) Some transactions contain SELECT statements in their applications, which cause very long runtimes. You should now improve the performance without changing the program. What techniques can be suitable for increasing the performance during database table access? There is more than one correct answer to this question. C) To Define Indices For The Appropriate Database Tables. D) To Use Table Buffering For The Appropriate Database Tables. 9) You have to define two database tables where in both tables you need the fields change_date and change_time (which are no key fields). How would you proceed? Please choose the correct answer. B) Define A Structure With These Two Fields And Include This Structure Into Both Database Tables. 10) You have to define an input check for the field carrid of the database table sbook to ensure data consistency. There for you have to define a foreign key relation to the check table scarr. scarr has the key fields client and carrier_id. What has to be valid for the foreign key relation? There is more than one correct answer to this question. A) The Check Field Carrid And The Field Carrier_Id Must Have The Same Domain. C) The Table Sbook Must Have One Field With Equal Data Type And Equal Length As The Key Field Client Of The Check Table Scarr. 11) You Should Create A Simple Search Help For An Input Field. The Development Of Your Last Search Help Is A Long Time Ago. Therefore You Try To Recall Of What Components A Simple Search Help Consists. What Are Components Of A Simple Search Help? There Is More Than One Correct Answer To This Question. A) The Selection Method: From Which Table Or View The Help Data Should Come From. B) The Interface: Import and Export Parameters. D) The Dialog Behavior: For Instance Should A Selection Screen Appear Or Not. 12) What do you have to do to extend the SAP table sbook although in your company it is strictly forbidden to modify SAP objects? Please choose the correct answer. C) You Have To Create An Append Structure Where You Define An Appropriate Field With The Name Zztravel_Agency. (11)ABAP WORKBENCH 1) Which of the following tools belong to the ABAP Workbench? There is more than one correct answer to this question. b) Screen Painter d) Function Builder1 f) Class Builder g) Menu Painter 2) Which of the following statements concerning the Repository are true? There is more than one correct answer to this question. a) If you have created a program ZP1 in system S01 in client 800 you can as well execute this program in client 801. b) The repository is structured into applications and packages. 3) Which statement concerning the Object Navigator is true? Plea se choose the correct answer. a) Within the Object Navigator you can maintain each type of ABAP Workbench object (e.g. programs, screens).

B) Navigation area and tool area are always coupled. For example, if you maintain a program in the tool area, the same program will automatically as well appear at the top of the object list of the navigation area. c) Favorites can be maintained in the navigation area. d) The navigation area can be hidden, so that the tool area appears in full-screen mode. 4) Which of the following statements about the organization of developments are correct? There is more than one correct answer to this question a) A development object (e.g. a program) must either be assigned to a package or be declared as a local object. c) One important attribute of a package is the transport layer which determines the following systems for a regular transport of the packages' objects. 5) At the end of a project the developers of a team (say Team1) need to release their tasks and their request R1. Now there is another team Team2 waiting urgently to maintain an object O1 that was part of this request R1 or one of its tasks. When will Team2 be able to change this object O1 if no member of Team2 is as well member ofTeam1? Please choose the correct answer. b) When the request R1 is being released. In this case the change locks for all objects that belonged to the request R1 are released as well. 6) Which of the following statements about active and inactive versions of a development object are correct? Please choose the correct answer. c) If a program P1 calls a program P2 from outside off the development environment and e ven if there is an inactive version of program P2, still the active version of program P2 will be called. (12)USER INTERFACE (WEB DYNPRO) 1) What kinds of controllers exist within a Web Dynpro component? There is more than one correct answer to this question. A) Exactly One Component Controller B) Optional Custom Controllers C) View Controllers D) Windows Controllers 2) You Want To Create A Web Dynpro Component With Two Views. The Selection View Contains Two Input Fields For Departure And Arrival City And A Button To Trigger The Search For Flight Connections Between These Two Cities. The Resulting View Contains A Table That Displays The Found Flight Connections And A Button To Navigate Back To The Selection View. In Each View You Have Defined An Outbound Plug That Will Be Fired By Pressing The Button On The View. Furthermore, You Have Defined An Inbound Plug In Each View. Which Is The Easiest Way To Define The Navigation Structure Between The Two Views? Select The Best Answer. A) Embed Both Views In One Window. Within That Window, Connect The Outbound Plug Of The Selection View With The Inbound Plug Of The Result View And The Outbound Plug Of The Result View With The Inbound Plug Of The Selection View. 3) You want to create a Web Dynpro application in the object navigator SE80. What do you need to specify in the Web Dynpro application? Please choose the correct answer. B) A Web Dynpro component and a controller within this component. 4) You want to display data in a view of a Web Dynpro component. However, the data you want to display are stored in the context of the component controller. What is the best way to display the data? Please choose the correct answer C) Map The Context Of The Component Controller To The Context Of The View Controller And Bind The Controls That Display The Data To The Context Of The View Controller.

5) What are direct parts of a Web Dynpro component? There is more than one correct answer to this question. A) Views B) Controllers D) Windows E) Interfaces 6) What is the responsibility of a view within a Web Dynpro component? There is more than one correct answer to this question A) A View Defines A Graphical Layout That Will Display In A Browser. D) A View Defines The Events A User Can Trigger By Selecting Controls In The Display Area. E) A View Stores Data For Display In Its Controller. (13)CLASSICAL SCREEN & SELECTION SCREEN 1) You wish to have user entries on the selection screen checked (for example, authorization check). If there is any error, the user must correct the entries. Which steps do you need to program for this? Please choose the correct answer. C) You Need To Program The Check At The Event At Selection-Screen. If There Is An Input Error, An E-Type Message Must Be Output. 2) Which of the following statements about subscreens are correct? There is more than one correct answer to this question. B) You Call Subscreens Using The Screen Command Call Subscreen. D) Subscreens May Have Their Own Pbo And Pai Logic. 3) Where can you set the status and the title for a modal dialog box (popup)? Please choose the correct answer. C) In a Pbo Module of the Corresponding Screen. 4) You have created a screen with 5 radio buttons. How do you ensure that only one radio button is selected at a time? Please choose the correct answer. B) Combine All The Radio Buttons Into A Group. 5) Which Of The Following Statements About Pushbuttons Are Correct? There Is More Than One Correct Answer To This Question. A) Pushbuttons In An Application Toolbar Always Have A Function Code. B) Pushbuttons On A Screen Always Have A Function Code. D) Pushbuttons In An Application Toolbar Always Have A Corresponding Function Key. 6) You have defined a screen with required entries. You want the "Cancel" function to work even if all the required entry fields are not filled. How can you do this? Please choose the correct answer. D) The "Cancel" Function Must Be Type "E" And Be Handled In A Module With The Addition At Exit-Command. 7) Which conditions must be fulfilled in a programmed check so that a screen input field is made ready for input again? There is more than one correct answer to this question. B) The Check Module Must Be Called Using: Field Field_Name Module Check_Module. D) The Module Must Output An E-Type Message Or A W-Type Message. 8) Which of the following statements about field transport between ABAP and screen are correct? There is more than one correct answer to this question A) Dictionary Structures On The Screen Require A Tables Statement In Abap. B) Name Equivalence Is Imperative For Field Transport between Abap And Screen.

D) Field Transport From The Screen To Abap Is Delayed If You Have A Field Statement. (14) CLASS IDENTIFICATION ANALYZATION AND DESIGN 1) In order to write generic programs, which can be used in different contexts polymorphism is a very strong tool. Which technique is a basic requirement for polymorphism? Please choose the correct answer. A) Up-Cast B) Down-Cast (verify answer) C) Equal-Cast 2) You can realize polymorphism between objects from different classes, if these classes are connected over inheritance. For objects of clas ses which are not connected over inheritance there exists another technique to achieve polymorphism. Over which of the following concept you can also achieve polymorphism? Please choose the correct answer. C) The Interface Concept. 3) In your program you need the names of the fields of a structure wa_material at runtime. Therefore you can use the RTTI classes. The root class is cl_abap_typedescr which provides a public static functional method describe_by_data. This method returns a reference of type cl_abap_typedescr. You have defined a reference r_descr as follows: DATA: r_descr TYPE REF TO cl_abap_structdescr. The class cl_abap_structdescr is a sub class of cl_abap_typedescr. Which of the following statements is syntactically correct? Please choose the correct answer. C) R_Describe ?= Cl_Abap_Typedescr=>Describe_By_Data( Wa_Material ). 4) You have implemented a class cl_customer where you have defined a private attribute name. From where you can access the attribute name directly? There is more than one correct answer to this question. C) You Have Direct Access To The Attribute Name From All Methods Of A Class Cl_Friend, Where Cl_Customer Grants Friendship To The Class Cl_Friend. 5) One of your colleagues has left your company and now you in charge of maintaining his programs. One program deals with the handling of lists. You are going through the coding and in the main part of the program you find the following lines: DATA: current_list_no TYPE i. . . . current_list_no = cl_list=>number_of_lists( ). Of what type of component is the item number_of_lists? Please choose the correct answer C) Number_Of_Lists Is A Public Static Functional Method Of The Class Cl_List. 6) You like to create a list with the global class CL_GUI_ALV_GRID. In this class the event DOUBLE_CLICK is defined, in that way that if a user makes a double click with his mouse on the list, the event would be raised. In your case every time the user makes a double click on the list a popup should appear which shows the number of the line on which has been double clicked. What do you have to do therefore? There is more than one correct answer to this question B) WRITE A HANDLER METHOD FOR THE EVENT DOUBLE_CLICK OF THE CLASS CL_GUI_ALV_GRID, WHICH CALLS THE POPUP. D) REGISTER FOR THE THE EVENT DOUBLE_CLICK BY USING THE STATEMENT SET HANDLER. 7) When you implement a class you can use most of the procedural ABAP statements within the class. But some statements are forbidden. What is forbidden within class definitions? There is more than one correct answer to this question. B) The Definition Of Internal Tables With Header Lines. C) Typing With Like To Abap Dictionary Types. D) The Tables Statement.

8) In A Class Cl_Vehicle You Need A Method Get_Fuel, Which Estimates The Fuel Consumption Of A Vehicle. This Method Should Be Implemented As A Functional Method. How You Define A Functional Method And Where You Can Use The Functional Method? There Is More Than One Correct Answer To This Question. B) A Functional Method Has Exactly One Returning Parameter. C) You Can Use A Functional Method Directly In An Arithmetic Expression. 9) In the GUI programming you need a class cl_gui_manager, which manages the windows of a screen. For this task you must ensure that only one object of the class cl_gui_manager can be created. Therefore you have to implement a singleton. There is more than one correct answer to this question. A) The Singleton Class Cl_Gui_Manager Must Have The Addition Create Private In The Definition Part. C) The Singleton Class Cl_Gui_Manager Must Have A Class Method Implemented In Which The Create Object Call Is Programmed For This One Object. D) The Create Object Call For This One Object Can Take Place In The Class Constructor Of The Singleton Class Cl_Gui_Manager. 10) You are writing a Business-Server-Page-Application (BSP) where you use the global class CL_BSP_CONTROLLER2. This class has implemented the global interface IF_BSP_CONTROLLER in which the method HANDLE_EVENT is defined. There is no other 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_bsp_controller2, r_interface TYPE REF TO if_bsp_controller. CREATE OBJECT r_class. Which of the following method calls are syntactically correct? (in relation to the above coding lines)There is more than one correct answer to this question. A) R_Class->If_Bsp_Controller~Handle_Event( ) D) R_Interface->Handle_Event( ) 11) You have got defined two classes cl_airplane und cl_passenger_plane, where cl_passenger_plane is the sub class of cl_airplane. In the class cl_airplane is the public instance method display_attributes defined, which has no parameters. In the sub class cl_passenger_plane is the public instance method display_number_of_seats defined, which has also no parameters. In your program you have implemented the following lines: DATA r_airplane TYPE REF TO cl_airplane, r_passenger TYPE REF TO cl_passenger_plane. CREATE OBJECT r_passenger. r_airplane = r_passenger. Which of the following method calls are syntactically correct? (in relation to the above coding lines)There is more than one correct answer to this question. A)R_Airplane->Display_Attributes( ). C)R_Passenger->Display_Attributes( ). D)R_Passenger->Display_Number_Of_Seats( ). 12) Which statement will create an instance of a class? b) create object my_object 13) Where is the visibility of class components defined? c) Class Definition 14) Class A provides friendship to class B. Class B provides friendship to class C. There is more than one correct answer to this question. b) B is friend of A c) C is friend of B

15) What syntax provides access to individual components of a class within the class? There is more than one correct answer to this question. a) CALL METHOD ME-> d) ME-> (15) SQL STATEMENTS 1) You want to select the fields MATNR, ENAM and EDAT from table MARA to display them in a report. What would be the best way to do this? Please choose the correct answer. d) Declare a work area wa containing only fields MATNR, ENAM and EDAT and use SELECT MATNR ENAM EDAT FROM MARA INTO wa. 2 )You Want To Write A Dialog Program That Changes Data On The Database. You Want To Bundle All Updates By Using Update Function Modules. You Want To Inform The User, If One Of The Update Function Modules Fails. What Is The Easiest Way To Do This? Select The Best Answer. A) The System Will Notify The User Automatically With An Express Message. 3) You want to write a dialog program that changes data on the database. You want to bundle all updates by using update function modules. What do the function modules have to do if they encounter a problem? Please choose the correct answer. a) Write an error message with MESSAGE exxx(nnn). 4) Why do you need to bundle database updates in your dialog programs? There is more than one correct answer to this question. a) Because there is an implicit database commit after each dialog step. d) To be able to keep the database in a consistent state if the user wants to cancel the transaction. 5) You want to write a dialog program that changes data on the database. You want to bundle all updates by using update function modules. What are your options for the database updates with the help of these function modules? There is more than one correct answer to this question. a) Usually, the update is performed asynchronously in a special update task. b) You may perform the update synchronously in a special update task. c) You may perform the update synchronously in your dialog task. 6) You want to know how many connections in table SPFLI exist with CARRID='AZ'. What is the best way to do this? Please choose the correct answer. a) Use a select with aggregation function COUNT. 7) You want to write a dialog program that changes data on the database. Which database update strategies could you use? There is more than one correct answer to this question. b) Use PERFORM ON COMMIT in each appropriate dialog step and COMMIT WORK in the last dialog step C) Use C LL FUNCTION IN UPD TE T SK in each appropriate and COMMIT WORK in the last dialog step d) Write changes to the database with INSERT and MODIFY and a COMMIT WORK in the last dialog step only. 8) You want to display data from tables BKPF and BPOS which contain header data and position data of accounting documents. The primary key of BKPF consists of MANDT (client), and BLNR (document number). The primary key of BPOS consists of MANDT (client), BELNR (document number), and POS (position). What are your options to select data from BKPF together with the corresponding data from BPOS? There is more than one correct answer to this question A) Use An Inner Join.

B) Use A Left Outer Join.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF