Vous êtes sur la page 1sur 34

ABAPTM Interview Questions Thanks to all contributors for these questions. Language Constructs 1. hen using !

"en #QL state$ents in an ABAP%& "rogra$' (ou $ust ensure the following. a) The *atabase s(ste$ being a**resse* $ust be su""orte* b( #AP. b) The *atabase tables being a**resse* $ust be *efine* in the ABAP%& *ictionar(. c) Both *) +one ,. hat is the *ifference between the T-P. an* LI/. state$ents in *ata *eclaration0 a) LI/. is use* to *efine variables that are si$ilar to the ones "reviousl( *efine* whereas T-P. is use* to *efine variables that e1ist in *ata *ictionar(. b) LI/. is use* to *efine variables that are si$ilar to the ones "reviousl( *efine* whereas T-P. is use* to *efine variables to refer ABAP internal *ata ele$ents. c) LI/. is use* to *efine variables that e1ist in *ata *ictionar( whereas T-P. is use* to *efine variables to refer ABAP internal *ata ele$ents. *) Both of the$ can be use* interchangeabl(' there is no *ifference. 2. 3I4. state$ent su""ort *ee" structures0 a) True b) 5alse c) +ot a""licable *) +ot a""licable &. hich of the following are true0 a) ABAP queries are create* b( associating the$ to a logical *atabase or through a *irect rea*%*ata retrieval "rogra$. b) ABAP queries are create* fro$ functional areas that are create* fro$ a logical *atabase or through a *irect rea*%retrieval "rogra$. c) ABAP queries are create* fro$ user grou"s attache* to the functional areas that are create* fro$ a logical *atabase or through a *irect rea*%retrieval "rogra$. *) ABAP queries are create* through the regular re"ort "rogra$. 6. A logical unit of work 7L8 or transaction) begins a) .ach ti$e (ou start a transaction. b) .ach ti$e (ou en* a transaction. c) hen the *atabase changes of the "revious L8 have been confir$e* 7*atabase co$$it). *) Before the *atabase changes of the "revious L8 have been cancelle* 7*atabase rollback). 9. A *atabase co$$it is triggere* b( a) ABAP%& co$$an* C!MMIT !:/. b) CALL #C:..+' CALL 4IAL!;. c) A :e$ote 5unction Call *) CALL T:A+#ACTI!+ <. !"en #QL vs. +ative #QL a) A *atabase interface translates #AP=s !"en #QL state$ents into #QL co$$an*s s"ecific to the *atabase in use. +ative #QL state$ents access the *atabase *irectl(. b) hen (ou use +ative #QL' the a**resse* *atabase tables *o not have to be known to the ABAP%& *ictionar(. In !"en #QL' the a**resse* *atabase tables $ust be *efine* in the ABAP%& *ictionar(. c) There is auto$atic client han*ling in +ative #QL whereas clients $ust alwa(s be s"ecifie* in !"en

#QL. *) +one of above >. The following are true about ?.@.C #QL=. a) -ou can en* the +ative #QL with a se$icolon. b) -ou can en* the +ative #QL with a "erio*. c) -ou cannot "erfor$ reliable authoriAation checks using .@.C #QL. *) 3ost variables in the +ative #QL are i*entifie* with a "rece*ing hash 7B). C. hat are fiel* s($bols0 a) 5iel* s($bols are like "ointers in C that can "oint to an( *ata obDect in ABAP%& an* to structures *efine* in ABAP%& *ictionar(. b) 5iel* s($bols have to be create* with t("e s"ecifications onl(. c) -ou cannot assign one fiel* s($bol to another. *) All o"erations (ou have "rogra$$e* with the fiel* s($bol are carrie* out with the assigne* fiel*. 1E. .@T:ACT state$ent a) The first .@T:ACT state$ent e1tracts the first e1tract recor*. b) The first .@T:ACT state$ent creates the e1tract *ataset an* a**s the first e1tract recor*. c) .ach e1tract recor* contains' if s"ecifie*' the fiel*s of the fiel* grou". *) .ach e1tract recor* contains' if s"ecifie*' the fiel*s of the fiel* s($bol. 11. -ou cannot assign a local *ata obDect *efine* in a subroutine or function $o*ule to a fiel* grou". a) True b) 5alse c) +ot a""licable *) +ot a""licable 1,. hich of the following s(ste$ fiel*s kee" track of each "ass in L!!P state$ent0 a) #-F#T.PL b) #-FI+4.@ c) #-FTABI@ *) B an* C both 12. *ataG begin of grou"1' f1 t("e I value 1' f, t("e I value 1' f2 t("e c value H1H' f& t("e I value 1' en* of grou"1. 4ataG begin of grou",' g1 t("e I value 1' f1 t("e I value 1' f, t("e I value 1' g& t("e c value H1H' en* of grou",. 4o , ti$es. A**Fcorres"on*ing grou"1 to grou",. .n**o. riteG grou",Fg1' grou",Ff1' grou",Ff,' grou",Fg&.

hat is the out"ut of the above co*e after e1ecution0 a) 1,,1 b) ,,,, c) 2222 *) 1221 1&. hich one of the following #QL state$ents *oes +!T lock the affecte* *atabase entries 0 a) insert b) $o*if( c) select single for u"*ate *) select I 16. hich one of the following is an e1a$"le of an as(nchronous u"*ate0 a) insert wa into Atable. b) call function Hu"*ateJtableH in u"*ate task. c) u"*ate Atable fro$ Atable. *) $o*if( Atable fro$ wa. 19. :.P!:T KT.#T. TABL.#G MA:C. 4ATAG K .:/# LI/. MA:CF .:/#. hich one of the following contains the length *efinition of K .:/#0 a) The 4ATA state$ent b) The 4ata .le$ent use* in MA:CF .:/# c) Table MA:C *) The 4o$ain use* in 4ata .le$ent of MA:CF .:/# 1<. 1. 4ataG Begin of i$ara occurs E. ,. Inclu*e structure $ara. 2. 4ataG .n* of i$ara. & 4ataG nu$ber like $araF$atnr value ?1,2=. 6. #elect I into table i$ara 9. 5ro$ $ara where $atnr L nu$ber. <. If s(Fsubrc L E. >. riteG% i$ara. C. .n*if. 1E. .n*select. hich line in the above co*e contains a s(nta1 error0 a) Line 6 b) Line 9 c) Line > *) Line 1E 1>. *ataG f1 t("e I value 1' f, t("e I value 1.

