Q&A

24
ABAP CERTIFICATION QUESTIONS 1. If a table does not have MANDT as part of the primary key, it is ____. A: A structure B: Invalid C: Client-independent D: Not mandatory 2. In regard to CALL, which of the following is NOT a valid statement? A: CALL FUNCTION B: CALL SCREEN C: CALL TRANSACTION D: CALL PROGRAM 3. Name the type of ABAP Dictionary table that has these characteristics: Same number of fields as the database table Same name as database table Maps 1:1 to database table A: Pooled B: Cluster C: Transparent D: View 3. An event starts with an event keyword and ends with: A: Program execution. B: END-OF-EVENT. C: Another event keyword. D: END-EVENT. 4. What is the system field for the current date? A: SY-DATUM B: SY-DATE C: SY-DATID D: SY-SDATE 6. The following code indicates: SELECT fld1 fld2 FROM tab1 APPENDING TABLE itab WHERE fld1 IN sfld1. A: Add rows to the existing rows of itab.

Transcript of Q&A

ABAP CERTIFICATION QUESTIONS

1. If a table does not have MANDT as part of the primary key, it is ____.

A: A structureB: InvalidC: Client-independentD: Not mandatory

2. In regard to CALL, which of the following is NOT a valid statement?

A: CALL FUNCTIONB: CALL SCREENC: CALL TRANSACTIOND: CALL PROGRAM

3. Name the type of ABAP Dictionary table that has these characteristics:Same number of fields as the database tableSame name as database tableMaps 1:1 to database table

A: PooledB: ClusterC: TransparentD: View

3. An event starts with an event keyword and ends with:

A: Program execution.B: END-OF-EVENT.C: Another event keyword.D: END-EVENT.

4. What is the system field for the current date?

A: SY-DATUMB: SY-DATEC: SY-DATIDD: SY-SDATE

6. The following code indicates:SELECT fld1 fld2 FROM tab1 APPENDING TABLE itabWHERE fld1 IN sfld1.

A: Add rows to the existing rows of itab.B: Add rows to itab after first deleting any existing rows of itab.C: Select rows from tab1 for matching itab entries.D: Nothing, this is a syntax error.

7. You may change the following data object as shown below so that it equals 3.14.CONSTANTS: PI type P decimals 2 value '3.1'.PI = '3.14'.

A: TrueB: False

8. The SAP service that ensures data integrity by handling locking is called:

A: UpdateB: DialogC: Enqueue/DequeueD: Spool

9. Which of these sentences most accurately describes the GET VBAK LATE. event?

A: This event is processed before the second time the GET VBAK event is processed.B: This event is processed after all occurrences of the GET VBAK event arecompleted.C: This event will only be processed after the user has selected a basic list row.D: This event is only processed if no records are selected from table VBAK.

10. Which of the following is not a true statement in regard to a hashed internaltable type?

A: Its key must always be UNIQUE.B: May only be accessed by its key.C: Response time for accessing a row depends on the number of entries in the table.D: Declared using internal table type HASHED TABLE.

11. TO include database-specific SQL statements within an ABAP program, codethem between:

A: NATIVE SQL_ENDNATIVE.B: DB SQL_ENDDB.C: SELECT_ENDSELECT.D: EXEC SQL_ENDEXEC.

12. To measure how long a block of code runs, use the ABAP statement:

A: GET TIME .B: SET TIME FIELD .C: GET RUN TIME FIELD .D: SET CURSOR FIELD .

13. When a secondary list is being processed, the data of the basic list is available bydefault.

A: TrueB: False

14. Given:DATA: BEGIN OF itab OCCURS 10,qty type I,END OF itab.

DO 25 TIMES. itab-qty = sy-index. APPEND itab. ENDDO.LOOP AT itab WHERE qty > 10.WRITE: /1 itab-qty.ENDLOOP.This will result in:

A: Output of only those itab rows with a qty field less than 10B: Output of the first 10 itab rows with a qty field greater than 10C: A syntax errorD: None of the above

15. After a DESCRIBE TABLE statement SY-TFILL will contain

A: The number of rows in the internal table.B: The current OCCURS value.C: Zero, if the table contains one or more rows.D: The length of the internal table row structure.

16. You may declare your own internal table type using the TYPES keyword.

A: TrueB: False

