abap certification question answers

67
About the certification Code of the certification: C_TAW12_71 Name of the certification: SAP Certified Development Associate – ABAP with SAP NetWeaver 7.02 Format of the certification: Contains 80 questions that have to be answered in three hours. All questions will be multiple choices and no partial marking is there (it means no mark will be given to you if you tick on two correct answers out of three correct one). For a question which has multiple answers, they will specify how many correct answers are there. No negative marking. Tips for the certifications: Try to read F1 help for all the basic syntax so that it will clear your basics. Three hours is quite a big time to write 80 questions. So allocate five minutes of time for reading the rules first. In the exam they will not ask stupid questions like ‘Which transaction code or function can be used to do XYZ tasks, etc.’ So, do not waste your time in mugging up t-codes and function modules. At last best of luck for your exam! During the certification: My heart was beating at a speed of 33k / 3 hrs (of course money matters). As my exam was about to begin I was too much nervous because I was appearing for the certification exam with only one month of preparation. When I saw the first question, unfortunately, I did not know that one, and therefore, for a moment a got shocked. But I concentrated my mind for the next question and everything went on easily. I made flag to that question which I had doubt for later input. I did not believe myself, I revised two times every question and answer given by me. How he prepared: I studied using books TAW10_1, TAW10_2, TAW11 E, TAW12_1 and TAW12_2 and a little from ABAP in 21 Days book. Topics like Webdynpro for ABAP and Unicode will not be

Upload: unnivelan

Post on 19-Jan-2016

379 views

Category:

Documents


15 download

TRANSCRIPT

Page 1: ABAP Certification Question Answers

About the certification

Code of the certification: C_TAW12_71

Name of the certification: SAP Certified Development Associate – ABAP with SAP

NetWeaver 7.02

Format of the certification: Contains 80 questions that have to be answered in three hours. All

questions will be multiple choices and no partial marking is there (it means no mark will be

given to you if you tick on two correct answers out of three correct one). For a question which

has multiple answers, they will specify how many correct answers are there. No negative

marking.

Tips for the certifications:

Try to read F1 help for all the basic syntax so that it will clear your basics.

Three hours is quite a big time to write 80 questions. So allocate five minutes of time for

reading the rules first.

In the exam they will not ask stupid questions like ‘Which transaction code or function

can be used to do XYZ tasks, etc.’ So, do not waste your time in mugging up t-codes and

function modules.

At last best of luck for your exam!

During the certification: My heart was beating at a speed of 33k / 3 hrs (of course money

matters). As my exam was about to begin I was too much nervous because I was appearing for

the certification exam with only one month of preparation. When I saw the first question,

unfortunately, I did not know that one, and therefore, for a moment a got shocked. But I

concentrated my mind for the next question and everything went on easily. I made flag to that

question which I had doubt for later input. I did not believe myself, I revised two times every

question and answer given by me.

How he prepared: I studied using books TAW10_1, TAW10_2, TAW11 E, TAW12_1 and

TAW12_2 and a little from ABAP in 21 Days book. Topics like Webdynpro for ABAP and

Unicode will not be covered very effectively in these books so you need to prepare those topic

on your own. TAW 11 E is an e-learning course, so you will not find any book. After completing

these books it will be good if you practice with sample questions and answers. You can even

start looking at the sample question given by

SAP : http://www.sap.com/services/education/certification/schedule/CTAW1270.epx. Do not

become too much over confident as these questions are very simple and do not lose the hope as

after finishing all the books it will be a child’s game for you.

Result: He passed the exam with the score 85%.

Page 2: ABAP Certification Question Answers

Sample questions and other notes: Here are some sample questions. The first one was the

simplest question one could ever encounter.

1. You have newly joined a development team and your team member is developing a report. He

wants to put the validation for the vendor No. 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

It boosted my confidence and the answer is C. At selection screen on field.

2. Business want to change the F1 help for the field for all reports. At what level you will change

so that it reflects for all places.

A. Domain

B. Data element

C. Change all table field

D. Code at selection screen on help-request in all the reports

As data element store the schematic information, it can be used and the idea of changing the code

of all reports with D option is useless. So the answer is B (Data element).

3. 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.

The answer is : B

4. Which one of these event will be triggered first when you execute the program?

A. INITIALIZATION

B. LOAD-OF-PROGRAM

C. START-OF-SELECTION

D. END-OF-SELECTION

Page 3: ABAP Certification Question Answers

This one also does not take much time as loading of the program is the first thing which is done

and after that it will start looking into the code. So the answer is LOAD-OF-PROGRAM.

5. What is the valid combination among these for SAP R/3?

A. 2 application server and 1 data base server

B. 2 database server and 1 application server

C. 2 application server and 2 database server

D. 3 application server and 2 database server

The question is not that clear but as far as SAP is concerned it believes in central instance. So,

the answer is A.

6. There is one function group name AG which contains three function module FM1, FM2 and

FMR. It also has one global variable Gl_val. FM1 and FM2 has a simple code of adding 1 into

that variable and FMR has the code of returning that global variable. So what will be the output

of falling code?

Report test_fungrp.

Data : gl_val type i.

Data : ret_val type i.

Call Function FM1.

Clear gl_val.

Call Function FM2.

Call function FMR importing VAL = Ret_val.

Write : / Ret_val.

A. 1

B. 2

C. 3

D. 4

HHhmmm… need to use a little of mind in this. As function group will have only one instance

through out the program run, so only one copy of that global variable. Answer is B.

7. Which layer will be used to convert the OPEN SQL into the database specific query?

