0% found this document useful (0 votes)
171 views13 pages

SAP ABAP Questions

Full Buffering would be appropriate for a. Transaction Tables B. Small Static tables C. Internal Tables D. Tables with generic Keys D. Tables with a single record to be picked up

Uploaded by

DallyNanaiah
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views13 pages

SAP ABAP Questions

Full Buffering would be appropriate for a. Transaction Tables B. Small Static tables C. Internal Tables D. Tables with generic Keys D. Tables with a single record to be picked up

Uploaded by

DallyNanaiah
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

1.

Full Buffering would be appropriate for


A. Transaction Tables
B. Small Static tables
C. Internal Tables
D. Tables with generic Keys

2 What is the basic object of data Dictionary
A. Domains
B. Documentation
C. Data Models
D. Dynpro
3 Search help cannot be attached to:
A. Domain
B. Iield oI a table
C. check table
D. Type
4 Sub query usually more efficient because:
A. data is Iiltered in the database
B. data is Iiltered on the network
C. data is Iiltered in the sapgui
D. data is Iiltered at the application server
5 It is better to buffer a table when
A. When a table is read inIrequently
B. When a table is linked to check tables
C. When a table is read Irequently and the data seldom changes
D. When a single record is to be picked up
6 In Inner and outter join
A. buIIers are always used
B. Choice oI buIIer can be made to use
C. buIIers are always bypassed
D. None oI above
7 What is invalid attribute of a domain
A. Type
B. Fixed values
C. Length
D. Header



Data element is an example of
A. Physical DeIinition
B. Business Object
C. Semantic Domain
D. Technical Domain
9 What is true
A. A view contains data
B. Views can be buIIered
C. Views can not be buIIered
D. None oI above

10 Command flushes the database buffers
A. $TAB
B. $RESET
C. $INIT
D. $FREE
11 How many lists can exist in parallel in an interactive reporting?
A. An Interactive report can have 1 basic list and up to 20 Secondary lists.
B. An Interactive report can have 1 basic list and up to 19 Secondary lists.
C. An Interactive report can have 1 basic list and up to 19 Secondary lists.
D. An Interactive report can have 1 basic list and up to 21 Secondary lists.
12. What are the check tables and value tables? (Multiple Answer)
A. Check table will be at Iield level checking.
B. Value table will be at domain level checking
C Value table will be at Iield level checking
D. Check table will be at domain level checking.
13.What are presentation and application servers in SAP? (Multiple Answer)
A. Application server is actually a program named Sapgui.exe. It is usually installed On a user`s
workstation.
B. Application server is a set oI executables that collectively interpret the ABAP/4 Programs and
manage the input & output Ior them.
C. Presentation server is actually a program named Sapgui.exe. It is usually installed On a user`s
workstation.
D. Presentation server is a set oI executables that collectively interpret the ABAP/4 Programs
and manage the input & output Ior them.



14.What is the difference between Synchronous and Asynchronous updates? (Multiple
Answer)
A. In synchronous processing, the program waits: control returns to the program only when the
task has been completed.
B. In asynchronous processing, the program does not wait: the system returns control aIter
merely logging the request Ior execution.
C. In asynchronous processing, the program waits: control returns to the program only when the
task has been completed.
D. In synchronous processing, the program does not wait: the system returns control aIter merely
logging the request Ior execution.
15.What are the main events an interactive report have? (Multiple Answer)
A. Top-oI-page during line selection.
B. At line-selection.
C. At user-command.
D. AT New
16.How many types of tables exist in data dictionary? (Multiple Answer)
A. Transparent tables
B. Internal Table
C. Pool tables
D. Hash Table
E. Cluster tables
F. Master Data Table
17. What is the difference between UPLOAD and WS_UPLOAD? (Multiple Answer)
A. WSUPLOAD - File transIer with dialog Irom presentation server Iile to internal table. Data
which is available in a Iile on the presentation server is transIerred in an internal table. ASCII &
Binary Iiles can be transIerred.
B. UPLOAD - To read data Irom the presentation server into an internal table without a user
dialog, use the Iunction module WSUPLOAD. The most important parameters are listed below.
C. UPLOAD - File transIer with dialog Irom presentation server Iile to internal table. Data which
is available in a Iile on the presentation server is transIerred in an internal table. ASCII & Binary
Iiles can be transIerred.
D.WSUPLOAD - To read data Irom the presentation server into an internal table without a user
dialog, use the Iunction module WSUPLOAD. The most important parameters are listed below.
1.Is Session Method, Asynchronous or Synchronous?
A. Asynchronous
B. Synchronous
C. Synchronous and Asynchronous
D. None oI above