17. After adding rows to an internal table with COLLECT, you should avoid addingmore rows with APPEND.

A: TrueB: False

18. Which of the following is not a component of control break processing whenlooping at an internal table?

A: AT START OFB: AT FIRSTC: AT LASTD: AT NEW

19. A dictionary table is made available for use within an ABAP program via theTABLES statement.

A: TrueB: False

20. Which of the following would be best for hiding further selection criteria until afunction is chosen?

A: AT NEW SELECTION-SCREENB: SELECTION-SCREEN AT LINE-SELECTIONC: SUBMIT SELECTION-SCREEND: CALL SELECTION-SCREEN

21. What must you code in the flow logic to prevent a module from being called

unless a field contains a non-initial value (as determined by its data type)?

A: ON INPUTB: CHAINC: FIELDD: ON REQUEST

22. The AT USER-COMMAND event is triggered by functions defined in the ____.

A: screen painterB: ABAP reportC: menu painter statusD: ABAP Dictionary

23. In regard to a function group, which of the following is NOT a true statement?

A: Combines similar function modules.B: Shares global data with all its function modules.C: Exists within the ABAP workbench as an include program.D: Shares subroutines with all its function modules.

24. In regard to SET PF-STATUS, you can deactivate unwanted function codes byusing ____.

A: EXCLUDINGB: IMMEDIATELYC: WITHOUTD: HIDE

25. In regard to data transported in PAI when the FIELD statement is used, which ofthe following is NOT a true statement?

A: Fields in PBO are transported directly from PAI.B: Fields with identical names are transported to the ABAP side.C: Fields not defined in FIELD statements are transported first.D: Fields that are defined in FIELD statements are transported when theircorresponding module is called.

26. The order in which an event appears in the ABAP code determines when theevent is processed.

A: TrueB: False

27. A field declared as type T has the following internal representation:

A: SSMMHHB: HHMMSSC: MMHHSSD: HHSSMM

28. Which of the following is NOT a component of the default standard ABAP report

header?

A: Date and TimeB: List titleC: Page numberD: Underline

29. Assuming a pushbutton with function code 'FUNC' is available in the toolbar of alist report, what event is processed when the button is clicked?

A: AT USER-COMMAND.B: AT PFn.C: AT SELECTION-SCREEN.D: END-OF-SELECTION.

30. In regard to field selection, what option of the SELECT statement is required?

A: FOR ALL ENTRIESB: WHEREC: INTOD: MOVE-CORRESPONDING

31. The following program outputs what?report zjgtest1write: /1 'Ready_'.PARAMETER: test.INITIALIZATION.write: /1 'Set_'.START-OF-SELECTION.write: /1 'GO!!'.

A: Set_ GO!! (each on its own line)B: Set_ Ready_ GO!! (all on their own lines)C: Ready_ GO!! (each on its own line)D: Ready_ Set_ GO!! (all on their own lines)

32. To declare a selection criterion that does not appear on the selection screen, use:

A: NO-DISPLAYB: INVISIBLEC: MODIF IDD: OBLIGATORY

33. An internal table that is nested within another internal table should not contain aheader line.

A: TrueB: False

34. What is output by the following code?

DATA: BEGIN OF itab OCCURS 0, letter type c, END OF itab.itab-letter = 'A'. APPEND itab. itab-letter = 'B'. APPEND itab.

itab-letter = 'C'. APPEND itab. itab-letter = 'D'. APPEND itab.LOOP AT itab.SY-TABIX = 2.WRITE itab-letter.EXIT.ENDLOOP.

A: AB: A B C DC: BD: B C D

35. To select all database entries for a certain WHERE clause into an internal table inone step, use

A: SELECT_INTO TABLE itab_B: SELECT_INTO itab_C: SELECT_APPENDING itabD: SELECT_itab_

36. After a successful SELECT statement, what does SY-SUBRC equal?

A: 0B: 4C: 8D: Null

37. This selection screen syntax forces the user to input a value:

A: REQUIRED-ENTRYB: OBLIGATORYC: DEFAULTD: SELECTION-SCREEN EXCLUDE

38. If the following code results in a syntax error, the remedy is:DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1WITH HEADER LINE.itab-field1 = 'Company'. itab-field2 = '1234'. INSERT TABLE itab.itab-field1 = 'Bank'. itab-field2 = 'ABC'. INSERT TABLE itab.SORT itab.LOOP AT itab.write: /1 itab-field1, itab-field2.ENDLOOP.