A. WORK Process

B. DATA BASE interface

Page 4: ABAP Certification Question Answers

C. ABAP interprter

D. None of the above

The answer is B. Data base interface that will be used to make SAP database independent.

8. You have 10 records into the internal table .you want to make use of loop statement to loop

through all the records which system variable can be used to find out the loop iteration?

A. SY-INDEX

B. SY-DATUM (What an option!)

C. SY-TABIX

D. None of thee above

So… Easy, right? The answer is C (SY-TABIX).

9. Can a database view be used to fetch the data from the database using SELECT Query?

A. True

B. False

The answer is A.

10. In Case of Webdynpro 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. Wirte the mapping path into context’s attribute

D. You cannot mape.

I know you want to kill me!!! But this question was there… Any way, the answer is clearly B.

11. Which one of the following will contain user interface?

A. Model

B. Component container

C. Window

D. View

The answer is D.

12. Which are of those are GUI types in SAP?

Page 5: ABAP Certification Question Answers

A. HTML GUI

B. JAVA based GUI

C. Windows GUI

D. Web GUI

Hmm… Theory wins. The answers are: A, B, C.

13. Parameter id is assigned at what level?

A. Domain

B. Data element

C. Field level

D. None of the above

The answer is B.

14. 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.

Answer are A, B, C.

15. What is the format of the system date variable sy-datum?

A. YYYYMMDD

B. MMDDYY

C. YYMMDD

D. DDMMYYYY

I know it is pure theoretical question, but what can be done. The answer is A.

16. What will be the output of the following code for the user has a date format as DD-MM-

YYYY? (Assume today’s date is the 14th Feb 2010)

Report test_date.

Write : / sy-datum.

Page 6: ABAP Certification Question Answers

A. 2010-02-14

B. 20100214

C. 14-02-2010

D. 02-14-2010

The answer is C. Suddenly, I went back to time when I was preparing for the exam… What will

be the answer of this question if I change the code as below:

Report test_date.

Data : lv_date like sy-datum.

Lv_date = sy-datum.

Write : / lv_date. “(Try it out ….. )

And what about if I use lv_date as char 8? (In this case answer is : 20100214.)

17. You are working on a program which is updating the database. Now you want that if

something goes wrong you want that your code should be capable of reverting the changes done

in database, which statements can be used to achieve this?

(There are two correct options)

A. Commit Work.

B. Roll Back Work.

C. Message ‘Changes aborted’ Type ‘A’.

D. Message ‘Changes aborted’ type ‘I’.

The answers are B and C.

18. You want to declare a variable which can be used outside of the class globally but no one

should be allowed to change that variable except the method of that class. How you can achieve

this?

A. class class_name Definition.

Public section.

Data : gl_var type i.

Endclass.

B. class class_name Definition.

Proteced section.

Data : gl_var type i.

Endclass.

Page 7: ABAP Certification Question Answers

C. class class_name Definition.

Public section.

Data : gl_var type i hidden.

Endclass.

D. class class_name Definition.

Public section.

Data : gl_var type i read-only.

Endclass.

The answer is D.

19. There is a screen 500 with next screen set as 501 in it’s screen attribute. Business want that

in some of the condition instead of going to screen 501 it should go to screen 502 after screen

500 finish its execution. How will you achieve this?

A. Use statement LEAVE TO SCREEN 502. in PBO of screen 501.

B. Use statement SET SCREEN 0. In PAI of screen 500.

C. Use statement SET SCREEN 502. IN PAI of screen 500.

D. It is not possible to over right the next screen attribute set into screen 500.

The answer is C. As it will override the next screen attribute set into the screen 500.

20. You want to hide a P_MATNR field from the screen how will you achieve it?

A. LOOP AT SCREEN WHERE NAME = ‘P_MATNR’.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDLOOP.

B. LOOP AT SCREEN.

If SCREEN-NAME EQ ‘P_MATNR’.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

C. LOOP AT SCREEN WHERE NAME = ‘P_MATNR’.

SCREEN-ACTIVE = 0.

ENDLOOP.

Page 8: ABAP Certification Question Answers

D. READ TABLE SCREEN WITH KEY NAME = ‘P_MATNR’.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

So, seams tricky? But for SCREEN it is only possible to use LOOP AT SCREEN. “Where”

condition in LOOP and “read table” statement with screen is not at all possible. So, the answer is

B.

21. A database table without MANDT field is called? (Select most appropriate answer)

A. Client dependent

B. Client in-dependent

C. Structure (What an option!!!!!!!!!!)

D. Database View.

The answer is B.

22. To define the internal table using statement: Data : it_tab type XYZ where XYZ should be of

type:

A. Data base table

B. Structure

C. Table type

D. View

The answer is C. As Rest will define work area not the internal table.

23. Internal table ITAB has the following data

Name Salary

John 80000

Bob 20000

Amar 10000

David 50000

What will be the sy-subrc in following case?

Read table ITAB into WTAB with key Name = ‘David’ using binary search.

A. o

B. 4

Page 9: ABAP Certification Question Answers

C. 8

D. 12

As the mandatory condition to use binary search in internal table is that it should be

sorted. Without sorting it will lead to incorrect result. So, the answer is B. Note: What will be

answer if you read ITAB without binary search?

24. Business want to put validation on plant No. For all the screen. The requirement is to give an

error message whenever user give plant 567. What can be the most appropriate way to achieve

this?

A. Screen EXIT

B. Function module EXIT

C. Field EXIT

D. USER EXIT

