Free SAP ABAP (C_TAW12_70)Dumps Part 1_CERTIFIACTION REPEATED QUESTIONS.

SAP ABAP Certification Questions - C_TAW12_70.

 

These SAP ABAP Certification Question are enough to pass certification Exam with good percentage. This question bank contains all the repeatedly asked question with answer. I am posting all the common question with answer from the recent certification exam of ABAP. 

Topic (1) - BASIC ABAP PROGRAMS & INTERFACE CREATION:

 

1).You need to create an ABAP program that display a list of invoice from a supplier. What type of program can you create to achieve this goal?

A).Abap Executable Program.

B).Abap Webdynpro application.

C).Abap Module Pool.


 2).You have written an ABAP executable program that display the flight connection between two cities for your customer. You hand over your program to your customer for maintenance and need to explain to your customer programmer the property of event block.

c).Event Block 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.

 

3).You want to generate page headers for a secondary list in an ABAP executable program and Which event block do you use to do this?

C).Top-Of-Page during Line-Selection.

 

4).In your ABAP program you want to display a dialog box that asks the user to confirm a chosen action and Which function module can you use to do this?

A).Popup_To_Confirm.

 

5).You want to display a dialog box window in your ABAP dialog program and Which statement can you use to do this?

d).CALL SCREEN 200 STARTING AT 5 5.

 

6).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 and In the PAI module user_command_100 you want to check whether the user has clicked this save button. How can you achieve this?

D).Check If The Field Sy-Ucomm Contains The Value 'Sav'

function code 'SAV' to this button. In the PAI module.

 

7).You have written a module pool that manages flight connection and How ca n the end-user start a screen in your module pool?

C).The User Uses A Dialog Transaction That You Have Created To Start A Screen In The Module Pool.

 

8).You create a function group ZATP that contain a couple of function module to manage material master data and What is the name of the corresponding program?

d).SAPLZATP.

 

9).We write an ABAP executable program that displays the flight connection between two city and you have provided selection parameter for departure city and destination city and In your program you have written event block for the event block AT SELECTION-SCREEN, INITIALIZATION, START-OF-SELECTION, TOP-OF-PAGE [in alphabetical order] and In which sequence will ABAP Runtime call these event block?

B).Initialization,AtSelection-Screen,Start-Of-Selection,Top-Of-Page.

 

10).You analyze an executable SAP ABAP program and In the event block AT SELECTION SCREEN you see this line of code: MESSAGE w003(ZMAT) and What is the effect of this line ?

B).On The Selection Screen, The User See A Warning and The User May Change The Input Parameter Or Press Enter To Continue With The Program.

 

11).You design an executable program that display flight booking and The selection screen of your program contain a parameter pa_car of type S_CARRID for the carrier and To make sure that user only see flight connection they are allowed to see and you perform an authority check on the authorization object S_CARRID and Where do you do this?

A).In The Event Block At Selection-Screen.

 

12).You design an executable program that display flight connection and The selection screen of your program contain a parameter pa_car of type SCARRID for the carrier and To make sure that user only see flight connection they are allowed to see and you perform an authority check on the authorization object S_CARRID and How do you do this?

A).Authority Check Object 'S_Carrid' Id 'Carrid' FieldPa_CarId 'Actvt' Field '03'.


13).You design a Dynpro with number 100 for an ABAP program and Dynpro 100 contain in put field that reference the data dictionary structure SDYN_BOOK and So what do we have to do to our ABAP program so we can access the data entered by the user during PAI processing ?

C).Use The Statement Table Sdyn_Book To Declare A Structure With The Name And Type Sdyn_Book In The Top Include Of The Program.

 

14).You Want To Write A Sub program Named Check_Booking that Receive A Parameter Of Type Sbook and You Want To Change Fields Of The Actual Parameter Within Your Subprogram and But Only If Your Subprogram Execute Without Any Error and How Do You Declare The Subprogram?

D) FORM CHECK_BOOKING CHANGING VALUE (P_BOOK) TYPE SBOOK.

 

15).You want to create a selection screen for your ABAP executable program and Which statement can you use to do this?

B) Select-Options.

 

Topic (2) - UNICODE :

1).You are an ABAP consultant and your customer ask you to list the benefit of moving from a Non-Unicode to a Unicode system.

A).A Unicode System Can Support User Of Different Culture.

