You are on page 1of 29

Back to Learn SAP ABAP CERTIFICATION QUESTIONS

Certification duration: 3 hours Number of certification questions: 80 Required certificates for participation in this certification test: None Courses for certification preparation: TAW10 (ABAP Workbench Fundamentals); TAW12 (ABAP Workbench Concepts) . Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system). The certification test Development Consultant SAP NetWeaver 2004 Application Development Focus ABAP verifies the knowledge in the area of the SAP NetWeaver for the consultant profile Application Development Focus ABAP. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects. The certification test consists of questions from the areas specified below: Topic Areas 1. SAP Technologies (+) SAP systems (mySAP Business Suite and SAP NetWeaver) Technical structure of an SAP Web Application Server 2. ABAP Workbench Basics (++) Data types and data objects (declaration) Internal tables Data retrieval (authorization check) Subroutines Function groups and function modules Program calls and memory management

3. Advanced ABAP (++) ABAP runtime Data types and data objects (usage) Open SQL (high-performance programming) Dynamic programming.

4. ABAP Objects (++) Classes and objects Inheritance Polymorphism (casting) Interfaces Events Global classes and interfaces Exception handling Shared objects

5. ABAP Dictionary (++) Database tables Performance for table accesses Consistency by means of input check (foreign key dependency) Dependency for ABAP Dictionary objects Views Search helps 6. List Creation Techniques (++) Data output in lists Selection screen Logical database Interactive lists List creation with the ALV grid control: - Simple lists Field catalog - Layout - Event handling

7. Dialog Programming (++) Screen (basics) Program interface (GUI title, GUI status) Screen elements for output (text fields, status icons, and group boxes) Screen elements for input/output Subscreen and tabstrip control Table control

Context menu Lists in dialog programming

8. Database Changes (+) Database updates with open SQL LUWs and client/server architecture SAP locking concept Organize database changes Complex LUW processing Number assignment Change document creation

9. Enhancements and Modifications (+) Changes to the standard SAP system Personalization Enhancements to ABAP Dictionary elements Enhancements via customer exits Business Transaction Events Business Add-Ins Modifications Amount of questions by topic (as percentage of test): + = 1 - 10%++ = 11 20%+++ = over 20%

TIPS The minimum score reqd is 70% in all subjects i.e you've to concentrate on each subject. Because on avg your % should be min 70%. There is no -ve markings. There will be qts with more than 1 right answer. If you won't answer all the right questions then you won't get full mark. Certification for SAP Solution Consultants SAP Consultant Certification - SAP NetWeaver

https://websmp205.sap-ag.de/~sapidp/011000358700002412512003#ddev Some Certification Questions:

Language Constructs
1. When using Open SQL statements in an ABAP/4 program, you must ensure the following. a) The database system being addressed must be supported by SAP. b) The database tables being addressed must be defined in the ABAP/4 dictionary. c) Both d) None What is the difference between the TYPE and LIKE statements in data declaration?

2.

a) LIKE is used to define variables that are similar to the ones previously defined whereas TYPE is used to define variables that exist in data dictionary. b) LIKE is used to define variables that are similar to the ones previously defined whereas TYPE is used to define variables to refer ABAP internal data elements. c) LIKE is used to define variables that exist in data dictionary whereas TYPE is used to

