Sie sind auf Seite 1von 13

1. When using Open SQL statements in an ABAP/4 program, you must ensure the foll owing.

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 a and b d) None Ans. c ____________________________________________________________________________ 2. Which of the following statements are correct? a) A database interface translates SAP s Open SQL statements into SQL commands spe cific 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 know n to the ABAP/4 dictionary. In Open SQL, the addressed database tables must be d efined in the ABAP/4 dictionary. c) There is automatic client handling in Native SQL whereas clients must always be specified in Open SQL. Ans. a,b ____________________________________________________________________________ 3. 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 LOO P) are not allowed. c) All hashed tables are index tables. d) We have to define the hash procedure explicitly for HASHED TABLE. Ans. a, b ____________________________________________________________________________ 4. Can a transparent table exist in data dictionary but not in the database phys ically? a) True b) False Ans. b _____________________________________________________________________________ 5. Can you create a table with fields not referring to data elements? a) Yes b) No Ans. a _____________________________________________________________________________ 6. How do you create a batch input session for a transaction? a) Call transaction in background mode. b) Call transaction in error mode. c) Bdc_insert for the transaction. d) None of the above. Ans. c ____________________________________________________________________________ 7. What is the alternative to batch input session? a) Load module b) Call transaction c) BAPI d) Idoc segment Ans. b ____________________________________________________________________________

8. 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 (#). Ans. a, c ____________________________________________________________________________ 9. The following are true about database locking. a) Database systems set physical locks on all lines affected by a database call. b) Read locks prevent the setting of further read locks for the objects in quest ion. c) Read locks prevent other transactions from setting write locks for the object s in question. d) Write locks allow other transactions to set read locks for the objects in que stion. Ans. a, c ____________________________________________________________________________ 10. What are field symbols? a) Field symbols are like pointers in C that can point to any data object in ABA P/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. Ans. a, d ____________________________________________________________________________ 11. 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 ex tract 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. Ans. b, c ____________________________________________________________________________ 12. You cannot assign a local data object defined in a subroutine or function mo dule to a field group. a) True b) False Ans. a ____________________________________________________________________________ 13. 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 wi th an explicit key. c) If the system finds a numeric component, that is not part of the key, the num eric 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 num eric 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 sys tem creates a new entry instead. Ans. d _________________________________________________________________________

14. 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 logica l database or through a direct read/retrieval program. c) ABAP queries are created from user groups attached to the functional areas th at are created from a logical database or through a direct read/retrieval progra m. d) ABAP queries are created through the regular report program. Ans. c ____________________________________________________________________________ 15. 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 c ommit). d) Before the database changes of the previous LUW have been cancelled (database rollback). Ans. a, d. ____________________________________________________________________________ 16. 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 Ans. a, b, c, d ____________________________________________________________________________ 17. The following are true about SAPscript control commands. a) If a control command is unknown or it contains syntax errors, the line contai ning it will be printed out as it is. b) If a control command is unknown or it contains syntax errors, the line contai ning 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. Ans. b, c ____________________________________________________________________________ 18. 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. Ans. a, c ____________________________________________________________________________ 19. 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. Ans. a, c ____________________________________________________________________________ 20. Which of the following are tools to report data in ABAP? e) ALV f) ALE

g) LSMW h) SmartForms Ans: a ____________________________________________________________________________ 21. ABAP Query tool is used to: a) Enquire about a running-program status b) Automatically generate code for reporting c) Perform database operations for user-written programs d) None of the above Ans: b. ____________________________________________________________________________ 22. In ABAP Query tool... e) Each user can be assigned to several f) Each user can be assigned to several g) Each functional area can be assigned h) One user can be assigned only to one user-groups functional areas to several user-groups user-group.

Ans: a, b, c ____________________________________________________________________________ 23. Logical databases must be used to create an ABAP Query a) True b) False Ans: b ____________________________________________________________________________ 24. In a BDC program, how would you handle errored records? Would you a) Rerun the program b) Report the errored records c) Generate a batch-input session with errored records d) Create an output file, to be run again after corrections Ans: b, c, d ____________________________________________________________________________ 25. What are IDocs? a) Documentation of executable programs b) Documents used for data-transport between SAP and non-SAP s/w. c) Documents used for data-transport between two different SAP systems d) Documents used for one-time data-migration activities. Ans: b, c ____________________________________________________________________________ 26. For transportation of data from a presentation server into SAP, the function module used is a) UPLOAD b) WS_UPLOAD c) FILE_UPLOAD d) DATA_UPLOAD Ans: a, b ____________________________________________________________________________ 27. For one-time high volume data-uploads into SAP from non-reliable systems, th