The answer is C.

25. Which of the 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 filter dependent.

The answers are A, C, D.

26. 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 contain methods and data declaration.

D. You can redefine the BADI as per your choice.

The answers are A and B.

Okay… Now, I do not remember any more questions. Anyway, it is not my fault, once a person

gets 85%, it becomes very difficult to spend time on remembering and writing the questions of

exam instead of partying!!!

Page 10: ABAP Certification Question Answers

Was this post useful for you? Then please consider giving it a good rating, saying thank you in

the comments section, and sharing it with your friends!

Was it helpful for you? If yes, why not to give it five stars!

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.a) GO TO SCREEN 200.b) CALL SCREEN 200.c) SET SCREEN 200.D) CALL SCREEN 200 STARTING AT 5 5.e) WINDOW 200 STARTING AT 5 5.  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.A) Check If The Field Sy-Okcode Contains The Value 'Sav'.B) Check If The Field Ok_Code Contains The Value 'Sav'.C) CHECK IF THE FIELD WITH THE OK ATTRIBUTE IN THE SCREEN 100 CONTAINS THE VALUE 'SAV'. D) CHECK IF THE FIELD SY-UCOMM CONTAINS THE VALUE 'SAV'.  In which sequence will ABAP Runtime call these event blocks? Please choose the correct answer.a) AT SELECTION-SCREEN, INITIALIZATION, START-OF-SELECTION, TOP-OF-PAGEB) INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION, TOP-OF-PAGEc) TOP-OF-PAGE, INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTIONd) START-OF-SELECTION, INITIALIZATION, AT SELECTION-SCREEN, TOP-OF-PAGE   You analyze an executable ABAP program. In the event block AT SELECTION-SCREEN you see this line of code: MESSAGE w003 (ZMAT). What is the effect of this line? Please choose the correct answer.a) On the selection screen, the user sees a warning. The user must change the input parameters on the selection screen to continue with the program.

Page 11: ABAP Certification Question Answers

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.c) On the list, the user sees a warning. By pressing ENTER, the user is taken back to the selection screen and can change the input parameters.d) On the selection screen, the user sees a dialog box with a warning. The user may change the input parameters or press ENTER to continue with the program.e) On the selection screen, the user sees a dialog box with warning. The user must change the input parameters to continue with the program.  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.C) Capture The Event With The Catch Statement.D) REGISTER ON THE EVENT USING THE SET HANDLER STATEMENT. 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_CONTAINERCL_GUI_ALV_GRID,SET_TABLE_FOR _FIRST_DISPALY.  

Which solutions are parts of the SAP Business Suite? There is more than one correct answer to this question. A) SAP Business OneB) SAP ERP (ENTERPRISE RESOURCE PLANING)C) SAP SCM (SUPPLY CHAIN MANAGEMENT)D) SAP Bank AnalyzerE) SAP PLM (PRODUCT LIFECYCLE MANAGEMENT) 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.c) Syntax check of "native" SQL commands.D) USAGE OF SAP BUFFERS.e) Data consistency check with respect to foreign key relationships.       

Page 12: ABAP Certification Question Answers

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.a) In one SAP NetWeaver Application Server there can be installed either an ABAP stack or a Java stack, but never both stacks.b) In one SAP NetWeaver Application Server there can be installed either a stand-alone ABAP stack, or a combination of an ABAP stack and a Java stack, but there can never be installed a stand-alone Java stack.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.d) In one SAP NetWeaver Application Server there always must be installed both stacks.           Which of the following statements is true concerning working with structures and internal tables in the ABAP Debugger? Please choose the correct answer.a) With the ABAP Debugger you can create new data objects even if they are structures or internal tables.B) WITH THE ABAP DEBUGGER YOU CAN EDIT INTERNAL TABLES (E.G. APPEND LINES, DELETE LINES, CHANGE THE CONTENT).c) With the ABAP Debugger you can change the definition of a structure at runtime.d) With the ABAP Debugger you can change the definition of an internal table at runtime 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.a) A watch point can be defined in the ABAP Editor via the menu path Goto -> Create watch point.B) YOU CAN DEFINE A WATCH POINT ONLY FROM WITHIN THE DEBUGGER.c) A watch point is always related to a data object of the debugged program. No matter how you define the watch point the system will always stop execution if the content of the related data object is being changed and issue a message "Watch point reached"D) SEVERAL WATCH POINTS CAN BE COMBINED WITH AND or OR. 

Page 13: ABAP Certification Question Answers

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.a) The database view.b) The maintenance view.C) THE HELP VIEW.d) The projection view. 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) ENHANCEMENTb) Personalizationc) Modificationd) Repaire) Correction 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.a) An append structure can be assigned to more than one table.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.d) Append structures must be compared with the SAP original in a release upgrade.e) The name of the append structure must start with ZZ or YY.       Which kinds of enhancements can BAdIs provide? There is more than one correct answer to this question. A) FUNCTIONAL ENHANCEMENTSB) SCREEN ENHANCEMENTSC) MENU ENHANCEMENTSd) Data element enhancementse) Table enhancements WHAT DOES IMPLICIT ENHANCMENT POINT DO??  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. A) Define an interface for the BAdI.B) IMPLEMENT A CLASS WHICH IMPLEMENTS THE BADI INTERFACE.C) IDENTIFY THE NAME OF THE BADI.d) Call the BAdI.E) Create an enhancement project with CMOD. 