define variables to refer ABAP internal data elements. d) 3. a) b) c) d) 4. Both of them can be used interchangeably, there is no difference. HIDE statement support deep structures? True False Not applicable Not applicable Which of the following are true? a) ABAP queries are created by associating them to a logical database or through a direct read/data retrieval program. b) ABAP queries are created from functional areas that are created from a logical database or through a direct read/retrieval program. c) ABAP queries are created from user groups attached to the functional areas that are created from a logical database or through a direct read/retrieval program. d) ABAP queries are created through the regular report program. A logical unit of work (LUW or transaction) begins a) Each time you start a transaction. b) Each time you end a transaction. c) When the database changes of the previous LUW have been confirmed (database commit). d) Before the database changes of the previous LUW have been cancelled (database rollback). A database commit is triggered by a) ABAP/4 command COMMIT WORK. b) CALL SCREEN, CALL DIALOG. c) A Remote Function Call d) CALL TRANSACTION Open SQL vs. Native SQL a) A database interface translates SAPs Open SQL statements into SQL commands specific to the database in use. Native SQL statements access the database directly. b) When you use Native SQL, the addressed database tables do not have to be known to the ABAP/4 dictionary. In Open SQL, the addressed database tables must be defined in the ABAP/4 dictionary. c) There is automatic client handling in Native SQL whereas clients must always be specified in Open SQL. d) None of above The following are true about EXEC SQL. a) You can end the Native SQL with a semicolon. b) You can end the Native SQL with a period. c) You cannot perform reliable authorization checks using EXEC SQL. d) Host variables in the Native SQL are identified with a preceding hash (#). What are field symbols?

5.

6.

7.

8.

9.

a)

Field symbols are like pointers in C that can point to any data object in ABAP/4 and to structures defined in ABAP/4 dictionary. b) Field symbols have to be created with type specifications only. c) You cannot assign one field symbol to another. d) All operations you have programmed with the field symbol are carried out with the assigned field. 10. EXTRACT statement a) The first EXTRACT statement extracts the first extract record. b) The first EXTRACT statement creates the extract dataset and adds the first extract record. c) Each extract record contains, if specified, the fields of the field group. d) Each extract record contains, if specified, the fields of the field symbol. 11. You cannot assign a local data object defined in a subroutine or function module to a field group. a) True b) False c) Not applicable d) Not applicable

12. Which of the following system fields keep track of each pass in LOOP statement? a) SY-STEPL b) c) d) SY-INDEX SY-TABIX B and C both

13. data: begin of group1, f1 type I value 1, f2 type I value 1, f3 type c value '1', f4 type I value 1, end of group1. Data: begin of group2, g1 type I value 1, f1 type I value 1, f2 type I value 1, g4 type c value '1', end of group2. Do 2 times. Add-corresponding group1 to group2. Enddo. Write: group2-g1, group2-f1, group2-f2, group2-g4.

What is the output of the above code after execution? a) 1221 b) 2222 c) 3333 d) 1331 14. Which one of the following SQL statements does NOT lock the affected database entries ? a) insert b) modify c) select single for update d) select * 15. Which one of the following is an example of an asynchronous update? a) insert wa into ztable. b) call function 'update_table' in update task. c) update ztable from ztable. d) modify ztable from wa.

16. REPORT ZTEST. TABLES: MARC. DATA: ZWERKS LIKE MARC-WERKS. Which one of the following contains the length definition of ZWERKS? a) b) c) d) The DATA statement The Data Element used in MARC-WERKS Table MARC The Domain used in Data Element of MARC-WERKS

17. 1. Data: Begin of imara occurs 0. 2. Include structure mara. 3. Data: End of imara. 4 Data: number like mara-matnr value 123. 5. Select * into table imara 6. From mara where matnr = number. 7. If sy-subrc = 0. 8. Write:/ imara. 9. Endif. 10. Endselect. Which line in the above code contains a syntax error? a) Line 5

b) c) d)

Line 6 Line 8 Line 10

18. data: f1 type I value 1, f2 type I value 1. Write: / f1, f2. Do 2 times. Perform scope. Enddo. Write: / f1, f2. Form scope. Data: f1 type I value 2, f2 type I value 2. Add: 1 to f1, 1 to f2. Write: / f1, f2. Endform. What is the output of this program after execution? a) 1 1 33 44 44 b) 11 22 33 33 11 33 33 11 11 33 33 33

c)

d)

19. data: begin of period, f1 type I value 5, f2 type I value 5, f3 type I value 5, f4 type I value 5, f5 type I value 2, end of period.