riteG % f1' f,. 4o , ti$es. Perfor$ sco"e. .n**o. riteG % f1' f,. 5or$ sco"e. 4ataG f1 t("e I value ,' f, t("e I value ,. A**G 1 to f1' 1 to f,. riteG % f1' f,. .n*for$. hat is the out"ut of this "rogra$ after e1ecution0 a) 1 1 22 && && b) 1 1 ,, 22 22 c) 1 1 22 22 11 *) 1 1 22 22 22 1C. *ataG begin of "erio*' f1 t("e I value 6' f, t("e I value 6' f2 t("e I value 6' f& t("e I value 6' f6 t("e I value ,' en* of "erio*. 4ataG a$t t("e I' total t("e I. *o 6 ti$es var(ing a$t fro$ "erio*Ff1 ne1t "erio*Ff,. if s(Fin*e1 ML &. a** a$t to total.

en*if. en**o. riteG % HA$tGH'a$t' HTotalH' total. hat is the out"ut of the above co*e after e1ecution0 a) A$tG , TotalG ,, b) A$tG , TotalG ,E c) A$tG 6 TotalG ,E *) A$tG 6 TotalG 1E ,E. *ataG fiel*17&) t("e c value HABC4H. if fiel*1 co HABC4H. en*if. If the above state$ent is evaluate* as true' what is the value of s(Ff*"os0 a) E b) 4 c) ABC4 *) A ,1. 1 case nu$ber. , when 1. rite H1H. 2 when ,. rite H,H. & when 2. riteG % H2H. 6 when nu$ber N 6. rite HN6H. 9 en*case. hich line in the above co*e contains a s(nta1 error0 a) Line , b) Line & c) Line 6 *) Line 9 ,,. hich of the following are ele$entar( t("es in ABAP0 a) C'4'5'I'+'P'Q'T b) C'4'5'I'+'P'T'@ c) A'4'5'3'+'P'T'@ *) A'4'5'I'+'P'T'@ Tables ,2. hich of the following are true0 a) TABL. is use* as a s(non($ for #TA+4A:4 TABL. b) -ou can onl( access a hashe* table using the generic ke( o"erations. .1"licit or i$"licit in*e1 o"erations 7such as L!!P ... 5:!M oe I+#.:T itab within a L!!P) are not allowe*. c) All hashe* tables are in*e1 tables. *) e have to *efine the hash "roce*ure e1"licitl( for 3A#3.4 TABL..

,&. Can a trans"arent table e1ist in *ata *ictionar( but not in the *atabase "h(sicall(0 a) True b) 5alse c) +ot A""licable *) +ot A""licable ,6. hich state$ent is use* to get the nu$ber of lines in an internal table0

a) 4.#C:IB. table b) LI+.# c) LI+. *) All of the above ,9. If C3.C/ state$ent is outsi*e the loo" structure an* if the con*ition fails0 a) #ubsequent state$ents in the current "rocessing blocks are e1ecute* b) #ubsequent state$ents in the current "rocessing blocks are not e1ecute* c) Progra$ gets ter$inate* *) There is an error $essage ,<. #!:T state$ent can sort a) .1ternal as well as internal table b) 4atabase tables c) Internal Tables *) B an* C ,>. Ooin state$ents can be use* with Cluster tables0 a) True b) 5alse c) +ot A""licable *) +ot A""licable ,C. It is alwa(s faster to use the Into Table version of a #elect state$ent than to use A""en* state$ents0 a) True b) 5alse c) +ot A""licable *) +ot A""licable 2E. 5ro$ the "erfor$ance "oint of view' if (ou want to "rocess the *ata onl( once' which of the following will (ou use0 a) #electing the *ata into an internal table an* then L!!P through internal table. b) 4o the "rocessing in #.L.CT...+4 #.L.CT c) #elect the recor*s in the loo" an* then "rocess each in*ivi*uall( *) .ach of the above will be equall( efficient

21. Two internal tables are equal if a) Internal tables cannot be co$"are* for equalit( b) It has sa$e nu$ber of lines c) .ach "air of corres"on*ing lines is equal *) A an* B both 2,. hich of the following will ha""en if (ou write ?4.L.T. itab= state$ent in (our "rogra$0 a) All entries of Internal table will be *elete* b) !nl( the hea*er line will be *elete*

c) The row corres"on*ing to hea*er line will be *elete* fro$ the internal table *) The "rogra$ will give s(nta1 error. 22. hich of the following state$ents is%are s(ntacticall( correct0

a) P.:5!:M sub1 TABL.# itab C3A+;I+; var1. b) P.:5!:M sub1 C3A+;I+; var1 TABL.# itab . c) Both of the above *) +one of the above 2&. hich of the following will ha""en if (ou write ?4.L.T. itab= state$ent0 a) All entries of Internal table will be *elete* b) !nl( the hea*er line will be *elete* c) The row corres"on*ing to hea*er line will be *elete* fro$ the internal table *) The "rogra$ will give s(nta1 error. 26. Trans"arent table Atable consists of fiel*1 an* fiel*,. Internal Table Itab has structure like Atable. hich one of the following is the fastest wa( to fill an internal table given the infor$ation above0 a) select I into corres"on*ingFfiel*s of itab fro$ Atable where fiel*1 L H1EH. b) select fiel*1 fiel*, into 7itabFfiel*1' itabFfiel*,) fro$ Atable where fiel*1 L H1EH. A""en* itab. .n*select. c) select I into table itab fro$ Atable where fiel*1 L H1EH. *) select I fro$ Atable where fiel*1 L H1EH. Move Atable to wa. A""en* itab fro$ wa. .n*select. 29. *ataG begin of itab occurs E' nu$1 t("e I' nu$, t("e I' nu$2 t("e I' $ark' en* of itab. Itab entriesG 1,24 ,2& 2&64 &694 <>C* <>C4 4elete fro$ itab where $ark eq H4H. ;iven the ITAB entries' what are the contents of ITAB after e1ecuting the above co*e0

a) , 2 & 2&64 &694 <>C* <>C4 b) 1 , 2 4 ,2& 2&64 &694 <>C* c) , 2 & <>C* *) , 2 & hich of the following state$ents *efine internal tables with a hea*er line0 a) 4ataG Begin of itab occurs E' fiel*1' .n* of itab. b) 4ataG Itab1 like itab occurs E. c) 4ataG Itab1 t("e itab occurs E. *) 4ataG Begin of itab1 occurs E. Inclu*e structure itab. 4ataG .n* of itab1. 2<. 4ATAG B.;I+ !5 IC!4. !CC8:# E' 5I.L4176)' 5I.L4,76)' .+4 !5 IC!4.. The internal table ico*e contains the following entriesG 5iel*1 5iel*, FFFFFFF FFFFFF Oohn 1,2&6 Alice ,2&<> #a$ 6&2,1 Dohn 6EEEE :.A4 TABL. IC!4. IT3 /.- 5I.L41 L HOohnH BI+A:- #.A:C3.

h( *oes e1ecuting the above co*e return a s(Fsubrc of &0 a) The internal table has an incorrect structure. b) Ico*eFfiel*, $ust be a nu$eric fiel*. c) Both internal table fiel*s $ust be use* in the search. *) The internal table $ust be sorte* first. 2>. hich of the following are true0 a) C!LL.CT can onl( be use* with #TA+4A:4 TABL.. b) To use C!LL.CT' the internal table shoul* be *erive* fro$ a *atabase table with an e1"licit ke(. c) If the s(ste$ fin*s a nu$eric co$"onent' that is not "art of the ke(' the nu$eric fiel*s that are not "art

of the table ke( 7see ABAP nu$ber t("es) are a**e* to the su$ total of the e1isting entries. If it *oes not fin* an entr(' control "asses on to the ne1t recor* in the internal table. *) If the s(ste$ fin*s a nu$eric co$"onent' that is not "art of the ke(' the nu$eric fiel*s that are not "art of the table ke( 7see ABAP nu$ber t("es) are a**e* to the su$ total of the e1isting entries. If it *oes not fin* an entr(' the s(ste$ creates a new entr( instea*. 2C. *ataG begin of itab occurs E' fiel*1' en* of itab. 4o 2 ti$es. A""en* initial line to itab. A""en* H@H to itab. .n**o. 4escribe table itab. riteG s(Ftfill. hat is the value of s(Ftfill after e1ecuting the above co*e0 a) 1 b) , c) 2 *) 9 &E. Loo" at itab. rite itab. .n*loo". 5ro$ where is the written line *erive* in the above loo" state$ent0 a) The table hea*er b) The table work area c) s(Fin*e1 *) s(Flisel &1. 4ATA T.@T7<,). 4ATA C!4. LI/. TABL. !5 T.@T. T.@T L HThis is the first line.H. APP.+4 T.@T T! C!4.. T.@T L HThis is the secon* line. H. APP.+4 T.@T T! C!4.. T.@T L HThis is the thir* line.H. APP.+4 T.@T T! C!4..

:IT. HnotH T! C!4.P> I+4.@ 2. :IT. H$o*ifie* line.H to co*eP1, I+4.@ ,. L!!P AT C!4. I+T! T.@T. :IT. % T.@T. .+4L!!P. hat is the result of the above co*e after e1ecution0 a) This is the first line. This is the $o*ifie* line. This is not the thir* line. b) This is the first line. This is the $o*ifie* line. This is not thir* line. c) This is the first line. This is the $o*ifie* secon* line. This is not thir* line. *) This is the first line. This is the secon* line. This is the thir* line. ABAP%& 4ata 4ictionar( &,. Can (ou create a table with fiel*s not referring to *ata ele$ents0 a) -es b) +o c) +ot A""licable *) +ot A""licable &2. hich transaction co*e is use* for *eleting entire table contents0 a) #.1< b) #.2E c) #.1& *) #.EC &&. hich of the following are true0 a) Poole* tables can be use* to store control *ata like screen sequences' "rogra$ "ara$eters etc. b) #everal cluster tables are store* in one corres"on*ing table on the *atabase. c) Both *) +one &6. hich *atabase obDect is use* for storing the s(ste$ variables0