D).Transfer Of Character Data Between Two Unicode System From Different Culture Is Easier Than Between Non-Unicode System.

 

2).You review an ABAP program that needs to be migrated to a Unicode system and The program opens a data set to read a text file into an internal table and How do you need to modify the OPEN DATASET statement so that your program will run on a Unicode system? 

B).Add The Extension In Text Mode.

 

3).You Review An ABAP Program That Needs To Be Migrated To A Unicode System and 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) and Why Does This Line Not Work As Expected?

c).Because You Can Not Read Beyond Non-Character Data Within A Structure Using The Offset Notation.

 

Topic (3) - ALV GRID CONTROL :


1).Which of the following can you Control Using the Field Catalog of a Sap Alv Grid Control? 

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 and You have written a program in which data is displayed in a list using class CL_GUI_ALV_GRID and What do you have to do in your program to respond to the event?

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 and In which order do you have to carry out the following steps in the program to achieve this?

a).CREATE CUSTOM CONTAINER AREA,

CL_GUI_CUSTOM_CONTAINER,

CL_GUI_ALV_GRID,

SET_TABLE _FOR _FIRST_DISPALY.

 

Topic (4) - NETWEAVER OVERVIEW :

1).Which solution are part of the SAP Business Suite?

B).SAP ERP (Enterprise Resource Planning)

C).SAP SCM (Supply Chain Management)

E).SAP PLM (Product Lifecycle Management).

 

2).Which of the following statement about the SAP NetWeaver are true?

a).SAP NetWeaver provide tool to integrate a heterogeneous software landscape.

b).The main purpose of SAP NetWeaver is to integrate people, information, and processes and to provide a platform for application.

f).SAP NetWeaver can be used to integrate Non-SAP application system.

 

3).The configuration of a SAP system comprises several server layers and Which of the following is the smallest possible configuration of a SAP system concerning its server layers? 

d).Presentation Server, Application Server, Database Server

 

4).You execute an ABAP program with several dialog steps (screens) and Which statement is correct?

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?

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 and Which of the following statements about the possible combinations of ABAP and Java stacks in one SAP NetWeaver Application Server?

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.

 

Topic (5) - ABAP DEBUGGER :

 

1).Which of the following statements is true concerning working with structures and internal tables in the ABAP Debugger? 

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 and In which ways can you start the ABAP Debugger? 

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 and Watch points could help you to reach the erroneous constellation faster. Which statements are true about watch points?

b).You can define a watch point only from within the debugger.

d).Several watch points can be combined with AND or OR.

 

Topic (6) - TABLE RELATIONSHIPS :

 

1).When you define a field of a database table you references to data element which normally references to a domain and But it is also possible to define the data type directly in the data element,without referencing to a domain and Which feature do you get,if you define the data type by referencing to a domain?

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 help A and B [in a collective search help] provided by SAP and but your user only need the simple search help A and your task is it to hide the other simple search help B but with out modify the program or search help and how would you proceed ?

b).You define an append search help for the SAP collective search help and 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 dictionary where the name of the department are stored and how would you design thetable zdepartmentt so that it is the text table of the table zdepartment ? 

a).The text table zdepartmentt has the same key field 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 and for the type of the foreign key field you choose Key fields of a text table.

 

4).You create an ABAP dynpro to enter flight connection data and Each connection is identified by the content of the field CARRID (carrier id) and CONNID (connection id) in the database table SPFLI and The carrier are stored in table SCARR and identified by the value of the field CARRID and What is the easiest way to ensure that only CARRID value from field SCARR CARRID can be entered in the dynpro?

A).Define SPFLI of CARRID As A Foreign Key Field With Check Table SCARR And Foreign Key MANDT And CARRID.

 

5).In the ABAP dictionary you create two table BKPF and BPOS which contain header data and position data of accounting document and the primary key of BKPF consist of MANDT (client) and BLNR (document number) and the primary key of BPOS consist of MANDT (client),BELNR (document number) and POS (position) and you want to make sure that field BELNR of BPOS can only contain value from field BELNR in BKPF and How can you enforce this?

a).Define BPOS of 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 and Which of the following view types you would choose? 

c).The help view.

 

Topic (7) - ENHANCEMENT & MODIFICATION :

 