Data: amt type I, total type I. do 5 times varying amt from period-f1 next period-f2. if sy-index <= 4. add amt to total. endif. enddo. Write: / 'Amt:',amt, 'Total', total. What is the output of the above code after execution? a) Amt: 2 Total: 22 b) Amt: 2 Total: 20 c) Amt: 5 Total: 20 d) Amt: 5 Total: 10 20. data: field1(4) type c value 'ABCD'. if field1 co 'ABCD'. endif. If the above statement is evaluated as true, what is the value of sy-fdpos? a) 0 b) D c) ABCD d) A 21. 1 case number. 2 when 1. Write '1'. 3 when 2. Write '2'. 4 when 3. Write: / '3'. 5 when number > 5. Write '>5'. 6 endcase. Which line in the above code contains a syntax error? a) b) c) d) Line 2 Line 4 Line 5 Line 6

22. Which of the following are elementary types in ABAP? a) C,D,F,I,N,P,Q,T b) C,D,F,I,N,P,T,X c) A,D,F,H,N,P,T,X d) A,D,F,I,N,P,T,X

Tables
23. Which of the following are true? a) TABLE is used as a synonym for STANDARD TABLE b) You can only access a hashed table using the generic key operations. Explicit or implicit index operations (such as LOOP ... FROM oe INSERT itab within a LOOP) are not allowed. c) All hashed tables are index tables. d) We have to define the hash procedure explicitly for HASHED TABLE. 24. Can a transparent table exist in data dictionary but not in the database physically? a) True b) False c) Not Applicable d) Not Applicable 25. Which statement is used to get the number of lines in an internal table? a) b) c) d) DESCRIBE table LINES LINE All of the above

26. If CHECK statement is outside the loop structure and if the condition fails? a) Subsequent statements in the current processing blocks are executed b) Subsequent statements in the current processing blocks are not executed c) Program gets terminated d) There is an error message 27. SORT statement can sort a) External as well as internal table b) c) d) Database tables Internal Tables B and C

28. Join statements can be used with Cluster tables? a) b) c) True False Not Applicable

d)

Not Applicable

29. It is always faster to use the Into Table version of a Select statement than to use Append statements? a) True b) False c) Not Applicable d) Not Applicable 30. From the performance point of view, if you want to process the data only once, which of the following will you use? a) Selecting the data into an internal table and then LOOP through internal table. b) c) d) Do the processing in SELECT..END SELECT Select the records in the loop and then process each individually Each of the above will be equally efficient

31. Two internal tables are equal if a) Internal tables cannot be compared for equality b) It has same number of lines c) Each pair of corresponding lines is equal d) A and B both 32. Which of the following will happen if you write DELETE itab statement in your program? a) All entries of Internal table will be deleted b) c) d) Only the header line will be deleted The row corresponding to header line will be deleted from the internal table The program will give syntax error.

33. Which of the following statements is/are syntactically correct? a) b) PERFORM sub1 TABLES itab CHANGING var1. PERFORM sub1 CHANGING var1 TABLES itab . Both of the above None of the above

c) d)

34. Which of the following will happen if you write DELETE itab statement? a) All entries of Internal table will be deleted

b) c) d)

Only the header line will be deleted The row corresponding to header line will be deleted from the internal table The program will give syntax error.

35. Transparent table ztable consists of field1 and field2. Internal Table Itab has structure like ztable. Which one of the following is the fastest way to fill an internal table given the information above? a) select * into corresponding-fields of itab from ztable where field1 = '10'. b) select field1 field2 into (itab-field1, itab-field2) from ztable where field1 = '10'. Append itab. Endselect. c) select * into table itab from ztable where field1 = '10'. d) select * from ztable where field1 = '10'. Move ztable to wa. Append itab from wa. Endselect. 36. data: begin of itab occurs 0, num1 type I, num2 type I, num3 type I, mark, end of itab. Itab entries: 123D 234 345D 456D 789d 789D Delete from itab where mark eq 'D'. Given the ITAB entries, what are the contents of ITAB after executing the above code? a) 2 3 4 345D 456D 789d 789D b) 123D 234 345D 456D 789d

c) d)

234 789d 234

37. Which of the following statements define internal tables with a header line?

a)

