ABAP Questions
ABAP 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
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
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: True B: False
8. The SAP service that ensures data integrity by handling locking is called:
A: Update B: Dialog C: Enqueue/Dequeue D: 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 are completed.
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 internal table 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, code them 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 by default.
A: True B: False
14. Given:
DATA: BEGIN OF itab OCCURS 10,
qty type I,
END OF itab.
16. You may declare your own internal table type using the TYPES keyword.
A: True B: False
17. After adding rows to an internal table with COLLECT, you should avoid adding more rows with APPEND.
A: True B: False
18. Which of the following is not a component of control break processing when looping at an internal table?
A: AT START OF B: AT FIRST C: AT LAST D: AT NEW
19. A dictionary table is made available for use within an ABAP program via the TABLES statement.
A: True B: False
20. Which of the following would be best for hiding further selection criteria until a function is chosen?
A: AT NEW SELECTION-SCREEN
B: SELECTION-SCREEN AT LINE-SELECTION
C: SUBMIT SELECTION-SCREEN
D: 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 INPUT B: CHAIN C: FIELD D: ON REQUEST
24. In regard to SET PF-STATUS, you can deactivate unwanted function codes by using ____.
A: EXCLUDING B: IMMEDIATELY C: WITHOUT D: HIDE
25. In regard to data transported in PAI when the FIELD statement is used, which of the 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 their corresponding module is called.
26. The order in which an event appears in the ABAP code determines when the event is processed.
A: True B: False
28. Which of the following is NOT a component of the default standard ABAP report header?
A: Date and Time B: List title C: Page number D: Underline
29. Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list 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 ENTRIES B: WHERE C: INTO D: MOVE-CORRESPONDING
write: /1 'Ready_'.
PARAMETER: test.
INITIALIZATION.
write: /1 'Set_'.
START-OF-SELECTION.
write: /1 'GO!!'.
32. To declare a selection criterion that does not appear on the selection screen, use:
A: NO-DISPLAY B: INVISIBLE C: MODIF ID D: OBLIGATORY
33. An internal table that is nested within another internal table should not contain a header line.
A: True B: False
LOOP AT itab.
SY-TABIX = 2.
WRITE itab-letter.
EXIT.
ENDLOOP.
A: A
B: A B C D
C: B
D: B C D
35. To select all database entries for a certain WHERE clause into an internal table in one step, use
A: SELECT_INTO TABLE itab_
B: SELECT_INTO itab_
C: SELECT_APPENDING itab
D: SELECT_itab_
A: 0 B: 4 C: 8 D: Null
37. This selection screen syntax forces the user to input a value:
A: REQUIRED-ENTRY
B: OBLIGATORY
C: DEFAULT
D: 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 field1
WITH HEADER LINE.
SORT itab.
LOOP AT itab.
write: /1 itab-field1, itab-field2.
ENDLOOP.
40. When modifying an internal table within LOOP AT itab. _ ENDLOOP. you must include an index number.
A: True B: 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.
43. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the
data declaration for the field?
A: PBO module include program
B: TOP include program
C: PAI module include program
D: Subroutine include program
44. If a table contains many duplicate values for a field, minimize the number of records returned by using this
SELECT statement addition.
A: MIN B: ORDER BY C: DISTINCT D: DELETE
45. The system internal table used for dynamic screen modification is named:
A: ITAB B: SCREEN C: MODTAB D: SMOD
46. Within the source code of a function module, errors are handled via the keyword:
A: EXCEPTION B: RAISE C: STOP D: ABEND
A: P
B: C
C: N
D: D
50. Which of the following describes the internal representation of a type D data object?
A: DDMMYYYY
B: YYYYDDMM
C: MMDDYYYY
D: YYYYMMDD
A: SE11
B: SE38
C: SE36
D: SE16
A: True
B: False
56. The complete technical definition of a table field is determined by the field's:
A: Domain
B: Field name
C: Data type
D: Data element
SELECT fld6 fld3 fld2 fld1 FROM tab1 INTO CORRESPONDING FIELDS OF TABLE itab
WHERE fld3 = pfld3.
59. The ABAP statement below indicates that the program should continue with the next line of code if the internal
table itab:
A: Contains no rows
B: Contains at least one row
C: Has a header line
D: Has an empty header line
FREE itab.
WRITE: /1 itab-fval.
A: 2
B: 0
C: blank
D: 1
61. To allow the user to enter a range of values on a selection screen, use the ABAP keyword:
A: DATA.
B: RANGES.
C: PARAMETERS.
D: SELECT-OPTIONS.
62. If an internal table is declared without a header line, what else must you declare to work with the table's rows?
A: UPDATE
B: MODIFY
C: ERASE
D: DELETE
65. All of the following may be performed using SET CURSOR except:
66. When is it optional to pass an actual parameter to a required formal parameter of a function module?
A: True
B: False
68. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for improving
performance.
A: True
B: False
69. To save information on a list line for use after the line is selected, use this keyword.
A: APPEND
B: EXPORT
C: WRITE
D: HIDE
70. To bypass automatic field input checks, include this in PAI.
A: AT EXIT-COMMAND
B: ON INPUT
C: ON REQUEST
D: LEAVE TO SCREEN 0.
71. Within a function module's source code, if the MESSAGE_RAISING statement is executed, all of the following
system fields are filled automatically except:
A: SY-MSGTY
B: SY-MSGNO
C: SY-MSGV1
D: SY-MSGWA
REPORT ZLISTTST.
START-OF-SELECTION.
WRITE: text-001.
FORMAT HOTSPOT ON.
WRITE: text-002.
FORMAT HOTSPOT OFF.
AT LINE-SELECTION.
WRITE / text-003.
73. The ____ type of ABAP Dictionary view consists of one or more transparent tables and may be accessed by an
ABAP program using Open SQL.
A: Database view
B: Projection view
C: Help view
D: Entity view
A: MOVE
B: WRITE
C: ASSIGN
D: VALUE
report zabaprg.
DATA: char_field type C.
char_field = 'ABAP data'.
WRITE char_field.
A: ABAP data
B: A
C: Nothing, there is a syntax error
D: None of the above
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 is displayed and is the best
event for assigning default values to selection criteria.
A: True
B: False
A: True
B: False
79. Assuming tab1-fld7 is not a key field, how can you prevent reading all the table rows?
SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6)
WHERE fld7 = pfld7.
WRITE: /1 fld4, fld5, fld6.
ENDSELECT.
80. Which of the following is NOT a required attribute when creating an ABAP program?
A: Application
B: Title
C: Status
D: Type
81. When creating a transparent table in the ABAP Dictionary, which step automatically creates the table in the
underlying database?
A: INCLUDE program
B: Online program
C: Module pool
D: Function group
E: Subroutine pool
84. Which keyword adds rows to an internal table while accumulating numeric values?
A: INSERT
B: APPEND
C: COLLECT
D: GROUP
85. Assuming itab has a header line, what will be output by the following code?
Apples 12 22.50
Apples 9 18.25
Oranges 15 17.35
Bananas 20 10.20
Bananas 15 6.89
Bananas 5 2.75
A: APPEND
B: MODIFY
C: ADD
D: INSERT
90. Which Open SQL statement should not be used with cluster databases?
A: UPDATE
B: MODIFY
C: DELETE
D: INSERT
91. To include a field on your screen that is not in the ABAP Dictionary, which include program should contain the
data declaration for the field?
92. This flow logic statement is used to make multiple fields open for input after an error or warning message.
A: GROUP
B: FIELD-GROUP
C: CHAIN
D: LOOP AT SCREEN
93. Given:
A: Formal
B: Actual
C: Static
D: Value
105. What are the check tables and value tables? (Multiple Answer)
A. Check table will be at field level checking.
B. Value table will be at domain level checking
C Value table will be at field level checking
D. Check table will be at domain level checking.
108.What are the main events an interactive report have? (Multiple Answer)
A. Top-of-page during line selection.
B. At line-selection.
C. At user-command.
D. AT New
110. What is the difference between UPLOAD and WS_UPLOAD? (Multiple Answer)
A. WS_UPLOAD - File transfer with dialog from presentation server file to internal table. Data which is
available in a file on the presentation server is transferred in an internal table. ASCII & Binary files can
be transferred.
B. UPLOAD - To read data from the presentation server into an internal table without a user dialog, use
the function module WS_UPLOAD. The most important parameters are listed below.
C. UPLOAD - File transfer with dialog from presentation server file to internal table. Data which
is available in a file on the presentation server is transferred in an internal table. ASCII & Binary
files can be transferred.
D.WS_UPLOAD - To read data from the presentation server into an internal table without a user
dialog, use the function module WS_UPLOAD. The most important parameters are listed below.
112. What are the differences between SAP memory and ABAP memory? (Multiple Answer)
A. SAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within
this area is retained within a sequence of program calls, allowing you to pass data between programs that
call one another. It is also possible to pass data between sessions using SAP Memory.
B. ABAP Memory is a memory area to which all sessions within a SAPgui have access. You can use
SAP memory either to pass data from one program to another within a session (as with ABAP memory)
or to pass data from one session to another.
C.ABAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data
within this area is retained within a sequence of program calls, allowing you to pass data between
programs that call one another. It is also possible to pass data between sessions using SAP
Memory.
D.SAP Memory is a memory area to which all sessions within a SAPgui have access. You can use
SAP memory either to pass data from one program to another within a session (as with ABAP
memory) or to pass data from one session to another.
114. What are the 2 boxes in your system for coding for Abap and their logins?
115. If I get a problem on a report in Production server how can I modify the report.
If the problem in production server we have to alter the program in Developemnt Client and transport it
to QA client Test it throughly and then Transport it to Production.
117. How to Fix the bugs and where you will do those things.
SAND BOX is nothing but a test client other than Develpment Client or QA.
Its a another way to connect to other PC. its a 3rd party utility....
Thru SAP Logon enter the client number ,user id & password.
Database Utility to perform table maintenance such as deleting the table or adjusting the table when
there is a structure change.
124. In Data dictionary in the table creation,What is the purpose of Technical settings.
To identify the Size of the Table Created and to Set whether buffering needs to be done for the table or
not.
125. What is the purpose of buffering in technical settings and for what type of tables are using
buffering.
It will reduce the Network tarffic but disadvantage is it will not update the Server back immediately.
- Initialization.
- At Selection-Screen
- Start-of-Selection.
- Top-of-Page.
- At Pfn.
- End-of-Page.
- End-of-Selection.
127. One of my users has access to SE38 transaction, and so he can run the program developed by
you. You have attached this report/transactional program to a particular Z* transaction. To
restrict the users to Execute this program, what you do it from programming side?
Check for Authorization object S_TCODE with value "Z----" in initialization event.
(Code:
Authority-check object 'S_TCODE'
id 'TCD' field 'ZBC_REQ'.)
128. When we create a customer the information is updated in structure RF02D and Some tables
like KNA1 are updated. How can we find the tables for master data transactions?
Go to ABAP Workbench -> Overview -> application hierarchy - SAP -> (or SE81 transaction code)
follow the customizing based tree for your application. Double click on a lowest level to get for the
correct marked development class. Then, here you can find all the tables, views, logical databases etc..,
write: /1 text-001.
A: A selection text.
B: A basic list row.
C: A page footer
D: A page header
130. Given the two ABAP Dictioary tables below, the Customer number field in table one must
contain
a value from table two. The Customer number field is known as a ____.
Table one:
Customer number (Primary key)
Company code (Primary key)
Other data
Table two:
Customer number (Primary key)
Customer name
Other data
A: Secondary index
B: Matchcode object
C: Validation field
D: Foreign key
131. The structure of a table has been changed in the ABAP/4 Dictionary.
Which of the following adjustments in the relevant database table is correct, if you want to retain
the previous data?
A. Delete and recreate the database table.
B. Change the database directory (ALTER TABLE) where the structure change with ALTER
TABLE is supported by the database.
C. Convert the table.
A. No
B. Yes
1. Internal subroutines in the sense ..subroutines which are defined and used in a same
program...external in the sense if you create a sub routine in one program and you're calling this
subroutine in another program ..then this is external subroutine.
2. The name itself implies the internal subroutines defined by form /perform.. can be called within the
same prog in which they were declared.....external subroutines can be called outside the program.......
1. ALV gives many advantages than a list like sorting summing getting graphics like that stuff.
2. SAP LIST VIEWER is ALV . its main advantage is by using ALV technique we can find totals
,subtotals ,sort in any order etc there itself in the list output of course we need to write all those
functionalities while using ALV...also many functional modules are defined under ALV concept...
1. While generating a interactive report we will use get cursor..use is to get the value of the fiel under
the cursor..
1. At selection screen is used to validate the fields in a selection screen...and at user command is used to
modify the screen in a selection screen and in genarating secondary lists..
2. AT SELECTION-SCREEN is used where you have a seperate selection screen using select-options
or parameters where as AT USER-COMMAND is used where no selection screen exists....at.user-
command is mainly used while setting pf-status which means creating our own menu with function
codes etc...
137. BDC_INSERT is used to
BDC_OKCODE: is used for storing commands during the recording. like '/00' is the command for
'ENTER' Key.
BDC_CURSOR: contains the cursor position. it contians the field in which cursor will be.
Example code:
perform bdc_field using 'BDC_CURSOR'
'PROJ-PSPID'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
140. What are the 3 methods that we use in sequence in a Batch input session method ?
Identify the Tcode and do the recording in SHDB to populate the BDCDATA.
Once the recording is done , one can Transfer it to the Batch input program.
In the batch Input program , The transactional data is read from the file to an internal table.
Then one can loop over the transactional data in the internal table and start uploading the data in SAP
either by CALL TRANSACTION method or by creating sessions through the batch input program.
146. Can a transparent table exist in data dictionary but not in the database physically?
a) YES
b) NO
A: CALL FUNCTION
B: CALL SCREEN
C: CALL TRANSACTION
D: CALL PROGRAM
Equi Join
Inner Join
Outer Join
Self Join
All
150. 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
SELECT SINGLE returns the first matching row for the given condition and it may not be
unique, if there are more matching rows for the given condition.
SELECT ... UP TO 1 ROWS retrieves all the matching records and applies aggregation and ordering
and returns the first record.
Inorder to check for the existence of a record then it is better to use SELECT SINGLE than using
SELECT ... UP TO 1 ROWS since it uses low memory and has better performance."
According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE
because you are not using all the primary key fields.
153.
Edit_mask is To apply the report output formatting options same as in the WRITE statement in report
writing.
DATA TIME TYPE T VALUE '093017'.
WRITE (8) TIME USING EDIT MASK '__:__:__'. "Output: 09:30:17
In this example, the internal length (of type T) is six characters, while the output length is eight.
154.ABAP programmer can create a table with fields not referring to data elements?
TRUE
155. BDC Transaction Vs Session
Call transaction:
1.Synchronous Processing.
2.Synchronous and Asynchronous database updates.
3.Transfer of data for individual transaction,
4.Not suited for bulk transfer.
5.No automatic errror handling.
Session:
1.Asynchronous Processing.
2.Synchronous database updates.
3.Transfer of data for multiple transactions.
4.Best suited for bulk transfer.
5.Automatic errror handling.
6.SAP's standard approach for data transfer
156. 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: True
B: False
157. TO include database-specific SQL statements within an ABAP program, code them between:
A: NATIVE SQL_ENDNATIVE.
B: DB SQL_ENDDB.
C: SELECT_ENDSELECT.
D: EXEC SQL_ENDEXEC.
172. After adding rows to an internal table with COLLECT, you should avoid adding more rows
with APPEND.
A: True
B: False
176. Which of the following is NOT a required attribute when creating an ABAP program?
A: Application
B: Title
C: Status
D: Type
177. TCode for SQL Trace? ST05 or DB05
a. ABAP is 3G language
b. ABAP is procedural
c. ABAP is built on OO concepts
d. ABAP is event driven language
180. Local time of the presentation server is stored in which system variable?
SY-TIMELO
Note: Application Server’s time is stored in SY-UZEIT
Exec…End Exec
Catch…EndCatch
HIDE keyword is used to store the selected data (record) in the backend. This is used in the “Interactive List”.
Using the addition “CLIENT SPECIFIED <client number>” in the Select query.
a. Views
b. Type Pools
c. Lock Objects
d. Search Help
e. ALL
a. Authority-Check
b. Authority_Check_Dataset
c. System does it automatically
d. None
6= A, X, E, W, I and S
197. Which Search Help has highest precedence? Search Help attached at Field Level
a. Client dependent
b. Client independent
c. Client dependent
d. Client independent
199. Difference between APPEND and COLLECT keywords?
200. Which FM is used to transfer the data from the Presentation Server to Application Server?
GUI_UPLOAD
202. How can you view the short dump (run time errors)? Using TCode ST22
a. Sequentially
b. Directly
204. Which system variable to get the Page Number in a list? SY-PAGNO
a. Data
b. Parameters
c. Constants
d. ALL of the above
SM35 (Queue file => BDC Session => BDC Group => Batch Input Session)
213. What is the order of preference for F4 Help (also called as Search Help)?
Search help order: Field level -> Data Element level -> Domain level
LPOS determines which column comes in the final hit list in which order (left to right) and SPOS is used for
restricting screen (row-wise, from top to bottom)
216. Other names for layout set? Form Painter, SAP Script Painter or even SE71
220. Difference between printer modes (Simplex, Duplex and Tumbled Duplex).
221. Program to load images into SAP system for usage in SAP Scripts? RSTXLDMC.
222. Command used to print several lines in same page (that is, same paragraph)?
PROTECT…ENDPROTECT
223.There cannot be more than one Main window in a page. True or False?
False
224. Which of the following can be included in the flow logic of a screen?
a. PBO
b. PAI
c. POV
d. POH
225. TCode for Output Type Configuration (also known as Output Determination Configuration)?
NACE
Character formats.
a. D
b. N
c. C
d. F
Ans: F
229. Which variable is used to store the number of loop counter for looping over the table control?
SY-LOOPL
230.Forms can have only one main window between different pages. True or False?
False
233.Sub-screens do not have their own GUI Status. True or False? True
239. Select All Entries is used for? to avoid too much use of select statement in loop.
251. What is the name of the system variable that stores content of entire
line where double click has occurred.
sy-lisel
253. An ABP report is selecting data from MARA and storing in GT_MARA.
GT_MARA is being read with key MATNR in the loop of another internal table.The best performance
of read statement is achieved by declaring GT_MARA as:
hash table
259. The value 03 in the ACTVT field of an authority check stmt would authorise user to ----------the
object: Display
260 Which instr is used to move contents of an internal table to a file on the application server
TRANSFER
261. How can you supress default title of a list
no std page heading
262. Time as per the user time zone is stored in the system variable
sy-timlo
265. there is an internal table with fields A,B,C in that sequence. The statement
AT NEW B wud be triggered on
Change in A
269. What are the most important precaution one should take for using the "FOR ALL ENTRIES"
command
Ans :Before the select ,check if the internal table used in "FOR ALL ENTRIES " clause is not empty
271. In SAP R/3 which one of these allocates the resources in application layer.
Dispatcher
277. Which FM is used to transfer the data from the Presentation Server to Application Server?
GUI_UPLOAD
Date Sy-Datum
Time Sy-UZEIT
Username Sy-UNAME
289. loop
tablename-fldname='Accenture'
Append table
Endloop
293. Where can we see the o/p of the background processes? SP01
294. RS-SET-SELECTIONSCREEN-STATUS
it sets the screen's status.
295. Instruction to transfer the data from the presentation Server to Application Server
GUI_Upload
296. Instruction to transfer the data from the Application Server to presentation Server
GUI_Download
299. This data type has a default length of one and a blank default value.
A: I
B: N
C: C
D: D
Ans:C (char has default value as blank and N has default value of 1)
300. A DATA statement may appear only at the top of a program, before START-OF-
SELECTION.
A: True
B: False
301. If a field, NAME1, is declared as a global data object, what will be output by the
following code?
Report zabaprg.
DATA: name1 like KNA1-NAME1 value 'ABAP programmer'.
FORM write_name.
name1 = 'Material number'.
WRITE name1.
ENDFORM.
A: Customer name
B: ABAP programmer
C: Material number
D: None of the above
Ans:C
302. All of these allow you to step through the flow of a program line-by-line except:
Ans: C
303. Which of the following may NOT be modified using the ABAP Dictionary
transaction?
A: Type groups
B: Search help
C: Lock objects
D: Function groups
A: Text symbol
B: Selection text
C: Text title
D: Text identifier
305. The editor function that formats and indents the lines of code automatically is called
____.
A: Auto align
B: Pretty printer
C: Generate version
D: Syntax check
Ans:B
A: SY-LOOPI
B: SY-TABIX
C: SY-LSIND
D: SY-INDEX
Ans: D
307.The event that is processed after all data has been read but before the list is displayed
is:
A: END-OF-PAGE.
B: START-OF-SELECTION.
C: END-OF-SELECTION.
D: AT LINE-SELECTION.
Ans:AC
DATA: new_fld(25).
A: P
B: N
C: I
D: C
Ans: D
309. In regard to the INITIALIZATION event, which of the following is NOT a true
statement?
Ans: B
310. The event AT SELECTION-SCREEN OUTPUT. occurs before the selection screen
is displayed and is the best event for assigning default values to selection criteria.
A: True
B: False
311. The business (non-technical) definition of a table field is determined by the field's
____.
A: domain
B: field name
C: data type
D: data element
312.In regard to the three-tier client/server architecture, which of the following is a true
statement?
Ans: D, b
WHILE alph> 2.
write: alph.
alph = alph - 1.
ENDWHILE.
A: 3
B: 3 2
C: 3 3 2
D: 3 3
Ans: D
314. To allow the user to enter a single value on a selection screen, use the ABAP
keyword ____.
A: SELECT-OPTIONS.
B: PARAMETERS.
C: RANGES.
D: DATA.
Ans: B
REFRESH itab.
WRITE: /1 itab-fval.
A: 1
B: 2
C: blank
D: 0
Ans: B
316. You can define your own key fields when declaring an internal table.
A: True
B: Falses
Ans: A
317. When modifying an internal table within LOOP AT itab. _ ENDLOOP.you must
include an index number.
A: True
B: False
Ans :a
318. If itab contains 20 rows, what will SY-TABIX equal when the program reaches the
WRITE statement below?
SY-TABIX = 10.
LOOP AT itab.
count_field = count_field + 1.
ENDLOOP.
WRITE: /1 count_field.
A: 0
B: 10
C: 20
D: 30
Ans: b (Loop at reset the value of SY-TABIX to what it was before entering loop)
319.
Given:
SELECT SINGLE vbeln FROM VBAK INTO vbak-vbeln
WHERE mandt = sy-mandt
AND vbeln = pvbeln.
IF SY-SUBRC = 0.
WRITE: /1 vbak-vbeln.
ENDIF.
A: SELECT
B: SELECT INTO
C: SELECT SINGLE
D: SELECT ENTRY
Ans: C
Ans: A D
A: OPEN DATASET.
B: CLOSE CURSOR.
C: DELETE.
D: COMMIT WORK.
323. To read an exact row number of an internal table, use this parameter of the READ
TABLE statement.
A: INDEX
B: TABIX
C: ROW
D: WHERE
Ans: B A
A: UPDATE
B: MODIFY
C: ERASE
D: DELETE
Ans: D
325. Which table type would be most appropriate for accessing table rows using an index.
A: Hashed table
B: Standard table
C: Sorted table
D: None of these may be accessed using an index.
Ans: C
Ans: A
328. Given:
IF MY_IND = 'X'.
COMMIT WORK.
ELSE.
ROLLBACK WORK.
ENDIF.
329. When writing a SELECT statement, you should place as much load as possible on
the database server and minimize the load on the application server.
A: True
B: False
Ans: B
330. 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.
Ans :D
331. In regard to subroutines and function modules, to ensure that an actual parameter is
the same type as its corresponding formal parameter, you should ____.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'FC11'.
SCROLL LIST LEFT BY 20 PLACES.
WHEN 'FC12'.
SCROLL LIST FORWARD.
ENDCASE.
333. 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 INPUT
B: CHAIN
C: FIELD
D: ON REQUEST
Ans: A
334. Which of the following is not a component of dialog programming environment?
A: Transaction code
B: Screen
C: ABAP module pool
D: Background job
335. To modify several fields in a screen without referencing each individual field name:
336. To allow the user to execute a specific function, write code within the event ____.
A: START-OF-SELECTION.
B: AT LINE-SELECTION.
C: INITIALIZATION.
D: None of the above
Ans:A
337. Page headers for a secondary list should be coded in which event?
A: TOP-OF-PAGE.
B: START-OF-SELECTION.
C: TOP-OF-PAGE DURING LINE-SELECTION.
D: AT USER-COMMAND.
Ans: C
338. Given:
A: Formal
B: Actual
C: Static
D: Value
Ans:B
339. In regard to Runtime Analysis, which of the following is NOT a true statement?
Ans:C
341. When making a function module call, pass internal tables via the parameter ____.
A: EXPORTING
B: IMPORTING
C: USING
D: TABLES
Ans: AC
A: WRITE CHECKBOX.
B: FORMAT CHECKBOX ON.
C: WRITE fld AS CHECKBOX.
D: MODIFY LINE WITH CHECKBOX.
Ans:c
Ans:A
345. Given:
A: Value
B: Reference
C: Value and result
D: None of the above
346. In the flow logic, what must you code in both PBO and PAI when you have
A: CHAIN_ENDCHAIN
B: AT EXIT-COMMAND
C: LOOP_ENDLOOP
D: SET PF-STATUS
347. Within the source code of a function module, errors are handled via the keyword:
A: EXCEPTION
B: RAISE
C: STOP
D: ABEND
Ans:B
A: Normal
B: Update
C: RFC
D: Dialog
Ans:D
58. To call a local subroutine named calculate answer, use this line of code:
Ans:A
59. All of the following may be performed using SET CURSOR except:
60. The table control attribute <ctrl>-LINES indicates the total number of lines in the
internal table.
A: True
B: False
Ans A
A: True
B: False
Ans:B
63. In regard to the DESCRIBE LIST statement, which of the following is a true
statement?
64. By definition, what fields make up the standard internal table key?
65. To be able to modify a group of fields on the selection screen with a single
statement, use:
A: AS CHECKBOX
B: SELECTION-SCREEN BEGIN OF LINE
C: MEMORY ID
D: MODIF ID
A: INSERT
B: UPDATE
C: APPEND
D: MODIFY
Ans:D
67. To select one record for a matching primary key, use ____.
A: SELECT
B: SELECT INTO
C: SELECT SINGLE
D: SELECT ENTRY
Ans:C
68. After adding rows to an internal table with COLLECT, you should avoid adding
More rows with APPEND.
A: True
B: False
Ans:A
69. What addition to the READ TABLE statement must be used when reading a hashed
or sorted internal table to ensure that a binary search will be used?
A: WITH KEY
B: WITH TABLE KEY
C: SEARCH TYPE
D: WHERE
Ans A(for hashed or sorted we use with table key and for transparent table we use with key)
71. To summarize the contents of several matching lines into a single line, use this
SELECT statement clause.
A: INTO
B: WHERE
C: FROM
D: GROUP BY
Ans:D
LOOP AT itab.
SY-TABIX = 2.
WRITE itab-letter.
EXIT.
ENDLOOP.
A: A
B: ABCD
C: B
D: BCD
Ans: a
73. This selection screen syntax forces the user to input a value:
A: REQUIRED-ENTRY
B: OBLIGATORY
C: DEFAULT
D: SELECTION-SCREEN EXCLUDE
Ans:D
itab1[] = itab2[].
77. In regard to Native SQL, which of the following is NOT a true statement?
Ans:D
A: UPDATE
B: INSERT
C: INTO
D: MOD
Ans:A
Ans:C
A: I
B: N
C: P
D: F
Ans: B
81. Which of these sentences most accurately describes the two-level domain concept?
Ans:C
82. Which of the following is NOT a required attribute when creating an ABAP
program?
A: Application
B: Title
C: Status
D: Type
Ans: a
83. Page headers for a basic list can be coded in the event:
A: NEW-PAGE.
B: AT LINE-SELECTION.
C: INITIALIZATION.
D: TOP-OF-PAGE.
Ans:D
85. The complete technical definition of a table field is determined by the field's:
A: Domain
B: Field name
C: Data type
D: Data element
86. Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a
list 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.
Ans:A
Ans:A
88. You can change the length of a data object of type I by adding ( ) after the field
name in the data declaration, as in the following statement:
A: True
B: False
Ans:A
A: CP
B: NC
C: O
D: NS
Ans: C
A: MOVE
B: WRITE
C: ASSIGN
D: VALUE
91. The following event may be explicitly coded, but it is also implied.
A: END-OF-SELECTION.
B: START-OF-SELECTION.
C: AT LINE-SELECTION.
D: AT SELECTION-SCREEN.
Ans:A
92. Which of the following describes the internal representation of a type D data object?
A: DDMMYYYY
B: YYYYDDMM
C: MMDDYYYY
D: YYYYMMDD
Ans:D
A: SE11
B: SE38
C: SE36
D: SE16
Ans:B
94. Given:
REPORT ZINTERAC.
WRITE 'First List'.
AT PF5.
WRITE: 'Second List'.
After running the report, how would the user receive the output, "Second List?"
A: LEAVE TO SCREEN 0.
B: LEAVE TO LIST-PROCESSING.
C: CALL SCREEN.
D: LEAVE LIST-PROCESSING.
96. In regard to SET PF-STATUS, you can deactivate unwanted function codes by
using ____.
A: EXCLUDING
B: IMMEDIATELY
C: WITHOUT
D: HIDE
97. Function module source code may have its own local data.
A: True
B: False
Ans:A
98. The ABAP statement you will typically use in a 'CANCEL' function is:
A: CALL SCREEN 0.
B: COMMIT WORK.
C: ROLLBACK WORK.
D: UPDATE.
Ans:C
99. After double-clicking a line on a basic list, what will the system field SY-LSIND
equal?
A: 0
B: 2
C: 1
D: The value is unchanged.
Ans C
REPORT ZLISTTST.
START-OF-SELECTION.
WRITE: text-001.
FORMAT HOTSPOT ON.
WRITE: text-002.
FORMAT HOTSPOT OFF.
AT LINE-SELECTION.
WRITE / text-003.
Ans:C
101. All of the following are considered to be valid ABAP modularization techniques
except:
A: Subroutine
B: External subroutine
C: Field-group
D: Function module
Ans:C
Ans: BA
103. Which of the following is NOT one of the types of internal tables in ABAP?
A: Standard
B: Sorted
C: Hashed
D: Unique
Ans:D
105. In regard to internal tables, which of the following is NOT a true statement?
Ans:
A: COMMENT
B: HLINE
C: ULINE
D: SKIP
Ans:C
107. To select all database entries for a certain WHERE clause into an internal table in one step, use
Ans:A
A: COMMENT
B: EXCLUDE
C: ULINE
D: SKIP
Ans: D
109. To limit the number of records selected from the database, use ____.
A: WHERE
B: WHEN
C: IF
D: CASE
Ans:A
110. To limit your SELECT statement to user-entered SELECT-OPTIONS, use ____.
A: IN
B: EQ
C: NE
D: BT
Ans:A
111. ------
CASE my_fld> 3.
A: True
B: False
Ans:B
113. The ____ type of ABAP Dictionary view consists of one or more transparent tables
and may be accessed by an ABAP program using Open SQL.
A: Database view
B: Projection view
C: Help view
D: Entity view
Ans: B A
114. Name the type of ABAP Dictionary table that has these characteristics:
A: Pooled
B: Cluster
C: Transparent
D: View
Ans:C
115. Page headers for a secondary/details list can be coded in the event:
A: GET.
B: INITIALIZATION.
C: TOP-OF-PAGE DURING LINE-SELECTION.
D: NEW-PAGE.
Ans:C
A: TOP-OF-PAGE.
B: END-OF-SELECTION.
C: NEW-PAGE.
D: END-OF-PAGE.
Ans:D
117. This data type has a default length of eight and a default value = '00000000'.
A: P
B: D
C: N
D: C
Ans: B
118. 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 are
completed.
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.
Ans:B
119. Given:
DO.
Write: /1 'E equals MC squared.'.
ENDDO.
121. Which of the following is NOT a component of the default standard ABAP report
header?
Ans: A
122. This data type has a default length of one and a default value = '0'.
A: P
B: C
C: N
D: I
Ans: C
A: CALL FUNCTION
B: CALL SCREEN
C: CALL TRANSACTION
D: CALL PROGRAM
Ans: D
reportzabaprg.
DATA: my_field type I value 99.
my_field = my_field + 1.
clearmy_field.
A: The value is 99
B: The value is 100
C: The value is 0
D: None of the above
Ans: C
126. CONSTANTS: var_one (3) type C value 'DOG'.
IF var_one = 'dog'.
WRITE: /1 'Bark!'.
ELSE.
WRITE: /1 'Meow!'.
ENDIF.
WRITE: var_one.
A: Bark! DOG
B: DOG
C: Meow! DOG
D: None of the above
Ans: C
A: True
B: False
128. Within an interactive list event, you can override the value of SY-LSIND.
A: True
B: False
129. To indicate that your new function module is ready to be freely used by anyone,
you should:
A: Activate it.
B: Release it.
C: Add documentation.
D: Send out an e-mail.
Ans: A
130. To set up a screen field to allow default values to be stored across user sessions:
132. Which of the following is NOT included in the Performance Trace tool for
analyzing database accesses within a program?
A: SY-CUCOL
B: SY-LILLI
C: SY-CUROW
D: SY-LISEL
Ans: D
134. To include a field on your screen that is not in the ABAP Dictionary, which
include program should contain the data declaration for the field?
135. To exchange data between reports without an external subroutine call, you may
use:
A: True
B: False
Ans: B
137. All of the following will delete all rows of an internal table with a header line
except:
A: CLEAR itab.
B: REFRESH itab.
C: CLEAR itab[].
D: FREE itab.
Ans:A
Ans:A
139. To allow the user to enter a range of values on a selection screen, use the ABAP
keyword:
A: DATA.
B: RANGES.
C: PARAMETERS.
D: SELECT-OPTIONS
Ans: B D
140. An internal table that is nested within another internal table should not contain a
header line.
A: True
B: False
Ans:A
141. If the following code results in a syntax error, the remedy is:
DATA: itab TYPE SORTED TABLE OF rec_type WITH UNIQUE KEY field1
WITH HEADER LINE.
LOOP AT itab.
write: /1 itab-field1, itab-field2.
ENDLOOP.
Ans:C
142. In regard to the OCCURS parameter, which of the following is a true statement?
Ans:A
143. To get the number of rows in an internal table, use the ABAP statement:
144. Which of the following is NOT a true statement in regard to a sorted internal table
type?
Ans: C A
145. To ensure that you select data directly from the database, use ____.
A: CLIENT-SPECIFIED
B: BYPASSING BUFFER
C: ORDER BY
D: GROUP BY
Ans:D
147. Given:
SELECT-OPTIONS: s_opt FOR kna1-kunnr NO-EXTENSION.
A: From value
B: To value
C: Single range
D: Exclusion range
A: D
B: O
C: F
D: X
E: T
Ans: B
Ans: A
150. The following statement will result in a syntax error.
A: True
B: False
Ans: B
TYPES: user_type.
A: N
B: C
C: I
D: Undefined
Ans: B
A: F
B: D
C: T
D: X
Ans: A
153. The transport route of an ABAP workbench object is determined by the object's:
A: Client designation
B: Program type
C: Development class
D: Naming convention
154. The SAP service that ensures data integrity by handling locking is called:
A: Update
B: Dialog
C: Enqueue/Dequeue
D: Spool
156. The order in which an event appears in the ABAP code determines when the event
is processed.
A: True
B: False
Ans: B
Ans:D
158. In regard to a screen's flow logic, which of the following in not a true statement?
Ans: A
160. This flow logic statement is used to make multiple fields open for input after an
Error or warning message.
A: GROUP
B: FIELD-GROUP
C: CHAIN
D: LOOP AT SCREEN
Ans C
161. Errors to be handled by the calling program are defined in a function module's
____.
A: exceptions interface
B: source code
C: exporting interface
D: main program
Ans :A
162. In regard to a function group, which of the following is NOT a true statement?
Ans: C
Ans:C
164. A template that groups up to ten fields for testing access privileges is known as
____.
A: Authorization
B: Authorization object
C: User profile
D: Authority profile
Ans: B
165. To allow a basic list line to branch to a different SAP transaction use:
A: LEAVE TRANSACTION
B: SUBMIT TRANSACTION
C: EXECUTE TRANSACTION
D: CALL TRANSACTION
166. If a table contains many duplicate values for a field, minimize the number of
records returned by using this SELECT statement addition.
A: MIN
B: ORDER BY
C: DISTINCT
D: DELETE
Ans:C
167. To select data from more than one table, you may use all of the following except:
A: INNER JOIN.
B: LEFT OUTER JOIN.
C: A database view.
D: None of the above
Ans:D
168. Assuming itab has a header line, what will be output by the following code?
A: Read table itab row-by-row until finding an entry other than field1 = sy-langu and
field2 = counter.
B: Read the row with an index number equal to the value stored in counter.
C: Read the internal table using the binary search method to find field1 = sy-langu and
field2 = counter.
D: Read the first row found in itab that has field1 = sy-langu and field2 = counter.
A: Variants.
B: Matchcodes.
C: Search-helps.
D: Screen-batches.
171. Which of the following will NOT add rows to an internal table?
A: INSERT
B: APPEND
C: COLLECT
D: MODIFY
Ans:D
INITIALIZATION.
concatenate 'IEQ' sy-uname into surname.
A: Update
B: Batch
C: Enqueue/Dequeue
D: Spool
Ans: D
174. Data types contain data values and data objects describe the data.
A: True
B: False
A: Program execution.
B: END-OF-EVENT.
C: Another event keyword.
D: END-EVENT.
176. An ABAP data type may be declared with reference to the SAP data type P.
A: True
B: False
177. Pressing the enter key in PC mode while entering code in the ABAP editor will do
all of the following except:
A: True
B: False
Ans: A
179. To trigger an interactive event from within an ABAP program without user
interaction, use the statement:
A: SET USER-COMMAND
B: SET PF-STATUS
C: CALL FUNCTION
D: AT USER-COMMAND
180. What value must ch_field contain so that "Nice job!" will be output?
Write: /1 'Nice'.
CHECK ch_field NE 'X'.
Write: 'job!'.
A: 'X'
B: Anything other than 'X'
C: "Nice job!" will not be output by this code
D: None of the above
181. To view the contents of an ABAP Dictionary table, use transaction ____.
A: SE16
B: SE10
C: SE36
D: SE37
A: SKIP.
B: COMMENT.
C: TEXT.
D: FIELD.
Ans:B
183. You may declare your own internal table type using the TYPES keyword.
A: True
B: False
Ans:B
A: ACCEPTING CASE
B: LOWER CASE
C: UPPER CASE
D: CASE
A: ROWS 50
B: INDEX 50
C: DEFAULT 50
D: INITIAL SIZE 50
Ans: D
186. ABAP Open SQL enables you to access all tables within the SAP system,
regardless of the database system installed.
A: True
B: False
Ans:A
Ans: C
188. Which Open SQL statement should not be used with cluster databases?
A: UPDATE
B: MODIFY
C: DELETE
D: INSERT
Ans: D
189. You should never nest SELECT statements because this results in a syntax error.
A: True
B: False
Ans:B
SELECT fld1 fld2 fld3 FROM tab1 INTO (fld4, fld5, fld6)
WHERE fld7 = pfld7.
CHECK tab1-fld9 = pfld9.
WRITE: /1 fld4, fld5, fld6.
ENDSELECT.
A: AUTH-CHECK
B: AUTHORITY-CHECK
C: AUTHORIZATION-CHECK
D: AUTHORITY-OBJECT
Ans:B
193. Adding a COMMIT WORK statement between SELECT_ENDSELECT is a good method for
improving performance.
A: True
B: False
Ans:B
194. To prevent certain users from using a transaction code, you can do all of the
following except:
Ans:B
195. In regard to data transported in PAI when the FIELD statement is used, which of
the following is NOT a true statement?
Ans:A
A: True
B: False
Ans:A
A: Text literal
B: Text variable
C: In-code comment
D: Text integer
199. In order to change the data contents of an ABAP Dictionary table via standard
functions you must first:
A: Enter delivery class = A
B: Turn on the Tab.Maint.Allowed flag
C: Enter data class = USER
D: Use a size category of 1
write: /1 'Start'.
PERFORM write_next.
write: 'End'.
FORM write_next.
write: 'next'.
EXIT.
write: 'more'.
ENDFORM.
A: Start next
B: Start next more
C: Start next End
D: Start more End
Ans:c
A: READ
B: SELECT
C: GET
D: AT USER-COMMAND
Ans:C
Ans: B
203. An administrative unit in which SAP services are started and stopped at the same
time is called:
A: Message server
B: Instance
C: Gateway
D: Profile
204. ABAP Open SQL contains both Data Definition Language (DDL) statements and
Data Controlling Language (DCL) statements.
A: True
B: False
A: APPEND
B: MODIFY
C: ADD
D: INSERT
Ans:D
A: ADD.
B: SUM.
C: COUNT.
D: TOT.
A: INTO TABLE
B: UP TO 1 ROWS
C: DISTINCT
D: ORDER BY
Ans:C
A: 0
B: 4
C: 8
D: Null
Ans: A
209. Which dialog programming section is used to initialize a screen's field values?
A: PBO
B: PAI
C: INITIALIZATION
D: None of the above
Ans A
A: PBO
B: PAI
C: INITIALIZATION
D: None of the above
Ans B
211. In regard to a dialog step, which of the following is NOT a true statement?
213. SELECT fld1 fld2 fld3 FROM tab1 INTO (itab-fld4, itab-fld5, itab-fld6)
WHERE fld7 = pfld7.
APPEND itab.
ENDSELECT.
214. From program zprog1, to call a subroutine named sub_name in program zprog2,
code the following:
A: CALL zprog2(sub_name).
B: PERFORM sub_name(zprog2).
C: PERFORM (sub_name)zprog2.
D: INCLUDE zprog2(sub_name).
215. All of the following are true in regard to a parameter passed by reference, except:
Ans:D
216. If an internal table is declared without a header line, what else must you declare to
work with the table's rows?
Ans:B
217. When coding AT FIRST fld1. _ ENDAT.within an internal table loop, you should
avoid using:
Ans:A
219. Which statement correctly declares a field-symbol?
A: FIELD-SYMBOLS fs.
B: FIELD-SYMBOLS <fs>.
C: FIELD-SYMBOLS [fs].
D: FIELD-SYMBOLS (FS).
Ans:B
220. This event occurs before a selection screen is displayed and may be used to assign
default values.
A: INITIALIZATION.
B: TOP-OF-PAGE.
C: START-OF-SELECTION.
D: GET.
Ans:A
Ans:B
222. You declare a local data object that retains its value across multiple subroutine
calls using the keyword
A: DATA
B: TYPES
C: PARAMETERS
D: STATICS
Ans:D
223. When creating a transparent table in the ABAP Dictionary, which step
automatically creates the table in the underlying database?
Ans:D
224. If you forget the syntax of an ABAP keyword, how can you get help on that
keyword?
Ans:B
225. Entering transaction SE80 will take you to an interface tool for managing
application development objects. This tool is called the ____.
A: ABAP editor
B: ABAP workbench
C: Object list
D: Repository browser
Ans: B
226. The declarative keyword for defining your own data types in an ABAP program is
____.
A: DATA
B: TYPE-GROUPS
C: TYPES
D: DATA-TYPE
Ans:C
227. To output a control break grand total for an entire internal table, use:
A: AT LAST
B: AT NEW
C: ON CHANGE OF
D: LOOP AT itab FROM
Ans:A
A: Value
B: Value and result
C: Changing
D: Reference
Ans: D
A good performance tuning technique would be to change the SELECT statement to use:
A: GROUP-BY.
B: SUM.
C: TOT.
D: MAX.
A: True
B: False
A: INSERT
B: APPEND
C: ALTER
D: MODIFY
Ans: D
232. To get the average value of a database table field as you select it, use ____.
A: GET AVERAGE
B: SELECT AVERAGE
C: SELECT AVG
D: COMPUTE AVG
Ans:
233. In regard to a dynamic WHERE clause, which of the following is not a true
statement?
Ans: C
235. What is the transaction code for the ABAP Dictionary?
A: SE10
B: SE38
C: SE11
D: SE37
Ans:C
A: True
B: False
Ans:A
AT LINE-SELECTION.
Write: /1 'Thanks!'.
Ans:B
238. --------
A: Linked
B: Authorized
C: Released
D: Active
Ans: D
240. All of the following pertain to a subroutine's local data object except:
Ans: D
241. After coding an authorization check, what else should you code to handle a failed
check?
Ans:B
Ans:A
243. If you want to use a SPA/GPA parameter value as a default value for a selection
screen field, use:
A: MATCHCODE OBJECT
B: MODIF ID
C: DEFAULT
D: MEMORY ID
244. To assign an initial value, include this option of the PARAMETERS statement:
A: FIRST
B: INITIALIZATION
C: VALUE
D: DEFAULT
Ans: D
245. To delete duplicate lines from an internal table use the ABAP statement:
Ans: D
A: True
B: False
Ans: B
FREE itab.
WRITE: /1 itab-fval.
A: 2
B: 0
C: blank
D: 1
Ans: 2
reportzabaprg.
DATA: address(45) type C value '1600 Penn Ave.',
street like address.
Ans: B
249. For a table field that you create, you may create your own Data Element, but you
must use an existing Domain.
A: True
B: False
Ans: B
Date Sy-Datum
Time Sy-UZEIT
Username Sy-UNAME
Q9><> means?
Not equal to
Q11> loop
tablename-fldname='Accenture'
Append table
Endloop
ans --> Infinite loop.
Q13>Progs are
clientindep
clientdep
Q22> RS-SET-SELECTIONSCREEN-STATUS
it sets the GUI screen's status.
GUI_Upload
Q26> If the value is 03 in the ACTVT table then wht will the user b
allowed to do?
Display
ANS ---- C.
Q35> for writting Native SQL command in SQL --- EXEC and ENDEXEC
Q37> Question on Catch and ENd catch something -- for handling run time
errors.
Q43) find odd one out -- ans -each sap has it's own ABAP memory
Q44) join statement cannot be applied on what table --- cluster table
Q48) for getting the client specific data -- use clause CLIENT
SPECIFIED.
Q50) How do u define selection screen of a prog -- interface btw user &
program
Q52) BEST PERFORMANCE BY READ STATEMENT CAN BE THROUGH --- HASHED TABLE
Q54) precautions while UsingFOr all Entries --- internal table should
have the data.