Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 22

More than 100 ABAP Interview Faq's

Content Author : Prbabu


Author email : prbabu9@yahoo.co.in
Feel free to contribute to those questions without answers or addin additional ti!s
for those answers which "ou thin# can be further im!rove b" $ubmittin% a ABAP
&i!s or ABAP Pro%rams'
1' (hat is the t"!ical structure of an ABAP)* !ro%ram+
ANS:-
HEADER ,BODY,FOOTER.
,' (hat are field s"mbols and field %rou!s'+
-ave "ou used .com!onent id/ of structure. clause with field %rou!s+
ANS:-
Fi!" #y$bo!#:-
Fi!" %roup# :-
0' (hat should be the a!!roach for writin% a B1C !ro%ram+
ANS:-
STEP &: 'ON(ERT)N* THE +E*A'Y SYSTE, DATA TO A F+AT F)+E -o in-rna!
-ab! 'A++ED .'ON(ERS)ON..
STEP /: TRANSFER)N* THE F+AT F)+E )NTO SAP SYSTE, 'A++ED .SAP DATA
TRANSFER..
STEP 0: DEPEND)N* 1PON THE BD' TYPE i2ca!! -ran#ac-ion34ri- -h pro%ra$
5p!ici-y2
ii2 cra- ###ion# 3###ion# ar cra-" an" proc##".i6 #ucc## "a-a 7i!! -ran#6r2.
*' (hat is a batch in!ut session+
ANS:-
BAT'H )NP1T SESS)ON i# an in-r$"ia- #-p b-7n in-rna! -ab! an" "a-aba#
-ab!.
Da-a a!on% 7i-h -h ac-ion i# #-or" in ###ion i "a-a 6or #crn 6i!"#, -o 7hich #crn i-
i# pa##",pro%ra$ na$ bhin" i-, an" ho7 n5- #crn i# proc##".
2' (hat is the alternative to batch in!ut session+
ANS:-
'a!! -ran#ac-ion.
3' A situation: An ABAP !ro%ram creates a batch in!ut session'
(e need to submit the !ro%ram and the batch session in bac# %round' -ow to do
it+
ANS:-
&
%o -o S,08 an" cra- bac9%roun" :ob by %i;in%
:ob na$,:ob c!a## an" :ob #-p# 3<OB S'HED1+)N*2
4' (hat are the !roblems in !rocessin% batch in!ut sessions+
-ow is batch in!ut !rocess different from !rocessin% online+
ANS:-
PROB+E,S:-
i2 )6 -h u#r 6or%-# -o op- 6or 9p ###ion -hn -h ###ion 7i!! b au-o$a-ica!!y
r$o;" 6ro$ -h ###ion =uu3!o% r$ain#2. Ho7;r i6 ###ion i# proc##" 7 $ay
"!- i- $anua!!y.
ii2i6 ###ion proc##in% 6ai!# "a-a 7i!! no- b -ran#6rr" -o SAP "a-aba# -ab!.
10' (hat are the different t"!es of data dictionar" ob5ects+
an#:-
-ab!#, #-ruc-ur#, ;i7#, "o$ain#, "a-a !$n-#, !oc9 ob:c-#, ,a-chco" ob:c-#.
11' -ow man" t"!es of tables e/ists and what are the" in data dictionar"+
an# :-
> -yp# o6 -ab!#
i2Tran#parn- -ab!# - E5i#-# 7i-h -h #a$ #-ruc-ur bo-h in "ic-ionary a# 7!! a# in
"a-aba# 5ac-!y 7i-h -h #a$ "a-a an" 6i!"#. Bo-h Opn#=! an" Na-i;#=! can b u#".
ii2Poo! -ab!# ? iii2'!u#-r -ab!# -
Th# ar !o%ica! -ab!# -ha- ar arran%" a# rcor"# o6 -ran#parn- -ab!#.on canno- u#
na-i; #=! on -h# -ab!#
3on!y opn#=!2.Thy ar no- $ana%ab! "irc-!y u#in% "a-aba# #y#-$ -oo!#.
i;2)n-rna! -ab!# - .
1,' (hat is the ste! b" ste! !rocess to create a table in data dictionar"+
an#:-
#-p &: cra-in% "o$ain#3"a-a -yp,6i!" !n%-h,ran%2.
#-p /: cra-in% "a-a !$n-#3propr-i# an" -yp 6or a -ab!
6i!"2.
#-p 0: cra-in% -ab!#3SE&&2.
10' Can a trans!arent table e/ist in data dictionar" but not in the data base
!h"sicall"+
ANS:- NO.
TRANSPARENT TAB+E DO E@)ST 4)TH THE SA,E STR1'T1RE BOTH )N THE
D)'T)ONARY AS 4E++ AS )N THE DATABASE,E@A'T+Y 4)TH THE SA,E
DATA AND F)E+DS.
1*' (hat are the domains and data elements+
ANS:-
DO,A)NS : FOR,A+ DEF)N)T)ON OF THE DATA TYPES.THEY SET
/
ATTR)B1TES S1'H AS DATA TYPE,+EN*TH,RAN*E.
DATA E+E,ENT : A F)E+D )N RA0 SYSTE, )S A DATA E+E,ENT.
12' Can "ou create a table with fields not referrin% to data elements+
ANS:-
YES. %:- )TAB +)BE SPF+).hr 7 ar r6rnin% -o a "a-a ob:c-3SPF+)2 no- "a-a
!$n-.
13' (hat is the advanta%e of structures+ -ow do "ou use them in the ABAP
!ro%rams+
ANS:-
A";:- *+OBA+ E@)STAN'E3-h# cou!" b u#" by any o-hr pro%ra$ 7i-hou-
cra-in% i- a%ain2.
16' (hat does an e/tract statement do in the ABAP !ro%ram+
ANS:-
Onc you ha; "c!ar" -h po##ib! rcor" -yp# a# 6i!" %roup# an" "6in" -hir
#-ruc-ur, you can 6i!! -h 5-rac- "a-a#- u#in% -h 6o!!o7in% #-a-$n-#:
E@TRA'T C6%D.
4hn -h 6ir#- E@TRA'T #-a-$n- occur# in a pro%ra$, -h #y#-$ cra-# -h 5-rac-
"a-a#- an" a""# -h 6ir#- 5-rac- rcor" -o i-. )n ach #ub#=un- E@TRA'T #-a-$n-,
-h n7 5-rac- rcor" i# a""" -o -h "a-a#-
E@TRA'T HEADER.
4hn you 5-rac- -h "a-a, -h rcor" i# 6i!!" 7i-h -h currn- ;a!u# o6 -h
corr#pon"in% 6i!"#.
A# #oon a# -h #y#-$ ha# proc##" -h 6ir#- E@TRA'T #-a-$n- 6or a 6i!" %roup
C6%D, -h #-ruc-ur o6 -h corr#pon"in% 5-rac- rcor" in -h 5-rac- "a-a#- i# 6i5". You
can no !on%r in#r- n7 6i!"# in-o -h 6i!" %roup# C6%D an" HEADER. )6 you -ry -o
$o"i6y on o6 -h 6i!" %roup# a6-r7ar"# an" u# i- in ano-hr E@TRA'T #-a-$n-, a
run-i$ rror occur#.
By proc##in% E@TRA'T #-a-$n-# #;ra! -i$# u#in% "i66rn- 6i!" %roup#, you 6i!!
-h 5-rac- "a-a#- 7i-h rcor"# o6 "i66rn- !n%-h an" #-ruc-ur. Sinc you can $o"i6y
6i!" %roup# "yna$ica!!y up -o -hir 6ir#- u#a% in an E@TRA'T #-a-$n-, 5-rac-
"a-a#-# pro;i" -h a";an-a% -ha- you n" no- "-r$in -h #-ruc-ur a- -h b%innin%
o6 -h pro%ra$.
14' (hat is a collect statement+ -ow is it different from a!!end+
ANS:-
)6 an n-ry 7i-h -h #a$ 9y a!ra"y 5i#-#, -h 'O++E'T #-a-$n- "o# no- appn" a
n7 !in, bu- a""# -h con-n-# o6 -h nu$ric 6i!"# in -h 7or9 ara -o -h con-n-# o6
-h nu$ric 6i!"# in -h 5i#-in% n-ry.
0
17' (hat is o!en sql vs native sql+
ANS:- by ,a"hu9ar
Opn SE+ , na-i; SE+ ar -h in-r6ac# -o cra- -h "a-aba# app!ica-on#.
Opn SE+ i# con#i#-an- acro## "i66rn- -yp# o6 5i#-in% Da-aba##.
Na-i; SE+ i# -h "a-aba# !an%ua% #pci6ic -o "a-aba#.)-# AP) i# #pci6ic -o -h
"a-ab#.
Opn SE+ AP) i# con#i#-n- acro## a!! ;n"or#
,0' (hat does an 898C $:; stmt do in ABAP+ (hat is the disadvanta%e of usin%
it+
ANS:-
,1' (hat is the meanin% of ABAP)* editor inte%rated with ABAP)* data dictionar"+
ANS:-
,,' (hat are the events in ABAP)* lan%ua%e+
ANS:-
)ni-ia!iFa-ion, A- #!c-ion-#crn,S-ar--o6-#!c-ion,n"-o6-#!c-ion,-op-o6-pa%,n"-o6-
pa%, A- !in-#!c-ion,A- u#r-co$$an",A- PF,*-,A- N7,A- +AST,AT END, AT
F)RST.
,0' (hat is an interactive re!ort+
4ha- i# -h ob;iou# "i66 o6 #uch rpor- co$par" 7i-h c!a##ica! -yp rpor-#G
ANS:-
An )n-rac-i; rpor- i# a "yna$ic "ri!! "o7n rpor- -ha- pro"uc# -h !i#- on u#r# choic.
"i66:-
a2 THE +)ST PROD1'ED BY '+ASS)'A+ REPORT DOESNHT a!!o7 u#r -o in-rac-
7i-h -h #y#-$
-h !i#- pro"uc" by in-rac-i; rpor- a!!o7# -h u#r -o in-rac- 7i-h -h #y#-$.
b2 ON'E A '+ASS)'A+ REPORT E@E'1TED 1SER +OOSES 'ONTRO+.)R 1SER
HAS 'ONTRO+.
c2 )N '+ASS)'A+ REPORT DR)++)N* )S NOT POSS)B+E.)N )NTERA'T)(E
DR)++)N* )S POSS)B+E.
,*' (hat is a drill down re!ort+
ANS:-
)-# an )n-rac-i; rpor- 7hr in -h u#r can %- $or r!a;n- "a-a by #!c-in%
5p!ici-!y.
,2' -ow do "ou write a function module in $AP+ describe'
ANS:-
cra-in% 6unc-ion $o"u!:-
ca!!" pro%ra$ - #0I-cra-in% 6unc%rp,6unc$o"u! by a##i%nin%
a--ribu-#,i$por-in%,5por-in%,-ab!#,5cp-ion#.
>
ca!!in% pro%ra$ - SE0J-in p%$ c!ic9 pa--rn an" 7ri- 6unc-ion na$- pro;i"
5por-,i$por-,-ab!#,5cp-ion ;a!u#.
,3' (hat are the e/ce!tions in function module+
ANS:-
'O,,1N)'AT)ONKFA)+1RE
SYSTE,KFA)+1RE
,6' (hat is a function %rou!+
ANS:-
*RO1P OF A++ RE+ATED F1N'T)ONS.
,4' -ow are the date and time field values stored in $AP+
ANS:-
DD.,,.YYYY. HH:,,:SS
00' <ame a few data dictionar" ob5ects+ ))re!))
ANS:-
TAB+ES,()E4S,STR1'T1RES,+O'B OB<E'TS,,AT'H'ODE OB<E'TS.
01' (hat ha!!ens when a table is activated in 11+
ANS:-
)- i# a;ai!ab! 6or any in#r-ion,$o"i6ica-ion an" up"a-ion o6 rcor"# by any u#r.
0,' (hat is a chec# table and what is a value table+
'hc9 -ab! 7i!! b a- 6i!" !;! chc9in%.
(a!u -ab! 7i!! b a- "o$ain !;! chc9in% 5: #carr -ab! i# chc9 -ab! 6or carri".
00' (hat are match codes+ describe+
an#:-
)- i# a #i$i!ar -o -ab! in"5 -ha- %i;# !i#- o6 po##ib! ;a!u# 6or i-hr pri$ary 9y# or
non-pri$ary 9y#.
0*' (hat transactions do "ou use for data anal"sis+
ANS:-
02' (hat is table maintenance %enerator+
ANS:-
03' (hat are ran%es+ (hat are number ran%es+
ANS:-
$a5,$in ;a!u# pro;i"" in #!c-ion #crn#.
06' (hat are select o!tions and what is the diff from !arameters+
ANS:-
#!c- op-ion# pro;i" ran%# 7hr a# para$-r# "o no-.
L
SE+E'T-OPT)ONS "c!ar# an in-rna! -ab! 7hich i# au-o$a-ica!!y 6i!!" 7i-h ;a!u# or
ran%#
o6 ;a!u# n-r" by -h n" u#r. For ach SE+E'T-OPT)ONS , -h #y#-$ cra-# a
#!c-ion -ab!.
SE+E'T-OPT)ONS CSE+D FOR C6i!"D.
A #!c-ion -ab! i# an in-rna! -ab! 7i-h 6i!"# S)*N, OPT)ON, +O4 an" H)*H.
Th -yp o6 +O4 an" H)*H i# -h #a$ a# -ha- o6 C6i!"D.
Th S)*N 6i!" can -a9 -h 6o!!o7in% ;a!u#: ) )nc!u#i; 3#hou!" app!y2 E E5c!u#i;
3#hou!" no- app!y2
Th OPT)ON 6i!" can -a9 -h 6o!!o7in% ;a!u#: EE E=ua! *T *ra-r -han NE No-
=ua! BT B-7n +E +##
-han or =ua! NB No- b-7n +T +## -han 'P 'on-ain# pa--rn *E *ra-r -han or
=ua! NP No pa--rn.
"i66:-
PARA,ETERS a!!o7 u#r# -o n-r a #in%! ;a!u in-o an in-rna! 6i!" 7i-hin a rpor-.
SE+E'T-OPT)ONS a!!o7 u#r# -o 6i!! an in-rna! -ab! 7i-h a ran% o6 ;a!u#.
For ach PARA,ETERS or SE+E'T-OPT)ONS #-a-$n- you #hou!" "6in -5-
!$n-# by choo#in%
*o-o - T5- !$n-# - S!c-ion -5-# - 'han%.
E%:- Para$-r# na$30M2.
7hn -h u#r 5cu-# -h ABAPA> pro%ra$,an inpu- 6i!" 6or Hna$H 7i!! appar on -h
#!c-ion #crn.You can chan% -h co$$n-# on -h !6- #i" o6 -h inpu- 6i!"# by u#in%
-5- !$n-# a# "#crib" in S!c-ion T5-#.
04' -ow do "ou validate the selection criteria of a re!ort+
And how do "ou dis!la" initial values in a selection screen+
ANS:-
;a!i"a- :- by u#in% $a-ch co" ob:c-#.
"i#p!ay :- Para$-r# Cna$D "6au!- H555H.
#!c--op-ion# Cna$D 6or #p6!i-carri".
07' (hat are selection te/ts+
ANS:-
*0' (hat is C&$ and what do "ou #now about it+
ANS:-
Th 'han% an" Tran#por- Sy#-$ 3'TS2 i# a -oo! -ha- h!p# you -o or%aniF ";!op$n-
pro:c-# in -h ABAP 4or9bnch an" in 'u#-o$iFin%, an" -hn -ran#por- -h chan%#
b-7n -h SAP Sy#-$# an" c!in-# in your #y#-$ !an"#cap.
Thi# "ocu$n-a-ion pro;i"# you 7i-h an o;r;i7 o6 ho7 -o $ana% chan%# 7i-h -h
'TS an" ##n-ia! in6or$a-ion on #--in% up your #y#-$ an" c!in- !an"#cap an"
8
"ci"in% on a -ran#por- #-ra-%y. Ra" an" 6o!!o7 -hi# "ocu$n-a-ion 7hn p!annin% your
";!op$n- pro:c-.
For prac-ica! in6or$a-ion on 7or9in% 7i-h -h 'han% an" Tran#por- Sy#-$, # 'han%
an" Tran#por- Or%aniFr an" Tran#por- ,ana%$n- Sy#-$.
*1' (hen a !ro%ram is created and need to be trans!orted to !rodn does selection
te/ts alwa"s %o with it+ if not how do "ou ma#e sure+ Can "ou chan%e the C&$
entries+ -ow do "ou do it+
ANS:-
*,' (hat is the client conce!t in $AP+ (hat is the meanin% of client inde!endent+
ANS:-
*0' Are !ro%rams client de!endent+
ANS:-
Y#.*roup o6 u#r# can acc## -h# pro%ra$# 7i-h a c!in- no.
**' <ame a few s"stem %lobal variables "ou can use in ABAP !ro%rams+
ANS:-
SY-S1BR',SY-DB'NT,SY-+)++),SY-DAT1,,SY-1NE)T,SY-1'O,,,SY-TAB)@.....
SY-+)++) )S ABSO+1TE NO OF +)NES FRO, 4H)'H THE E(ENT 4AS
TR)**ERED.
*2' (hat are internal tables+ -ow do "ou %et the number of lines in an internal
table+
-ow to use a s!ecific number occurs statement+
ANS:-
i2)- i# a #-an"ar" "a-a -yp ob:c- 7hich 5i#-# on!y "urin% -h run-i$ o6 -h pro%ra$.
Thy ar u#" -o pr6or$ -ab! ca!cu!a-ion# on #ub#-# o6 "a-aba# -ab!# an" 6or r-
or%ani#in% -h con-n-# o6 "a-aba# -ab!# accor"in% -o u#r# n".
ii2u#in% SY-DB'NT.
iii2Th nu$br o6 $$ory a!!oca-ion# -h #y#-$ n" -o a!!oca- 6or -h n5- rcor"
popu!a-ion.
*3' -ow do "ou ta#e care of !erformance issues in "our ABAP !ro%rams+
Pr6or$anc o6 ABAP# can b i$pro;" by $ini$iFin% -h a$oun- o6 "a-a -o b
-ran#6rr".
Th "a-a #- $u#- b -ran#6rr" -hrou%h -h n-7or9 -o -h app!ica-ion#, #o r"ucin% -h
a$oun- OF -i$ an" a!#o r"uc# -h n-7or9 -ra66ic.
So$ $a#ur# -ha- can b -a9n ar:
- 1# ;i7# "6in" in -h ABAPA> DD)' 3a!#o ha# -h a";an-a% o6 b--r ru#abi!i-y2.
- 1# 6i!" !i#- 3SE+E'T c!au#2 ra-hr -han SE+E'T O.
- Ran% -ab!# #hou!" b a;oi"" 3)N opra-or2
- A;oi" n#-" SE+E'TS.
I
i2#y#-$ -oo!#
ii26i!" #y$bo!# an" 6i!" %roup#.
an#:-
Fi!" Sy$bo!# : Fi!" #y$bo!# ar p!acho!"r# 6or 5i#-in% 6i!"#. A Fi!" Sy$bo! "o#
no- phy#ica!!y r#r; #pac 6or a 6i!",bu- poin-# -o a 6i!" 7hich i# no- 9no7n un-i!
run-i$ o6 -h pro%ra$.
%:- F)E+D-SY,BO+ CFSD PCTYPEDQ.
Fi!" %roup# : A 6i!" %roup co$bin# #;ra! 6i!"# un"r on na$.A- run-i$,-h
)NSERT co$$an" i# u#" -o "6in 7hich "a-a 6i!"# ar a##i%n" -o 7hich 6i!" %roup.
Thr #hou!" a!7ay# b a HEADER 6i!" %roup -ha- "6in# ho7 -h 5-rac-" "a-a 7i!!
b #or-",-h "a-a i# #or-" by -h 6i!"# %roup" un"r -h HEADER 6i!" %roup.
*6' (hat are datasets+
ANS:-
Th #=un-ia! 6i!#3ON APP+)'AT)ON SER(ER2 ar ca!!" "a-a#-#. Thy ar u#" 6or
6i! han"!in% in SAP.
*4' -ow to find the return code of a statement in ABAP !ro%rams+
ANS:-
1#in% 6unc-ion $o"u!#.
*7' (hat are interface)conversion !ro%rams in $AP+
ANS :
'ON(ERS)ON : +E*A'Y SYSTE, TO F+AT F)+E.
)NTERFA'E : F+AT F)+E TO SAP SYSTE,.
20' -ave "ou used $AP su!!lied !ro%rams to load master data+
21' (hat are the techniques involved in usin% $AP su!!lied !ro%rams+
1o "ou !refer to write "our own !ro%rams to load master data+ (h"+
2,' (hat are lo%ical databases+ (hat are the advanta%es)disadvanta%es of lo%ical
databases+
ANS:-
To ra" "a-a 6ro$ a "a-aba# -ab!# 7 u# !o%ica! "a-aba#.
A !o%ica! "a-aba# pro;i"# ra"-on!y acc## -o a %roup o6 r!a-" -ab!# -o an ABAPA>
pro%ra$.
a";:-
Th pro%ra$$r n" no- 7orry abou- -h pri$ary 9y 6or ach -ab!.Bcau# +o%ica!
"a-aba# 9no7# ho7 -h "i66rn- -ab!# r!a- -o ach o-hr,an" can i##u -h SE+E'T
co$$an" 7i-h propr 7hr c!au# -o r-ri; -h "a-a.
i2An a#y--o-u# #-an"ar" u#r in-r6ac.
ii2chc9 6unc-ion# 7hich chc9 -ha- u#r inpu- i# co$p!-,corrc-,an" p!au#ib!.
J
iii2$anin%6u! "a-a #!c-ion.
i;2cn-ra! au-horiFa-ion chc9# 6or "a-aba# acc###.
;2%oo" ra" acc## pr6or$anc 7hi! r-ainin% -h hirarchica! "a-a ;i7 "-r$in" by
-h app!ica-ion !o%ic.
"i#a";:-
i2)6 you "ono- #pci6y a !o%ica! "a-aba# in -h pro%ra$ a--ribu-#,-h *ET ;n-# n;r
occur.
ii2Thr i# no END*ET co$$an",#o -h co" b!oc9 a##ocia-" 7i-h an ;n- n"# 7i-h
-h n5- ;n-
#-a-$n- 3#uch a# ano-hr *ET or an END-OF-SE+E'T)ON2.
20' (hat s!ecific statements do "ou usin% when writin% a drill down re!ort+
an#:-
AT +)NE-SE+E'T)ON,AT 1SER-'O,,AND,AT PF.
2*' (hat are different tools to re!ort data in $AP+ (hat all have "ou used+
an#:-
22' (hat are the advanta%es and disadvanta%es of ABAP)* quer" tool+
23' (hat are the functional areas+ =ser %rou!s+ and how does ABAP)* quer" wor#
in relation to these+
26' Is a lo%ical database a requirement)must to write an ABAP)* quer"+
27' (hat are Chan%e header)detail tables+ -ave "ou used them+
30' (hat do "ou do when the s"stem crashes in the middle of a B1C batch session+
an#:-
7 7i!! !oo9 in-o -h rror !o% 6i! 3S,0L2.
31' (hat do "ou do with errors in B1C batch sessions+
ANS:-
4 !oo9 in-o -h !i#- o6 incorrc- ###ion an" proc## i- a%ain. To corrc- incorrc- ###ion
7 ana!yiF -h ###ion -o "-r$in 7hich #crn an" ;a!u pro"uc" -h rror.For #$a!!
rror# in "a-a 7 corrc- -h$ in-rac-i;!y o-hr7i#
$o"i6y ba-ch inpu- pro%ra$ -ha- ha# %nra-" -h ###ion or $any -i$# ;n -h
"a-a6i!.
3,' -ow do "ou set u! bac#%round 5obs in $AP+ (hat are the ste!s+ (hat are the
event driven batch 5obs+
an#:-
%o -o S,08 an" cra- bac9%roun" :ob by %i;in% :ob na$,:ob c!a## an" :ob #-p#3<OB
S'HED1+)N*2
9
30' Is it !ossible to run host command from $AP environment+ -ow do "ou run+
3*' (hat #ind of financial !eriods e/ist in $AP+ (hat is the relavent table for that+
32' 1oes $AP handle multi!le currencies+ Multi!le lan%ua%es+
an#:-
Y#.
33' (hat is a currenc" factorin% technique+
36' -ow do "ou document ABAP)* !ro%rams+ 1o "ou use !ro%ram documentation
menu o!tion+
34' (hat is $APscri!t and la"out set+
an#:-
Th -oo! 7hich i# u#" -o cra- !ayou- #- i# ca!!" SAP#crip-. +ayou- #- i# a "#i%n
"ocu$n-.
37' (hat are the ABAP)* commands that lin# to a la"out set+
an#:-
con-ro! co$$an"#,#y#-$ co$$an"#,
60' (hat is out!ut determination+
61' (hat are I1>Cs+
an#:-
)DO'# ar in-r$"ia- "ocu$n-# -o ho!" -h $##a%# a# a con-ainr.
6,' (hat are screen !ainter+ menu !ainter+ ?ui status+ ''etc'
an#:-
"ynpro - 6!o7 !o%ic R #crn#.
$nu pain-r -
*1) S-a-u# - )- i# #ub#- o6 -h in-r6ac !$n-#3-i-! bar,$nu bar,#-an"ar" -oo!
bar,pu#h bu--on#2 u#" 6or a cr-ain #crn.
Th #-a-u# co$pri## -ho# !$n-# -ha- ar currn-!y n"" by -h -ran#ac-ion.
60' (hat is screen flow lo%ic+ (hat are the sections in it+ 8/!lain PAI and PB>'
an#:-
Th con-ro! #-a-$n-# -ha- con-ro! -h #crn 6!o7.
PBO - Thi# ;n- i# -ri%%r" b6or -h #crn i# "i#p!ay".
PA) - Thi# ;n- i# r#pon#ib! 6or proc##in% o6 #crn a6-r -h u#r n-r# -h "a-a an"
c!ic9# -h pu#hbu--on.
6*' >verall how do "ou write transaction !ro%rams in $AP+
an#:-
'ra- pro%ra$-SE90-cra- -ran#co"-Run i- 6ro$ co$$an" 6i!".
&M
62' 1oes $AP has a ?=I screen !ainter or not+ If "es what o!eratin% s"stems is it
available on+ (hat is the other t"!e of screen !ainter called+
63' (hat are ste! loo!s+ -ow do "ou !ro%ram !a%edown !a%eu! in ste! loo!s+
an#:-
#-p !oop# ar rpa-" b!oc9# o6 6i!" in a #crn.
66' Is ABAP a ?=I lan%ua%e+
ANS:-
Y#.
ABAP )S AN E(ENT DR)(EN +AN*1A*E.
64' <ormall" how man" and what files %et created when a transaction !ro%ram is
written+
(hat is the 99999&>P !ro%ram+
an#:-
ABAPA> pro%ra$.
DYNPRO
67' (hat are the include !ro%rams+
ANS:-
4hn -h #a$ #=unc o6 #-a-$n-# in #;ra! pro%ra$# ar -o b 7ri--n rpa"!y
-hy ar co"" in inc!u" pro%ra$# 3E5-rna! pro%ra$#2 an" ar inc!u"" in ABAPA>
pro%ra$#.
40' Can "ou call a subroutine of one !ro%ram from another !ro%ram+
an#:- Y#- on!y 5-rna! #ubrou-in# 1#in% HS1B,)TH #-a-$n-.
41' (hat are user e/its+ (hat is involved in writin% them+ (hat !recations are
needed+
4,' (hat are @FCs+ -ow do "ou write @FCs on $AP side+
40' (hat are the %eneral namin% conventions of ABAP !ro%rams+
ANS:-
Shou!" #-ar- 7i-h Y or N.
4*' -ow do "ou find if a lo%ical database e/ists for "our !ro%ram requrements+
an#:-
S+DB-F>.
42' -ow do "ou find the tables to re!ort from when the user 5ust tell "ou the
transaction he uses+ And all the underl"in% data is from $AP structures+
an#:-
Tran#co" i# n-r" in co$$an" 6i!" -o opn -h -ab!.1-i!i-i#-Tab! con-n-#-"i#p!ay.
&&
43' -ow do "ou find the menu !ath for a %iven transaction in $AP+
an#:-
46' (hat are the different modules of $AP+
an#:-
F),'O,SD,,,,PP,HR.
47' -ow do "ou %et hel! in ABAP+
an#:-
HE+P-SAP +)BRARY,by pr##in% F& on a 9y7or".
70' (hat are different ABAP)* editors+ (hat are the differences+
an#:-
71' (hat are the different elements in la"out sets+
an#:-
PA*ES,Pa% 7in"o7#,Ha"r,Para%raph,'harac-r S-rin%,4in"o7#.
7,' Can "ou use if then elseA !erform ''etc statements in sa! scri!t+
an#:-
y#.
70' (hat t"!e of variables normall" used in sa! scri!t to out!ut data+
7*' -ow do "ou number !a%es in sa!scri!t la"out out!uts+
72' (hat ta#es most time in $AP scri!t !ro%rammin%+
ANS:-
+AYO1T DES)*N AND +O*O )NSERT)ON.
73' -ow do "ou use tab sets in la"out sets+
76' -ow do "ou bac#u! sa!scri!t la"out sets+ Can "ou download and u!load+
-ow+
74' (hat are !resentation and a!!lication servers in $AP+
ANS:-
Th app!ica-ion !ayr o6 an RA0 Sy#-$ i# $a" up o6 -h app!ica-ion #r;r# an" -h
$##a% #r;r. App!ica-ion pro%ra$# in an RA0 Sy#-$ ar run on app!ica-ion #r;r#.
Th app!ica-ion #r;r# co$$unica- 7i-h -h pr#n-a-ion co$ponn-#, -h "a-aba#,
an" a!#o 7i-h ach o-hr, u#in% -h $##a% #r;r.
77' In an ABAP)* !ro%ram how do "ou access data that e/ists on a !resentation
server vs on an a!!lication server+
an#:-
&/
i2u#in% !oop #-a-$n-#.
ii26!a-
100' (hat are different data t"!es in ABAP)*+
an#:-
E!$n-ary -
pr"6in" ',D,F,),N,P,T,@.
u#r"6in" TYPES.
5: # in in-! boo9 pa% no 0LA8L
S-ruc-ur" -
pr"6in" TAB+ES.
u#r"6in" Fi!" S-rin%# an" in-rna! -ab!#.
101' (hat is difference between session method and Call &ransaction+
an#:-
10,' $ettin% u! a B1C !ro%ram where "ou find information from+
an#:-
100' (hat has to be done to the !ac#ed fields before submittin% to a B1C session'
an#:-
6i!"# con;r-" in-o charac-r -yp.
10*' (hat is the structure of a B1C sessions'
an#:-
BD'DATA 3#-an"ar" #-ruc-ur2.
102' (hat are the fields in a B1CB&ab &able'
an#:-
pro%ra$,"ynpro,"ynb%in,6na$,6;a!.
103' (hat do "ou define in the domain and data element'
Tchnica! "-ai!# !i9
106' (hat is the difference between a !ool table and a trans!arent table and how
the" are stored at the database level'
an#:-
ii2Poo! -ab!# i# a !o%ica! rpr#n-a-ion o6 -ran#parn- -ab!# .Hnc no 5i#-nc a-
"a-aba# !;!. 4hr a# -ran#parn- -ab!# ar phy#ica! -ab!# an" 5i#- a- "a-aba# !;!.
104' (hat is cardinalit"+
For car"ina!i-y on ou- o6 -7o 3"o$ain or "a-a !$n-2 #hou!" b -h #a$ 6or N-#-&
an" N-#-/ -ab!#. ,:N
'ar"ina!i-y #pci6i# -h nu$br o6 "pn"n-3Tar%-2 an" in"pn"n- 3#ourc2 n-i-i#
7hich can b in a r!a-ion#hip.
&0
Interview :uestion on BAPIA @FCA ABAP >b5ectsA
&ables
1C (hat is the difference between @FC and BAPI +
(hat are subclasses and su!er classes in BAPI and also what are the methods in
BAPI +
,C Is it !ossible to connect $AP to <on$AP s"stems to retrieve data usin% @FC
alone with out usin% BAPI +
0C (hat is the difference between Function module and BAPI +
*C (hat are the t"!es of tables+
2C (hat are !ooled table +
3C (hat are -ashed &ables +
6C (hat are advanta%es of usin% ABAP ob5ects+
4C (hat is the advanta%e of usin% ABAP ob5ects in @e!orts +
&2BAP) ar RF' nab!" 6unc-ion $o"u!#. -h "i66rnc b-7n RFc an" BAP) ar
bu#in## ob:c-#. You cra- bu#in## ob:c-# an" -ho# ar -hn r%i#-r" in your BOR
3Bu#in## Ob:c- Rpo#i-ory2 7hich can b acc##" ou-#i" -h SAP #y#-$ by u#in%
#o$ o-hr app!ica-ion# 3Non-SAP2 #uch a# (B or <A(A. in -hi# ca# u on!y #pci6y -h
bu#in## ob:c- an" i-# $-ho" 6ro$ 5-rna! #y#-$ in BAP) -hr i# no "irc- #y#-$
ca!!. 7hi! RF' ar "irc- #y#-$ ca!! So$ BAP)# pro;i" ba#ic 6unc-ion# an" can b
u#" 6or $o#- SAP bu#in## ob:c- -yp#. Th# BAP)# #hou!" b i$p!$n-" -h #a$
6or a!! bu#in## ob:c- -yp#. S-an"ar"iF" BAP)# ar a#ir -o u# an" pr;n- u#r#
ha;in% -o "a! 7i-h a nu$br o6 "i66rn- BAP)#. 4hn;r po##ib!, a #-an"ar"iF"
BAP) $u#- b u#" in pr6rnc -o an in"i;i"ua! BAP).
Th 6o!!o7in% #-an"ar"iF" BAP)# ar pro;i"":
Ra"in% in#-anc# o6 SAP bu#in## ob:c-#
*-+i#- 3 2 4i-h -h BAP) *-+i#- you can #!c- a ran% o6 ob:c- 9y ;a!u#, 6or
5a$p!, co$pany co"# an" $a-ria! nu$br#.
Th BAP) *-+i#-32 i# a c!a## $-ho".
*-D-ai!32 4i-h -h BAP) *-D-ai!32 -h "-ai!# o6 an in#-anc o6 a bu#in## ob:c-
-yp ar r-ri;" an" r-urn" -o -h ca!!in% pro%ra$. Th in#-anc i# i"n-i6i" ;ia i-#
9y. Th BAP) *-D-ai!32 i# an in#-anc $-ho". BAP)# -ha- can cra-, chan% or
"!- in#-anc# o6 a bu#in## ob:c- -yp
Th 6o!!o7in% BAP)# o6 -h #a$ ob:c- -yp ha; -o b pro%ra$$" #o -ha- -hy can b
ca!!" #;ra! -i$# 7i-hin on -ran#ac-ion. For 5a$p!, i6, a6-r #a!# or"r & ha# bn
cra-", a #con" #a!# or"r / i# cra-" in -h #a$ -ran#ac-ion, -h #con" BAP) ca!!
$u#- no- a66c- -h con#i#-ncy o6 -h #a!# or"r /. A6-r co$p!-in% -h -ran#ac-ion 7i-h
a 'O,,)T 4ORB, bo-h -h or"r# ar #a;" con#i#-n-!y in -h "a-aba#.
&>
'ra-3 2 an" 'ra-Fro$Da-aS 3 2
Th BAP)# 'ra-32 an" 'ra-Fro$Da-a32 cra- an in#-anc o6 an SAP bu#in## ob:c-
-yp, 6or 5a$p!, a purcha# or"r. Th# BAP)# ar c!a## $-ho"#.
'han%3 2
Th BAP) 'han%32 chan%# an 5i#-in% in#-anc o6 an SAP bu#in## ob:c- -yp, 6or
5a$p!, a purcha# or"r. Th BAP) 'han% 32 i# an in#-anc $-ho".
D!-3 2 an" 1n"!-3 2 Th BAP) D!-32 "!-# an in#-anc o6 an SAP bu#in##
ob:c- -yp 6ro$ -h "a-aba# or #-# a "!-ion 6!a%.
Th BAP) 1n"!-32 r$o;# a "!-ion 6!a%. Th# BAP)# ar in#-anc $-ho"#.
'anc! 3 2 1n!i9 -h BAP) D!-32, -h BAP) 'anc!32 canc!# an in#-anc o6 a bu#in##
ob:c- -yp. Th in#-anc -o b canc!!" r$ain# in -h "a-aba# an" an a""i-iona!
in#-anc i# cra-" an" -hi# i# -h on -ha- i# ac-ua!!y canc!". Th 'anc!32 BAP) i# an
in#-anc $-ho".
A""C#ubob:c-D 3 2 an" R$o;C#ubob:c-D 3 2 Th BAP) A""C#ubob:c-D a""# a
#ubob:c- -o an 5i#-in% ob:c- in#-S anc an" -h BAP) an" R$o;C#ubob:c-D r$o;#
a #ubob:c- 6ro$ an ob:c- in#-anc. Th# BAP)# ar in#-anc $-ho"#.
/2 No i- i# no- po##ib! -o connc- SAP -o Non-SAP #y#-$# -o r-ri; "a-a u#in% RF'
a!on. RF' can acc# -h SAP 6ro$ ou-#i" on!y -hrou%h BAP) an" #a$ i# 6or ;ic ;r#a
acc##.
02 Each Bapi Ob:c- ha# )n-r6ac, By Fi!"#, A--ribu-#,,-ho"# an" E;n-#.
Bapi Func-ion ,o"u!# can b a--ach" -o -h# Bapi ob:c-# .Func-ion $o"u! ha# a
#in%! boun" 6unc-iona!i-y 7hi! a BAP) ob:c- can con-ain $any 6unc-iona!i-i#
>2 Tran#parn- -ab!, Poo! -ab! an" c!u#-r -ab! ar "a-a "ic-ionary -ab! ob:c-# #or-"
-ab!, in"5" -ab! an" ha#h -ab! ar in-rna! -ab!#.
L2Tab! poo!# 3poo!#2 an" -ab! c!u#-r# 3c!u#-r#2 ar #pcia! -ab! -yp# in -h ABAP
Dic-ionary. Th "a-a 6ro$ #;ra! "i66rn- -ab!# can b #-or" -o%-hr in a -ab! poo! or
-ab! c!u#-r. Tab!# a##i%n" -o a -ab! poo! or -ab! c!u#-r ar r6rr" -o a# poo!"
-ab!# or c!u#-r -ab!#.
A -ab! in -h "a-aba# in 7hich a!! rcor"# 6ro$ -h poo!" -ab!# a##i%n" -o -h -ab!
poo! ar #-or" corr#pon"# -o a -ab! poo!.
Th "6ini-ion o6 a poo! con#i#-# ##n-ia!!y o6 -7o 9y 6i!"# 3Tabna$ an" (ar9y2 an"
a !on% ar%u$n- 6i!" 3(ar"a-a2.
Tab! '!u#-r# S;ra! !o%ica! "a-a rcor"# 6ro$ "i66rn- c!u#-r -ab!# can b #-or"
-o%-hr in on phy#ica!
rcor" in a -ab! c!u#-r.
&L
A c!u#-r 9y con#i#-# o6 a #ri# o6 6r!y "6inab! 9y 6i!"# an" a 6i!" 3Pa%no2 6or
"i#-in%ui#hin% con-inua-ion rcor"#. A c!u#-r a!#o con-ain# a !on% 6i!" 3(ar"a-a2 -ha-
con-ain# -h con-n-# o6 -h "a-a 6i!"# o6 -h c!u#-r -ab!# 6or -hi# 9y. )6 -h "a-a "o#
no- 6i- in-o -h !on% 6i!", con-inua-ion rcor"# ar cra-". 'on-ro! in6or$a-ion on -h
#-ruc-ur o6 -h "a-a #-rin% i# #-i!! 7ri--n a- -h b%innin% o6 -h (ar"a-a 6i!".
82 Ha#h" -ab!#
Thi# i# -h $o#- appropria- -yp 6or any -ab! 7hr -h $ain opra-ion i# 9y acc##.
You canno- acc## a ha#h" -ab! u#in% i-# in"5. Th r#pon# -i$ 6or 9y acc##
r$ain# con#-an-, r%ar"!## o6 -h nu$br o6 -ab! n-ri#. +i9 "a-aba# -ab!#, ha#h"
-ab!# a!7ay# ha; a uni=u 9y. Ha#h" -ab!# ar u#6u! i6 you 7an- -o con#-ruc- an"
u# an in-rna! -ab! 7hich r#$b!# a "a-aba# -ab! or 6or proc##in% !ar% a$oun-# o6
"a-a.
Sa$p! Pro%: Thi# "o# no-hin%.
REPORT NK& .
-ab!#: $ara.
"a-a: i -yp ha#h" -ab! o6 $ara 7i-h uni=u 9y $a-nr
I2 an" J2 ABAP ob:c-# ar roo- 6or your pro%ra$ an" rpor-#.

