You are on page 1of 17

ABAP CERTIFICATION QUESTIONS

1. If a table does not have MANDT as part of the primary key, it is ____.
A: A struture
!: Invalid
": "lient#independent
D: Not mandatory
$. In re%ard to "A&&, 'hih of the follo'in% is N(T a valid statement)
A: "A&& *+N"TI(N
!: "A&& ,"-..N
": "A&& T-AN,A"TI(N
D: "A&& /-(0-AM
1. Name the type of A!A/ Ditionary table that has these harateristis:
,ame number of fields as the database table
,ame name as database table
Maps 1:1 to database table
A: /ooled
!: "luster
": Transparent
D: 2ie'
3. An event starts 'ith an event key'ord and ends 'ith:
A: /ro%ram e4eution.
!: .ND#(*#.2.NT.
": Another event key'ord.
D: .ND#.2.NT.
5. 6hat is the system field for the urrent date)
A: ,7#DAT+M
!: ,7#DAT.
": ,7#DATID
D: ,7#,DAT.
8. The follo'in% ode indiates:
,.&."T fld1 fld$ *-(M tab1 A//.NDIN0 TA!&. itab
69.-. fld1 IN sfld1.
A: Add ro's to the e4istin% ro's of itab.
!: Add ro's to itab after first deletin% any e4istin% ro's of itab.
": ,elet ro's from tab1 for mathin% itab entries.
D: Nothin%, this is a synta4 error.
:. 7ou may han%e the follo'in% data ob;et as sho'n belo' so that it e<uals 1.13.
"(N,TANT,: /I type / deimals $ value =1.1=.
/I > =1.13=.
A: True
!: *alse
?. The ,A/ servie that ensures data inte%rity by handlin% lokin% is alled:
A: +pdate
!: Dialo%
": .n<ueue@De<ueue
D: ,pool
A. 6hih of these sentenes most aurately desribes the 0.T 2!AB &AT.. event)
A: This event is proessed before the seond time the 0.T 2!AB event is proessed.
!: This event is proessed after all ourrenes of the 0.T 2!AB event are
ompleted.
": This event 'ill only be proessed after the user has seleted a basi list ro'.
D: This event is only proessed if no reords are seleted from table 2!AB.
1C. 6hih of the follo'in% is not a true statement in re%ard to a hashed internal
table type)
A: Its key must al'ays be +NID+..
!: May only be aessed by its key.
": -esponse time for aessin% a ro' depends on the number of entries in the table.
D: Delared usin% internal table type 9A,9.D TA!&..
11. T( inlude database#speifi ,D& statements 'ithin an A!A/ pro%ram, ode
them bet'een:
A: NATI2. ,D&_.NDNATI2..
!: D! ,D&_.NDD!.
": ,.&."T_.ND,.&."T.
D: .E." ,D&_.ND.E.".
1$. To measure ho' lon% a blok of ode runs, use the A!A/ statement:
A: 0.T TIM. .
!: ,.T TIM. *I.&D .
": 0.T -+N TIM. *I.&D .
D: ,.T "+-,(- *I.&D .
11. 6hen a seondary list is bein% proessed, the data of the basi list is available by
default.
A: True
!: *alse
13. 0iven:
DATA: !.0IN (* itab (""+-, 1C,
<ty type I,
.ND (* itab.
D( $5 TIM.,. itab#<ty > sy#inde4. A//.ND itab. .NDD(.
&((/ AT itab 69.-. <ty F 1C.
6-IT.: @1 itab#<ty.
.ND&((/.
This 'ill result in:
A: (utput of only those itab ro's 'ith a <ty field less than 1C
!: (utput of the first 1C itab ro's 'ith a <ty field %reater than 1C
": A synta4 error
D: None of the above
15. After a D.,"-I!. TA!&. statement ,7#T*I&& 'ill ontain
A: The number of ro's in the internal table.
!: The urrent (""+-, value.
": Gero, if the table ontains one or more ro's.
D: The len%th of the internal table ro' struture.
18. 7ou may delare your o'n internal table type usin% the T7/., key'ord.
A: True
!: *alse
1:. After addin% ro's to an internal table 'ith "(&&."T, you should avoid addin%
more ro's 'ith A//.ND.
A: True
!: *alse
1?. 6hih of the follo'in% is not a omponent of ontrol break proessin% 'hen
loopin% at an internal table)
A: AT ,TA-T (*
!: AT *I-,T
": AT &A,T
D: AT N.6
1A. A ditionary table is made available for use 'ithin an A!A/ pro%ram via the
TA!&., statement.
A: True
!: *alse
$C. 6hih of the follo'in% 'ould be best for hidin% further seletion riteria until a
funtion is hosen)
A: AT N.6 ,.&."TI(N#,"-..N
!: ,.&."TI(N#,"-..N AT &IN.#,.&."TI(N
": ,+!MIT ,.&."TI(N#,"-..N
D: "A&& ,.&."TI(N#,"-..N
$1. 6hat must you ode in the flo' lo%i to prevent a module from bein% alled
unless a field ontains a non#initial value Has determined by its data typeI)
A: (N IN/+T
!: "9AIN
": *I.&D
D: (N -.D+.,T
$$. The AT +,.-#"(MMAND event is tri%%ered by funtions defined in the ____.
A: sreen painter
!: A!A/ report
": menu painter status
D: A!A/ Ditionary
$1. In re%ard to a funtion %roup, 'hih of the follo'in% is N(T a true statement)
A: "ombines similar funtion modules.
!: ,hares %lobal data 'ith all its funtion modules.
": .4ists 'ithin the A!A/ 'orkbenh as an inlude pro%ram.
D: ,hares subroutines 'ith all its funtion modules.
$3. In re%ard to ,.T /*#,TAT+,, you an deativate un'anted funtion odes by
usin% ____.
A: .E"&+DIN0
!: IMM.DIAT.&7
": 6IT9(+T
D: 9ID.
$5. In re%ard to data transported in /AI 'hen the *I.&D statement is used, 'hih of
the follo'in% is N(T a true statement)
A: *ields in /!( are transported diretly from /AI.
!: *ields 'ith idential names are transported to the A!A/ side.
": *ields not defined in *I.&D statements are transported first.
D: *ields that are defined in *I.&D statements are transported 'hen their
orrespondin% module is alled.
$8. The order in 'hih an event appears in the A!A/ ode determines 'hen the
event is proessed.
A: True
!: *alse
$:. A field delared as type T has the follo'in% internal representation:
A: ,,MM99
!: 99MM,,
": MM99,,
D: 99,,MM
$?. 6hih of the follo'in% is N(T a omponent of the default standard A!A/ report
header)
A: Date and Time
!: &ist title
": /a%e number
D: +nderline
$A. Assumin% a pushbutton 'ith funtion ode =*+N"= is available in the toolbar of a
list report, 'hat event is proessed 'hen the button is liked)
A: AT +,.-#"(MMAND.
!: AT /*n.
": AT ,.&."TI(N#,"-..N.
D: .ND#(*#,.&."TI(N.
1C. In re%ard to field seletion, 'hat option of the ,.&."T statement is re<uired)
A: *(- A&& .NT-I.,
!: 69.-.
": INT(
D: M(2.#"(--.,/(NDIN0
11. The follo'in% pro%ram outputs 'hat)
report J;%test1
'rite: @1 =-eady_=.
/A-AM.T.-: test.
INITIA&IGATI(N.
'rite: @1 =,et_=.
,TA-T#(*#,.&."TI(N.
'rite: @1 =0(KK=.
A: ,et_ 0(KK Heah on its o'n lineI
!: ,et_ -eady_ 0(KK Hall on their o'n linesI
": -eady_ 0(KK Heah on its o'n lineI
D: -eady_ ,et_ 0(KK Hall on their o'n linesI
1$. To delare a seletion riterion that does not appear on the seletion sreen, use:
A: N(#DI,/&A7
!: IN2I,I!&.
": M(DI* ID
D: (!&I0AT(-7
11. An internal table that is nested 'ithin another internal table should not ontain a
header line.
A: True
!: *alse
13. 6hat is output by the follo'in% ode)
DATA: !.0IN (* itab (""+-, C, letter type , .ND (* itab.
itab#letter > =A=. A//.ND itab. itab#letter > =!=. A//.ND itab.
itab#letter > ="=. A//.ND itab. itab#letter > =D=. A//.ND itab.
&((/ AT itab.
,7#TA!IE > $.
6-IT. itab#letter.
.EIT.
.ND&((/.
A: A
!: A ! " D
": !
D: ! " D
15. To selet all database entries for a ertain 69.-. lause into an internal table in
one step, use
A: ,.&."T_INT( TA!&. itab_
!: ,.&."T_INT( itab_
": ,.&."T_A//.NDIN0 itab
D: ,.&."T_itab_
18. After a suessful ,.&."T statement, 'hat does ,7#,+!-" e<ual)
A: C
!: 3
": ?
D: Null
1:. This seletion sreen synta4 fores the user to input a value:
A: -.D+I-.D#.NT-7
!: (!&I0AT(-7
": D.*A+&T
D: ,.&."TI(N#,"-..N .E"&+D.
1?. If the follo'in% ode results in a synta4 error, the remedy is:
DATA: itab T7/. ,(-T.D TA!&. (* re_type 6IT9 +NID+. B.7 field1
6IT9 9.AD.- &IN..
itab#field1 > ="ompany=. itab#field$ > =1$13=. IN,.-T TA!&. itab.
itab#field1 > =!ank=. itab#field$ > =A!"=. IN,.-T TA!&. itab.
,(-T itab.
&((/ AT itab.
'rite: @1 itab#field1, itab#field$.
.ND&((/.
A: There is no synta4 error here
!: -emove the ,(-T statement
": "han%e IN,.-T to A//.ND
D: Add a 69.-. lause to the loop
1A. If this ode results in an error, the remedy is:
,.&."T fld1 fld$ *-(M tab1 69.-. fld1 > pfld1.
6-IT.: @1 tab1#fld1, tab1#fld$.
.ND,.&."T.
A: Add a ,7#,+!-" hek.
!: "han%e the 69.-. lause to use fld1 or fld$.
": -emove the @1 from the 6-IT. statement.
D: Add INT( Htab1#fld1, tab1#fld$I.
3C. 6hen modifyin% an internal table 'ithin &((/ AT itab. _ .ND&((/. you must
inlude an inde4 number.
A: True
!: *alse
31. To allo' the user to enter values on the sreen for a list field, use:
A: (/.N &IN..
!: ,.T "+-,(- *I.&D.
": 6-IT. fld A, IN/+T *I.&D.
D: *(-MAT IN/+T (N.
3$. !efore a funtion module may be tested, it must first be:
A: &inked
!: AuthoriJed
": -eleased
D: Ative
31. To inlude a field on your sreen that is not in the A!A/ Ditionary, 'hih inlude
pro%ram should ontain the data delaration for the field)
A: /!( module inlude pro%ram
!: T(/ inlude pro%ram
": /AI module inlude pro%ram
D: ,ubroutine inlude pro%ram
33. If a table ontains many dupliate values for a field, minimiJe the number of
reords returned by usin% this ,.&."T statement addition.
A: MIN
!: (-D.- !7
": DI,TIN"T
D: D.&.T.
35. The system internal table used for dynami sreen modifiation is named:
A: ITA!
!: ,"-..N
": M(DTA!
D: ,M(D
38. 6ithin the soure ode of a funtion module, errors are handled via the key'ord:
A: .E"./TI(N
!: -AI,.
": ,T(/
D: A!.ND
3:. 6hih system field ontains the ontents of a seleted line)
A: ,7#"+"(&
!: ,7#&I&&I
": ,7#"+-(6
D: ,7#&I,.&
3?. The follo'in% statement 'rites 'hat type of data ob;et)
6-IT.: @1 =Total Amount:=.
A: Te4t literal
!: Te4t variable
": In#ode omment
D: Te4t inte%er
3A. *or the ode belo', seond_field is of 'hat data type)
DATA: first_field type /, seond_field like first_field.
A: /
!: "
": N
D: D
5C. 6hih of the follo'in% desribes the internal representation of a type D data
ob;et)
A: DDMM7777
!: 7777DDMM
": MMDD7777
D: 7777MMDD
51. A !D" pro%ram is used for all of the follo'in% e4ept:
A: Do'nloadin% data to a loal file
!: Data interfaes bet'een ,A/ and e4ternal systems
": Initial data transfer
D: .nterin% a lar%e amount of data
5$. In re%ard to /.-*(-M, 'hih of the follo'in% is N(T a true statement)
A: May be used 'ithin a subroutine.
!: -e<uires atual parameters.
": -eursive alls are allo'ed in A!A/.
D: "an all a subroutine in another pro%ram.
51. 6hat is the transation ode for the A!A/ .ditor)
A: ,.11
!: ,.1?
": ,.18
D: ,.18
53. In re%ard to 9ID., 'hih of the follo'in% is N(T a true statement)
A: ,aves the ontents of variables in relation to a list line=s ro' number.
!: The hidden variables must be output on a list line.
": The 9ID. area is retrieved 'hen usin% the -.AD &IN. statement.
D: The 9ID. area is retrieved 'hen an interative event is tri%%ered.
55. Database loks are suffiient in a multi#user environment.
A: True
!: *alse
58. The omplete tehnial definition of a table field is determined by the field=s:
A: Domain
!: *ield name
": Data type
D: Data element
5:. In re%ard to &.A2., 'hih of the follo'in% is N(T a true statement)
A: May be used to return immediately to a allin% pro%ram.
!: May be used to stop the urrent loop pass and %et the ne4t.
": May be used to start a ne' transation.
D: May be used to %o to the ne4t sreen.
5?. The follo'in% ode indiates:
,.&."T fld8 fld1 fld$ fld1 *-(M tab1 INT( "(--.,/(NDIN0 *I.&D, (* TA!&. itab
69.-. fld1 > pfld1.
A: The order of the fields in itab does not matter.
!: *ill the header line of itab, but not the body.
": Table itab an only ontain fields also in table tab1.
D: None of the above.
5A. The A!A/ statement belo' indiates that the pro%ram should ontinue 'ith the
ne4t line of ode if the internal table itab:
"9."B N(T itabLM I, INITIA&.
A: "ontains no ro's
!: "ontains at least one ro'
": 9as a header line
D: 9as an empty header line
8C. 6hat 'ill be output by the follo'in% ode)
DATA: !.0IN (* itab (""+-, C, fval type i, .ND (* itab.
itab#fval > 1. A//.ND itab.
itab#fval > $. A//.ND itab.
*-.. itab.
6-IT.: @1 itab#fval.
A: $
!: C
": blank
D: 1
81. To allo' the user to enter a ran%e of values on a seletion sreen, use the A!A/
key'ord:
A: DATA.
!: -AN0.,.
": /A-AM.T.-,.
D: ,.&."T#(/TI(N,.
8$. If an internal table is delared 'ithout a header line, 'hat else must you delare
to 'ork 'ith the table=s ro's)
A: Another internal table 'ith a header line.
!: A 'ork area 'ith the same struture as the internal table.
": An internal table type usin% the T7/., statement.
D: A /A-AM.T.-.
81. Assumin% an internal table ontains $CCC entries, ho' many entries 'ill it have
after the follo'in% line of ode is e4euted)
D.&.T. itab *-(M 15CC T( 1:CC.
A: This is a synta4 error.
!: 1?C1
": 1?CC
D: 1:AA
83. To remove lines from a database table, use ____.
A: +/DAT.
!: M(DI*7
": .-A,.
D: D.&.T.
85. All of the follo'in% may be performed usin% ,.T "+-,(- e4ept:
A: Move the ursor to a speifi field on a list.
!: Move the ursor to a speifi list line.
": Move the ursor to a speifi pushbutton, ativatin% that funtion.
D: Move the ursor to a speifi ro' and olumn on a list.
88. 6hen is it optional to pass an atual parameter to a re<uired formal parameter of
a funtion module)
A: The atual parameter is type ".
!: The formal parameter ontains a default value.
": The formal parameter=s NO-efereneNO attribute is turned on.
D: It is never optional.
8:. "odin% t'o INITIA&IGATI(N events 'ill ause a synta4 error.
A: True
!: *alse
8?. Addin% a "(MMIT 6(-B statement bet'een ,.&."T_.ND,.&."T is a %ood
method for improvin% performane.
A: True
!: *alse
8A. To save information on a list line for use after the line is seleted, use this
key'ord.
A: A//.ND
!: .E/(-T
": 6-IT.
D: 9ID.
:C. To bypass automati field input heks, inlude this in /AI.
A: AT .EIT#"(MMAND
!: (N IN/+T
": (N -.D+.,T
D: &.A2. T( ,"-..N C.
:1. 6ithin a funtion module=s soure ode, if the M.,,A0._-AI,IN0 statement is
e4euted, all of the follo'in% system fields are filled automatially e4ept:
A: ,7#M,0T7
!: ,7#M,0N(
": ,7#M,021
D: ,7#M,06A
:$. The follo'in% ode indiates:
-./(-T G&I,TT,T.
,TA-T#(*#,.&."TI(N.
6-IT.: te4t#CC1.
*(-MAT 9(T,/(T (N.
6-IT.: te4t#CC$.
*(-MAT 9(T,/(T (**.
AT &IN.#,.&."TI(N.
6-IT. @ te4t#CC1.
A: Te4t#CC$ may not be seleted.
!: The value of te4t#CC$ is stored in a speial memory area.
": Te4t#CC$ may be liked one to tri%%er the output of te4t#CC1.
D: None of the above.
:1. The ____ type of A!A/ Ditionary vie' onsists of one or more transparent
tables and may be aessed by an A!A/ pro%ram usin% (pen ,D&.
A: Database vie'
!: /ro;etion vie'
": 9elp vie'
D: .ntity vie'
:3. A onrete field is assoiated 'ith a field#symbol via A!A/ key'ord
A: M(2.
!: 6-IT.
": A,,I0N
D: 2A&+.
:5. The output for the follo'in% ode 'ill be:
report Jabapr%.
DATA: har_field type ".
har_field > =A!A/ data=.
6-IT. har_field.
A: A!A/ data
!: A
": Nothin%, there is a synta4 error
D: None of the above
:8. /a%e footers are oded in the event:
A: T(/#(*#/A0..
!: .ND#(*#,.&."TI(N.
": N.6#/A0..
D: .ND#(*#/A0..
::. The event AT ,.&."TI(N#,"-..N (+T/+T. ours before the seletion sreen is
displayed and is the best event for assi%nin% default values to seletion riteria.
A: True
!: *alse
:?. The TA!&., statement delares a data ob;et.
A: True
!: *alse
:A. Assumin% tab1#fld: is not a key field, ho' an you prevent readin% all the table
ro's)
,.&."T fld1 fld$ fld1 *-(M tab1 INT( Hfld3, fld5, fld8I
69.-. fld: > pfld:.
6-IT.: @1 fld3, fld5, fld8.
.ND,.&."T.
A: Take fld: out of the 69.-. lause.
!: "reate an inde4 in the A!A/ Ditionary for tab1#fld:.
": +se INT( TA!&. instead of ;ust INT(.
D: Take the 6-IT. statement out of the ,.&."T_.ND,.&."T.
?C. 6hih of the follo'in% is N(T a re<uired attribute 'hen reatin% an A!A/
pro%ram)
A: Appliation
!: Title
": ,tatus
D: Type
?1. 6hen reatin% a transparent table in the A!A/ Ditionary, 'hih step
automatially reates the table in the underlyin% database)
A: Addin% tehnial settin%s to the table
!: "hekin% the table synta4
": ,avin% the table
D: Ativatin% the table
?$. 6ithin the A!A/ pro%ram attributes, Type > 1 represents:
A: IN"&+D. pro%ram
!: (nline pro%ram
": Module pool
D: *untion %roup
.: ,ubroutine pool
?1. If this ode results in an error, the remedy is:
,.&."T fld1 ,+MH fld1 I *-(M tab1 INT(_
A: -emove the spaes from ,+MH fld1 I.
!: Move ,+MH fld1 I before fld1.
": Add 0-(+/ !7 f1.
D: "han%e to ,+MH DI,TIN"T f1 I.
?3. 6hih key'ord adds ro's to an internal table 'hile aumulatin% numeri
values)
A: IN,.-T
!: A//.ND
": "(&&."T
D: 0-(+/
?5. Assumin% itab has a header line, 'hat 'ill be output by the follo'in% ode)
-.AD TA!&. itab IND.E 1 T-AN,/(-TIN0 field1.
6-IT.: @1 itab#field1, itab#field$.
A: The ontents of the third ro'=s itab#field1.
!: The ontents of the third ro'=s itab#field1 and itab#field$.
": The ontents of the third ro'=s itab#field$.
D: Nothin%.
?8. The follo'in% ode indiates:
,.&."TI(N#,"-..N !.0IN (* !&("B !1.
/A-AM.T.-,: myparamH1CI type ",
Myparam$H1CI type N,
,.&."TI(N#,"-..N .ND (* !&("B.
A: Dra' a bo4 around myparam and myparam$ on the seletion sreen.
!: Allo' myparam and myparam$ to be ready for input durin% an error dialo%.
": Do not display myparam and myparam$ on the seletion sreen.
D: Display myparam and myparam$ only if both fields have default values.
?:. 6hih statement 'ill sort the data of an internal table 'ith fields *-+IT, DT7, and
/-I". so that it appears as follo's)
*-+IT DT7 /-I".
Apples 1$ $$.5C
Apples A 1?.$5
(ran%es 15 1:.15
!ananas $C 1C.$C
!ananas 15 8.?A
!ananas 5 $.:5
A: ,(-T itab D.,".NDIN0 !7 DT7 /-I"..
!: ,(-T itab !7 /-I". *-+IT.
": ,(-T itab.
D: ,(-T itab !7 /-I". D.,".NDIN0.
??. 6hih key'ord adds a line any'here 'ithin an internal table)
A: A//.ND
!: M(DI*7
": ADD
D: IN,.-T
?A. To read a sin%le line of an internal table, use the follo'in%:
A: &((/ AT itab. _ .ND&((/.
!: -.AD itab.
": ,.&."T ,IN0&. P *-(M itab.
D: -.AD TA!&. itab.
AC. 6hih (pen ,D& statement should not be used 'ith luster databases)
A: +/DAT.
!: M(DI*7
": D.&.T.
D: IN,.-T
A1. To inlude a field on your sreen that is not in the A!A/ Ditionary, 'hih inlude
pro%ram should ontain the data delaration for the field)
A: /!( module inlude pro%ram
!: T(/ inlude pro%ram
": /AI module inlude pro%ram
D: ,ubroutine inlude pro%ram
A$. This flo' lo%i statement is used to make multiple fields open for input after an
error or 'arnin% messa%e.
A: 0-(+/
!: *I.&D#0-(+/
": "9AIN
D: &((/ AT ,"-..N
A1. 0iven:
/.-*(-M subroutine +,IN0 var.
The var field is kno'n as 'hat type of parameter)
A: *ormal
!: Atual
": ,tati
D: 2alue

You might also like