Data: Begin of itab occurs 0, field1, End of itab. Data: Itab1 like itab occurs 0. Data: Itab1 type itab occurs 0. Data: Begin of itab1 occurs 0. Include structure itab. Data: End of itab1.

b) c) d)

38. DATA: BEGIN OF ICODE OCCURS 0, FIELD1(5), FIELD2(5), END OF ICODE. The internal table icode contains the following entries: Field1 Field2 ------- -----John 12345 Alice 23478 Sam 54321 john 50000 READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH. Why does executing the above code return a sy-subrc of 4? a) The internal table has an incorrect structure. b) Icode-field2 must be a numeric field. c) Both internal table fields must be used in the search. d) The internal table must be sorted first. 39. Which of the following are true? a) COLLECT can only be used with STANDARD TABLE. b) To use COLLECT, the internal table should be derived from a database table with an explicit key. c) If the system finds a numeric component, that is not part of the key, the numeric fields that are not part of the table key (see ABAP number types) are added to the sum total of the existing entries. If it does not find an entry, control passes on to the next record in the internal table. d) If the system finds a numeric component, that is not part of the key, the numeric fields

that are not part of the table key (see ABAP number types) are added to the sum total of the existing entries. If it does not find an entry, the system creates a new entry instead. 40. data: begin of itab occurs 0, field1, end of itab. Do 3 times. Append initial line to itab. Append 'X' to itab. Enddo. Describe table itab. Write: sy-tfill. What is the value of sy-tfill after executing the above code? a) 1 b) 2 c) 3 d) 6 41. Loop at itab. Write itab. Endloop. From where is the written line derived in the above loop statement? a) b) c) d) The table header The table work area sy-index sy-lisel

42. DATA TEXT(72). DATA CODE LIKE TABLE OF TEXT. TEXT = 'This is the first line.'. APPEND TEXT TO CODE. TEXT = 'This is the second line. '. APPEND TEXT TO CODE. TEXT = 'This is the third line.'. APPEND TEXT TO CODE. WRITE 'not' TO CODE+8 INDEX 3.

WRITE 'modified line.' to code+12 INDEX 2. LOOP AT CODE INTO TEXT. WRITE / TEXT. ENDLOOP. What is the result of the above code after execution? a) This is the first line. This is the modified line. This is not the third line. b) This is the first line. This is the modified line. This is not third line. This is the first line. This is the modified second line. This is not third line. This is the first line. This is the second line. This is the third line.

c)

d)

ABAP/4 Data Dictionary


43. Can you create a table with fields not referring to data elements? a) Yes b) No c) Not Applicable d) Not Applicable 44. Which transaction code is used for deleting entire table contents? a) SE17 b) SE30 c) SE14 d) SE09

45. Which of the following are true? a) Pooled tables can be used to store control data like screen sequences, program parameters etc. b) Several cluster tables are stored in one corresponding table on the database. c) Both d) None

46. Which database object is used for storing the system variables? a) b) c) d) SYST table SYST structure SYSTEM table SYSTEM structure

47. What makes a text table? a) The type of foreign key field defined must be No Key/Candidates b) The key of the text table consists of the key of the check table plus an additional language key c) Cardinality must be defined as 1:1 d) The table has to be client independent 48. a) b) c) d) From the list below which is not a data class in the Dictionary? Master Data Organizational Data Project Data System Data

49. a) b) c) d)

Identify the case where table buffering is set to off. When the most current data is required When the most current data is not required Small static tables i.e. tables do not change much b and c

50. When using SAP Buffering on database tables, which statement does NOT result in database access? a) select distinct.. b) select single.. c) using (Is null) in the where clause d) using aggregate functions in the select clause 51. A structured type in the ABAP dictionary that has no physical table definition in the underlying database is referred to as : a) Table b) Table Type c) Structured Type d) Structure 52. a) b) c) d) 53. a) b) c) d) When are Dictionary changes made available to a program? Immdiately provided object is activated Next time user logs on Next time program is regenerated After Database is re-organized Which of the following do not exist in the underlying database? Transparent Table Structure View Internal tables