1).You detect an error in the coding of a standard SAP ABAP program and You need to correct this error in your development system and transport it to your production system and How is this action called? 

b).Repair

 

2).Your company uses a standard SAP report but wants to change its layout and You are assigned to do this and What would be the best way to solve this task? 

a).Personalize the standard SAP report.

 

3).An SAP programmer has written a standard program in a way that it can call customer coding and You want to implement this coding and How is this technique called?

a).Enhancement.

 

4).You want to add some fields to a standard SAP table using the append technique and What do you have to keep in mind about this technique? 

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 state that you need to correct an error in the coding of a standard SAP ABAP program and Since this correction is vital for your company,you want to do it straight away and What is the best way to do this ? 

c).Use the note assistant to modify the coding as stated in the note.

 

6).Which of the following enhancement technique involve a modification from a technical viewpoint? 

a).User Exit

 

7).Which kinds of enhancements can BAdIs provide? 

a).Functional enhancements

b).Screen enhancements

c).Menu enhancements.

 

8).In your team of ABAP developer there is some confusion concerning the relationship between enhancement point, enhancement spot, enhancement section, and BAdIs and Which statement about these concept are correct? 

A).,Enhancement Spot Organize Explicit Enhancement Point, Enhancement Section, And New Badis.

B).An Enhancement Spot Manages Either New Badis Or Explicit Enhancement Point And Enhancement Section.

 

9). A customer ask you about implicit enhancement section and What can you tell him? 

d).There are no implicit enhancement section.


10).Why does SAP not recommend modifying standard SAP program?

a).To simplify upgrades to a new release.

b).To ensure smooth support from SAP.

 

11).You want to implement a BAdI that provide a functional enhancement and What do you need to do? 

b).Implement a class which implement the BAdI interface.

c).Identify the name of the BAdI.

 

12).A user has made a modification to a SAP subroutine and a new upgrade released is to be applied and SAP has made modification to the same subroutine that the user has modified and what will happen during upgrade using the modification assistant? 

a).The modification assistant will prompt you for a change request to reapply the change.

d).The user modification are automatically inserted into the new subroutine release.

 

13).Why does SAP not recommend modifying standard SAP programs? 

a).To simplify upgrades to a new release.

b).To ensure smooth support from SAP.

 

 

Topic (8) - ABAP T YPES & DATA OBJECTS :

 

1).Which of the following statements about data types and data objects are correct? 

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 and what do you get then with the following variable definition?DATA myvar TYPE dbtab.

b).A structure variable (work area).

 

3).Which of the following statements concerning constants at runtime is correct? 

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 and which of the following ABAP statement referring to Type t1 would be syntactically correct? 

a).DATA str1 TYPE t1.

d).TYPES t2 TYPE t1.

 

5).At which of the following places is made use of types?

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 and now for whatever reason you want to create a local type of the same name STR1 and 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.

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 and which of the following statements concerning ABAP type P are true? 

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 colleague need your advice on several ABAP types and which of the following statement are correct? 

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 and which of the following statements are correct? 

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 and Which of the following statements is correct? 

a).A data object of type I have always the length of 4 bytes.

  

Topic (9) - INTERNAL TABLE DEFINITION & USE :

 

1).Which commands are allowed if you are working with an internal table of type SORTED? 

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? 

c).Table type

 

3).You write an application that stores data in an internal table temporarily and Since the application is runtime critical, you consider which type of internal table to use and Which statements about internal tables are correct? 

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 statement about internal table concerning the program performance are correct? 

A).The Cost 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 <Fs> 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 and which statements about internal tables with a header line are correct?

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 and 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?

c).HASHED.

 

 

Topic (10) -  ABAP DICTIONARY :

 

1).After creating a search help in the ABAP dictionary you have to attach this search help to a search field. 

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 and where in the ABAP Dictionary you have to define the fixed values of a field?

A).In the Domain Of The Field.

 

3).With Which View Type It Is Only Allowed To Read Data From The Database? 

C).Database View.

 

4).For a new colleague you have to explain the necessary steps for define a database view in the ABAP dictionary and what are the necessary steps for the definition of a database view in the ABAP dictionary?

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 and which of the following item can you create in the ABAP Dictionary?

a).Type group.

c).Types for internal table (table type).

d).Domain.

e).Search help.

 