A: There is no syntax error hereB: Remove the SORT statementC: Change INSERT to APPENDD: Add a WHERE clause to the loop

39. If this code results in an error, the remedy is:SELECT fld1 fld2 FROM tab1 WHERE fld3 = pfld3.WRITE: /1 tab1-fld1, tab1-fld2.ENDSELECT.

A: Add a SY-SUBRC check.B: Change the WHERE clause to use fld1 or fld2.C: Remove the /1 from the WRITE statement.D: Add INTO (tab1-fld1, tab1-fld2).

40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you mustinclude an index number.

A: TrueB: False

41. To allow the user to enter values on the screen for a list field, use:

A: OPEN LINE.B: SET CURSOR FIELD.C: WRITE fld AS INPUT FIELD.D: FORMAT INPUT ON.

42. Before a function module may be tested, it must first be:

A: LinkedB: AuthorizedC: ReleasedD: Active

43. To include a field on your screen that is not in the ABAP Dictionary, which includeprogram should contain the data declaration for the field?

A: PBO module include programB: TOP include programC: PAI module include programD: Subroutine include program

44. If a table contains many duplicate values for a field, minimize the number ofrecords returned by using this SELECT statement addition.

A: MINB: ORDER BYC: DISTINCTD: DELETE

45. The system internal table used for dynamic screen modification is named:

A: ITABB: SCREENC: MODTABD: SMOD

46. Within the source code of a function module, errors are handled via the keyword:

A: EXCEPTIONB: RAISE

C: STOPD: ABEND

47. Which system field contains the contents of a selected line?

A: SY-CUCOLB: SY-LILLIC: SY-CUROWD: SY-LISEL

48. The following statement writes what type of data object?WRITE: /1 'Total Amount:'.

A: Text literalB: Text variableC: In-code commentD: Text integer

49. For the code below, second_field is of what data type?DATA: first_field type P, second_field like first_field.

A: PB: CC: ND: D

50. Which of the following describes the internal representation of a type D dataobject?

A: DDMMYYYYB: YYYYDDMMC: MMDDYYYYD: YYYYMMDD

51. A BDC program is used for all of the following except:

A: Downloading data to a local fileB: Data interfaces between SAP and external systemsC: Initial data transferD: Entering a large amount of data

52. In regard to PERFORM, which of the following is NOT a true statement?

A: May be used within a subroutine.B: Requires actual parameters.C: Recursive calls are allowed in ABAP.D: Can call a subroutine in another program.

53. What is the transaction code for the ABAP Editor?

A: SE11B: SE38

C: SE36D: SE16

54. In regard to HIDE, which of the following is NOT a true statement?

A: Saves the contents of variables in relation to a list line's row number.B: The hidden variables must be output on a list line.C: The HIDE area is retrieved when using the READ LINE statement.D: The HIDE area is retrieved when an interactive event is triggered.

55. Database locks are sufficient in a multi-user environment.

A: TrueB: False

56. The complete technical definition of a table field is determined by the field's:

A: DomainB: Field nameC: Data typeD: Data element

57. In regard to LEAVE, which of the following is NOT a true statement?

A: May be used to return immediately to a calling program.B: May be used to stop the current loop pass and get the next.C: May be used to start a new transaction.D: May be used to go to the next screen.

58. The following code indicates:SELECT fld6 fld3 fld2 fld1 FROM tab1 INTO CORRESPONDING FIELDS OF TABLE itabWHERE fld3 = pfld3.

A: The order of the fields in itab does not matter.B: Fill the header line of itab, but not the body.C: Table itab can only contain fields also in table tab1.D: None of the above.

59. The ABAP statement below indicates that the program should continue with thenext line of code if the internal table itab:CHECK NOT itab[] IS INITIAL.

A: Contains no rowsB: Contains at least one rowC: Has a header lineD: Has an empty header line

60. What will be output by the following code?DATA: BEGIN OF itab OCCURS 0, fval type i, END OF itab.itab-fval = 1. APPEND itab.itab-fval = 2. APPEND itab.FREE itab.

WRITE: /1 itab-fval.

A: 2B: 0C: blankD: 1

61. To allow the user to enter a range of values on a selection screen, use the ABAPkeyword:

A: DATA.B: RANGES.C: PARAMETERS.D: SELECT-OPTIONS.

62. If an internal table is declared without a header line, what else must you declareto work with the table's rows?

A: Another internal table with a header line.B: A work area with the same structure as the internal table.C: An internal table type using the TYPES statement.D: A PARAMETER.

63. Assuming an internal table contains 2000 entries, how many entries will it haveafter the following line of code is executed?DELETE itab FROM 1500 TO 1700.

A: This is a syntax error.B: 1801C: 1800D: 1799

64. To remove lines from a database table, use ____.

A: UPDATEB: MODIFYC: ERASED: DELETE

65. All of the following may be performed using SET CURSOR except:

A: Move the cursor to a specific field on a list.B: Move the cursor to a specific list line.C: Move the cursor to a specific pushbutton, activating that function.D: Move the cursor to a specific row and column on a list.

66. When is it optional to pass an actual parameter to a required formal parameter ofa function module?

A: The actual parameter is type C.B: The formal parameter contains a default value.C: The formal parameter's \"Reference\" attribute is turned on.D: It is never optional.

67. Coding two INITIALIZATION events will cause a syntax error.

A: TrueB: False

68. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a goodmethod for improving performance.

A: TrueB: False

69. To save information on a list line for use after the line is selected, use thiskeyword.

A: APPENDB: EXPORTC: WRITED: HIDE

70. To bypass automatic field input checks, include this in PAI.

A: AT EXIT-COMMANDB: ON INPUTC: ON REQUESTD: LEAVE TO SCREEN 0.

71. Within a function module's source code, if the MESSAGE_RAISING statement isexecuted, all of the following system fields are filled automatically except:

A: SY-MSGTYB: SY-MSGNOC: SY-MSGV1D: SY-MSGWA

72. The following code indicates:REPORT ZLISTTST.START-OF-SELECTION.WRITE: text-001.FORMAT HOTSPOT ON.WRITE: text-002.FORMAT HOTSPOT OFF.AT LINE-SELECTION.WRITE / text-003.

A: Text-002 may not be selected.B: The value of text-002 is stored in a special memory area.C: Text-002 may be clicked once to trigger the output of text-003.D: None of the above.

73. The ____ type of ABAP Dictionary view consists of one or more transparenttables and may be accessed by an ABAP program using Open SQL.

A: Database viewB: Projection viewC: Help viewD: Entity view

74. A concrete field is associated with a field-symbol via ABAP keyword

A: MOVEB: WRITEC: ASSIGND: VALUE

75. The output for the following code will be:report zabaprg.DATA: char_field type C.char_field = 'ABAP data'.WRITE char_field.

A: ABAP dataB: AC: Nothing, there is a syntax errorD: None of the above

76. Page footers are coded in the event:

A: TOP-OF-PAGE.B: END-OF-SELECTION.C: NEW-PAGE.D: END-OF-PAGE.

77. The event AT SELECTION-SCREEN OUTPUT. occurs before the selection screen isdisplayed and is the best event for assigning default values to selection criteria.

A: TrueB: False

78. The TABLES statement declares a data object.

A: TrueB: False

79. Assuming tab1-fld7 is not a key field, how can you prevent reading all the tablerows?SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6)WHERE fld7 = pfld7.WRITE: /1 fld4, fld5, fld6.ENDSELECT.

A: Take fld7 out of the WHERE clause.B: Create an index in the ABAP Dictionary for tab1-fld7.C: Use INTO TABLE instead of just INTO.D: Take the WRITE statement out of the SELECT_ENDSELECT.

80. Which of the following is NOT a required attribute when creating an ABAPprogram?

A: ApplicationB: TitleC: StatusD: Type

81. When creating a transparent table in the ABAP Dictionary, which stepautomatically creates the table in the underlying database?

A: Adding technical settings to the tableB: Checking the table syntaxC: Saving the tableD: Activating the table

82. Within the ABAP program attributes, Type = 1 represents:

A: INCLUDE programB: Online programC: Module poolD: Function groupE: Subroutine pool

83. If this code results in an error, the remedy is:SELECT fld1 SUM( fld1 ) FROM tab1 INTO_

A: Remove the spaces from SUM( fld1 ).B: Move SUM( fld1 ) before fld1.C: Add GROUP BY f1.D: Change to SUM( DISTINCT f1 ).