54. a) b) c) d)

Full buffering would be appropriate for what type of tables: Small static tables Transaction Tables Tables with generic keys b and c

55. You have added an append structure to a standard SAP table. What happens to the standard table when a new version of table is imported during an SAP version upgrade: a) The standard table is returned to standard. Therefore, the append structure must be manually re-applied b) The append fields are automatically appended to the table upon activation but you must still convert the table c) All append structures are deleted. A new append structure must be created and added to the standard table d) When the standard tables are activated, the append structure is automatically added to the standard table 56. a) b) c) d) Which of the following are TRUE for SQL trace utility (tcode ST05) in SAP SQL trace utility traces database access for a specific program SQL trace utility traces database access for all transactions by a specific user SQL trace result shows details of queries on database tables SQL trace result can show details of queries on internal tables

57. A table ztest has the following secondary index: tnum, tcode. Select * from ztest where tnum ne '123' and tcode = '456'. Why does a SQL trace confirm that the secondary index is NOT used in the code above? a) Client is not in the where clause b) NE invalidates the use of an index c) Variables must be used, NOT literals d) Indexes are not allowed on Z tables

Batch Data Communication


58. How do you create a batch input session for a transaction? a) We create a bdc and use call transaction in background mode. b) We create a bdc and use call transaction in error mode. c) We create a bdc and use bdc_insert for the transaction. d) None of the above. 59. What is the alternative to batch input session? a) Load module b) Call transaction c) BAPI d) Idoc segment

60. Which SAP table stores the BDC session queue information? a) APQD b) APQL c) APQQ d) APQI 61. Which program can be used to release BDC sessions within a job? a) RSBDCSUB b) RSBDCJOB c) RSSUBBDC d) BDCRECXX

62. Which one of the following is output to the job log when included in an ABAP program running in the background? a) Write statements b) message statements c) report parameters d) Submit statements

63. Your program specs call for you to read the first 10 records from a text file (fname1), and write them out to another text file (fname2). Which block of code will accomplish the result desired in the above scenario? a) Open dataset fname2 for input in text mode. Do 10 times. Read dataset fname1 into hold_var. Transfer hold_var to fname2. Enddo. b) open file fname1 for output. Open file fname2 for input. Read dataset fname1 into hold_var 10 times. Transfer hold_var to fname2. open file fname1 for input. Open file fname2 for output. Do 10 times. Read file fname1 into hold_var. Transfer hold_var into fname2. Enddo. open dataset fname1 for input in text mode. Open dataset fname2 for output in text mode. Do 10 times. Read fname1 into hold_var. Write hold_var to fname2. Enddo.

c)

d)

64. sy-dynpro is a) screen no b) program c) table d) field name 65. Which of the following are NOT correct usage of BDC_cursor? a) To position the cursor on a particular field. <bdc_tab>-FNAM = 'BDC_CURSOR'. <bdc_tab>-FVAL = fieldx . b) To position the cursor on a particular field. <bdc_tab>-FNAM = fieldx <bdc_tab>-FVAL = 'BDC_CURSOR'. . c) d) For fifth row of Table control <bdc_tab>-FVAL = 'fieldx(5)'. For fifth row of Table control <bdc_tab>-FNAM = 'BDC_CURSOR(5) '.

66. In case of background processing of a BI session, which authorization is checked? a) Developer of the program that schedules BI Session b) User who executes the BI session c) User who executes the program that schedules BI Session d) User ID that is passed to the BDC_OPN_GROUP function module inside the calling program 67. Which of the following are TRUE about Transaction Recorder? a) Transaction Code is SHDB b) Transaction Code is SM35 c) It can generate ABAP code for the BDC program automatically d) It can generate ABAP code for the Call Transaction program automatically