6).On a dynpro there is an input field for an airline code coming from the field carrid of the database table zcarr and this field carrid refer to the data element z_carr_id which itself refer to the domain z_char_3 and your task is to change the F1 help of the field carrid on the dyn pro and the documentation of which object do you have to change in order to change the F1 help on the dyn pro ?

B).The documentation of the data element Z_Carr_Id.

 

7).You have to create a new database table and therefore you are thinking of which table type you should use and in which of the following table type is there a 1 to 1 relationship between the table defined in the ABAP dictionary and the relevant physical table in the database ? 

C).Transparent Table.

 

8).Some transaction contain SELECT statement in their application,which cause very long runtime and you should now improve the performance without changing the program and what technique can be suitable for increasing the performance during database table access?

C).To Define Indices For The Appropriate Database Tables.

D).To Use Table Buffering For The Appropriate Database Table.

 

9).You have to define two database table where in both table you need the field change_date and change_time (which are no key fields) and how would you proceed?

B).Define A Structure With These Two Fields And Include This Structure Into Both Database Table.

 

10).You have to define an input check for the field carrid of the database table sbook to ensure data consistency and there for you have to define a foreign key relation to the check table scarr and scarr has the key field client and carrier_id and what has to be valid for the foreign key relation?

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 and the Development Of Your Last Search Help Is A Long Time Ago and therefore You Try To Recall Of What Components A Simple Search Help Consists and what Are Components Of A Simple Search Help? 

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 object ?

C).You have to create an append structure where you define an appropriate field with the name Zztravel_Agency.

 

Topic (11) - ABAP WORKBENCH :

 

1).Which of the following tools belong to the ABAP Workbench?

b).Screen Painter.

d).Function Builder1.

f).Class Builder.

g).Menu Painter.

 

2).Which of the following statement concerning the Repository are true?

a).If we have created a program ZP1 in system S01 in client 800 you can as well execute this program in the client 801.

b).The repository is structured into application and package.

 

3).Which statement concerning the Object Navigator is true?

a).Within the object navigator you can maintain each type of ABAP Workbench object (e.g., program,screen).

B).Navigation area and tool area are always coupled and for ex:if you maintain a program in the tool area and the same program will automatically as well appear at the topoftheobjectlistofthenavigationarea.

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 statement about the organization of development are correct? 

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 system for a regular transport of the package object.

 

5).At the end of a project the developer of a team[say Team1] need to release their task and their request R1 and now there is another team Team2 waiting urgently to maintain an object O1 that was part of this request R1 or one of it task and when will Team2 be able to change this object O1 and if nomemberofTeam2isaswellmemberofTeam1?

b).When the request R1 is being released and in this case the change lock for all object that belonged to the request R1 are released as well.

 

6).Which of the following statement about active and inactive version of a development object are correct?

c).If a program P1 call a program P2 from outside off the development environment and even if there is an inactive version of program P2, still the active version of program P2 will be called. 

 

Topic (12) - USER INTERFACE (WEB DYNPRO) :

 

1).What kind of controller exist within a Web Dynpro component?

A).Exactly One Component Controller.

B).Optional Custom Controller.

C).View Controller.

D).Windows Controller.

 

2).You Want To Create A Web Dynpro Component With Two Views and 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 and The Resulting View Contains A Table That Displays The Found Flight Connections And A Button To Navigate Back To The Selection View and 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 and Which Is The Easiest Way To Define The Navigation Structure Between The Two Views?

A).Embed both views in one window and within that window,connect the outbound plug of the selection view with the inbound plug of the result view and the outbound plug of theresultviewwiththeinboundplugoftheselectionview.

 

3).You want to create a Web Dynpro application in the object navigator SE80 and What do you need to specify in the Web Dynpro application?

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 and However the data you want to display are stored in the context of the component controller and What is the best way to display the data?

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 part of a Web Dynpro component?

A).Views.

B)Controllers.

D).Windows.

E).Interfaces

 

6).What is the responsibility of a view within a Web Dynpro component?

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.

 

Topic (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 and which steps do you need to program for this?

C).You Need To Program The Check At The Event At Selection-Screen and If There Is An Input Error, An E-Type Message Must Be Output.

 

2).Which of the following statement about subscreen are correct?

B).You Call Subscreen Using The Screen Command Call Subscreen.

D).Subscreen May Have Their Own Pbo And Pai Logic.

 

