Upload
ramaneesh
View
217
Download
0
Embed Size (px)
Citation preview
8/9/2019 Certification Kelvigal
1/18
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-ANA"TI(N
D: "A&& /-(0-AM
. 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#(*#2NT.
": Another event key'ord.
D: ND#2NT.
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.
8/9/2019 Certification Kelvigal
2/18
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
8/9/2019 Certification Kelvigal
3/18
1$. To measure ho' lon% a blok of ode runs, use the A!A/ statement:
A: 0T TIM .
!: T TIM *I&D .
": 0T -+N TIM *I&D .
D: T "+-(- *I&D .
1. 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,
8/9/2019 Certification Kelvigal
4/18
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 &AT
D: AT N6
1. 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 N6 &"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#initialvalue Has determined by its data type)
A: (N IN/+T
!: "9AIN
": *I&D
D: (N -+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
$. In re%ard to a funtion %roup, 'hih of the follo'in% is N(T a true statement)
A: "ombines similar funtion modules.
8/9/2019 Certification Kelvigal
5/18
!: 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
!: IMMDIAT&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: 99MM
$?. 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
$. 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.
8/9/2019 Certification Kelvigal
6/18
!: AT /*n.
": AT &"TI(N#"-N.
D: ND#(*#&"TI(N.
C. In re%ard to field seletion, 'hat option of the &"T statement is re
8/9/2019 Certification Kelvigal
7/18
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
5. 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_
8. After a suessful &"T statement, 'hat does 7#+!-" e =1$3=. IN-T TA!& itab.
8/9/2019 Certification Kelvigal
8/18
8/9/2019 Certification Kelvigal
9/18
3. 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%ramD: 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
": DITIN"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
8/9/2019 Certification Kelvigal
10/18
": In#ode omment
D: Te4t inte%er
3. *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
8/9/2019 Certification Kelvigal
11/18
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 fld fld$ fld1 *-(M tab1 INT( "(--/(NDIN0 *I&D (* TA!& itab
69- fld > pfld.
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.
5. 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 itabL I INITIA&.
A: "ontains no ro's
!: "ontains at least one ro'
": 9as a header line
D: 9as an empty header line
8/9/2019 Certification Kelvigal
12/18
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-AMT-.
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-AMT-.
8. 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( 1CC.
A: This is a synta4 error.
!: 1?C1": 1?CC
D: 1
83. To remove lines from a database table, use ____.
A: +/DAT
!: M(DI*7
8/9/2019 Certification Kelvigal
13/18
": -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
8/9/2019 Certification Kelvigal
14/18
1. 6ithin a funtion module=s soure ode, if the MA0_-AIIN0 statement is e4euted, all of the follo'in%
system fields are filled automatially e4ept:
A: 7#M0T7
!: 7#M0N(": 7#M021
D: 7#M06A
$. The follo'in% ode indiates:
-/(-T G&ITTT.
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#CC.
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#CC.
D: None of the above.
. 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 &.
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": AI0N
D: 2A&+
5. The output for the follo'in% ode 'ill be:
report Jabapr%.
DATA: har_field type ".
8/9/2019 Certification Kelvigal
15/18
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.
": N6#/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
. Assumin% tab1#fld is not a key field, ho' an you prevent readin% all the table ro's)
&"T fld1 fld$ fld *-(M tab1 INT( Hfld3, fld5, fld8
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
8/9/2019 Certification Kelvigal
16/18
!: Title
": tatus
D: Type
?1. 6hen reatin% a transparent table in the A!A/ Ditionary, 'hih step automatially reates the table in theunderlyin% 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
?. If this ode results in an error, the remedy is:
&"T fld1 +MH fld1 *-(M tab1 INT(_
A: -emove the spaes from +MH fld1 .
!: Move +MH fld1 before fld1.": Add 0-(+/ !7 f1.
D: "han%e to +MH DITIN"T f1 .
?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 INDE 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$.
8/9/2019 Certification Kelvigal
17/18
": The ontents of the third ro'=s itab#field$.
D: Nothin%.
?8. The follo'in% ode indiates:
&"TI(N#"-N !0IN (* !&("B !1.
/A-AMT-: myparamH1C type ",
Myparam$H1C 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, T7, and /-I" so that it appears as
follo's)
*-+IT T7 /-I"
Apples 1$ $$.5C
Apples 1?.$5
(ran%es 15 1.5
!ananas $C 1C.$C
!ananas 15 8.?
!ananas 5 $.5
A: (-T itab D"NDIN0 !7 T7 /-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
": ADDD: IN-T
?. 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.
8/9/2019 Certification Kelvigal
18/18
D: -AD TA!& itab.
C. 6hih (pen & statement should not be used 'ith luster databases)
A: +/DAT!: M(DI*7
": D&T
D: IN-T
1. 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
$. 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
. 0iven:
/-*(-M subroutine +IN0 var.
The var field is kno'n as 'hat type of parameter)
A: *ormal
!: Atual
": tati
D: 2alue