19. 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) oI an ABAP program. Data
within this area is retained within a sequence oI 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 Irom one program to another within a session (as with
ABAP memory) or to pass data Irom one session to another.
C.ABAP Memory is a memory area in the internal session (roll area) oI an ABAP program. Data
within this area is retained within a sequence oI 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 Irom one program to another within a session (as with
ABAP memory) or to pass data Irom one session to another.
20. Which data type cannot be used to define parameters.
A. Type N
B. Type C
C. Type F
D. Type P
21. What is a collect statement? How is it different from append?
22 D|fference between c||ent dependent and c||ent |ndependent tab|es?
23. Predict the output oI the Iollowing code:
REPORT zsaptechnicaltest.

DATA:
dnumber TYPE i VALUE 1.

PERFORM calculate.

FORM calculate.
dnumber dnumber * 10.
ENDFORM. "calculate

PERFORM display.

FORM display.
WRITE dnumber.
ENDFORM. "display

24. Predict the output oI the Iollowing code:
REPORT zsaptechnicaltest.

DATA:
dstring(50) TYPE c,
doII type i.

move 'Welcome to SAPTechnical.COM' to dstring.

FIND 'SAPTechnical' IN dstring MATCH OFFSET doII.

shiIt dstring by doII places.

write dstring.
25. Predict the output oI the Iollowing code:
REPORT zsaptechnicaltest.

PARAMETERS:
pgetval(20).

IF pgetval 'SAPTechnical.COM'.
WRITE 'Alpha'.
ELSE.
WRITE 'Beta'.
ENDIF.
26. 10. Predict the output oI the Iollowing code:
REPORT zsaptechnicaltest.

Parameters:
dchar OBLIGATORY.

write dchar.
Assume that the user entered '!' (No quotes) on the selection-screen and executed the program. What would be the
output?
27. In reporting tell me all the events in a sequentail order.
- Initialization.
- At Selection-Screen
- Start-oI-Selection.
- Top-oI-Page.
- At PIn.
- End-oI-Page.
- End-oI-Selection.
2. What is the difference between external & internal subroutine?
29. Why do we use ALV?
30. Why do we use GET CURSOR and what is it?
31. Both the events AT SELECTION-SCREEN and AT USER-COMMAND are processed
after user input.
Then what is the difference between these and when we should use what?
32. What types of objects can be created in the ABAP Dictionary?
Tables
Views
Data Elements
Structures
Table Types
Type Groups
Domains
Search Helps
Lock Objects




















ANSWERS:-
1. B
2. A
3. D
4. A
5. C
6. C
7. D
8. C
9. B
10. A
11. A
12. A,B
13. C,B
14. A,B
15. A,B,C
16. A,C,E
17. C,D
18. B
19. C,D
20. C
21 lf an enLry wlLh Lhe same key already exlsLs Lhe CCLLLC1 sLaLemenL does noL append a new llne buL
adds Lhe conLenLs of Lhe numerlc flelds ln Lhe work area Lo Lhe conLenLs of Lhe numerlc flelds ln Lhe
exlsLlng enLry
ALnu
ALnu sLaLemenL ls used Lo append(lnserL) a record aL Lhe end of an lnLernal Lablehere lL wlll noL
check weaLher Lhe record ls exlsLed wlLh Lhe same fleld values or noL

SynLax ALnu wa 1C lLab

CCLLLC1
CCLLLC1 sLaLemenL ls used Lo add Lhe numerlc fleld values of an exlsLlng record(lf all Lhe oLher fleld
values are equal Lo Lhe exlsLlng record) or lnserLlng a new rcord(lf any one of Lhe oLher fleld value ls
dlfferenL)

SynLax CCLLLC1 wa ln1C lLab

22 Lables whlch can be access by all user are cllenL lndependenL (no mandL fleld ln Lable)
Lables whlch can be access by some speclflc user are cllenL dependenL (use mandL fleld ln Lable)

A client-dependent table has the Iield MANDT oI data type CLNT, which indicates Client id.
A client-independent table does not have this Iield.