a) #-#T table b) #-#T structure c) #-#T.M table *) #-#T.M structure

&9. hat $akes a te1t table0 a) The t("e of foreign ke( fiel* *efine* $ust be Q+o /e(%Can*i*atesR b) The ke( of the te1t table consists of the ke( of the check table "lus an a**itional language ke( c) Car*inalit( $ust be *efine* as 1G1 *) The table has to be client in*e"en*ent &<. 5ro$ the list below which is not a *ata class in the 4ictionar(0 a) Master 4ata b) !rganiAational 4ata c) ProDect 4ata *) #(ste$ 4ata &>. I*entif( the case where table buffering is set to off. a) hen the $ost current *ata is require* b) hen the $ost current *ata is not require* c) #$all static tables i.e. tables *o not change $uch *) b an* c &C. hen using #AP Buffering on *atabase tables' which state$ent *oes +!T result in *atabase access0 a) select *istinct.. b) select single.. c) using 7Is null) in the where clause *) using aggregate functions in the select clause 6E. A structure* t("e in the ABAP *ictionar( that has no "h(sical table *efinition in the un*erl(ing *atabase is referre* to as G a) Table b) Table T("e c) #tructure* T("e *) #tructure 61. hen are 4ictionar( changes $a*e available to a "rogra$0 a) I$$e*iatel( "rovi*e* obDect is activate* b) +e1t ti$e user logs on c) +e1t ti$e "rogra$ is regenerate* *) After 4atabase is reForganiAe* 6,. hich of the following *o not e1ist in the un*erl(ing *atabase0 a) Trans"arent Table b) #tructure c) Siew *) Internal tables 62. 5ull buffering woul* be a""ro"riate for what t("e of tablesG a) #$all static tables b) Transaction Tables c) Tables with generic ke(s *) b an* c 6&. -ou have a**e* an a""en* structure to a stan*ar* #AP table. hat ha""ens to the stan*ar* table when a new version of table is i$"orte* *uring an #AP version u"gra*eG a) The stan*ar* table is returne* to stan*ar*. Therefore' the a""en* structure $ust be $anuall( reF a""lie*

b) The a""en* fiel*s are auto$aticall( a""en*e* to the table u"on activation but (ou $ust still convert the table c) All a""en* structures are *elete*. A new a""en* structure $ust be create* an* a**e* to the stan*ar* table *) hen the stan*ar* tables are activate*' the a""en* structure is auto$aticall( a**e* to the stan*ar* table 66. hich of the following are T:8. for #QL trace utilit( 7tco*e #TE6) in #AP F a) #QL trace utilit( traces *atabase access for a s"ecific "rogra$ b) #QL trace utilit( traces *atabase access for all transactions b( a s"ecific user c) #QL trace result shows *etails of queries on *atabase tables *) #QL trace result can show *etails of queries on internal tables 69. A table Atest has the following secon*ar( in*e1G tnu$' tco*e. #elect I fro$ Atest where tnu$ ne H1,2H an* tco*e L H&69H. h( *oes a #QL trace confir$ that the secon*ar( in*e1 is +!T use* in the co*e above0 a) Client is not in the where clause b) +. invali*ates the use of an in*e1 c) Sariables $ust be use*' +!T literals *) In*e1es are not allowe* on K tables Batch 4ata Co$$unication 6<. 3ow *o (ou create a batch in"ut session for a transaction0 a) e create a b*c an* use ?call transaction= in backgroun* $o*e. b) e create a b*c an* use ?call transaction= in error $o*e. c) e create a b*c an* use ?b*cJinsert= for the transaction. *) +one of the above. 6>. hat is the alternative to batch in"ut session0 a) Loa* $o*ule b) Call transaction c) BAPI *) I*oc seg$ent 6C. hich #AP table stores the B4C session queue infor$ation0 a) APQ4 b) APQL c) APQQ *) APQI 9E. hich "rogra$ can be use* to release B4C sessions within a Dob0 a) :#B4C#8B b) :#B4CO!B c) :##8BB4C *) B4C:.C@@

91. hich one of the following is out"ut to the Dob log when inclu*e* in an ABAP "rogra$ running in the backgroun*0 a) rite state$ents b) $essage state$ents

c) re"ort "ara$eters *) #ub$it state$ents 9,. -our "rogra$ s"ecs call for (ou to rea* the first 1E recor*s fro$ a te1t file 7fna$e1)' an* write the$ out to another te1t file 7fna$e,). hich block of co*e will acco$"lish the result *esire* in the above scenario0 a) !"en *ataset fna$e, for in"ut in te1t $o*e. 4o 1E ti$es. :ea* *ataset fna$e1 into hol*Jvar. Transfer hol*Jvar to fna$e,. .n**o. b) o"en file fna$e1 for out"ut. !"en file fna$e, for in"ut. :ea* *ataset fna$e1 into hol*Jvar 1E ti$es. Transfer hol*Jvar to fna$e,. c) o"en file fna$e1 for in"ut. !"en file fna$e, for out"ut. 4o 1E ti$es. :ea* file fna$e1 into hol*Jvar. Transfer hol*Jvar into fna$e,. .n**o. *) o"en *ataset fna$e1 for in"ut in te1t $o*e. !"en *ataset fna$e, for out"ut in te1t $o*e. 4o 1E ti$es. :ea* fna$e1 into hol*Jvar. rite hol*Jvar to fna$e,. .n**o. 92. s(F*(n"ro is a) screen no b) "rogra$ c) table *) fiel* na$e 9&. hich of the following are +!T correct usage of B4CJcursor0 a) To "osition the cursor on a "articular fiel*. Mb*cJtabNF5+AM L HB4CJC8:#!:H. Mb*cJtabNF5SAL L ?fiel*1= . b) To "osition the cursor on a "articular fiel*. Mb*cJtabNF5+AM L ?fiel*1= Mb*cJtabNF5SAL L HB4CJC8:#!:H. . c) 5or fifth row of Table control Mb*cJtabNF5SAL L Hfiel*176)H. *) 5or fifth row of Table control Mb*cJtabNF5+AM L HB4CJC8:#!:76) H. 96. In case of backgroun* "rocessing of a BI session' which authoriAation is checke*0