3).Where can you set the status and the title for a modal dialog box (popup)?

C).In a Pbo Module of the Corresponding Screen.

 

4).You have created a screen with 5 radio buttons and how do you ensure that only one radio button is selected at a time?

B).Combine All The Radio Buttons Into A Group.

 

5).Which Of The Following Statement About Pushbutton Are Correct?

A).Pushbutton In An Application Toolbar Always Have A Function Code.

B).Pushbutton On A Screen Always Have A Function Code.

D).Pushbutton In An Application Toolbar Always Have A Corresponding Function Key.

 

6).You have defined a screen with required entries and you want the "Cancel" function to work even if all the required entry fields are not filled and how can you do this?

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?

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?

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.

 

Topic(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 and which technique is a basic requirement for polymorphism?

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 and for objects of classes which are not connected over inheritance there exists another technique to achieve polymorphism and over which of the following concept you can also achieve polymorphism? 

C).The Interface Concept.

 

3).In your program you need the name of the field of a structure wa_material at runtime and therefore you can use the RTTI class and the root class is cl_abap_typedescr which provide a public static functional method describe_by_data and this method return a reference of type cl_abap_typedescr and you have defined a reference r_descr as follows: 

DATA: r_descr TYPE REF TO cl_abap_structdescr and the class cl_abap_structdescr is a sub class of cl_abap_typedescr and Which of the following statements is syntactically correct? 

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 and from where you can access the attribute name directly?

C).You Have Direct Access To The Attribute Name From All Method Of A Class Cl_Friend, Where Cl_Customer Grants Friendship To The Class Cl_Friend.

 

5).One of your colleague has left your company and now you in charge of maintaining his program and one program deal with the handling of list and you are going through the coding and in the main part of the program you find the following line:

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?

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 and 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 and 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 and What do you have to do therefore?

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 and but some statements are forbidden. What is forbidden within class definitions?

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 Estimate The Fuel Consumption Of A Vehicle and this Method Should Be Implemented As A Functional Method and how You Define A Functional Method And Where You Can Use The Functional Method? 

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 and for this task you must ensure that only one object of the class cl_gui_manager can be created and therefore you have to implement a singleton.

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 and this class has implemented the global interface IF_BSP_CONTROLLER in which the method HANDLE_EVENT is defined and there is no other method in the class CL_BSP_CONTROLLER2 with the name HANDLE_EVENT and  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 and which of the following method calls are syntactically correct?

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 and in the class cl_airplane is the public instance method display_attributes defined, which has no parameters and in the sub class cl_passenger_plane is the public instance method display_number_of_seats defined, which has also no parameters and 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 and which of the following method calls are syntactically correct?

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 and Class B provides friendship to class C.

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?

a).CALL METHOD ME-> .

d).ME-> .

 

 

Topic (15) - SQL STATEMENTS :

 

1).You want to select the field MATNR, ENAM and EDAT from table MARA to display them in a report and what would be the best way to do this?

d).Declare a work area wa containing only field 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 and you Want To Bundle All Updates By Using Update Function Modules and You Want To Inform The User, If One Of The Update Function Modules Fails and What Is The Easiest Way To Do This?

A).The System Will Notify The User Automatically With An Express Message.

 

3).You want to write a dialog program that change data on the database and you want to bundle all update by using update function module and what do the function module have to do if they encounter a problem?

a).Write an error message with MESSAGE exxx(nnn).


4).Why do you need to bundle database updates in your dialog programs?

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 change data on the database and you want to bundle all update by using update function module and what are your options for the database update with the help of these function module?

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' and what is the best way to do this?

a) Use a select with aggregation function COUNT.

 

7).You want to write a dialog program that changes data on the database and which database update strategies could you use?

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 and the primary key of BKPF consists of MANDT (client), and BLNR (document number) and the primary key of BPOS consists of MANDT (client), BELNR (document number), and POS (position) and what are your options to select data from BKPF together with the corresponding data from BPOS?

A).Use An Inner Join.

B).Use A Left Outer Join.

Comments

Popular posts from this blog

EVENTS IN INTERACTIVE REPORTS OF SAP ABAP

Differences Between Classic & New BAdIs :

MAIN DIFFERENCE BETWEEN EXECUTABLE PROGRAM AND MODULE POOL PROGRAM in SAP ABAP :