SAP Script
68. The following are true about SAPscript control commands. a) If a control command is unknown or it contains syntax errors, the line containing it will be printed out as it is. b) If a control command is unknown or it contains syntax errors, the line containing it will be treated as a comment line. c) A maximum of one control command may appear in each line. d) A maximum of six control commands may appear in each line. 69. To output SAPscript layout sets, in the print program a) You must always start the output with OPEN_FORM and end it with CLOSE_FORM. b) Within one transaction, you can use only one OPEN_FORM and CLOSE_FORM to open and close a layout set. c) WRITE_FORM should be used within an OPEN_FORM and CLOSE_FORM. d) WRITE_FORM can be used without an OPEN_FORM and CLOSE_FORM.

70. Which transaction do we use for debugging SAP Script? a) SE61 b) SE72 c) SE71 d) None of the above.

SAP Enhancements
71. The transaction cmod and smod are a) Used to create enhancements to standard SAP programs. b) Used to create enhancements to ABAP queries. c) Used to create the user exits, menu exits and screen exits. d) Used to modify the standard function groups.

Interfaces and Queries


72. What happens if we write COMMIT WORK is written within SELECT..END SELECT. a) All the transactions will be committed. b) The first transaction is committed and the program exits the loop. c) Program will create a short dump d) A runtime error will occur. 73. How many function modules can be present in a function group? a) b) c) d) 30 49 99 There is no such limit

74. Can you call a subroutine of one program from another program, which is not an include program? a) True b) False c) Not Applicable d) Not Applicable 75. Which of the following statements is TRUE? a) The ABAP statement IMPORT ... TO MEMORY overwrites the old data in ABAP memory. b) The ABAP statement EXPORT ... TO MEMORY appends to the already existing data in ABAP memory.

c)

The ABAP statement EXPORT ... TO MEMORY overwrites the old data in ABAP memory. d) The ABAP statement IMPORT ... TO MEMORY appends to the already existing data in ABAP memory. 76. SAP Memory and ABAP/4 memory refer to the same memory space? a) True b) False c) Not Applicable d) Not Applicable

77. Which statement is INCORRECT when referring to SAP memory or ABAP memory? a) b) c) d) SAP memory is also referred to as Global Memory. SAP memory is available across transactions. IMPORT/EXPORT (TO MEMORY) statements are used for SAP memory. You can use ABAP memory to pass data between internal sessions.

78. Which one of the following are true about a function module? a) Function modules CANNOT be created by a programmer. b) Function modules are locally accessible objects. c) Function modules use a memory area separate from calling program. d) Function modules have inbound and outbound parameters.

IDOC
79. An IDOC structure is composed of a) One substructure, substructure consists of several fields b) Several segments, each segments has several data elements c) Several substructures, each one made up of several data fields d) Several segments, each segment consists of several data fields 80. Read the 2 statements below and pick the right answer choice A. Archived files can be analyzed without reloading the file B. An archived IDOC can be reloaded and then archived a) A & B are true b) Only B c) Only A d) Both are false

_______________________________________________________________________ 81. The transaction for archiving IDOCs is a) WARC b) WEAR c) SARA d) SARC _______________________________________________________________________ 82. An IDOC contains data for 3 purchase orders (type ORDERS01, with 1 mandatory segment, 11 other segments which are permitted to be multiple). Read the following statements which could describe the content of the idoc, and pick the right combination: A. It will have 3 control records B. It will have 1 control record C. It will have a minimum of 3 data records D. It will have a minimum of 1 data record E. It will have a minimum of 48 data records F. It will have at least 1 status record G. It will have at least 3 status records a) A, C, F b) B, C, F c) B, C, G d) A, E, G 83. Which of the following statements is true? A. An IDoc type can have many messages types associated with it. B. An IDoc can have many messages associated with it. C. A message type can be associated with many IDoc types. a) A and C b) A and B c) Only A d) All the statements 84. Pick the right answer A. An idoc type is dependent on the direction of data flow (inbound/outbound). B. The control record has a field DOCTYP which indicates whether the IDOC is of the type inbound or outbound a) Only A is true b) Only B is true c) A and B are true d) Neither A nor B are true