a) 4evelo"er of the "rogra$ that sche*ules BI #ession b) 8ser who e1ecutes the BI session c) 8ser who e1ecutes the "rogra$ that sche*ules BI #ession *) 8ser I4 that is "asse* to the B4CJ!P+J;:!8P function $o*ule insi*e the calling "rogra$ 99. hich of the following are T:8. about Transaction :ecor*er0 a) Transaction Co*e is #34B b) Transaction Co*e is #M26 c) It can generate ABAP co*e for the B4C "rogra$ auto$aticall( *) It can generate ABAP co*e for the Call Transaction "rogra$ auto$aticall( #AP #cri"t 9<. The following are true about #APscri"t control co$$an*s. a) If a control co$$an* is unknown or it contains s(nta1 errors' the line containing it will be "rinte* out as it is. b) If a control co$$an* is unknown or it contains s(nta1 errors' the line containing it will be treate* as a co$$ent line. c) A $a1i$u$ of one control co$$an* $a( a""ear in each line. *) A $a1i$u$ of si1 control co$$an*s $a( a""ear in each line.

9>. To out"ut #APscri"t la(out sets' in the "rint "rogra$ a) -ou $ust alwa(s start the out"ut with !P.+J5!:M an* en* it with CL!#.J5!:M. b) ithin one transaction' (ou can use onl( one !P.+J5!:M an* CL!#.J5!:M to o"en an* close a la(out set. c) :IT.J5!:M shoul* be use* within an !P.+J5!:M an* CL!#.J5!:M. *) :IT.J5!:M can be use* without an !P.+J5!:M an* CL!#.J5!:M. 9C. hich transaction *o we use for *ebugging #AP #cri"t0 a) #.91 b) #.<, c) #.<1 *) +one of the above. #AP .nhance$ents <E. The transaction c$o* an* s$o* are a) 8se* to create enhance$ents to stan*ar* #AP "rogra$s. b) 8se* to create enhance$ents to ABAP queries. c) 8se* to create the user e1its' $enu e1its an* screen e1its. *) 8se* to $o*if( the stan*ar* function grou"s.

Interfaces an* Queries <1. hat ha""ens if we write C!MMIT !:/ is written within #.L.CT...+4 #.L.CT. a) All the transactions will be co$$itte*. b) The first transaction is co$$itte* an* the "rogra$ e1its the loo". c) Progra$ will create a short *u$" *) A runti$e error will occur. <,. 3ow $an( function $o*ules can be "resent in a function grou"0 a) 2E b) &C

c) CC *) There is no such li$it <2. Can (ou call a subroutine of one "rogra$ fro$ another "rogra$' which is not an inclu*e "rogra$0 a) True b) 5alse c) +ot A""licable *) +ot A""licable <&. hich of the following state$ents is T:8.0 a) The ABAP state$ent ?IMP!:T ... T! M.M!:-= overwrites the ol* *ata in ABAP $e$or(. b) The ABAP state$ent ?.@P!:T ... T! M.M!:-= a""en*s to the alrea*( e1isting *ata in ABAP $e$or(. c) The ABAP state$ent ?.@P!:T ... T! M.M!:-= overwrites the ol* *ata in ABAP $e$or(. *) The ABAP state$ent ?IMP!:T ... T! M.M!:-= a""en*s to the alrea*( e1isting *ata in ABAP $e$or(. <6. #AP Me$or( an* ABAP%& $e$or( refer to the sa$e $e$or( s"ace0 a) True b) 5alse c) +ot A""licable *) +ot A""licable <9. hich state$ent is I+C!::.CT when referring to #AP $e$or( or ABAP $e$or(0

a) #AP $e$or( is also referre* to as ;lobal Me$or(. b) #AP $e$or( is available across transactions. c) IMP!:T%.@P!:T 7T! M.M!:-) state$ents are use* for #AP $e$or(. *) -ou can use ABAP $e$or( to "ass *ata between internal sessions. <<. hich one of the following are true about a function $o*ule0 a) 5unction $o*ules CA++!T be create* b( a "rogra$$er. b) 5unction $o*ules are locall( accessible obDects. c) 5unction $o*ules use a $e$or( area se"arate fro$ calling "rogra$. *) 5unction $o*ules have inboun* an* outboun* "ara$eters. I4!C <>. An I4!C structure is co$"ose* of a) !ne substructure' substructure consists of several fiel*s b) #everal seg$ents' each seg$ents has several *ata ele$ents c) #everal substructures' each one $a*e u" of several *ata fiel*s *) #everal seg$ents' each seg$ent consists of several *ata fiel*s <C. :ea* the , state$ents below an* "ick the right answer choice A. Archive* files can be anal(Ae* without reloa*ing the file B. An archive* I4!C can be reloa*e* an* then archive* a) A T B are true b) !nl( B c) !nl( A *) Both are false >E. The transaction for archiving I4!C=s is

a) A:C b) .A: c) #A:A *) #A:C >1. An I4!C contains *ata for 2 "urchase or*ers 7t("e !:4.:#E1' with 1 $an*ator( seg$ent' 11 other seg$ents which are "er$itte* to be $ulti"le). :ea* the following state$ents which coul* *escribe the content of the i*oc' an* "ick the right co$binationG A. It will have 2 control recor*s B. It will have 1 control recor* C. It will have a $ini$u$ of 2 *ata recor*s 4. It will have a $ini$u$ of 1 *ata recor* .. It will have a $ini$u$ of &> *ata recor*s 5. It will have at least 1 status recor* ;. It will have at least 2 status recor*s a) A' C' 5 b) B' C' 5 c) B' C' ; *) A' .' ; >,. hich of the following state$ents is true0 A. An I4oc t("e can have $an( $essages t("es associate* with it. B. An I4oc can have $an( $essages associate* with it. C. A $essage t("e can be associate* with $an( I4oc t("es. a) A an* C b) A an* B c) !nl( A *) All the state$ents >2. Pick the right answer A. An i*oc t("e is *e"en*ent on the *irection of *ata flow 7inboun*%outboun*). B. The control recor* has a fiel* ?4!CT-P= which in*icates whether the I4!C is of the t("e inboun* or outboun* a) !nl( A is true b) !nl( B is true c) A an* B are true *) +either A nor B are true >&. The control recor* fiel* which *eter$ines the *irection of the I4oc can have values e) ?@= an* ? ? 7s"ace) f) ?1= an* ?,=' The $eaning of the values is C. @ inboun*' s"ace outboun* 4. @ outboun*' s"ace inboun* .. 1 inboun*' , outboun* 5. 1 outboun*' , inboun* Pick the right co$binations of state$ents' which are true a) A' C b) A' 4 c) B' . *) B' 5 >6. The area $enu fro$ which .4I tools can be accesse* is a) AL. b) .4I