Page 14: ABAP Certification Question Answers

 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.a) An elementary fieldB) A STRUCTURE VARIABLE (WORK AREA)c) An internal table  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 HAS ALWAYS THE LENGTH OF 4 BYTES.b) A data object of type I can have the length of 1, 2, or 4 bytes. The actual length depends on the content.c) A data object of type I has always the length of 8 bytes.       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) INSERTb) DELETEc) SORTd) READ TABLEe) MODIFY 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 questionA) 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.D) You Have To Define Selection Criteria For The View.

 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.A) Cluster TableB) Pooled TableC) TRANSPARENT TABLE       

Page 15: ABAP Certification Question Answers

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.A) To Put The Appropriate Database Tables In The Special Fast-Access-Tablespace Of The Database.B) To Unit The Appropriate Database Tables In A Pool Table.C) TO DEFINE INDICES FOR THE APPROPRIATE DATABASE TABLES.D) TO USE TABLE BUFFERING FOR THE APPROPRIATE DATABASE TABLES.     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.a) Define the two fields in each database table.B) DEFINE A STRUCTURE WITH THESE TWO FIELDS AND INCLUDE THIS STRUCTURE INTO BOTH DATABASE TABLES.c) Define an append structure with these two fields and assign this append structure to both database tables.  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.B) The Number Of Key Fields In Table Sbook Must Be Exactly The Same As In Table Scarr.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.D) In The Domain Of The Check Field Carrid Must Be The Table Scarr Assigned As Value Table. Which of the following tools belong to the ABAP Workbench? There is more than one correct answer to this question.a) User AdministrationB) SCREEN PAINTERc) Easy Access MenuD) FUNCTION BUILDERe) Human Capital Management Info SystemF) CLASS BUILDERG) MENU PAINTER  Which of the following statements about the organization of developments are correct? There is more than one correct answer to this questionA) A DEVELOPMENT OBJECT (E.G. A PROGRAM) MUST EITHER BE ASSIGNED TO A PACKAGE OR BE DECLARED AS A LOCAL OBJECT.b) Local objects can only be transported at the very end of a project.

Page 16: ABAP Certification Question Answers

C) ONE IMPORTANT ATTRIBUTE OF A PACKAGE IS THE TRANSPORT LAYER WHICH DETERMINES THE FOLLOWING SYSTEMS FOR A REGULAR TRANSPORT OF THE PACKAGES' OBJECTS.d) You can assign a transport layer to each type of development object.e) One important attribute of the object directory entry of a development object is the original system. It is convenient to use the production system as the original system  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 of Team1? Please choose the correct answer.a) When the task that contains object O1 is being released. In this case the change locks for all objects that belonged to the task are released as well.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.c) When all objects of the request R1 have been transported successfully into the next system (e.g. the Quality Assurance system).       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. b) Embed each view in its own Window. Then 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. c) Create a combi view that contains two ViewContainer UIelement controls. Embed the combi view in a Window, and the two other views in the View Container UI elements. Then 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. d) Create a combi window that contains two View Container UI element controls. Embed the two views in the View Container UI elements. Then 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.

Page 17: ABAP Certification Question Answers

     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.a) A Web Dynpro component and a window within this component.B )A WEB DYNPRO COMPONENT AND A CONTROLLER WITHIN THIS COMPONENT.           What are direct parts of a Web Dynpro component? There is more than one correct answer to this question.A) VIEWSB) CONTROLLERSC) ContextsD) WINDOWSE) INTERFACES  What is the responsibility of a view within a Web Dynpro component? There is more than one correct answer to this questionA) 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. 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.a) You need to program the check at the event AT SELECTION-SCREEN. If there is an input error, processing must be interrupted with a STOP statement and an I-type MESSAGE must be output.b) You need to program the check at the event END-OF-SELECTION. If there is an input error, an E-type MESSAGE must be output.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. 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.A) Enclose All The Radio Buttons In A Frame.B) COMBINE ALL THE RADIO BUTTONS INTO A GROUP.C) Create A Common Function Code For All The Radio Buttons.D) Assign All The Radio Buttons To The Same Modification Group.  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.A) No Special Actions Are Required.B) The "Cancel" Function Must Have The Function Code "Back".

Page 18: ABAP Certification Question Answers

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 TYPE "E" AND BE HANDLED IN A MODULE WITH THE ADDITION AT EXIT-COMMAND.E) There Is No Way To Do This; Required Entry Fields Must Always Be Filled First.         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.A) An I-Type Message Must Be Output.B) THE CHECK MODULE MUST BE CALLED USING: FIELD FIELD_NAME MODULE CHECK_MODULE.C) The Check Module Must Be Called Using: Field Field_Name Module Check_Module Message Ennn.D) THE MODULE MUST OUTPUT AN E-TYPE MESSAGE OR A W-TYPE MESSAGE.       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 answerA) Number_Of_Lists Is A Public Static Attribut Of The Class Cl_List.B) Number_Of_Lists Is A Public Instance Attribut Of The Class Cl_List.C) NUMBER_OF_LISTS IS A PUBLIC STATIC FUNCTIONAL METHOD OF THE CLASS CL_LIST.D) Number_Of_Lists Is A Public Instance Functional Method Of The Class Cl_List.         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 questionA) Define A Local Class In Which The Event DOUBLE_CLICK Is Redefined And Raised.B )WRITE A HANDLER METHOD FOR THE EVENT DOUBLE_CLICK OF THE CLASS CL_GUI_ALV_GRID, WHICH CALLS THE POPUP.C) Catch The Event DOUBLE_CLICK With The CATCH Statement Under Which The Popup Call Is Implemented.D) REGISTER FOR THE THE EVENT DOUBLE_CLICK BY USING THE STATEMENT SET HANDLER.  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.