85. The control record field which determines the direction of the IDoc can have values e) X and (space) f) 1 and 2, The meaning of the values is C. X inbound, space outbound D. X outbound, space inbound E. 1 inbound, 2 outbound F. 1 outbound, 2 inbound

Pick the right combinations of statements, which are true a) A, C b) A, D c) B, E d) B, F 86. The area menu from which EDI tools can be accessed is a) WALE b) WEDI c) SALE d) SEDI 87. The transactions for documentation on IDOC structures are a) WE60 to WE64 b) SA60 to SA64 c) WE80 to WE84 d) SA20 to SA24

Report Programming
88. How do you check whether a report is submitted in background? a) The system variable, sy-batch is set to X. b) The system variable, sy-binpt is set to X. c) The system variable, sy-calld is set to X. d) Not applicable 89. Which transaction code is used executing a report (type 1 program)? a) b) c) d) SE38 SA38 SM38 All of the above

90. When is the TOP-OF-PAGE event triggered? a) After executing first write statement in start-of-selection event. b) At every new page in the report output c) After the REPORT statement d) A and B 91. Which of the following additions for SELECT-OPTIONS would disable the ranges on selection screen? a) NO-RANGES

b) c) d)

NO INTERVALS NO RANGES NO-INTERVALS

92. What is the structure for the following select-options? Select-options: zname like ztablename. a) zname-sign zname-value zname-low zname-high b) zname -sign zname-option zname-low zname-high zname -include zname-pattern zname-range zname-sign zname-option zname-low

c)

d)

93. Following properties are given: y Must use mara-matnr's conversion exit y Is a required field y Appears as 100 on the selection screen y Check for a valid mara-matnr Which one of the following is the correct way to define a selection-screen parameter (n) with the above properties? a) parameters: n type I default '100'. b) parameters: n like mara-matnr default 100 obligatory. At selection-screen on n. Select single * from mara where matnr = n. If sy-subrc ne 0. Message e000(00) with 'Incorrect number'. Endif. c) parameters: n like mara-matnr default 100 obligatory. d) parameters: n type I default 100 required. At selection-screen on n. Select single * from mara where matnr = n. If sy-subrc ne 0. Message e000 with 'Incorrect number'. Endif. 94. Report specs call for a selection screen with 1 parameter inside a frame. Which code block will accomplish this?

a)

Selection-screen begin of frame b1 with frame title t-001. Parameters: p1 like ztable-field1. Selection-screen end of frame b1. Selection-screen begin-of-frame b1 with frame title t-001. Parameters: p1 like ztable-field1. Selection-screen end-of-frame b1. Selection-screen begin-of-block b1 with frame title t-001. Parameters: p1 like ztable-field1. Selection-screen end-of-block b1. Selection-screen begin of block b1 with frame title t-001. Parameters: p1 like ztable-field1. Selection-screen end of block b1.

b)

c)

d)

95. Which return code is associated with a failed authority check due to lack of user authorization for the chosen action? a) 0 b) 4 c) 8 d) 12 96. You are required to create a selection screen with 1 input parameter: A date range which defaults to the last 1 week (today-7,today) Which is the correct block of code for the above request? a) select-options: s_date type date. Initialization. Move: sy-datum to s_date-high, sy-datum - 7 to s_date-low. Append s_date. b) select-options: s_date for sy-datum. Initialization. Move: sy-datum - 7 to s_date-low, sy-datum to s_date-high. Append s_date. c) d) select-options: s_date type d default sy-datum - 7, sy-datum. select-options: s_date for sy-datum default sy-week,

97. Which one of the following statements is a valid use of the write command? a) write text(3)(4). b) write text(3)4. c) write text+(3)(4). d) write text+3(4). 98. When using an edit mask, which one of the following fields will be output with a leading sign? a) field1 using edit mask '**_LLV'

b) c) d)

field1 using edit mask 'RR__,_' field1 using edit mask 'LL__,_' field1 using edit mask 'V__'