c) #AL. *) #.4I >9. The transactions for *ocu$entation on I4!C structures are a) .9E to .9& b) #A9E to #A9& c) .>E to .>& *) #A,E to #A,& :e"ort Progra$$ing ><. 3ow *o (ou check whether a re"ort is sub$itte* in backgroun*0 a) The s(ste$ variable' s(Fbatch is set to ?@=. b) The s(ste$ variable' s(Fbin"t is set to ?@=. c) The s(ste$ variable' s(Fcall* is set to ?@=. *) +ot a""licable >>. hich transaction co*e is use* e1ecuting a re"ort 7t("e 1 "rogra$)0

a) #.2> b) #A2> c) #M2> *) All of the above >C. hen is the T!PF!5FPA;. event triggere*0 a) After e1ecuting first write state$ent in startFofFselection event. b) At ever( new "age in the re"ort out"ut c) After the :.P!:T state$ent *) A an* B CE. hich of the following a**itions for #.L.CTF!PTI!+# woul* *isable the ranges on selection screen0 a) +!F:A+;.# b) +! I+T.:SAL# c) +! :A+;.# *) +!FI+T.:SAL#

C1. hat is the structure for the following selectFo"tions0 #electFo"tionsG Ana$e like AtableFna$e. a) Ana$eFsign Ana$eFvalue Ana$eFlow na$eFhigh b) Ana$e Fsign Ana$eFo"tion Ana$eFlow Ana$eFhigh c) Ana$e Finclu*e Ana$eF"attern Ana$eFrange

*) Ana$eFsign Ana$eFo"tion Ana$eFlow C,. 5ollowing "ro"erties are givenG U Must use $araF$atnrHs conversion e1it U Is a require* fiel* U A""ears as 1EE on the selection screen U Check for a vali* $araF$atnr hich one of the following is the correct wa( to *efine a selectionFscreen "ara$eter 7n) with the above "ro"erties0 a) "ara$etersG n t("e I *efault H1EEH. b) "ara$etersG n like $araF$atnr *efault ?1EE= obligator(. At selectionFscreen on n. #elect single I fro$ $ara where $atnr L n. If s(Fsubrc ne E. Message eEEE7EE) with HIncorrect nu$berH. .n*if. c) "ara$etersG n like $araF$atnr *efault 1EE obligator(. *) "ara$etersG n t("e I *efault 1EE require*. At selectionFscreen on n. #elect single I fro$ $ara where $atnr L n. If s(Fsubrc ne E. Message eEEE with HIncorrect nu$berH. .n*if. C2. :e"ort s"ecs call for a selection screen with 1 "ara$eter insi*e a fra$e. acco$"lish this0 a) #electionFscreen begin of fra$e b1 with fra$e title tFEE1. Para$etersG "1 like AtableFfiel*1. #electionFscreen en* of fra$e b1. b) #electionFscreen beginFofFfra$e b1 with fra$e title tFEE1. Para$etersG "1 like AtableFfiel*1. #electionFscreen en*FofFfra$e b1. c) #electionFscreen beginFofFblock b1 with fra$e title tFEE1. Para$etersG "1 like AtableFfiel*1. #electionFscreen en*FofFblock b1. *) #electionFscreen begin of block b1 with fra$e title tFEE1. Para$etersG "1 like AtableFfiel*1. #electionFscreen en* of block b1. C&. hich return co*e is associate* with a faile* authorit( check *ue to lack of user authoriAation for the chosen action0 a) E b) & c) > *) 1, C6. -ou are require* to create a selection screen with 1 in"ut "ara$eterG A *ate range which *efaults to hich co*e block will

the last 1 week 7to*a(F<'to*a() hich is the correct block of co*e for the above request0 a) selectFo"tionsG sJ*ate t("e *ate. InitialiAation. MoveG s(F*atu$ to sJ*ateFhigh' s(F*atu$ F < to sJ*ateFlow. A""en* sJ*ate. b) selectFo"tionsG sJ*ate for s(F*atu$. InitialiAation. MoveG s(F*atu$ F < to sJ*ateFlow' s(F*atu$ to sJ*ateFhigh. A""en* sJ*ate. c) selectFo"tionsG sJ*ate t("e * *efault s(F*atu$ F <' s(F*atu$. *) selectFo"tionsG sJ*ate for s(F*atu$ *efault s(Fweek' C9. hich one of the following state$ents is a vali* use of the write co$$an*0 a) write te1t72)7&). b) write te1t72)&. c) write te1tP72)7&). *) write te1tP27&). C<. hen using an e*it $ask' which one of the following fiel*s will be out"ut with a lea*ing sign0 a) fiel*1 using e*it $ask HIIJLLSH b) fiel*1 using e*it $ask H::JJ'JH c) fiel*1 using e*it $ask HLLJJ'JH *) fiel*1 using e*it $ask HSJJH

C>. 5or the events in Classical :e"orts G 1. Initialisation ,. At #election #creen 2. #tart !f #election 7 ;et T ;et Late in case of Logical 4atabase ) &. .n* of #election 6. To" of Page 9. .n* of Page sequence of calling is G a) 1','2'&' 6' 9 b) ,'1' 2'&' 6' 9 c) 1',' 6' 9' 2'& *) ,'1' 6' 9' 2'&

CC. The sequence of events in Interactive :e"orts is 1. At Line #election ,. At 8ser Co$$an* 2. At P5/.&. ;et Cursor

6. :ea* a) 1','2'&' 6 b) 1','2'6' &' c) 1' ,' &' 6' 2 *) 1' 2' 6' &' , 1EE. hat is $a1 no of lists u can attach to basic list07interactive re"ort) a) ,, b) ,E c) 1> *) 1 ;eneral 1E1. If a breakF"oint state$ent is written in an ABAP "rogra$ an* the "rogra$ is run in the backgroun* $o*e' which of the following is true. a) BreakF"oint state$ent will be ignore* an* "rogra$ will co$"lete the e1ecution. b) #(ste$ generates a #(s log $essage c) Progra$ will create a short *u$" *) +one of the above 1E,. hen a "rogra$ is create* an* trans"orte* the selections te1ts are alwa(s trans"orte* along with the "rogra$. a) True b) 5alse c) +ot A""licable *) +ot A""licable 1E2. Progra$s an* re"orts are client *e"en*ent. a) True b) 5alse c) +ot A""licable *) +ot A""licable 1E&. hich transaction co*e is use* for creating a backgroun* Dob0

a) #M2< b) #M26 c) #M29 *) #M2> 1E6. Can variants be trans"orte* across s(ste$s0 a) -es b) +o c) +ot A""licable *) +ot A""licable 1E9. Are variants client *e"en*ent0 a) -es b) +o c) +ot A""licable *) +ot A""licable