Page 19: ABAP Certification Question Answers

A) THE SINGLETON CLASS CL_GUI_MANAGER MUST HAVE THE ADDITION CREATE PRIVATE IN THE DEFINITION PART.B) In The Singleton Class Cl_Gui_Manager, There Must Be An Event Defined That Is Triggered When The First And Only Object Is Created And Also Prevents Further Objects Of This Class From Being Created. 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.   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.b) To increase the performance of your program. c) Because there is no 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.  Which of the following statements apply to a database view? There is more than one correct answer to this questiona) A database view supplies the results quantity of outer join logic.B) USING DATABASE VIEW YOU CAN READ DATA FROM SEVERAL TABLES.c) Using Database view you can insert data into several tables.d) A Database view is a special view for transparent table.E) A DATABASE VIEW CAN HAVE ONE OR SEVERAL BASE TABLE.- See more at: http://www.saptechies.com/abap-certification-question-2013/#sthash.LWnBlQav.dpuf

Test Paper – TAW10 week 1

Note: Some questions may have multiple answers

1. The company ABC Inc. has employee strength of 75, where employees have only basic knowledge of computers. They also wish to setup the IT department enabled with SAP in the shortest possible time (max 4 weeks).  the most suitable SAP product would be: 

Page 20: ABAP Certification Question Answers

1. SAP B1

2. SAP A1

3. SAP By Design

4. SAP Business Suite.

2. Enabling SAP business solutions for a manufacturing giant interested in the SAP Business Suite enables: 

1. a choice of preconfigured functions with limited scope of adaptability

2. interfaces for integrating non-SAP systems of the company

3. a very short implementation cycle (less than 4 weeks)

4. an IT system that is mature and stable.

3. An SAP Application running on the SAP Netweaver AS platform: 

1. has to have a point-to-point communication enabled with all other SAP and non-SAP systems

2. is supported by Netweaver open integration platform

3. can be extended for ESOA

4. is not interoperable with IBM Websphere or .Net  .

4. The company ABC Inc. has just setup a new IT system to support its business transactions with its customers. Identify the possible SAP solutions that could have been used for this:  

1. SAP CRM

2. SAP SRM

3. SAP SD

4. SAP ERP.

  5. Mark the statements that describe an SAP Component: 

1. Can be separately installed/combined with other components to provide a business solution

2. Component is a collection of SAP Applications

3. Components can be developed individually by SAP

4. Components are always delivered in unison with one SAP Application.

6. The company ABC Inc. is running and SAP system that enables Internet Sales. Choose the most appropriate Netweaver AS 

1. ABAP AS only

2. JAVA AS only

3. Both ABAP AS & JAVA AS

4. None of the above.

Page 21: ABAP Certification Question Answers

7. The company ABC Inc. wishes to integrate its employees, vendors and customers to increase its business efficiency. Choose the Netweaver components that can offer a suitable solution.

1. Collaboration

2. Enterprise Portal

3. Knowledge Management

4. Multi Channel Access

8. An application transaction window can be closed using the code ___________________ in the command box. 

1. /N

2. /I

3. /NEND

4. /O

9. For a user logged on to the SAP system, mark the statement/s that are TRUE: 

1. A new session can be opened using /O in the command field

2. The maximum number of sessions is 6 for the user logon

3. SAP allows a user to logon multiple times on the same sap system

4. User can logoff his/her session without a confirmation box if he/she use the /end command

10. For a user logged on to the SAP system, mark the statement/s that are TRUE: 

1. Ok_code filed is also known as the command field

2. command field is the only way to access transactions/applications

3. command field displays the value list using F4 key

4. command field displays the value list using F1 key

11. Developer 'SMITH' who is logged on the SAP system can: 

1. always has the authorization to call any application in the system

2. can switch between user/SAP menu only if allowed by the administrator

3. can use the SAP menu to access a transaction that he/she is not authorized for when it does not work with the command field

4. can call functions using the command box/user menu/sap menu only

12. The user 'SMITH' is on screen '100' and has the cursor placed on the 'Employee Name' field. He can: 

1. view the documentation of the field using F4 key

2. view technical details of the field once the documentation help is displayed

3. display values/input help using the F4 key

Page 22: ABAP Certification Question Answers

4. view technical details of the field once the value help is displayed

13. The company ABC Inc. has its Netweaver AS, configured in three-tier architecture. Mark the statement/s that are TRUE for the  Presentation Layer:

1. All SAP users log-on using the SAP GUI

2. The presentation layer can be extended horizontally to support any number of users

3. The application layer can be connected to a terminal presentation server

4. ICM is required when users log-on in SAP using a web-browser

14. The company ABC Inc. has its Netweaver AS configured. Mark the statement/s that are TRUE for the Application Server: 

1. A central instance offers services that no other instance of the system offers

2. Multiple instances are hosted on the same computer

3. Services of an instance are started/stopped sequentially

4. Central System is one in which both the central instance and database are installed

15. The Netweaver AS of ABC Inc. has one instance configured comprising of AS ABAP. Which of the following statements would be TRUE if ABC Inc. was to increase the no. of employees working on the SAP system? 

1. additional instances must/can be set up in order to balance the load on the system

2. the dispatcher takes care of the log-on load balancing when additional instances are present

3. the SAP system would require more of Dialog work processes 

4. additional Enqueue work process can be configured but should be done on the same instance where the first Enqueue WP exists