84. Which keyword adds rows to an internal table while accumulating numericvalues?

A: INSERTB: APPENDC: COLLECTD: GROUP

85. Assuming itab has a header line, what will be output by the following code?READ TABLE itab INDEX 3 TRANSPORTING field1.WRITE: /1 itab-field1, itab-field2.

A: The contents of the third row's itab-field1.B: The contents of the third row's itab-field1 and itab-field2.C: The contents of the third row's itab-field2.D: Nothing.

86. The following code indicates:SELECTION-SCREEN BEGIN OF BLOCK B1.

PARAMETERS: myparam(10) type C,Myparam2(10) type N,SELECTION-SCREEN END OF BLOCK.

A: Draw a box around myparam and myparam2 on the selection screen.B: Allow myparam and myparam2 to be ready for input during an error dialog.C: Do not display myparam and myparam2 on the selection screen.D: Display myparam and myparam2 only if both fields have default values.

87. Which statement will sort the data of an internal table with fields FRUIT, QTY, andPRICE so that it appears as follows?FRUIT QTY PRICEApples 12 22.50Apples 9 18.25Oranges 15 17.35Bananas 20 10.20Bananas 15 6.89Bananas 5 2.75

A: SORT itab DESCENDING BY QTY PRICE.B: SORT itab BY PRICE FRUIT.C: SORT itab.D: SORT itab BY PRICE DESCENDING.

88. Which keyword adds a line anywhere within an internal table?

A: APPENDB: MODIFYC: ADDD: INSERT

89. To read a single line of an internal table, use the following:

A: LOOP AT itab. _ ENDLOOP.B: READ itab.C: SELECT SINGLE * FROM itab.D: READ TABLE itab.

90. Which Open SQL statement should not be used with cluster databases?

A: UPDATEB: MODIFYC: DELETED: INSERT

91. To include a field on your screen that is not in the ABAP Dictionary, which includeprogram should contain the data declaration for the field?

A: PBO module include programB: TOP include programC: PAI module include programD: Subroutine include program

92. This flow logic statement is used to make multiple fields open for input after anerror or warning message.

A: GROUPB: FIELD-GROUPC: CHAIND: LOOP AT SCREEN

93. Given:PERFORM subroutine USING var.The var field is known as what type of parameter?

A: FormalB: ActualC: StaticD: Value

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 reflect for all place.

A. Domain

B.  Data element

C.  Change all table field

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

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

B. Read table it_tab into wa_tab index <i>.

C. Move-corrosponding 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

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 concern it believes in Central instance, So 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 little 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.2

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

A. WORK Process

B. DATA BASE interface

C. ABAP interprter

D. None of the above

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 a option !!!!!!!! )

C. SY-TABIX

D. None of thee above

SO ……Easy Right ??? Answer is C.: SY-TABIX

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

A. True

B. False

Anser is : A. True

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 answer is clear it is B.

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

A. Model.

B. Component container

C. Window

D. View

Answer is : D.

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

A. HTML GUI

B. JAVA based GUI

C. Windows GUI

D. Web GUI

Hmm….Theory wins :: Answer 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

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 theory question but what can be done: 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 14th Feb 2010 !!!!!!! )

Report test_date.

Write : / sy-datum.

A. 2010-02-14

B. 20100214

C. 14-02-2010

D. 02-14-2010

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

Answers are : B,C.

18. you want to declare a variable which can be used out side 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.

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.

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 it’s 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.

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

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

Answer is B.

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

A. Client dependent

B. Client in-dependent

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

D. Database View.

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

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

B. 4

C. 8

D. 12

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

Without sorteing it will lead to incorrect result.

So 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 Error message whenever user give plant 567.what can be most appropriate way to

achieve this?

A. Screen EXIT

B. Function module EXIT

C. Field EXIT

D. USER EXIT

Answer is: C.

25. Which all statements are true for BADI.?

(There are 3 correct answers)

A. You can use filter to choose the implementation you want to call.

B. BADI cannot have multiple implementations.

C. BADI can be reusable.

D. BADI can be filter dependent.

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.

Answers are: A, B.

Ok…..Now i don’t remember any more questions ,Any way its not my fault, once a person gets 90% its

become very difficult to spend time on remembering and writing the questions of exam than

partying!!!!!!!