e following are generally used: a) BDC b) LSMW c) Direct table update d) Idocs Ans: a, b ____________________________________________________________________________ 28. In an ABAP program, the INITIALIZATION event is invoked a) Before the AT-SELECTION-SCREEN event b) After the AT-SELECTION-SCREEN event c) Could be either way d) Cannot be predicted Ans: a ____________________________________________________________________________ 29. The statement to check whether an internal table itab_test has no records, i s: IF itab_test is initial. a) TRUE b) FALSE Ans: b. ____________________________________________________________________________ 30. The statement used to clear all the contents of an internal table is: a) CLEAR itab. b) REFRESH itab. c) FREE itab. d) DELETE itab. Ans: b, c ____________________________________________________________________________ 31. The AT-SELECTION-SCREEN event is triggered when a) ENTER key is hit on the selection-screen b) F8 key is hit on the selection-screen c) Any field on selection-screen is populated d) F4 key is hit on the selection-screen Ans: a, b ____________________________________________________________________________ 32. What is the transaction-code for viewing batch-runs of a program? a) SE37 b) SM37 c) SM35 d) SM30 Ans: b ____________________________________________________________________________ 33. SY-BATCH can be used to determine whether a program is being run in batch-mo de, within the AT-SELECTION-SCREEN event. a) TRUE b) FALSE Ans: b

____________________________________________________________________________ 34. The following statements will clear the header-line of an internal table: a) DELETE ITAB. b) FREE ITAB. c) REFRESH ITAB. d) CLEAR ITAB. Ans: d ____________________________________________________________________________ 35. The SAP Logon password is always case-insensitive. a) TRUE b) FALSE Ans: b 36. Data: BEGIN OF ITAB OCCURS 0, FIELD1(10), FIELD2(10), END OF ITAB. DO 20 TIMES. ITAB-FIELD1 = Field1 ITAB-FIELD2 = Field2 ENDDO. a) The internal table b) The internal table c) The internal table d) Unpredictable. . . has 20 entries. has one entry. has no entry.

Ans: c ____________________________________________________________________________ 37. READ TABLE ITAB_TEST WITH KEY VBELN = k_vbeln. If multiple records in table ITAB satisfy the condition, then a) All records are fetched b) The last record is fetched c) The first record is fetched d) Compilation error Ans: c ____________________________________________________________________________ 38. If ITAB has 1000 entries, and DBTAB is a large table, which is better in ter ms of performance? i) LOOP AT ITAB. SELECT * INTO ITAB_2 FROM DBTAB WHERE KEY1 = ITAB-KEY1. APPEND ITAB_2. ENDSELECT. ENDLOOP. ii) LOOP AT ITAB. SELECT * INTO TABLE ITAB_2 FROM DBTAB WHERE KEY1 = ITAB-KEY1. ENDLOOP. iii) SELECT * INTO TABLE ITAB_2 FROM DBTAB FOR ALL ENTRIES IN ITAB WHERE KEY1 = ITAB-KEY1.

a) b) c) d)

(i) is better than (ii), and (ii) is better than (iii). (ii) is better than (iii), and (iii) is better than (i). (iii) is better than (i) and (i) is better than (ii). (iii) is better than (ii) and (ii) is better than (i).

Ans: d ____________________________________________________________________________ 39. DATA: BEGIN OF ITAB OCCURS 0, Fld1 (1), Fld2 (1), Fld3 (1), END OF ITAB. ITAB has 5 records The code segment: LOOP AT ITAB. AT NEW fld3. WRITE fld3. ENDAT. ENDLOOP. Produces the output: a) 1 2 2 2 3 b) 1 2 3 c) 1 1 2 2 2 d) 1 1 1 2 2 Ans: a ____________________________________________________________________________ 40. TYPES: BEGIN OF TYPE1, FLD1, FLD2, FLD3, END OF TYPE1. DATA: ITAB1 TYPE STANDARD TABLE OF TYPE1. ITAB1-FLD1 = a . ITAB1-FLD2 = b . ITAB1-FLD3 = c . APPEND ITAB1. a) b) c) d) The table has one record, with values (a, b, c ). The table has no records. Compilation error due to method of declaration of type. Compilation error due to method of declaration of table. [ (1,1,1), (1,1,2), (1,2, 2), (2,2,2), (2,2,3) ].