99. For the events in Classical Reports : 1. Initialisation 2. At Selection Screen 3. Start Of Selection ( Get & Get Late in case of Logical Database ) 4. End of Selection 5. Top of Page 6. End of Page sequence of calling is : a) 1,2,3,4, 5, 6 b) 2,1, 3,4, 5, 6 c) 1,2, 5, 6, 3,4 d) 2,1, 5, 6, 3,4 100. The sequence of events in Interactive Reports is 1. At Line Selection 2. At User Command 3. At PFKEY 4. Get Cursor 5. Read a) b) c) d) 1,2,3,4, 5 1,2,3,5, 4, 1, 2, 4, 5, 3 1, 3, 5, 4, 2

101.

What is max no of lists u can attach to basic list?(interactive report) a) 22 b) 20 c) 18 d) 1

General
102. If a break-point statement is written in an ABAP program and the program is run in the background mode, which of the following is true. a) Break-point statement will be ignored and program will complete the execution. b) System generates a Sys log message c) Program will create a short dump d) None of the above

103. When a program is created and transported the selections texts are always transported along with the program. a) True b) False c) Not Applicable d) Not Applicable

104.

Programs and reports are client dependent. a) True b) False c) Not Applicable d) Not Applicable

105. a) b) c) d) 106. a) b) c) d) 107.

Which transaction code is used for creating a background job? SM37 SM35 SM36 SM38 Can variants be transported across systems? Yes No Not Applicable Not Applicable Are variants client dependent? a) Yes b) No c) Not Applicable d) Not Applicable

108. a) b) c) d) 109. a) b)

What are the functions in the editor command line? F1 F4 F3 F8 What does the transaction code /i1 do? Shifts to the first session of the user This terminates the first session of the user

c) d) 110.

Terminates the current session of the user No transaction with this code exists. Which transaction code is used for deleting the user lock on tables? a) SE12 b) SE11 c) SM12 d) SM11 What transaction is used to create background jobs? a) SM30 b) SM35 c) SM36 d) SM37 Which one of the following transaction types is INVALID? a) Area b) Modal c) Variant d) Report Which one of the following statements are TRUE? a) After a TRANSPORT REQUEST is released, no further changes to its' objects are allowed. b) Development classes can be viewed by using transaction SE80. c) Local objects CANNOT be transported to another instance. . d) A TRANSPORT REQUEST contains objects that can be transported to Quality or Production SAP instances.

111.

112.

113.

114.

Which one of the following statements are FALSE about Inactive objects in SAP? a) Development Objects are always saved as inactive versions. b) An inactive version of a Development Object is written to developers pc c) In DISPLAY mode, other users can NOT access the code of inactive version of a developer d) Generating a runtime object is same as activating a development object.

Dialog Programming
115. Program specs call for screen 100 to appear in a modal dialog box. Process After Input. module do_something. module do_something. If field1 = 'X'. Call screen '0100'. Endif.

Endmodule. Why does the above code fail to produce a modal box? a) The code must occur in the PBO. b) The screen is of the wrong type. c) The screen should be numbered 900. d) Screens are not called within modules.

116. Which one of the following statements would occur in the PBO of a dialog program using table control? a) module user_command. b) set screen '0100'. c) loop at itab. d) loop at itab with control itab_tc.

Answers (Please Verify the answers) 1. c 2. b,c 3. b 4. c 5. a,d 6. a,b,c,d 7. a,b 8. a,c 9. a,d 10. b,c 11. a 12. c 13. c 14. d 15. b 16. d 17. d 18. c 19. b 20. a 21. d 22. b 23. a,b 24. b

25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77.

a b c b a b d c b c c c a,d d d d a b a c a,b b b c a b d a b,d a d b,c b c b d a b d a b,d d a,b,c b,c a,c c a,c d c a c b d

78. c,d 79. d 80. c 81. c 82. b 83. a 84. d 85. d 86. b 87. a 88. a 89. a,b 90. d 91. d 92. b 93. b 94. d 95. b 96. b 97. d 98. d 99. a 100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116.

a b a,b a b c a b a,b b c c b b,c,d b,d d d

Back to Learn SAP

You might also like