16. For an Instance in the Netweaver AS. Mark the statements that are NOT TRUE 

1. the ICM occurs in the central instance only, either Java AS or ABAP AS 

2. the Message server communicates between multiple server instances

3. the Dispatcher stores the user requests in the request queue and processes them in a last-in-first-out manner

4. the shared memory of an instance can share its buffer with the other instances.

17. An SAP ERP system has a Netweaver platform withABAP AS. The server has been configured with a number of work processes. Mark the statements that are TRUE.

1. the Dialog WP processes the online requests and a server requires a minimum of 4 Dialog work processes

2. the Spool WP raises the spool request and then transfers the data to the OS printer

3. the Enqueue WP prevents users from simultaneously changing a record, thereby providing a lock mechanism

Page 23: ABAP Certification Question Answers

4. the Update WP is the only work process that is connected with the database for performing database operations (insert, update, modify,. etc)

18. In a SAP Netweaver AS having a central services instance, mark the statements that are TRUE.

1.   consists of the Message Server, Enqueue & Spool work processes2.   consists of the Message Service and Enqueue Service

3.   the ICM also defines the central services instance

4.   the SDM also defines the central services instance

19. In a SAP Netweaver AS ABAP having the work processes configured, mark the TRUE statements.

1. User context is rolled-in and rolled-out for every dialog step executed by the work process

2. the database optimizer converts OPEN SQL into Native SQL when accessing the database

3. the flow logic/navigation of screens is controlled by the task handler

4. ABAP interpreter is a component of the work processes

5. buffering is possible in the work process internal memory so as to optimize database accesses

20. With respect to a Dialog work process, mark the statements that are TRUE

1. processes the online requests of users

2. is responsible for the complete and successful execution of an ABAP transaction

3. can read/update/modify/insert or perform other actions on the database

4. work process multiplexing enables the processing of several programs by the same work process

21. The SAP system is composed of transactions; which of the following are TRUE with respect to an ABAP transaction

1. a dialog step is also called a DB transaction

2. DB transactions make up an ABAP transaction

3. database changes are performed at the ABAP transaction level and not within a DB transaction

4. the commit work statement establishes the end of an ABAP transaction

22. The database updates are carried out by the update work processes. Which of the following statements are TRUE?

Page 24: ABAP Certification Question Answers

1. updates can be synchronous or asynchronous and are carried out by V1 and V2 processes

2. V2 is the primary update and V1 is the secondary update

3. V2 updates are processed first and then V1 are processed

4. V1 update will handle all the updates if a V2 update is not configured

23. Based on the SAP lock concept, mark the statements that are valid

1. If the Enqueue (WP) is in another instance, then a lock cannot be set

2. The lock key is kept in the user context in the work process internal memory

3. Locking of data happens only in the application server and not at the database level

4. Users accessing locked records can override the lock using transaction SM12

24. Mayer is a project manager/developer working on an implementation project and heads a team of other developers. List out the essentials for his project team.

1. The project team will be assigned a Change Request and all team members will be assigned to this change request

2. All the team members will belong to one Task Number and all the objects they develop will  grouped under this task number

3. Upon completion of the project, the transport is initiated by releasing task number first and the then releasing the change request

4. Objects to be transported have to be saved as local object during development

25. Identify the elementary data types that are incomplete

1. D

2. P

3. F

4. C

26. Which key word addition is NOT applicable for TYPES 

1. DECIMALS

2. LENGTH

3. DEFAULT

4. VALUE

27. When using data types in programming, which of the following hold TRUE

1. declarations with out a specified data type results in a default character data object

2. the incomplete types if not specified a length during declaration will cause a syntax error

3. String is an incomplete data type

Page 25: ABAP Certification Question Answers

4. user defined types are defined using the TYPES keyword and can also be used to store values

28. The ABAP language has looping commands like the DO…ENDDO, WHILE…ENDWHILE. Which of the following statements are TRUE with regarding to their processing?

1. the DO…ENDDO processes one additional loop compared to the WHILE…ENDWHILE

2. users should not allow an infinite loop pass in the DO….ENDDO as it occupies the dialog work process indefinitely

3. the loop count can be obtained from the system field SY-INDEX

4. the looping can be terminated anytime by using the EXIT command

29. Programs in ABAP interact with the end user by making use of messages. A message class has the list of possible messages and can be used in a program through the MESSAGE syntax. Mark the statements that are correct.

1. the message type “S” displays the message in the status bar in the next screen in sequence

2. the “E” message will allow the user to proceed processing if he simply presses the enter-key if he does not want to make changes to an input

3. the “A” message takes the user control to the short dump

4. A message can display up to 5 runtime values that can be passed as placeholders using the WITH addition in the syntax.

30. Mark the TRUE statements with regards to Debugging

1. Debugging can be started using /d in the command box

2. the contents of a field can be altered while in debugging mode

3. when the value of a field changes, the program control will stop if a break point is set

4. F6 or Execute option processes a subroutine/function or a method call in a single step

31. A subroutine is a modularization technique, which of the following are TRUE?

1. The value of the actual parameters are altered during ‘pass-by-value-result’ only if the subroutine processed the ENDFORM statement

2. passing a large volume of data to the subroutine is done using pass-by-value

3. type conflicts must be avoided by ensuring that each of the formal parameter has a TYPE ANY addition

4. the subroutine definition FORM…ENDFORM can be nested

32. Function Module is a modularization technique, which of the following are TRUE?

1. function modules are subroutines that are stored centrally in the Function Library