1E<. hat are the functions in the e*itor co$$an* line0 a) 51 b) 5& c) 52 *) 5> 1E>. hat *oes the transaction co*e %i1 *o0 a) #hifts to the first session of the user b) This ter$inates the first session of the user c) Ter$inates the current session of the user *) +o transaction with this co*e e1ists. 1EC. hich transaction co*e is use* for *eleting the user lock on tables0 a) #.1, b) #.11 c) #M1, *) #M11 11E. hat transaction is use* to create backgroun* Dobs0 a) #M2E b) #M26 c) #M29 *) #M2< 111. hich one of the following transaction t("es is I+SALI40 a) Area b) Mo*al c) Sariant *) :e"ort 11,. hich one of the following state$ents are T:8.0 a) After a T:A+#P!:T :.Q8.#T is release*' no further changes to itsH obDects are allowe*. b) 4evelo"$ent classes can be viewe* b( using transaction #.>E. c) Local obDects CA++!T be trans"orte* to another instance. . *) A T:A+#P!:T :.Q8.#T contains obDects that can be trans"orte* to Qualit( or Pro*uction #AP instances. 112. hich one of the following state$ents are 5AL#. about Inactive obDects in #AP0 a) 4evelo"$ent !bDects are alwa(s save* as inactive versions. b) An inactive version of a 4evelo"$ent !bDect is written to *evelo"er=s "c c) In 4I#PLA- $o*e' other users can +!T access the co*e of inactive version of a *evelo"er *) ;enerating a runti$e obDect is sa$e as activating a *evelo"$ent obDect. 4ialog Progra$$ing 11&. Progra$ s"ecs call for screen 1EE to a""ear in a $o*al *ialog bo1. Process After In"ut. $o*ule *oJso$ething. $o*ule *oJso$ething. If fiel*1 L H@H. Call screen HE1EEH. .n*if. .n*$o*ule.

h( *oes the above co*e fail to "ro*uce a $o*al bo10 a) The co*e $ust occur in the PB!. b) The screen is of the wrong t("e. c) The screen shoul* be nu$bere* CEE. *) #creens are not calle* within $o*ules. 116. hich one of the following state$ents woul* occur in the PB! of a *ialog "rogra$ using table control0 a) $o*ule userJco$$an*. b) set screen HE1EEH. c) loo" at itab. *) loo" at itab with control itabJtc.

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL ABAPTM Interview Questions Thanks to all contributors for these questions. 1. hen using !"en #QL state$ents in an ABAP%& "rogra$' (ou $ust ensure the following. a) The *atabase s(ste$ being a**resse* $ust be su""orte* b( #AP. b) The *atabase tables being a**resse* $ust be *efine* in the ABAP%& *ictionar(. c) Both a an* b *) +one Ans. c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,. hich of the following state$ents are correct0 a) A *atabase interface translates #AP=s !"en #QL state$ents into #QL co$$an*s s"ecific to the *atabase in use. +ative #QL state$ents access the *atabase *irectl(. b) hen (ou use +ative #QL' the a**resse* *atabase tables *o not have to be known to the ABAP%& *ictionar(. In !"en #QL' the a**resse* *atabase tables $ust be *efine* in the ABAP%& *ictionar(. c) There is auto$atic client han*ling in +ative #QL whereas clients $ust alwa(s be s"ecifie* in !"en #QL. Ans. a'b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2. hich of the following are true0 a) TABL. is use* as a s(non($ for #TA+4A:4 TABL. b) -ou can onl( access a hashe* table using the generic ke( o"erations. .1"licit or i$"licit in*e1 o"erations 7such as L!!P ... 5:!M oe I+#.:T itab within a L!!P) are not allowe*. c) All hashe* tables are in*e1 tables. *) e have to *efine the hash "roce*ure e1"licitl( for 3A#3.4 TABL.. Ans. a' b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &. Can a trans"arent table e1ist in *ata *ictionar( but not in the *atabase "h(sicall(0 a) True b) 5alse Ans. b

JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6. Can (ou create a table with fiel*s not referring to *ata ele$ents0 a) -es b) +o Ans. a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 9. 3ow *o (ou create a batch in"ut session for a transaction0 a) ?Call transaction= in backgroun* $o*e. b) ?Call transaction= in error $o*e. c) ?B*cJinsert= for the transaction. *) +one of the above. Ans. c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ <. hat is the alternative to batch in"ut session0 a) Loa* $o*ule b) Call transaction c) BAPI *) I*oc seg$ent Ans. b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ >. The following are true about ?.@.C #QL=. a) -ou can en* the +ative #QL with a se$icolon. b) -ou can en* the +ative #QL with a "erio*. c) -ou cannot "erfor$ reliable authoriAation checks using .@.C #QL. *) 3ost variables in the +ative #QL are i*entifie* with a "rece*ing hash 7B). Ans. a' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ C. The following are true about *atabase locking. a) 4atabase s(ste$s set "h(sical locks on all lines affecte* b( a *atabase call. b) :ea* locks "revent the setting of further rea* locks for the obDects in question. c) :ea* locks "revent other transactions fro$ setting write locks for the obDects in question. *) rite locks allow other transactions to set rea* locks for the obDects in question. Ans. a' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 1E. hat are fiel* s($bols0 a) 5iel* s($bols are like "ointers in C that can "oint to an( *ata obDect in ABAP%& an* to structures *efine* in ABAP%& *ictionar(. b) 5iel* s($bols have to be create* with t("e s"ecifications onl(. c) -ou cannot assign one fiel* s($bol to another. *) All o"erations (ou have "rogra$$e* with the fiel* s($bol are carrie* out with the assigne* fiel*. Ans. a' * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 11. .@T:ACT state$ent a) The first .@T:ACT state$ent e1tracts the first e1tract recor*. b) The first .@T:ACT state$ent creates the e1tract *ataset an* a**s the first e1tract recor*. c) .ach e1tract recor* contains' if s"ecifie*' the fiel*s of the fiel* grou". *) .ach e1tract recor* contains' if s"ecifie*' the fiel*s of the fiel* s($bol.

