Upload
tys-barnard
View
215
Download
0
Embed Size (px)
Citation preview
7/30/2019 ABAP-Internal-Test.doc
1/13
Internal Examination
ABAP
Test
Complete Workbench and ABAP Concepts23 March 2009
Name: Creator:
Tys BarnardDate : Assessor:
Tys Barnard
80 Questions
Marks: 80
Time: 150 min/80
7/30/2019 ABAP-Internal-Test.doc
2/13
80 Q : 80 Marks.Note that more than 1 answer can be correct in some of the
Questions.
1. What can you use BAPIs for
a. To request data from a SAP systemb. To access Business processes in a SAP System
c. To transfer screen images to third party applications
d. To retrieve local data from a application
2. How would you identify a chained ABAP statement
a. With a Colon
b. With a Semi-Colon
c. With quotation marks.
3. Which of the following are incomplete ABAP standard types
a. C
b. I
c. F
d. P
e. N
4. Which Dialog message types DONT exist
a. i Info Message
b. x short dump
c. b - broadcasting
d. a Termination
e. sy subrc
5. What elements can you set when creating a Function Module
a. Import Parameters
b. Using
c. Exceptions
d. Scope
6. Which field inside a table holds the client-id
a. Clientid
b. Mandt
c. Logon
d. Spfli
7. In which system field will you find the number of records read
a. SY-SUBRCb. SY-TABIX
7/30/2019 ABAP-Internal-Test.doc
3/13
c. SY-DBCNT
d. SY-INDEC
8. Which join will return only matching values
a. Left Outer Joinb. Right Outer Join
c. Inner Join
d. Full Outer Join
9. What is the transaction code for the ABAP Editor
a. Se37
b. Se80
c. Se38
d. Se81
10. You can have more than 1 statements in a single line
a. TRUE
b. FALSE
11. Will the following statement be syntactically correct
Call Function Z_TAW10_POWER
Exporting iv_base = inum1
iv_power = inum2
Importing ev_result = answer.a. Yes
b. No
12. Which Data Types can be created in the Dictionary
a. Data Element
b. Internal Tables
c. Structures
d. Views
13. Which Transaction is used for NON-Application specific Repository
searches
a. Se81
b. Se83
c. Se84
d. BAPI
7/30/2019 ABAP-Internal-Test.doc
4/13
14. Which refer to globally accessed types
a. DATA
b. TYPES
c. PERFORM
d. CAL FUNCTION
15. In the following, what will the value of num2 be
DATA: num1 TYPE i VALUE 17,
num2 LIKE num1.
a. 17
b. No value
c. An open space
d. 0
16. Which Clause in an SQL statement defines the columns to be
selected.
a. SELECT
b. FROM
c. WHERE
d. INTO CORRESPONDING FIELDS OF TABLE
17. Among the most frequently used enhancement concepts in ABAP,you find customer
exits. Which of the following statements about customer exits arecorrect?
a. If a customer exit is not implemented, the program offering thiscustomer exit will dump (terminate abnormally) at runtime.
b. Within one SAP System, a customer exit can have a maximum ofone implementation
c. Within one client of an SAP system, a customer exit can havemultiple implementations
d. Once a customer exit has been implemented in an SAP system,the implementation can be changed, but it cannot be deactivatedany more
18. What are the tasks of the dispatcher.a. distributing transaction loadb. performing program syntax checksc. assigning users to work processesd. organizing communication
19. What is true about viewsa. Views can be buffered
7/30/2019 ABAP-Internal-Test.doc
5/13
b. A view is automatically created on the database upon activationc. Maintenance Views are not updateabled. A view contains data
20.Where would the Cancel Button typically be located.
a. Application Toolbarb. Standard Toolbarc. Menu Bard. Title Bar
21. Mark the invalid program text element.a. Text Symbolsb. Parameter Textsc. Selection Textsd. Titles/Headers
22. What happens when an EXIT Statement is executed in the AT eventa. The remainder of the current processing block is executedb. The program endsc. The output list is displayedd. The system leaves the processing block and branches to the
processing block of the next event.
23. What method of Class CL_GUI_ALV_GRID would be used to displaythe contents of an internal table
a. REFRESH_TABLE_DISPLAY
b. SET_TABLE_FOR_FIRST_DISPLAYc. SET_TABLE_FOR_DISPLAYd. CONSTRUCTOR
24. What field is not mandatory when creating a transaction.a. Transaction Textb. Programc. Authorization Objectsd. Screen Number
25. What methods could be used to specify the next screen to be
displayed.a. Loop at Screenb. Set Screenc. Use the next option on the screen attributesd. Submit Screen
26. What type of requests are used to transport repository objectsa. Customizingb. Object Browserc. Repositoryd. Workbench
7/30/2019 ABAP-Internal-Test.doc
6/13
27. What are the differences between Parameters and Select-Options ina selection screen
a. Select-options create a single field, Parameters create multiplefields
b. Select-options use the FOR statement, Parameters use the Type
statementc. Parameters use the FOR statement, Select-Options use the Type
statementd. Parameters create a single field, Select-options create multiple
fields
28. What class is used to display the ALV Grid Controla. cl_gui_custom_gridb. cl_gui_alvc. cl_gui_custom_containerd. cl_gui_alv_grid
29. Elementary dictionary types are also referred to as:a. Data Elementsb. Global Fieldsc. Domainsd. Record Structures
30.What system variable is reset at the exit of a loop of an internal table. i.e.Loop at itab. ... Endloop.
a. SY-BDCNTb. SY-INDEXc. SY-LOOPd. SY-TABIX
31. What table fields are required as lock arguments in a lock objecta. The Primary Key Fieldsb. The Primary and Secondary Key Fieldsc. The Foreign Key Dependenciesd. Any Key Field
32. Defining a Lock Object as Exclusive would specify what kind oflockinga. Prevents a single user with read-write access from attaining
further locks to the same set of table rows. This is useful whenyou are using recursive routines to make updates.
b. Gives a single user read and write access to the specified tablerows. No other users may access the rows
c. allows multiple users to access the specified table rows, but withread-access only. No write-accesses are allowed at any time.
33. Pick the syntax for a functional method with only 1 parameter
a. refvar->method(im = p1)b. refvar->method returning()
7/30/2019 ABAP-Internal-Test.doc
7/13
c. refvar->method receiving()d. refvar->method(p1)
34. When is garbage collection invoked ?a. When objects can no longer be addressed from main memory
b. After event handlers methods are registeredc. When the objects are explicitly deletedd. When there are no more references pointing to an object
35. What menu options are available on all screensa. Statusb. Helpc. Optionsd. Systeme. Tools
36. What function is provided by JCO (SAP Java Connector)a. Connect Java to SAPb. Connects External applications to J2EE serverc. Enables communication between ABAP and JAVA stackd. Enables multiple JAVA instances in a single SAP system
37. Where does information come from when you press F1 on a screenfield
a. Data Element Documentationb. Search Help
c. Domain Help Valuesd. Domain Short Text
38. Which of the following does not physically exist in the underlyingdatabase.
a. Viewb. Structure
c. Transparent Tabled. Internal Table
39. Identify the method that provides possible values.a. Help Queryb. Search Helpc. Database Viewd. Transparent Table
40. Which object would you interrogate to determine the length of a
field on a screen.a. Dictionary
7/30/2019 ABAP-Internal-Test.doc
8/13
b. Data Elementc. Domaind. Value Tablee. Repository
41. Which Report Statement option determines the width of a lista. Line-Sizeb. Report Sizec. Line-Widthd. Line-Count
42. Where in a program would you create the objects for ALV controla. In the Load-of-program eventb. At the Start-of-Selection eventc. In the PAI moduled. In the PBO module
43. What must be assigned to a module pool in order for it to beexecuted
a. Eventb. Modulec. Transactiond. Program Type
44. What is true about subscreens.a. Have their own OK_CODE
b. Can set their own Titlebarc. Can set their own GUI Statusd. Multiple subscreens are possible in a single screen.e. You can also specify the subscreens dynamically at runtime.
45.CALL TRANSACTION has been issued in an ABAP. What code in the calledtransaction will return to the point of call .
a. Stop Programb. Leave Programc. Exitd. Leave to Transaction
46. What program type can be run directlya. Interface Poolb. Executablec. Runnabled. Module Pool
47. How would you determine the program name currently beingexecuted
a. Look in the dictionaryb. F4c. Use the menu option System>Statusd. F9
7/30/2019 ABAP-Internal-Test.doc
9/13
48. When catching errors using the CATCHENDCATCH statement,where does the runtime error return code get placed
a. Error classb. Sy-fdpos
c. System-exceptionsd. Sy-subrc
49. Which statements would conclude a SAP LUW.a. ROLLBACK WORKb. COMMIT WORKc. CALL Transactiond. MESSAGE S101
50. What interface protocol is RFC based on?a. LU6.2b. SNAc. TCP/IPd. CPI-C
51. How many servers are there in a 3 tier R/3 systema. 3 for each tierb. Only 3c. 1d. At least 3
52. Web Application Server provides multiple runtime environments for
programming languages. Please mark the ones that are included aspart of Netweaver.
a. HTTPb. J2EEc. XMLd. ABAPe. C/C++
53. What screen object is needed by a tabstripa. Pushbuttonb. Subscreen area
c. Boxd. Screen
54. Where should the CANCEL (Red X) button on the standard toolbartake the user
a. To where the transaction was called fromb. To the previous screenc. To the cancel aread. To the initial screen of the transaction
55. What would happen if you were to enter /o in the command fielda. An overview of all the open sessions would appear
7/30/2019 ABAP-Internal-Test.doc
10/13
b. A transaction will open in a new sessionc. The current open session will be closedd. Nothing
56. What code is required in order to return immediately to the calling
screena. Set Screen 0. Leave Screenb. Set Screen 0.c. Leave to Screen 0.d. Leave Program
57. How are Customizing Includes created.a. Customizing Transactionsb. ABAP Workbenchc. In the ABAP Dictionaryd. Project Enhancement
58. What tasks could be performed in SAP Service Marketplacea. Registering changes to SAP objectb. Registering developers
c. Registering Customer objects for local developmentd. Registering changes to customer objects
59. What are the requirements of reading a hashed internal tablea. Use the TABLE KEY optionb. Sort the table by key firstc. Specify the indexd. Specify the full KEYe. Use UNIQUE KEY option
60. Which item is considered a Work Process of the Netweaver Stack
Worka. Gatewayb. Databasec. OTFd. Dequeuee. Enqueue
61. Mark the accepted formats of ALE data transfera. HTTPb. XML
c. JAVAd. BAPI
7/30/2019 ABAP-Internal-Test.doc
11/13
e. IDOC
62. Mark the item that is not a valid work processa. Gatewayb. Background
c. Updated. Spool
63. What must be assigned to search help parametersa. Nothingb. Valuesc. Domaind. Data Element
64.Structure MY_STRUCTURE is created in the dictionary. When does thestructure get created in the underlying database
a. When the database administrator physically creates the tableb. At the beginning of the table creationc. When the table is activatedd. It does not correspond to an object in the underlying database
and does not get created
e. At the end of the table creation after it is saved.
65. How can you perform a direct database read from a buffered tablea. Add the BYPASSING BUFFER clause on the select statementb. Buffering can be turned off on the application server by the
programmer using the ABAP Workbenchc. Do not have buffering in the technical attributes
66. When is it better to buffer the tablea. When a table is read frequently and the data seldom changesb. When a table is read frequently and the data is always changing
c. When a table is linked to check tablesd. When a table is read infrequently
67. An ABAP Program has a selection screen. The ABAP is to be includedas a step in a Background Job. What other field must be filled in whencreating the Job Step.
a. Languageb. Print Specificationc. Variantd. Mandatory Fields
68. Mark the valid logical nodes.a. Complex Data Objects
7/30/2019 ABAP-Internal-Test.doc
12/13
b. Nodec. Filed. Structuree. Table
69. Which list processing event is used to create Page footersa. END-OF-SELECTIONb. NEW-PAGEc. TOP-OF-PAGEd. END-OF-PAGEe. AT LINE-SELECTION
70. When defining a new Dialog Program, what is the first thing you areprompted for
a. Screensb. Logical Databasec. Top Included. Application
71. A complex data object must be declared in your Top Include for atable control. What is it's TYPE ?
a. CXTABb. Table Controlc. Table
d. TableView
72. "Call Function Starting New Task" is an example of what type ofcall
a. Synchronousb. Batchc. Directd. Asynchronous
73. Identify the key word that determines if a CMOD function exit hasbeen provided
a. CALL CUSTOMER-FUNCTIONb. CALL PROGRAM-EXITc. CALL CUSTOMER-SUBSCREENd. CALL USER-EXIT
74. If you are using a screen exit provided by a SAP application, whentypically does the data get exported to the subscreen
a. In a PAI module of the main screenb. In a PBO module of the main screenc. In a PBO module of the subcreend. In a PBO module of the subscreen
7/30/2019 ABAP-Internal-Test.doc
13/13
75. What statement is used to move identically named fields betweenstructures
a. MOVEb. ASSIGNc. MOVE-CORRESPONDING
d. MOVE_CORRESPONDING
76. How would you determine the program name currently beingexecuted
a. F9b. F4c. Look in the Dictionaryd. Use the menu option System>Status
77. Select the one item that is not a SAP Default Navigation Button on astandard list
a. Saveb. Findc. Cut/Pasted. Back/Exit/Cancel
78. What is the system variable for determining how many databaseoperations were performed
a. Sy-indexb. Sy-tabixc. Sy-dbcnt
d. Sy-subrc
79. Identify the valid statementa. Constants: C1(4) type C value 'ABCD'.b. Constants: C1(4) type C like mytab-booking.c. Constants: C1(4) type D.d. Constants: C1(4) type C.
80. Some ABAP statements require an explicit end, like SELECT loops,FORM definitions, or IF clauses. Which of the following ABAP statementscan be nested?
a. One inner SELECT ENDSELECT in an outer SELECT ENDSELECT
b. One inner FORM ENDFORM in an outer FORM ENDFORMc. One inner CASE ENDCASE in an outer CASE ENDCASE.d. One inner CLASS ENDCLASS in an outer CLASS ENDCLASS.
/80