2. disadvantages of a function module is that they are not reusable

3. function modules must have an interface to communicate with the main program

4. a function module can also call another function module.

Page 26: ABAP Certification Question Answers

33. The Function Module interface enables communication with the main program where it is called. Which of the following are TRUE for the interface? 

1. the Export parameters are always mandatory

2. it is preferable to pass internal tables as pass-by-value

3. exceptions can be raised using the classical method or by using class based exceptions

4. internal tables must have a table type as the associated type because the “tables” parameters are obsolete and hence should not be used

34. Function Modules are grouped logically into a function group. What are the characteristics of a function group? 

1. Function group is a program type, and follows a naming convention “SAPL*”

2. data can be declared in a function group that can be by the function modules within the group

3. function modules can be tested by execution the function group using F8

4. when a function module is called, the entire function group is loaded into the program memory

35. Mark the TRUE characteristics of a BAPI.

1. BAPI’s are remote enabled subroutines

2. Error messages have to be passed using RETURN (structure/internal table)

3. exceptions can be defined/raised/handled in a BAPI

4. BAPI’s cannot call dialogs/screens

36. TYPES: BEGIN OF T_EMP,

                          ID             TYPE I,                    NM(30)    TYPE C,

                    SL             TYPE P,

               END OF T_EMP.

For the above given example mark the statements that are true.      

1. the definition is a local structure which can be used within a program to store a record

2. the definition is syntactically wrong as the length specification is missing for the “SL” field

3. a structure can be declared using T_EMP (e.g.) DATA: S_EMP LIKE T_EMP.

4. an internal table can be declared using T_EMP.

(e.g.) DATA: I_EMP TYPE TABLE OF T_EMP.

Page 27: ABAP Certification Question Answers

37. Text-symbols are preferred over using literals while programming. Given the example below, choose the statements that are TRUE.

      (e.g.) WRITE: ‘Customer Id’(C01), ‘Customer Name’(C02).

                WRITE: text-t01, text-t02.

1. C01 & C02 are text symbols

2. the first line will output the contents of a text symbol if they are available/active else will output the literals

3. the second line contains selection texts that are used for the elements in a selection screen

4. text symbols enables translations so that program execution is not specific to a country/language

38. Internal tables are used to handle large volume of data in a program. If such a data object needs to be declared in your program, what characteristics do have to consider?

1. is mandatory to define the table with a header line

2. it is optional to specify the line type for the internal table

3. if the table kind is not specified then the table by default becomes a standard table

4. if the initial size is not specified then records cant be inserted in the internal table

5. when key is not specified then, all the non-numeric fields of the table become part of the key

39. What will be output by the following code?

            DATA: itab type table of I with header line.            itab = 1. APPEND itab.

            itab = 2. APPEND itab.

            REFRESH itab.

            WRITE: / itab.

1. 1

2. 2

3. Blank

Page 28: ABAP Certification Question Answers

4. 0

40. Two internal tables can be considered to be compatible if:

1. they have the same line type

2. they have the same key definitions

3. row types, key definitions and table types are same

4. their field names are identical

41. Between Standard/Sorted/Hashed tables, which of these statements hold TRUE?

5. Standard/Sorted tables are indexed tables

6. Hashed table can be used for large volume of records as the access time is always constant

7. sy-tabix gives the loop count of the standard/sorted/hashed tables

8. the READ TABLE <itab> WITH TABLE KEY…..addition uses a linear search when used for an sorted table, hence must be avoided

42. Which of the following syntax forms do not have an ENDSELECT?

1. Select * from db_table…..into itab…..

2. Select * from db_table…..into table itab…..

3. Select Single * from db_table…..

4. Select * from db_table up to 1 rows…..

43. The following code indicates:

      SELECT fld1 fld2 FROM db_tab1 UP TO 10 ROWS APPENDING TABLE itab.

      SELECT fld1 fld2 FROM db_tab1 UP TO 10 ROWS INTO TABLE itab.

 

1. the first statement adds 10 rows to the end itab if it already has data in it

2. the total number of records in itab after the execution of both the statements will be 20

3. endselect is missing in the syntax

4. statement is not applicable for a hashed table

44. In regard to a subquery, which of the following is a true statement?

1.   SELECT SINGLE may be used.2.   UPDATE may not use a subquery.

3.   Allows you to program a second SELECT as part of the WHERE clause.

Page 29: ABAP Certification Question Answers

4.   The outer SELECT is processed first.

45. Mark the TRUE statements with respect to Authorization.

1. authorization is automatically done for every program and does not require additional coding from the developers part

2. can be done only in the AT SELECTION_SCREEN event and its other forms

3. syntax is “Call Function ‘Authority-Check…”

4. user is informed about his authorization after validation the return code of the “Authority-Check” statement.

46. The keyword that enables users to enter a range of values during runtime are:

1.   Data2.   Ranges

3.   Parameters

4.   Select-options

47. Which of the following is TRUE for the Select-Option variable?

1. is an internal table in the background

2. the fields of the internal table are sign/option/high/low

3. the high field can be suppressed using the addition “NO_EXTENSION”

4. when the “OBLIGATORY” addition is used then both the LOW and HIGH field have to be supplied with user input

48. Which of the following is TRUE for the PARAMETERS?

1. accepts a range of values form the user

2. can be used to define checkbox or radio button and also push buttons if needed

3. a group of parameter fields can be modified if the “GROUP ID” is used

4. can be set with initial values by using the “VALUE” addition

49. Which is a PBO event

1. LOAD-OF-PROGRAM