Ans. b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 1,. -ou cannot assign a local *ata obDect *efine* in a subroutine or function $o*ule to a fiel* grou". a) True b) 5alse Ans. a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 12. hich of the following are true0 a) C!LL.CT can onl( be use* with #TA+4A:4 TABL.. b) To use C!LL.CT' the internal table shoul* be *erive* fro$ a *atabase table with an e1"licit ke(. c) If the s(ste$ fin*s a nu$eric co$"onent' that is not "art of the ke(' the nu$eric fiel*s that are not "art of the table ke( 7see ABAP nu$ber t("es) are a**e* to the su$ total of the e1isting entries. If it *oes not fin* an entr(' control "asses on to the ne1t recor* in the internal table. *) If the s(ste$ fin*s a nu$eric co$"onent' that is not "art of the ke(' the nu$eric fiel*s that are not "art of the table ke( 7see ABAP nu$ber t("es) are a**e* to the su$ total of the e1isting entries. If it *oes not fin* an entr(' the s(ste$ creates a new entr( instea*. Ans. * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 1&. hich of the following are true0 a) ABAP queries are create* b( associating the$ to a logical *atabase or through a *irect rea*%*ata retrieval "rogra$. b) ABAP queries are create* fro$ functional areas that are create* fro$ a logical *atabase or through a *irect rea*%retrieval "rogra$. c) ABAP queries are create* fro$ user grou"s attache* to the functional areas that are create* fro$ a logical *atabase or through a *irect rea*%retrieval "rogra$. *) ABAP queries are create* through the regular re"ort "rogra$. Ans. c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 16. A logical unit of work 7L8 or transaction) begins a) .ach ti$e (ou start a transaction. b) .ach ti$e (ou en* a transaction. c) hen the *atabase changes of the "revious L8 have been confir$e* 7*atabase co$$it). *) Before the *atabase changes of the "revious L8 have been cancelle* 7*atabase rollback). Ans. a' *. JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 19. A *atabase co$$it is triggere* b( a) ABAP%& co$$an* C!MMIT !:/. b) CALL #C:..+' CALL 4IAL!;. c) A :e$ote 5unction Call *) CALL T:A+#ACTI!+ Ans. a' b' c' * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 1<. The following are true about #APscri"t control co$$an*s. a) If a control co$$an* is unknown or it contains s(nta1 errors' the line containing it will be "rinte* out as it is. b) If a control co$$an* is unknown or it contains s(nta1 errors' the line containing it will be treate* as a co$$ent line. c) A $a1i$u$ of one control co$$an* $a( a""ear in each line. *) A $a1i$u$ of si1 control co$$an*s $a( a""ear in each line.

Ans. b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 1>. To out"ut #APscri"t la(out sets' in the "rint "rogra$ a) -ou $ust alwa(s start the out"ut with !P.+J5!:M an* en* it with CL!#.J5!:M. b) ithin one transaction' (ou can use onl( one !P.+J5!:M an* CL!#.J5!:M to o"en an* close a la(out set. c) :IT.J5!:M shoul* be use* within an !P.+J5!:M an* CL!#.J5!:M. *) :IT.J5!:M can be use* without an !P.+J5!:M an* CL!#.J5!:M. Ans. a' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 1C. The transaction CM!4 an* #M!4 are a) 8se* to create enhance$ents to stan*ar* #AP "rogra$s. b) 8se* to create enhance$ents to ABAP queries. c) 8se* to create the user e1its' $enu e1its an* screen e1its. *) 8se* to $o*if( the stan*ar* function grou"s. Ans. a' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,E. hich of the following are tools to re"ort *ata in ABAP0 e) ALS f) AL. g) L#M h) #$art5or$s AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,1. ABAP Quer( tool is use* toG a) .nquire about a runningF"rogra$ status b) Auto$aticall( generate co*e for re"orting c) Perfor$ *atabase o"erations for userFwritten "rogra$s *) +one of the above AnsG b. JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,,. In ABAP Quer( tool... e) .ach user can be assigne* to several userFgrou"s f) .ach user can be assigne* to several functional areas g) .ach functional area can be assigne* to several userFgrou"s h) !ne user can be assigne* onl( to one userFgrou". AnsG a' b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,2. Logical *atabases $ust be use* to create an ABAP Quer( a) True b) 5alse AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

,&. In a B4C "rogra$' how woul* (ou han*le errore* recor*s0 a) :erun the "rogra$ b) :e"ort the errore* recor*s c) ;enerate a batchFin"ut session with errore* recor*s *) Create an out"ut file' to be run again after corrections

oul* (ouV

AnsG b' c' * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,6. hat are I4ocs0 a) 4ocu$entation of e1ecutable "rogra$s b) 4ocu$ents use* for *ataFtrans"ort between #AP an* nonF#AP s%w. c) 4ocu$ents use* for *ataFtrans"ort between two *ifferent #AP s(ste$s *) 4ocu$ents use* for oneFti$e *ataF$igration activities. AnsG b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,9. 5or trans"ortation of *ata fro$ a "resentation server into #AP' the function $o*ule use* is a) 8PL!A4 b) #J8PL!A4 c) 5IL.J8PL!A4 *) 4ATAJ8PL!A4 AnsG a' b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,<. 5or oneFti$e high volu$e *ataFu"loa*s into #AP fro$ nonFreliable s(ste$s' the following are generall( use*G a) B4C b) L#M c) 4irect table u"*ate *) I*ocs AnsG a' b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,>. In an ABAP "rogra$' the I+ITIALIKATI!+ event is invoke* a) Before the ATF#.L.CTI!+F#C:..+ event b) After the ATF#.L.CTI!+F#C:..+ event c) Coul* be either wa( *) Cannot be "re*icte* AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ ,C. The state$ent to check whether an internal table itabJtest has no recor*s' isG I5 itabJtest is initial. a) T:8. b) 5AL#. AnsG b. JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

2E. The state$ent use* to clear all the contents of an internal table isG a) CL.A: itab. b) :.5:.#3 itab. c) 5:.. itab. *) 4.L.T. itab. AnsG b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 21. The ATF#.L.CTI!+F#C:..+ event is triggere* whenV a) .+T.: ke( is hit on the selectionFscreen b) 5> ke( is hit on the selectionFscreen c) An( fiel* on selectionFscreen is "o"ulate* *) 5& ke( is hit on the selectionFscreen AnsG a' b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2,. hat is the transactionFco*e for viewing batchFruns of a "rogra$0 a) #.2< b) #M2< c) #M26 *) #M2E AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 22. #-FBATC3 can be use* to *eter$ine whether a "rogra$ is being run in batchF$o*e' within the ATF #.L.CTI!+F#C:..+ event. a) T:8. b) 5AL#. AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2&. The following state$ents will clear the hea*erFline of an internal tableG a) 4.L.T. ITAB. b) 5:.. ITAB. c) :.5:.#3 ITAB. *) CL.A: ITAB. AnsG * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 26. The #AP Logon "asswor* is alwa(s caseFinsensitive. a) T:8. b) 5AL#. AnsG b P.#G 5ro$ .CC9.E' #AP Logon Passwor* is caseFsensitive. JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

29. 4ataG B.;I+ !5 ITAB !CC8:# E' 5I.L4171E)' 5I.L4,71E)' .+4 !5 ITAB. 4! ,E TIM.#. ITABF5I.L41 L ?5iel*1=. ITABF5I.L4, L ?5iel*,=. .+44!. a) The internal table has ,E entries. b) The internal table has one entr(. c) The internal table has no entr(. *) 8n"re*ictable. AnsG c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2<. :.A4 TABL. ITABJT.#T IT3 /.SB.L+ L kJvbeln. If $ulti"le recor*s in table ITAB satisf( the con*ition' then a) All recor*s are fetche* b) The last recor* is fetche* c) The first recor* is fetche* *) Co$"ilation error AnsG c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2>. If ITAB has 1EEE entries' an* 4BTAB is a large table' which is better in ter$s of "erfor$ance0 i) L!!P AT ITAB. #.L.CT I I+T! ITABJ, 5:!M 4BTAB 3.:. /.-1 L ITABF/.-1. APP.+4 ITABJ,. .+4#.L.CT. .+4L!!P. ii) L!!P AT ITAB. #.L.CT I I+T! TABL. ITABJ, 5:!M 4BTAB 3.:. /.-1 L ITABF/.-1. .+4L!!P. iii) #.L.CT I I+T! TABL. ITABJ, 5:!M 4BTAB 5!: ALL .+T:I.# I+ ITAB 3.:. /.-1 L ITABF/.-1. a) 7i) is better than 7ii)' an* 7ii) is better than 7iii). b) 7ii) is better than 7iii)' an* 7iii) is better than 7i). c) 7iii) is better than 7i) an* 7i) is better than 7ii). *) 7iii) is better than 7ii) an* 7ii) is better than 7i).

AnsG * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2C. 4ATAG B.;I+ !5 ITAB !CC8:# E' 5l*1 71)' 5l*, 71)'