Ans: d ____________________________________________________________________________ 41. The fastest way to read a value in an internal table is to: a) Specify key, and do a binary search b) Specify the table-keys c) Directly specify the index value d) Use a work-area with same structure as the internal table. Ans: c ____________________________________________________________________________

42. If COLLECT is used on an internal table, which has a non-key character field , a) The first record s value is used in the collected version. b) The last record s value is used in the collected version. c) Compilation error d) Cannot be predicted Ans: c ____________________________________________________________________________ 43. Which is a) SORT ITAB b) SORT ITAB c) SORT ITAB d) SORT ITAB the correct syntax for sorting an internal table? USING key1 key2. BY key1 key2. WITH key1 key2. key1 key2.

Ans: b ____________________________________________________________________________ 44. If we need to fetch all database entries corresponding to a given key, X records at a time, the syntax to be used is: a) SELECT PACKET SIZE X . b) SELECT PACKAGE SIZE X c) SELECT UPTO X RECORDS . d) This facility is not available in ABAP. Ans: b ____________________________________________________________________________ 45. LOOP AT ITAB_DTL_1. COLLECT ITAB_DTL_1 INTO ITAB_FINAL. ENDLOOP. If the tables contain character fields, which table should be declared with the keys Explicitly specified? a) ITAB_DTL_1 b) ITAB_FINAL c) Either one will do. d) Neither needs a key to be specified Ans: b ____________________________________________________________________________ 46. The syntax a) CONCATENATE b) CONCATENATE c) CONCATENATE d) None of the to concatenate a set of values into one variable is: source1, source2 INTO target. source1 source2 INTO target. source1 and source2 INTO target. above.

Ans: b ____________________________________________________________________________ 47. On the selection-screen, if, while using SELECT-OPTIONS, we specify NO INTER VALS, we can guarantee that the user will not be able to enter a range of values. a) TRUE b) FALSE Ans: b

____________________________________________________________________________ 48. ABAP programmers can create their own data types? a) YES b) NO Ans: a ____________________________________________________________________________ 49. MOVE can be used to copy: a) One field s contents to another field b) One structure s contents to another compatible structure c) One table s contents to another compatible table d) A part of one field to another field Ans: a, b, c, d ____________________________________________________________________________ 50. PERFORM ROUTINE1 USING val1. .. FORM ROUTINE1 USING temp1. Temp1 = 10. ENDFORM. Is the value of val1 changed? a) YES b) NO Ans. a ____________________________________________________________________________ 51. Within an IF-ENDIF block, a) ELSE must be used b) ELSEIF must be used c) If ELSEIF is used, ELSE must be used d) None of the above Ans: d ____________________________________________________________________________ 52. The user-list in a given SAP client can be found using transaction a) STO4 b) SE04 c) SM04 d) None of the above Ans: c ____________________________________________________________________________ 53. The a) Find b) Find c) Find d) Give DESCRIBE statement on internal tables is used to: the number of lines currently in table initial size of the table type of the internal table the line size, in number of characters, of the table

Ans: a, b, c ____________________________________________________________________________ 54. Which of the following statements can work without a corresponding END-state ment?

a) b) c) d)

DO AT IF SELECT

Ans: d ____________________________________________________________________________ 55. In an ABAP program, we can specify a variable to be of HEXADECIMAL type. a) TRUE b) FALSE Ans: a ____________________________________________________________________________ 56. In an ABAP program, we can specify a variable to be of OCTAL type. a) TRUE b) FALSE Ans: b ____________________________________________________________________________ 57. The default length of a field of type time ( T ) in an ABAP program is: a) 6 b) 8 c) 14 d) 0 Ans: a ____________________________________________________________________________ 58. The various numeric types definable in an ABAP program are: a) I, F, P, N b) I, F, P c) I, F, N d) I, P, N Ans: b ____________________________________________________________________________ 59. Variables in an ABAP code can be defined as being similar to data-dictionary elements, using: a) LIKE b) FOR c) TYPE d) None of the above Ans: a, b, c ____________________________________________________________________________ 60. Constants and internal tables are defined using the keywords (respectively): a) CONSTANTS and TABLES b) DATA and DATA c) DATA and TABLES d) CONSTANTS and DATA Ans: a ____________________________________________________________________________ 61. There are 8 elementary data-types, and hence, 64 possible conversions. Of th