2. AT-SELECTION SCREEN OUTPUT

3. INITIALIZATION

4. START-OF-SELECTION

50. The output for the following code will be

Report zrepo .

Page 30: ABAP Certification Question Answers

Data: char_field type c.

char_field = ‘ABAP_DATA’.

WRITE char_field.

CLEAR char_field.

1. ABAP_DATA.

2. A

3. Syntax error.

4. Blank

51. The following program outputs:

report zjgtest1 

write: /1 'Ready_'. 

PARAMETER: test. 

INITIALIZATION. write: /1 'Set_'. 

START-OF-SELECTION. write: /1 'GO!!'.

1. Set_ GO!! (each on its own line)

2. Set_ Ready_ GO!! (all on their own lines)

3. Ready_ GO!! (each on its own line)

4. Ready_ Set_ GO!! (all on their own lines).

52. Mark the statements that are TRUE for selection screens

1. dynamic changes to the screen fields can be done in the AT SELECTION-SCREEN event2. all screen elements can be displayed on the same line using “BEGIN OF BLOCK”3. all elements on the selection screen are stored in the SCREEN table

4. the user can have only one selection screen per program

SAP ABAP (C_TAW12_70)Dumps Part 2(Answers Only)ANSWERS:

Page 31: ABAP Certification Question Answers

 1).  A 2). B,D

 3). B,C

 4). A,D

 5). A,C

 6). B

 7). A,B,D

 8). B

 9). B

10). A

11). B,D

12). B,C

13). B,C,D

14). A,D

15). A,C,D

16). A,D

17). C

18). B19). A,D20). A,C,D21). A,B,C,D22). A,D23). B,D24). A,C25). B,D26). C,D27). A28). A,B,C,D 29). A30). B,D

Page 32: ABAP Certification Question Answers

31). A32). A,B,C33). C,D34). A,C,D

35). B,C

36). D

37). A,B,D

38). C,E

39). B

40). C

41). A,B42). B,C

43). A,D44). A,C

45). B,D

46). D

47). A,B

48). All are wrong.

49). B

50). B

51). C52). C

Topic(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.

Page 33: ABAP Certification Question Answers

B) Abap Webdynpro application.C) Abap Module Pool.

2) You have written an ABAP executable program that displays the flight connections between two cities foryour 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.

3) 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.

4) 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.

5) 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.

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. 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'function code 'SAV' to this button. In the PAI module.

7) 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.

8) 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.

9) 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-

Page 34: ABAP Certification Question Answers

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.

10) You analyze an executable ABAP program. In the event block AT SELECTION-SCREEN 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.

11) 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.

12) 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'.

 13) 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 thedata 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.

14) 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.

15) 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.

Topic (2)- UNICODE:

Page 35: ABAP Certification Question Answers

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.

Topic(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 morethan one correct answer to this question.A) Create Your Own Handler Class.

Page 36: ABAP Certification Question Answers

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.

Topic(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 frontend).

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.

Page 37: ABAP Certification Question Answers

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.

 Topic(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.

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. 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.

Page 38: ABAP Certification Question Answers

b) You define an append search help for the SAP collective search help, include the simple search help B and setthe hidden flag.

3) For a database table zdepartment you should define the text table zdepartmentt in the ABAP dictionar ywhere the names of the departments are stored. How would you design the table zdepartmentt so that it is thetext 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 CARRIDvalues 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). Theprimary 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.

Topic(7)- ENHANCEMENT & MODIFICATION:

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

Page 39: ABAP Certification Question Answers

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 enhancementsb) Screen enhancementsc) 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 questionA) 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.

Page 40: ABAP Certification Question Answers

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 changed) 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 tothis question.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? 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 t1d) TYPES t2 TYPE t1.

Page 41: ABAP Certification Question Answers

 5) At which of the following places is made use of types? There is more than one correct answer to this question.a) Data objectsb) Selection screen parametersd) Subroutine parametersg) Function module parametersh) 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_strTYPE 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.

Topic(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

Page 42: ABAP Certification Question Answers

b) DELETEd) READ TABLEe) 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 <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.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

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. 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.

Page 43: ABAP Certification Question Answers

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 questionA) 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 questiona) Type groupsc) Types for internal tables (table type)d) Domainse) 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 changein order to change the F1-help on the dynpro? Please choose the correct answerB) 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.

Page 44: ABAP Certification Question Answers

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.

Topic(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 Painterd) Function Builder1f) Class Builderg) 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.

Page 45: ABAP Certification Question Answers

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 questiona) 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.

Topic(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 ControllerB) Optional Custom ControllersC) View ControllersD) 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.

Page 46: ABAP Certification Question Answers

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 answerC) 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) ViewsB) ControllersD) WindowsE) Interfaces

 6) What is the responsibility of a view within a Web Dynpro component? There is more than one correct answer to this questionA) 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. 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.

Page 47: ABAP Certification Question Answers

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 questionA) 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. Which technique is a basic requirement for polymorphism? Please choose the correct answer.A) Up-CastB) 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

Page 48: ABAP Certification Question Answers

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 answerC) 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 questionB) 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.

Page 49: ABAP Certification Question Answers

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 correctanswer to this question.b) B is friend of Ac) C is friend of B

Page 50: ABAP Certification Question Answers

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

Topic(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

Page 51: ABAP Certification Question Answers

C) Use C LL FUNCTION IN UPD TE T SK in each appropriate and COMMIT WORK in the last dialog stepd) 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 questionA) Use An Inner Join.B) Use A Left Outer Join.