---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
Sudeshna
Answer 1:
28) Internal subroutines in the sense ..subroutines which are deIined and used in a same
program...external in the sense iI you create a sub routine in one program and you're calling this
subroutine in another program ..then this is external subroutine.
29) ALV gives many advantages than a list like sorting summing getting graphics like that stuII
30) While generating a interactive report we will use get cursor..use is to get the value oI the Iiel
under the cursor..
31) At selection screen is used to validate the Iields in a selection screen...and at user command
is used to modiIy the screen in a selection screen and in genarating secondary lists..
Sarath Reddy
Answer 2:
28. The name itselI implies the internal subroutines deIined by Iorm /perIorm.. can be called
within the same prog in which they were declared.....external subroutines can be called outside
the program.......
29. SAP LIST VIEWER is ALV . its main advantage is by using ALV technique we can Iind
totals ,subtotals ,sort in any order etc there itselI in the list output oI course we need to write all
those Iunctionalities while using ALV...also many Iunctional modules are deIined under ALV
concept...
30. GETCURSOR is used to trace the position oI the cursor in the list ..
suppose we want to double click on any Iilled in the list and want to trace data using that Iield we
use getcursor .....
31.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 pI-status which means creating our own
menu with Iunction codes etc...
33.What types of tabIes can be created in the ABAP Dictionary?
Transparent Tables
Pooled Tables
Cluster Tables
34.What is the difference between PooIed tabIes and CIuster tabIes?
Cluster tables and Pooled tables have many to one relationship with the underlying database.
table pool corresponds to a table in the database in which all records from the pooled tables assigned
to it are stored. Several logical data records from different cluster tables can be stored together in one
physical record in a table cluster.
O pooled table cannot have the name having more than 10 characters.
O ll the key fields of the pooled table must be of character data type.
O n pooled tables, the maximum length of the key field/data fields should not exceed the length of
varkey/vardata of the pool respectively.
O n cluster table the records having the same key are stored in a single key in the cluster.
O f there is an overflow of the data records a continuation record is created with the same table
key.
35.What is the difference between Database tabIes and Views?
The Table has a physical storage of data whereas views do not have physical storage of data.
The view is derived from one or more tables which is created only with the required fields from the
database table(s). t can also be created with table inner joins and specifying conditions for data retrieval.
36.What are the different types of Views?
O Projection view - Just retrieves some fields from a single table.
O Help View - This is used for search help.
O Database View - This is inner join view of one or more tables
O Maintenance View - Helps in creating maintaining data of the application object. The data can be
distributed among several tables.
37.Can I use aII the views in the ABAP program ?
o. You can use only projection view or database view in your P program.
38.What is TabIe Maintenance Generator?
The Table Maintenance Generator is used to create table maintenance program to add, modify or delete
records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu
Utilities->Table Maintenance Generator.
39.In which tabIe are the programs stored in?
The programs are stored in the table TDR and the development class packages in TDEVC.
40.What is the difference between INSERT and MODIFY?
henever you need to create new records in the database table use SERT. henever using SERT
be sure that a duplicate entry having the same values for the primary key fields are not present. Else it
may throw a dump.
hen you use MODFY it makes a check for the matching key field values. f present it modifies the
matching record, else it creates a new record in the database table.
41.What is the difference between Domain and Data EIements?
The Domain specifies the Technical attributes of the field such as the data type, length and the value
range.
The data element is an elementary type defining the description/text for the field when displaying on the
screen and Parameter D.
42. What is the meaning of a field symbol?
Field symbols don`t make space in the physical memory, instead they display Iields that will be
available at the program start. Usually it is enough to know just the Iield that we are about to
process and the mode in which it is processed at runtime. To accomplish this we can make Iield
symbols in our program and real Iields can then be assigned to the Iield symbols during runtime.
The processes that we initiated with the Iield symbols will then be transported along with their
assigned Iields, aIter this it doesn`t matter iI we reIerence the Iields or the Iield symbols.

43. What is the role of function modules and what types of parameters exist for them?
The Iunction modules are library routines with a generic use and they are Iound everywhere in
the system. Usually they have 4 types oI parameters:
a) EXPORTING- used to transIer data to the invoked Iunction.
b) TABLES-used to transIer by reIerence just internal tables.
c) IMPORTING-used to get data that the Iunction module returned.
d) CHANGING-used Ior transIerring parameters to a Iunction and Irom the Iunction.