5l*2 71)' .+4 !5 ITAB. ITAB has 6 recor*s W X 71'1'1)' 71'1',)' 71',' ,)' 7,',',)' 7,','2) Y. The co*e seg$entG L!!P AT ITAB. AT +. fl*2. :IT. fl*2. .+4AT. .+4L!!P. Pro*uces the out"utG a) 1 , , , 2 b) 1 , 2 c) 1 1 , , , *) 1 1 1 , , AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &E. T-P.#G B.;I+ !5 T-P.1' 5L41' 5L4,' 5L42' .+4 !5 T-P.1. 4ATAG ITAB1 T-P. #TA+4A:4 TABL. !5 T-P.1. ITAB1F5L41 L ?a=. ITAB1F5L4, L ?b=. ITAB1F5L42 L ?c=. APP.+4 ITAB1. a) The table has one recor*' with values 7a' b' c ). b) The table has no recor*s. c) Co$"ilation error *ue to $etho* of *eclaration of t("e. *) Co$"ilation error *ue to $etho* of *eclaration of table. AnsG * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &1. The fastest wa( to rea* a value in an internal table is toG a) #"ecif( ke(' an* *o a binar( search b) #"ecif( the tableFke(s c) 4irectl( s"ecif( the in*e1 value *) 8se a workFarea with sa$e structure as the internal table. AnsG c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &,. If C!LL.CT is use* on an internal table' which has a nonFke( character fiel*' a) The first recor*=s value is use* in the collecte* version. b) The last recor*=s value is use* in the collecte* version. c) Co$"ilation error *) Cannot be "re*icte*

AnsG c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &2. hich is the correct s(nta1 for sorting an internal table0 a) #!:T ITAB 8#I+; ke(1 ke(,. b) #!:T ITAB B- ke(1 ke(,. c) #!:T ITAB IT3 ke(1 ke(,. *) #!:T ITAB ke(1 ke(,. AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &&. If we nee* to fetch all *atabase entries corres"on*ing to a given ke(' @ recor*s at a ti$e' the s(nta1 to be use* isG a) #.L.CTVPAC/.T #IK. @V. b) #.L.CTVPAC/A;. #IK. @V c) #.L.CTV8PT! @ :.C!:4#V. *) This facilit( is not available in ABAP. AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &6. L!!P AT ITABJ4TLJ1. C!LL.CT ITABJ4TLJ1 I+T! ITABJ5I+AL. .+4L!!P. If the tables contain character fiel*s' which table shoul* be *eclare* with the ke(s .1"licitl( s"ecifie*0 a) ITABJ4TLJ1 b) ITABJ5I+AL c) .ither one will *o. *) +either nee*s a ke( to be s"ecifie* AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &9. The s(nta1 to concatenate a set of values into one variable isG a) C!+CAT.+AT. source1' source, I+T! target. b) C!+CAT.+AT. source1 source, I+T! target. c) C!+CAT.+AT. source1 an* source, I+T! target. *) +one of the above. AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &<. !n the selectionFscreen' if' while using #.L.CTF!PTI!+#' we s"ecif( +! I+T.:SAL#' we can guarantee that the user will not be able to enter a range of values. a) T:8. b) 5AL#. AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

&>. ABAP "rogra$$ers can create their own *ata t("es0 a) -.# b) +! AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ &C. M!S. can be use* to co"(G a) !ne fiel*=s contents to another fiel* b) !ne structure=s contents to another co$"atible structure c) !ne table=s contents to another co$"atible table *) A "art of one fiel* to another fiel* AnsG a' b' c' * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6E. P.:5!:M :!8TI+.1 8#I+; val1. V.. 5!:M :!8TI+.1 8#I+; te$"1. Te$"1 L 1E. .+45!:M. Is the value of val1 change*0 a) -.# b) +! Ans. a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 61. ithin an I5F.+4I5 block' a) .L#. $ust be use* b) .L#.I5 $ust be use* c) If .L#.I5 is use*' .L#. $ust be use* *) +one of the above AnsG * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6,. The userFlist in a given #AP client can be foun* using transaction a) #T!& b) #.E& c) #ME& *) +one of the above AnsG c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 62. The 4.#C:IB. state$ent on internal tables is use* toG a) 5in* the nu$ber of lines currentl( in table b) 5in* initial siAe of the table c) 5in* t("e of the internal table *) ;ive the line siAe' in nu$ber of characters' of the table

AnsG a' b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6&. hich of the following state$ents can work without a corres"on*ing .+4Fstate$ent0 a) 4! b) AT c) I5 *) #.L.CT AnsG * JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 66. In an ABAP "rogra$' we can s"ecif( a variable to be of 3.@A4.CIMAL t("e. a) T:8. b) 5AL#. AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 69. In an ABAP "rogra$' we can s"ecif( a variable to be of !CTAL t("e. a) T:8. b) 5AL#. AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6<. The *efault length of a fiel* of t("e Qti$eR7?T=) in an ABAP "rogra$ isG a) 9 b) > c) 1& *) E AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6>. The various nu$eric t("es *efinable in an ABAP "rogra$ areG a) I' 5' P' + b) I' 5' P c) I' 5' + *) I' P' + AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 6C. Sariables in an ABAP co*e can be *efine* as being si$ilar to *ataF*ictionar( ele$ents' usingG a) LI/. b) 5!: c) T-P. *) +one of the above AnsG a' b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

9E. Constants an* internal tables are *efine* using the ke(wor*s 7res"ectivel()G a) C!+#TA+T# an* TABL.# b) 4ATA an* 4ATA c) 4ATA an* TABL.# *) C!+#TA+T# an* 4ATA AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 91. There are > ele$entar( *ataFt("es' an* hence' 9& "ossible conversions. !f these' a) T("e 4 an* T cannot be interFconverte* b) +one of the other t("es can be converte* into 4 an* T. c) 4 an* T cannot be converte* into an( other t("e. *) !nl( C can convert into 4%T an* viceFversa. AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 9,. M!S. f1 T! f, is equivalent to f, L f1 a) T:8. b) 5AL#. AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 92. If a structure *oes not contain internal tables as co$"onents' we can equate two structures of inco$"atible t("es. a) T:8. b) 5AL#. AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 9&. 5or an inequalit( check between two variables' the s($bol use* isG a) +. b) MN c) NM *) +.Q AnsG a' b' c JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 96. #1 L ?ABCAB=. #, L ?ABC4 ?. I5 #1 C+ #,. :IT. ?a=. .L#.. :IT. ?b=. .+4I5. !ut"ut of above co*e isG a) a b) b c) Co$"ilation error

*) Blank AnsG b JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 99. The state$ent I5 +8M I# B.T ..+ 2 A+4 <. Is a vali* s(nta10 a) T:8. b) 5AL#. AnsG B JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 9<. Is it "ossible to call a subroutine of one "rogra$ fro$ another "rogra$0 a) True b) 5alse AnsG A JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 9>. Can ABAP control state$ents be use* within a sa" scri"t0 a) -.# b) +! AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 9C. The "resentation server is actuall( the "rogra$ na$e* #AP;8I. a) True b) 5alse AnsG a JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ <E. hen is To"FofF"age event e1ecute*

a) Triggere* b( a +ewF"age state$ent b) hen the 5irst rite #tate$ent of the "rogra$ is encountere*. c) Before out"utting the first line on a new "age. AnsG b' c