(hat is the different btween clear and refresh+
Thr ar / -yp# o6 c!ar #-a-$n-# 7 can u#:
'!ar )TAB : Thi# S-a-$n- 7i!! c!ar -h )n-rna! Tab! Ha"r con-n-.
To c!ar -h )n-r-a! Tab! Har"r a# 7!! Bo"y 7 can u# '!ar )TAB P Q #-a-$n-.
R6r#h 7i!! "!-# -h )n-rna! Tab! con-n- bu- #-i!! $$ory i# no- 6r".
(hat is the !ic# statment do+
Pic9 S-a-$n- 7i!! cap-ur# -h 1#rAc-ion.
E%: i6 SY-1'O,, T H@H.
Thi# -yp o6 u#r ac-ion# can b cap-ur" -hru P)'B S-a-$n- on!y.
(hat is the different between sesstion method and call transaction method and
su!!ose I used one method to transform the data ne/t time su!!ose I want
transform the data which method I can use'
Thr ar $any "i66rnc b-7n S##ion $-ho" an" 'a!! Tran#ac-ion.
4hich $-ho" 7 ha; -o u# 7i!! b 6oun" ba#" on (o!u$ O6 "a-a an" Accuracy o6
"a-a %i;n. ,ain!y 'a!! Tran#ac-ion u#" 6or #$a!! #-# o6 "a-a bcau# in 'a!!
Tran#ac-ion 7 ha; -o Han"! -h Proc##in% rror# 5p!ici-!y. 4 can "o -hi# by
BD',S*'O++ #-ruc-ur.
&8
)n S##ion $-ho" #pra- ###ion 7i!! cra- 6or rror#. 'a!!! Tran#ac-ion 7i!! up"a- -h
Da-aba# 6a#-!y co$par 7i-h S##ion ,-ho".
(hat is sin%le and u!to one row different+
Th ,a:or "i66rnc b-7n S!c- Sin%! an" S!c- 1PTO & ro7# i# Th 1#a% O6
Bu66r 6or ach.
S!c- Sin%! 7i!! #arch 6or a!! -h #a-i#6i" "a-a an" brin% a!! -ha- "a-a in-o Bu66r an"
!a-r i- 7i!! %i; -o -ha- "a-a -o -h pro%ra$.
S!c- 1PTO & Ro7# 7i!! n" -h #arch a6-r %--in% -h &#- #a-i#6i" rcor" an" %i;#
-ha- rcor" -o -h pro%ra$.
Thu# S!c- Sin%! 7i!! -a9 $uch proc##in% -i$ 7hn co$par 7i-h S!c- 1PTO &
ro7#.
(hat is the differences between selection screen and selection screen out+
Th "i66rnc b-7n S!c-ion Scrn an" S!c-ion Scrn Ou-pu- i# 7 u# -h
S!c-ion Scrn Ou-pu- E;n- b6or -h S!c-ion Scrn 7i!! "i#p!ay". E%: Suppo#
i6 7 7an- -o "i#ab! #o$ 6i!"# an" nab! #o$ 6i!"# in -h S!c-ion Scrn -hn 7
can co" -ha- in Sc-ion-Scrn Ou-pu- ;n-.
S!c-ion-Scrn E;n- 7i!! -ri%%r a6-r #c-ion-#crn i# "i#p!ay" an" u#r ac-ion -a9#
p!ac on -ha-.
&i!s b" : @ashi A%nihotriA $reeram
Answers to some ABAP Interview :uestions
:uestions which I have faced in an interview:
1C (hat is runtime anal"sis+ -ave "ou used this+
,C (hat is meant b" !erformance anal"sis+ -ave done an"thin% to im!rove the
!erformance+
0C -ow to transfer the ob5ects+ -ave to transferred an" ob5ects+
*C -ow did "ou test the develo!ed ob5ects+
2C (hat is the difference between $AP Memor" and ABAP Memor"+
3C In order to u!load Purchase order detailsA how "ou handle multi!le values for a
sin%le field+
8%: Item field ma" contain no' of values for a record
6C (hat is the !rocedure "ou followed to u!load the data+
4C -ow did "ou handle errors in Call &ransaction+
7C Amon% the Call &ransaction and $ession MethodA which is faster+
10C (hat are the difference between Interactive and 1rill 1own @e!orts+
11C -ow to !ass the variables to forms+
1,C -ow to create a lin# between modified form and modified !rint !ro%ram+
10C (hat is the tableA which contain the details of all the name of the !ro%rams and
&I
forms+
1*C -ow did "ou test the form u develo!ed+ -ow did "ou ta#en !rint+
12C (hat are $tandard &e/ts+
13C (hat is the difference between Clustered &ables and Pooled &ables+
16C (hat is !fstatus+
14C Amon% .Move. and .Move Corres!ondin%.A which is efficient one+
17C (hat are the out!ut t"!e and &codes+
,0C (here we use Chain and 8ndchain+
,1C 1o "ou use select statement in loo! endloo!A how will be the !erformance+ &o
im!rove the !erformance+
,,C In selecto!tionsA how to %et the default values as current month first date and
last date b" default+
8%: 1)1,),00* and 01)1,),00*
*o -hru -h# an#7r#:
&2 4ha- i# run-i$ ana!y#i#G Ha; you u#" -hi#G
)-H# chc9# pro%ra$ 5cu-ion -i$ in $icro#con"#. 4hn you %o -o #0M.i6 you %i;
"#ir" pro%ra$ na$ in pr6or$anc 6i!. )- 7i!! -a9 you -o b!o7 #crn. You can %-
ho7 $uch pa#- i# your pro%ra$.
/2 4ha- i# $an- by pr6or$anc ana!y#i#G Ha; "on
02 Ho7 -o -ran#6r -h ob:c-#G Ha; you -ran#6rr" any ob:c-#G
>2 Ho7 "i" you -#- -h ";!op" ob:c-#G
) 7a# -#-in% a ";!op" ob:c-. Thr ar -7o -yp# o6 -#-in%
- N%a-i; -#-in%
- Po#i-i; -#-in%
)n n%a-i; -#-in% 7 7i!! %i; n%a-i; "a-a in inpu- an" 7 chc9 any rror# occur#.
)n po#i-i; -#-in% 7 7i!! %i; po#i-i; "a-a in inpu- 6or chc9in% rror#.
J2 Ho7 "i" you han"! rror# in 'a!! Tran#ac-ionG
4 can cra- a in-rna! -ab! !i9 Hb#%$c%co!!H. A!! -h $##a%# 7i!! %o -o in-rna! -ab!.
4 can %- rror# in -hi# in-rna! -ab!.
B!o7 $##a%# ar %o -o in-rna! -ab!. 7hn you run -h ca!! -ran#ac-ion.
- ,##a% -yp
- ,##a% i"
- ,##a% Nu$br
- (ariab!&
&J
- (ariab!/
- (ariab!0
92 A$on% -h 'a!! Tran#ac-ion an" S##ion ,-ho", 7hich i# 6a#-rG
'a!! -ran#ac-ion i# 6a#-r -hn ###ion $-ho". Bu- u#ua!!y 7 u# ###ion $-ho" in ra!
-i$...bcau# 7 can -ran#6r !ar% a$oun- o6 "a-a 6ro$ in-rna! -ab! -o "a-aba# an" i6
any rror# in a ###ion. Proc## 7i!! no- co$p!- un-i! ###ion %- corrc-.
&M2 4ha- ar -h "i66rnc b-7n )n-rac-i; an"
Dri!! Do7n Rpor-#G
ABAPA> pro;i"# #o$ in-rac-i; ;n-# on !i#-# #uch a# AT +)NE-SE+E'T)ON
3"oub! c!ic92 or AT 1SER-'O,,AND 3pr##in% a bu--on2. You can u# -h# ;n-# -o
$o; -hrou%h !ayr# o6 in6or$a-ion abou- in"i;i"ua! i-$# in a !i#-.
Dri!! "o7n rpor- i# no-hin% bu- in-rac-i; rpor-..."ri!!"o7n $an# abo; para%raph
on!y.
&&2 Ho7 -o pa## -h ;ariab!# -o 6or$#G
&/2 4ha- i# -h -ab!, 7hich con-ain -h "-ai!# o6 a!! -h na$ o6 -h pro%ra$# an"
6or$#G
Tab! con-ain# ;r-ica! an" horiFon-a! !in#. 4 can #-or -h "a-a in -ab! a# b!oc9#. 4
can #cro!! "pn"# upon your 7i#h. An" -h# a!! ar #-or" in "a-aba# 3"a-a "ic-ionary2.
4hich con-ain -h "-ai!# o6 a!! -h na$ o6 -h pro%ra$# an" 6or$#G 3) "onH- 9no72.
&02 Ho7 "i" you -#- -h 6or$ u ";!op"G Ho7 "i" you -a9n prin-G
&>2 4ha- ar S-an"ar" T5-#G
&82 4ha- i# -h "i66rnc b-7n '!u#-r" Tab!# an" Poo!" Tab!#G
A poo!" -ab! i# u#" -o co$bin #;ra! !o%ica! -ab!# in -h ABAPA> "ic-ionary. Poo!"
-ab!# ar !o%ica! -ab!# -ha- $u#- b a##i%n" -o a -ab! poo! 7hn -hy ar "6in".
'!u#-r -ab! ar !o%ica! -ab!# -ha- $u#- b a##i%n" -o a -ab! c!u#-r 7hn -hy ar
"6in".
'!u#-r -ab! can b u#" -o #-or con-ro! "a-a -hy can a!#o u#" -o #-or -$porary "a-a
or -5- #uch a# "ocu$n-a-ion.
&I2 4ha- i# p6-#-a-u#G
&9
P6 #-a-u# i# u#" in in-rac-i; rpor- 6or nhancin% -h 6unc-iona!i-y. )6 7 %o -o #>&, 7
can %- $nu#, i-$# an" "i66rn- 6unc-ion 9y#, 7hich 7 ar u#in% 6or #con"ary !i#- in
in-rac-i; rpor-.
&J2 A$on% .,o;. an" .,o; 'orr#pon"in%., 7hich i# 66icin- onG
) %u##, H$o; corr#pon"in%H i# ;ry 66icin- -hn H$o;H #-a-$n-. Bcau# u#ua!!y 7
u# -hi# #-a$-n- 6or in-rna! -ab! 6i!"# on!y...#o i6 7 %i; $o; corr#pon"in%. Tho#
6i!"# on!y $o;in% -o o-hr p!ac 37ha- ;r you 7an-2.
&92 4ha- ar -h ou-pu- -yp an" Tco"#G
/M2 4hr 7 u# 'hain an" En" chainG
/&2 Do you u# #!c- #-a-$n- in !oop n" !oop, ho7 7i!! b -h pr6or$ancG To
i$pro; -h pr6or$ancG
//2 )n #!c--op-ion#, ho7 -o %- -h "6au!- ;a!u# a# currn- $on-h 6ir#- "a- an" !a#-
"a- by "6au!-G
E%: &A&/A/MM> an" 0&A&/A/MM>
Prem Dumar
ABAP Interview :uestions
1' -ow data is stored in cluster table+
Each 6i!" o6 c!u#-r -ab! bha;# a# -ab!# 7hich con-ain# -h no. o6 n-ri#.
,' (hat are client de!endant ob5ects in aba!)sa!+
SAP Scrip- !ayou-, -5- !$n-, an" #o$ DD)' ob:c-#.
0' >n which even we can validate the in!ut fields in module !ro%ams+
)n PA) 34ri- 6i!" #-a-$n- on 6i!" you 7an- -o ;a!i"a-, i6 you 7an- -o ;a!i"a- %roup
o6 6i!"# pu- in chain an" En" chain #-a-$n-.2
*' In selection screen I have three fieldsA !lant mat no and material %rou!' If I in!ut
!lant how do I %et the mat no and material %rou! based on !lant d"namicall"+
AT SE+E'T)ON-S'REEN ON (A+1E-REE1EST FOR ,ATER)A+.
'A++ F1N'T)ON HF>)FK)NTKTAB+EK(A+1EKREE1ESTH -o %- $a-ria! an"
$a-ria! %roup 6or -h p!an-.
2' -ow do "ou %et out!ut from I1>C+
Da-a in )DOc i# #-or" in #%$n-#, -h ou-pu- 6ro$ )"oc i# ob-ain" by ra"in% -h "a-a
#-or" in i-# r#pc-i; #%$n-#.
/M
3' (hen to! of the !a%e event is tri%%ered+
A6-r 5cu-in% 6ir#- 7ri- #-a-$n- in #-ar--o6-#!c-ion ;n-.
6' Can we create field without data element and how+
)n SE&& on op-ion i# a;ai!ab! abo; -h 6i!"# #-rip. Da-a !$n-A "irc- -yp.
4' -ow do we debu% sa!scri!t+
*o -o SEI& %i; !ay #- na$ , %o -o u-i!i-i# #!c- "bu%%r $o" on.
7' (hich transaction code can I used to anal"Ee the !erformance of ABAP
!ro%ram'
T'o" A+/&.
10' -ow can I co!" a standard table to ma#e m" own EBtable'
*o -o -ran#ac-ion SE&&. Thn -hr i# on op-ion -o copy -ab!. Pr## -ha- bu--on. En-r
-h na$ o6 -h #-an"ar" -ab! an" in -h Tar%- -ab! n-r N -ab! na$ an" pr## n-r.
Followin% are some of the answers which I %ave u!to m" #nowled%e'
1' (hat is the use of 'outer5oin'
An#. 4i-h -h u# o6 ou-r :oin you can :oin -h -ab!# ;n -hr i# no n-ry in a!! -h
-ab!# u#" in -h ;i7.
)n ca# o6 innr :oin -hr #hou!" b an n-ry in a! -h -ab!# u# in -h ;i7.
,' (hen to use lo%ical database+
An#. A";an-a% o6 +o%ica! "a-aba##:
!## co"in% # r=uir" -o r-ri; "a-a co$par" -o nor$a! in-rn! -ab!#.
Tab!# u#" +DB ar in hirarchia! #-ruc-ur.
0' (hat is the use of 'table inde/'+
An# .)n"5 i# u#" 6or 6a#-r acc## o6 "a-a ba# -ab!#.
*' (hat is the use of 'F>@ A;; 8<&@I8$'+
An#. To a;oi" n#-" #!c- #-a-$n-# 7 u# SE+E'T FOR A++ ENTR)ES #-a-$n-.
)6 -hr r $or -han &MMMM rcor"# SE+E'T FOR A++ ENTR)ES i# u#".
Pr6or$anc 7i# SE+E'T FOR A++ ENTR)ES i# b--r -o u#.
2' Can "ou set u! bac#%round !rocessin% usin% CA;; &@A<$AC&I><+
Y#,1#in% No Scrn ,o".
3' (hat are table buffers+
Tab! bu66r# r#i" !oca!!y on ach app!ica-ion #r;r in -h #y#-$. Th "a-a o6
bu66r" -ab!# can -hu# b acc##"
"irc-!y 6ro$ -h bu66r o6 -h app!ica-ion #r;r. Thi# a;oi"# -h -i$-con#u$in%
proc## o6 acc##in% -h "a-aba#.
/&
Bu66rin% i# u#6u! i6 -ab! n"# -o b acc##" $or no. o6 -i$# in a pro%ra$.
(ith Com!liments from: Pavan
1' -ow do I set a fla% for a field in an" table+
'ra- a char 6i!" o6 !n%-h &. 6or 5a$p! 6i!" STAS-+BENN i# D!-ion )n"ica-or. )-
$an# -ha- i6 -h ;a!u in -h 6i!" i# H@H -hn -ha- rcor" ha# bn "!-".
,' Can I e/ecute user e/its+ If "esA how+
Y# you can. a6-r 6in"in% -h u#r 5i-, you n" -o u#, %o-o ',OD a"" ur u#r-5i- -o
your pro:c-. Thn ac-i;a- -h F, 7hich you r=uir. No7 %o in-o -ha- 6unc-ion $o"u!
-hr 7i!! b a )nc!u" pro%ra$ 7i- na$ N@O . Doub! c!ic9 on i-, i- 7i!! a#9 -o cra- an
ob:c-, an#7r i- Y# an" -hn 7ri- your co" in i-.
0' -ow do I find the out!ut t"!e of a table or a !ro%ram+
Tab! TNAPR A NAST
ABAP &i!s b" : AD-I;
//

You might also like