ese, a) Type D and T cannot be inter-converted b) None of the other types can be converted into D and T. c) D and T cannot be converted into any other type. d) Only C can convert into D/T and vice-versa. Ans: a ____________________________________________________________________________ 62. MOVE f1 TO f2 is equivalent to f2 = f1 a) TRUE b) FALSE Ans: a ____________________________________________________________________________ 63. If a structure does not contain internal tables as components, we can equate two structures of incompatible types. a) TRUE b) FALSE Ans: a ____________________________________________________________________________ 64. For an inequality check between two variables, the symbol used is: a) NE b) <> c) >< d) NEQ Ans: a, b, c ____________________________________________________________________________ 65. S1 = ABCAB . S2 = ABCD . IF S1 CN S2. WRITE a . ELSE. WRITE b . ENDIF. Output of above code is: a) a b) b c) Compilation error d) Blank Ans: b ____________________________________________________________________________ 66. The statement IF NUM IS BETWEEN 3 AND 7. Is a valid syntax? a) TRUE b) FALSE Ans: B ____________________________________________________________________________ 67. Is it possible to call a subroutine of one program from another program?

a) True b) False Ans: A ____________________________________________________________________________ 68. Can ABAP control statements be used within a sap script? a) YES b) NO Ans: a ____________________________________________________________________________ 69. The presentation server is actually the program named SAPGUI. a) True b) False Ans: a ____________________________________________________________________________ 70. When is Top-of-page event executed a) Triggered by a New-page statement b) When the First Write Statement of the program is encountered. c) Before outputting the first line on a new page. Ans: b, c ================================================================================ ========= 1. Purchase Requisition (ME51N) Material requirement are identified either by the user, department or via materi al planning and control. For example a MRP Run in production planning or materia l falling short of reorder-point can automatically generate Purchase Requisition . At the same time PR can be created manually in the system. 2. Source Determination - RFQ (ME41) Identify the possible source of supply based on the past order and existing long term purchase contract. Then create Request for Quotation, which can be then se nt electronically to vendors. 3. Vendor Selection and Comparision of Quotation (ME49) After receiving quotation system is capable to simulate pricing scenarios, allow ing user to compare number of quotations and sent rejection letter automarically . 4. Purchase Order (ME21N) Data from Quotation or Purchase Requisition can be adopted to create Purchase Or ders. Purchase Order is then sent to Vendor to supply the goods. 5. Purchase Order Follow ups ME91, ME91F, ME92F Reminder can be sent to vendors at predefined intervals.

6. Goods Receipts (MB01) Goods were received. 7. Invoice Verification (MIRO) Along with the goods vendor also submits Invoice, system verifies then invoice a gainst the quantity received and PO data. The account payable clerk is notified. Important Transactions in MM MM01 Material Creation Me51N Purchase Requisition Me41 Request for Quotation Me49 Comparision of Quotation Me21N Purchase Order Creation MIGO, MB01 Goods Receipt MIRO Invoice Verification MB1A Good Issue Tables in MM MARA MARC MAKT MARD MAST MBEW MKPF MSEG MVKE T023 T024 Material General Material Plant Data Material Description Material Storage Location Data Material BOM Link Material Valuation Material Document Header Mateial Document Line Item Mateial Sales Data Material Group Pruchase Organisation

EBAN Purchase Requisition EBKN Account Assignment Purchase Requisition EINA Purchasing Info Record - General Data EINE Purchase Info Record - Purchase Organisation Data EKKO EKPO EKKN EKBE EKET EKAB Purchase Order Header Data Purchase Order Line Item Data Account Assignment Purchase Order History Purchase Order Scheduling Agreement Purchase Order Release Documentation