44. What are authorization objects and What statements is used to perIorm an Authorization
Check in an ABAP Program?

45.What two statements are required in an ABAP Program to output an icon using a WRITE
Statement?

46. What are the diIIerent type oI internal tables? Explain?

47.What is the purpose oI Table BuIIerring?

48. What is the diIIerence between CLEAR and FREE statements with an internal table?

49. What are the diIIerent ways oI passing parameters Irom main program to Sub Routines?

50. What is a Function Group?

51. 1here are varlous posslblllLles of creaLlng/changlng an A8A programme Some of Lhese are

A Cpenlng programs ln Lhe Cb[ecL navlgaLor
8 uslng Lhe A8A LdlLor
C uslng LLW8
u uslng lorward navlgaLlon

nswer
A 8 u

32 Whlch of Lhe followlng are accepLable names of an A8A program?

A ZCSuA8A
8 ?M?ll8S1A8A8CC8AM
C Z"MyllrsL A8A 8CC8AM
u Zll8S1A8A8CC8AM
L 1PlSlSM?ll8S1A8A8CC8AMML

nswer
A 8 L

33 uaLa Lypes ln A8A are noL [usL aLLrlbuLes of flelds buL can be deflned ln Lhelr own rlghL Where ln
A8A
can you deflne daLa Lypes?

A A8A ulcLlonary
8 ln programs
C ln lMC

nswer
A 8

34 Whlch of Lhe followlng are ways Lo process large volumes of daLa ln A8A?

A lnLernal 1ables
8 LxLracLs
C uaLabase SLorage
nswer
A 8

33 SA L8 SysLem conLalns a lock mechanlsm fully lndependenL of daLabase locks LhaL allows you Lo
seL a
lock LhaL spans several dlalog sLeps 1hese locks are known as SA locks Whlch of Lhe followlng are
funcLlonallLles of SA Locks?

A 1he SA lock concepL ls based on lock ob[ecLs
8 8efore you can seL an SA lock ln an A8A program you musL flrsL creaLe a lock ob[ecL ln Lhe A8A
ulcLlonary
C 1here are Lhree Lypes of locks ln Lhe sysLem shared loglcal and excluslve
u When you creaLe a lock ob[ecL Lhe sysLem auLomaLlcally creaLes Lwo funcLlon modules

nswer
A 8 u

36 When you creaLe a funcLlon module you can seL Lhe rocess 1ype aLLrlbuLe Lo one of Lhe followlng
values

A updaLe wlLh lmmedlaLe sLarL
8 updaLe wlLhouL lmmedlaLe sLarL
C updaLed wlLh Manual sLarL
u updaLe wlLh uelayed sLarL

nswer
A u

37 Lach A8A program conslsLs of selfconLalned processlng blocks whlch may occur ln any order ln Lhe
source code rocesslng blocks are secLlons of programs made up of sLrucLure blocks Whlch of Lhe
sLaLemenLs abouL processlng blocks are 1rue?

A 1hey can be processed sequenLlally or ln parallel
8 1hey can be called from wlLhln a program or from ouLslde an A8A program
C 1o sLarL an A8A program aL leasL one of lLs processlng blocks musL be sLarLed from ouLslde Lhe
program
lLself

nswer
8 C

58. Some A8A programs can be run by a user by enLerlng Lhe program name or a LransacLlon code
1hese
programs are of Lype?

A 1ype 1
8 1ype M
C 1ype l
u 1ype k

nswer
A 8

39 Classbased excepLlons are handled ln a conLrol sLrucLure LhaL has Lhe followlng elemenLs

A 1ry block
8 CaLch block
C ueleLe block
u Lrase block

nswer
A 8

60 ln a loop a sLaLemenL block ls execuLed several Llmes ln successlon Some of Lhe dlfferenL klnds of
loops
ln A8A are

A uncondlLlonal loops uslng Lhe uC sLaLemenL
8 CondlLlonal loops uslng Lhe WPlLL sLaLemenL
C Loops Lhrough lnLernal Lables uslng Lhe LCC sLaLemenL
u uncondlLlonal loops uslng Lhe WPlLL sLaLemenL

nswer
A 8 C

You might also like