Sie sind auf Seite 1von 34

ABAP interview questions. Best of luck for your interview.

1. What is Sap ABAP?


2. What is ABAP workbench?
3. what is ABAP ata !ictionary?
". #ow to create table in ata !ictionary?
$. #ow to create table cluster?
%. What is a lo&ical atabase?
'. #ow to create lo&ical atabase?
(. What is a spool request in SAP?
). What is table escription &enerator?
1*. #ow to create transparent table?
11. #ow to create authori+ation ob,ect in SAP ABAP?
12. Why you authority check ob,ect in SAP ABAP?
13. What is SAP ispatcher an e-plain its functions?
1". #ow to ebu& a SAP script?
1$. #ow to create fiel without ata ele.ents?
1%. What are client epenent an inepenent ob,ects in sap ABAP?
1'. What is / !01? #ow o you &et output fro. / !01?
1(. what is table buffer?
1). what is call transaction2 s.art for.s in SAP?
2*. #ow to elete uplicate entries?
21. #ow o you create .atch coe ob,ects in SAP?
22. What are ata sets?
23. what are the ifferent types of tables?
2". What are the types of internal tables?
2$. 3-plain how to create bo-es in SAP script?
2%. 3-plain how the stanar te-ts for the scripts are create?
2'. #ow a new pa&e in SAPScripts are tri&&ere?
2(. What is an ABAP !ictionary an 3itor?
2). What is 4oule pool pro&ra..in& in SAP ABAP?
3*. What is Business Application Pro&ra..in& interface 5BAP/6
31. What are the i.portant t7coes to known as an ABAP eveloper
32. Why we nee to enhance BAP/?
33. #ow to use e-tension para.eters?
3". What is PB0 5Process Before 0utput6 an PA/5Process After /nput6
3$. What is Business A /ns 5BA!/6?
3%. #ow o we fin available BA!/8s ?
3'. #ow to appen the 9 fiels to e-tension table
3(. What is the proceure to create lock ob,ects?
3). What is A:; reports?
"*. What are ine-es in SAP ABAP?
"1. What is .oify line an rea line in SAP
"2. What are control tables?
"3. #ow is conversion of ata types one between !B layer an ABAP<"
"". What are the ata types of the ABAP layer?
"$. What are the upates possible ?
"%. What is a view an how .any types of views are there?
"'. What is 1P/71?
"(. !ifferences between native S=: an open S=:?
"). What is at line 7section event?
$*. 3-plain the purpose of the collective state.ent
$1. Where can you fin the list of events that are efine for use of in an A:; >ri?
$2. What is the transaction coe use for function builer?
$3. 3-plain the ifferences between inner ,oin an outer ,oin when creatin& atabase views?
$". What is collective search help an ele.entary search help?
$$. What are the types of enhance.ents?
$%. What is /.plicit an 3-plicit 3nhance.ents?
$'. What is a Workflow? When to use a Workflow?
$(. #ow o we fin available BA!/8s
$). 3-plain /nboun an 0utboun Process
%*. What are the ifferent .ethos of usin& ?Break points@ ?
1) What is SAP R/3?
Ans SAP A<3 refers to Syste.s Application an Prouct for ata processin& Aeal7ti.e havin& a 3 tier
architecture i.e. Presentation layer2 Application layer an !atabase layer.
2) What are the programming standards followed?
3) The Pictures are of actuall ta!en at the Studio of "ucci #and$ags %utlet
What are the contents in technical specifications?
Ans Bhere are five contents in Bechnical Settin&sC !ata 1lass2 Si+e 1ate&ory2 Bufferin& Per.ission2
Bufferin& Bype an :o&&in&.
&) What is an instance?
Ans When you call a function .oule2 an instance of its function &roup plus its ata2 is loae into
the .e.ory area of the internal session. An ABAP pro&ra. can loa several instances by callin& function
.oules fro. ifferent function &roups.
') #ow to ta!e care of performance in A(AP )e*elopment?
+) What is ,unction group? )ifference $etween function group and function module?
Ans Dunction >roups act as containers for Dunction 4oules that lo&ically belon& to&ether.
Dunction >roups
16 Bhese cannot be efine in a Dunction 4oule.
26 /t cannot be calle.
36 Bhey are containers for Dunction 4oule.
Dunction 4oules
16 Bhese .ust be efine in a Dunction >roup.
26 /t can be calle fro. any pro&ra..
36 Bhey are not containers for Dunction >roup.
-) What is the difference $etween .Select single / . and .Select upto 1 rows0?
Ans ESelect sin&le F8 G Bhe result of the selection shoul be a sin&le entry. /f it is not possible to
ientify a unique entry2 the syste. uses the first line of the selection. Dor e.&.
!ABA C /BAB BHP3 9A3I#AJ34P.
S3:31B S/K>:3 F DA04 9A3I#AJ34P /KB0 /BAB
W#3A3 34PK0 L E**1*18 AK! !3PBK0 L E**1*8.
WA/B3 C < /BAB734PK02 /BAB734PKA432/BAB7!3PBK0.
Select upto 1 rows 7
1) What ,unction does data dictionar perform?
Ans 1entral infor.ation repository for application an syste. ata. Bhe ABAP !ictionary contains
ata efinitions 5.etaata6 that allow you to escribe all of the ata structures in the syste. 5like
tables2 views2 an ata types6 in one place. Bhis eli.inates reunancy.
2) )ifference $etween domain and data element? What are aggregate o$3ect?
Ans !o.ain 7 Specifies the technical attributes of a ata ele.ent 7 its ata type2 len&th2 possible
values2 an appearance on the screen. 3ach ata ele.ent has an unerlyin& o.ain. A sin&le o.ain
can be the basis for several ata ele.ents. !o.ains are ob,ects in the ABAP !ictionary.
!ata 3le.ent 7 !escribes the business function of a table fiel. /ts technical attributes are base on a
o.ain2 an its business function is escribe by its fiel labels an ocu.entation.
A&&re&ate 0b,ect G ;iews2 4atch 1oe an :ock ob,ects are calle a&&re&ate ob,ects because they are
for.e fro. several relate table.
14) What is *iew? )ifferent tpes of *iew5 67plain?
Ans ;iew 7 A view is a virtual table containin& fiels fro. one or .ore tables. A virtual table that
oes not contain any ata2 but instea provies an application7oriente view of one or .ore ABAP
!ictionary tables.
!ifferent Bypes of ;iewC
16 4aintenance
26 !atabase G /t is on .ore than two tables.
36 Pro,ection G /t is only on one table.
"6 #elp
11) 8an u print decimals in tpe 9? What is difference $etween float and pac!ed data
tpe?
Ans Ko2 we cannot print eci.als in type K because eci.al places are not per.itte with K
ata type.
Dloat !ata BypeC /t cannot be eclare in Para.eters.
Packe Ku.berC /t can be eclare in Para.eters. Dor e.&.
PAAA43B3AS C A5"6 BHP3 P !31/4A:S 22
B5"6 BHP3 P !31/4A:S 2.
!ABA C 15"6 BHP3 P !31/4A:S 2.
1 L A M B.
WA/B3 C < EB#3 SN4 /S8 2 1.
12) What is step:loop? 67plain all the steps?
Ans A step loop is a repeate series of fiel7blocks in a screen. 3ach block can contain one or .ore
fiels2 an can e-ten over .ore than one line on the screen.
Step loops as structures in a screen o not have iniviual na.es. Bhe screen can contain .ore than
one step7loop2 but if so2 you .ust pro&ra. the :00PO3K!:00Ps in the flow lo&ic accorin&ly. Bhe
orerin& of the :00PO3K!:00Ps .ust e-actly parallel the orer of the step loops in the screen. Bhe
orerin& tells the syste. which loop processin& to apply to which loop. Step loops in a screen are
orere pri.arily by screen row2 an seconarily by screen colu.n.
Bransaction B9%1 5evelop.ent class S!WA6 i.ple.ents a step loop version of the table you saw in
transaction B9%*.
Static an !yna.ic Step :oops
Step loops fall into two classesC static an yna.ic. Static step loops have a fi-e si+e that cannot be
chan&e at runti.e. !yna.ic step loops are variable in si+e. /f the user re7si+es the winow2 the syste.
auto.atically increases or ecreases the nu.ber of step loop blocks isplaye. /n any &iven screen2 you
can efine any nu.ber of static step loops2 but only a sin&le yna.ic one.
Hou specify the class for a step loop in the Screen Painter. 3ach loop in a screen has the attributes
:ooptype 5fi-eLstatic2 variableLyna.ic6 an :oopcount. /f a loop is fi-e2 the :oopcount tells the
nu.ber of loop7blocks isplaye for the loop. Bhis nu.ber can never chan&e.
Pro&ra..in& with static an yna.ic step loops is essentially the sa.e. Hou can use both the :00P an
:00P AB state.ents for both types.
:oopin& in a Step :oop
When you use :00P AB with a step loop2 the syste. auto.atically isplays the step loop with vertical
scroll bars. Bhe scroll bars2 an the upate 5scrolle6 table isplay2 are .ana&e by the syste..
Nse the followin& aitional para.eters if esireC
DA04 an B0
1NAS0A
13) What is the initial *alue and ma7imum length of all data tpe?
!ata Bype /nitial fiel len&th ;ali fiel len&th /nitial value 4eanin&
Ku.eric types
/ " " * /nte&er 5whole nu.ber6
D ( ( * Dloatin& point nu.ber
P ( 1 G 1% * Packe nu.ber
1haracter types
1 1 1 G %$$3$ E O E Be-t fiel 5alphanu.eric
characters6

! ( ( E********P !ate fiel 5Dor.atC HHHH44!!6

K 1 1 G %$$3$ E* O *P Ku.eric te-t fiel 5nu.eric
characters6
B % % E******P Bi.e fiel 5for.atC ##44SS6
#e-aeci.al type
Q 1 1 G %$$3$ Q8* O *P #e-aeci.al fiel

1&) What are the was to find out the ta$les used in the program?
Ans
1') 8an ou ha*e two detail lists from the $asic list at the same time?
/f yes how an if no why?
Ans
1+) What are the different functions used in sap script? What are the parameters used in
each ,unction?
Ans Bhere are three ifferent functions use in SAP ScriptC
16 0P3KJD0A4
26 WA/B3JD0A4
36 1:0S3JD0A4
Para.eters in 3ach DunctionC
16 0P3KJD0A4G
3-portin&
Dor.
:an&ua&e
26 WA/B3JD0A4G
3-portin&
3le.ent
Winow
36 1:0S3JD0A4
1'6 What is sequence of event tri&&ere in report?
Ans Bhere are % events in reportC
16 /nitiali+ation
26 At Selection7Screen
36 Start7of7Selection
"6 >et
$6 >et :ate
%6 3n7of7Selection
'6 Bop7of7Pa&e
(6 3n7of7Pa&e
)6 At :ine Selection
1*6 At Nser 1o..an
116 At PD 5nn6
1(6 What are stanar layouts sets in the SAP Script?
Ans Bhere are four stanar layouts in the SAP ScriptC
16 #eaer
26 :o&o
36 4ain Winow
"6 Dooter
12) What function module upload data from application ser*er?
Ans
24) What are the *arious tpes of selection screen e*ent?
Ans S3:31B/0K7S1A33K B3>/K 0D B:01I AB1 W/B# DAA43 B/B:3 B*1.
S3:31B/0K7S1A33K B3>/K 0D S1A33K $** AS W/K!0W.
1A:: S3:31B/0K7S1A33K $** SBAAB/K> AB 1* 1*.
21) What do ou !now a$out a client?
Ans
22) What are the sstem fields? 67plain?
Ans Bhe ABAP syste. fiels are active in all ABAP pro&ra.s. Bhey are fille by the runti.e
environ.ent2 an you can query their values in a pro&ra. to fin out particular states of the syste..
Althou&h they are variables2 you shoul not assi&n your own values to the.2 since this .ay overwrite
infor.ation that is i.portant for the nor.al runnin& of the pro&ra.. #owever2 there are so.e isolate
cases in which you .ay nee to overwrite a syste. variable. Dor e-a.ple2 by assi&nin& a new value to
the fiel SH7:S/K!2 you can control navi&ation within etails lists.
23) What is SAP Script? What is the purpose of SAP Script? )ifference $etween
SAP Script and Report?
Ans SAP Script G /t is the inte&rate te-t 4ana&e.ent syste. of the SAP A<3 Syste.. Bwo types G
P1 3itor R :ine 3itor.
Aeports 7 /t is the way to isplay ata fetche fro. atabase table onto screen or irectly output it to a
printer. Bwo types G 1lassical an /nteractive.
2&) What is the use of occurs in internal ta$le? 8an u change occurs *alue in program?
Ans Nse of 0ccurs 7 /f you use the 011NAS para.eter2 the value of the /K/B/A: S/93 of the table is
returne to the variable
!ata C Be&in of /BAB occurs *2
3n of /BAB.
0ccurs or /nitial Si+e G to specify the initial a.ount of .e.ory that shoul be assi&ne to the table.
Hes2 we can chan&e the occurs value in pro&ra. but output re.ains the sa.e.
2') )ifference $etween S;:TA(<= and S;:<9)6=? Where it is used?
1an u check SH7SNBA1 after perfor.?
Ans SH7BAB/Q 7 1urrent line of an internal table. SH7BAB/Q is set by the state.ents below2 but only
for ine- tables. Bhe fiel is either not set or is set to * for hashe tables.
F APP3K! sets SH7BAB/Q to the ine- of the last line of the table2 that is2 it contains the overall nu.ber
of entries in the table.
F 10::31B sets SH7BAB/Q to the ine- of the e-istin& or inserte line in the table. /f the table has the
type #AS#3! BAB:32 SH7BAB/Q is set to *.
F :00P AB sets SH7BAB/Q to the ine- of the current line at the be&innin& of each loop lass. At the en of
the loop2 SH7BAB/Q is reset to the value that it ha before enterin& the loop. /t is set to * if the table has
the type #AS#3! BAB:3.
F A3A! BAB:3 sets SH7BAB/Q to the ine- of the table line rea. /f you use a binary search2 an the
syste. oes not fin a line2 SH7BAB/Q contains the total nu.ber of lines2 or one .ore than the total
nu.ber of lines. SH7/K!3Q is unefine if a linear search fails to return an entry.
F S3AA1# D0A sets SH7BAB/Q to the ine- of the table line in which the search strin& is foun.
SHJ/K!3Q 7 /n a !0 or W#/:3 loop2 SH7/K!3Q contains the nu.ber of loop passes incluin& the current
pass.
2+) )ifference $etween >P?%A) and WS@>P?%A)?
Ans NP:0A! 7 Dile transfer with ialo& fro. presentation server file to internal table. !ata which is
available in a file on the presentation server is transferre in an internal table. AS1// R Binary files can
be transferre.
WSJNP:0A! 7 Bo rea ata fro. the presentation server into an internal table without a user ialo&2 use
the function .oule WSJNP:0A!. Bhe .ost i.portant para.eters are liste below.
Para.eters Dunction

10!3PA>3 0nly for uploa uner !0SC ;alue
/B4
D/:3KA43 Dilena.e
D/:3BHP3 Dile type

2-) Wh did u switch to SAP?
Ans
21) What is a ?ogical )ata$ase?
Ans :o&ical !atabases are special ABAP pro&ra.s that retrieve ata an .ake it available to application
pro&ra.s.
Nse of :!B G is use to rea ata fro. atabase tables by linkin& the. to e-ecutable ABAP pro&ra.s.
22) What are the e*ents used for ?ogical )ata$ase?
Ans Bwo 3vents G
16 >3B 7 Bhis is the .ost i.portant event for e-ecutable pro&ra.s that use a lo&ical atabase. /t occurs
when the lo&ical atabase has rea a line fro. the noe an .ae it available to the pro&ra. in the
work area eclare usin& the state.ent K0!3S. Bhe epth to which the lo&ical atabase is rea is
eter.ine by the >3B state.ents
26 PNB 7 Bhe PNB state.ent irects the pro&ra. flow accorin& to the structure of
the lo&ical atabase.
34) What is the difference $etween "et and "et ?ate?
Ans >3B 7 After the lo&ical atabase has rea an entry fro. the noe
.>3B :AB3 7 After all of the noes of the lo&ical atabase have been processe that are below in the
atabase hierarchy.
31) What are the data tpes of <nternal Ta$les?
Ans Bhere are three typesC
16 :ine
26 Iey
36 Bable
32) What are the e*ents used in A(AP in the order of e7ecution?
Ans 3vents areC
1. /K/B/A:/9AB/0K
2. AB S3:31B/0K7S1A33K
3. AB S3:31B/0K7S1A33K 0K
". SBAAB70D7S3:31B/0K
$. B0P70D7PA>3
%. B0P70D7PA>3 !NA/K> :/K3 S3:31B/0K
'. 3K!70D7PA>3
(. 3K!70D7S3:31B/0K
). AB NS3A71044AK!
1*. AB :/K37S3:31B/0K
11. AB PD
12. >3B
13. >3B :AB3.
1". AB Nser 1o..an
33) What are <nteracti*e Reports?
Ans An output list which isplays ,ust the basic etails R allow user to interact2 so that a new list is
populate base on user7selection. With interactive list2 the user can actively control ata retrieval an
isplay urin& the session.
3&) What are the commands used for interacti*e reports?
Ans Bop7of7Pa&e urin& line7selection
3') What are the sstem fields u ha*e wor!ed with? 67plain?
Ans / ha worke with the followin& 53*6 syste. fielsC
16 SH7!BSHS 7 1entral !atabase
26 SH7#0SB 7 Server
36 SH70PSHS 7 0peratin& Syste.
"6 SH7SAPA: 7 SAP Aelease
$6 SH7SHS/! 7 Syste. Ka.e
%6 SH7:AK>N 7 Nser :o&on :an&ua&e
'6 SH74AK!B 7 1lient
(6 SH7NKA43 7 :o&on Nser Ka.e
)6 SH7!AB:0 7 :ocal !ate
1*6 SH7!ABN4 7 Server !ate
116 SH7B/4:0 7 :ocal Bi.e
126 SH7N93/B 7 Server Bi.e
136 SH7!HKKA 7 Screen Ku.ber
1"6 SH7A3P/! 7 1urrent ABAP pro&ra.
1$6 SH7B10!3 7 Bransaction 1oe
1%6 SH7N:/K3 7 #ori+ontal :ine
1'6 SH7;:/K3 7 ;ertical :ine
1(6 SH7/K!3Q 7 Ku.ber of current loop Pass
1)6 SH7BAB/Q 7 1urrent line of internal table
2*6 SH7!B1KB 7 Ku.ber of table entries processe
216 SH7SNBA1 7 Aeturn 1oe
226 SH7N1044 7 Dunction 1oe
236 SH7:/K1B 7 Pa&e :en&th of list
2"6 SH7:/KK0 7 1urrent :ine
2$6 SH7PA>K0 7 1urrent Pa&e Ku.ber
2%6 SH7:S/K! 7 /ne- of :ist
2'6 SH74S>/! 7 4essa&e 1lass
2(6 SH74S>K0 7 4essa&e Ku.ber
2)6 SH74S>BH 7 4essa&e Bype
3*6 SH7SP0K0 7 Spool nu.ber urin& printin&
3+) What is the difference $etween Primar !e and >niAue Be?
Ans Pri.ary Iey G /t can accepts * value an cannot be KN::.
Nnique Iey G /t can be KN::.
3-) What is the transaction code for Ta$le maintenance?
Ans S43*
31) <f u are using ?ogical )ata$ases how will u modif the selection:screen elements?
Ans Select7options C na.e for eptt7na.e.
32) What is an R,8?
Ans Ae.ote Dunction 1all
&4) <f u are using R,8 and passing *alues to a remote sstem how does it wor!?
Ans
&1) What are the e*ents in Screen Programming?
Ans Bhere are two events in Screen Pro&ra..in&C
1. PB0 5Process Before 0utput6 G Before the screen is isplaye2 the PB0 event is processe.
2. PA/ 5Process After /nput6 G When the user interacts with the screen2 the PA/ event is processe.
3. P0# 5Process 0n #elp6 7 are tri&&ere when the user requests fiel help 5D16. Hou can pro&ra. the
appropriate coin& in the corresponin& event blocks. At the en of processin&2 the syste. carries on
processin& the current screen.
". P0; 5Process 0n ;alue6 7 are tri&&ere when the user requests possible values help 5D"6. Hou can
pro&ra. the appropriate coin& in the corresponin& event blocks. At the en of processin&2 the syste.
carries on processin& the current screen.
&2) What is the significance of #<)6?
Ans /ts stores the click value an isplay the relate recor in the seconary list.
&3) Where do u code the #<)6 statement?
Ans /n a :00P state.ent
&&) Tpes of ()80s?
Ans Bhere are two types of B!18sC
16 Bransaction 4etho
26 Session 4etho
&') Ad*antages C )isad*antages of different tpes of ()80s?
Ans Bransaction 4ethoC
16 /t is faster than session .etho.
26 While e-ecutin&2 it starts fro. startin&.
Session 4ethoC
16 /t is slower than transaction .etho.
26 While e-ecutin&2 it oes not start fro. startin&.
&+) What are the e*ents used in <nteracti*e Reports5
Ans Bhere are three events of /nteractive AeportsC
/. At PD5nn6
//. At line7selection
///. At user7co..an
&-) What is an R)(DS?
Ans A!B4S G Aelational !atabase 4ana&e.ent Syste.. /t helps to create relationship between two or
.ore table.
&1) What standards u use to follow while coding A(AP programs?
Ans
&2) What will ou code in START:%,:S6?68T<%9 C 69):%,:S6?68T%9 C wh?
Ans SBAAB70D7S3:31B/0K
S3:31B F DA04 !3PBB /KB0 10AA3SP0K!/K> D/3:!S 0D /BAB
W#3A3 !3PBK0 /K !3PBK0.
APP3K! /BAB.
3K!S3:31B.
:00P AB /BAB.
WA/B3 C < 1* /BAB7!3PBK0.
#/!3 C /BAB7!3PBK0.
3K!:00P.
3K!70D7S3:31B/0K
'4) What are 3oins and different tpes 3oins?
Ans Bhere are four types of SoinsC
16 Self Soin
26 /nner Soin
36 0uter Soin
"6 3qui Soin
'1) Which is the default 3oin?
Ans
'2) #ow do u displa a data in a )etail ?ist?
Ans By usin& two state.entsC
16 Bop7of7pa&e urin& line7selection
26 At line7selection
'3) What are the tpes of windows in SAP Script?
Ans Bhere are five Stanar :ayouts in SAP ScriptC
16 Pa&e
26 Winow
36 Pa&e Winow
"6 Para&raph Dor.at
$6 1haracter Dor.at
'&) What are the function modules used in a SAP Script dri*er program?
Ans Bhere are three functions use in SAP ScriptC
16 0P3KJD0A4
26 WA/B3JD0A4
36 1:0S3JD0A4
'') What are 67tracts?
Ans 3-tracts are yna.ic sequential atasets in which ifferent lines can have ifferent structures. We
can access the iniviual recors in an e-tract ataset usin& a :00P.
'+) #ow would u go a$out impro*ing the performance of a ProgramE which selects data from
DS6" C DBP,?
Ans
'-) #ow does Sstem wor! in case of an <nteracti*e Report?
Ans
'1) What is ?>W?
Ans :o&ical Nnit of Work
'2) )ifferent tpes of ?>Ws5 What r the?
Ans Bwo types of :NW areC
16 !B :NW 7 A atabase :NW is the .echanis. use by the atabase to ensure that its ata is always
consistent. A atabase :NW is an inseparable sequence of atabase operations that ens with a
atabase co..it. Bhe atabase :NW is either fully e-ecute by the atabase syste. or not at all. 0nce
a atabase :NW has been successfully e-ecute2 the atabase will be in a consistent state. /f an error
occurs within a atabase :NW2 all of the atabase chan&es since the be&innin& of the atabase :NW are
reverse. Bhis leaves the atabase in the state it ha before the transaction starte.
26 SAP :NW 7 A lo&ical unit consistin& of ialo& steps2 whose chan&es are written to the atabase in a
sin&le atabase :NW is calle an SAP :NW. Nnlike a atabase :NW2 an SAP :NW can span several ialo&
steps2 an be e-ecute usin& a series of ifferent work processes.
+4) What is ,irst e*ent triggered in program?
Ans
+1) What are *arious Foins? What is right outer 3oin?
Ans
+2) #ow do u find out whether a file e7its on the presentation ser*er?
Ans epsJ&etJirectoryJlistin& for irectory
+3) Sstems fields used for <nteracti*e ?ists A9) ?ists
Ans /nteractive Syste. DielsC SH7:S/K!2 SH71PA>32 SH7:/::/2 SH7:/S3:2 SH7:/SB/2
SH7:SBAB2 SH7SBA102 SH7SBAA0
:istsC SH710:K02 SH7:/K1B2 SH7:/KK02 SH7:/KS92 SH7PA>K02
SH7B;AA*O..SH7B;AA)2 SH7WB/B:
+&) ?ogo in SAP Script?
Ans ASBQ:!41 0A
Steps for .akin& an insertin& :o&o in SAP ScriptC
Dirst ProceureC
16 !raw the picture
26 Save it
36 <nS3'(
"6 Write na.e R 1hoose 1olor
$6 1lick on /.port
%6 Browse picture
'6 3nter
Secon Proceure
16 <nS3'1
26 /nsert
36 >raphics
"6 1lick on store on ocu.ent server
$6 3-ecute
%6 1hoose na.e of B4AP
+') What are the difference $etween call screen and lea*e screen?
Ans 1all ScreenC 1allin& a sin&le screen is a special case of e.bein& a screen sequence. /f you want to
prevent the calle screen fro. coverin& the current screen co.pletely2 you can use the 1A:: S1A33K
state.ent with the SBAAB/K> AB an 3K!/K> AB
1A:: S1A33K 1***.
1A:: S1A33K 1*** SBAAB/K> AB 1* 1* 3K!/K> AB 2* 2*.
:3A;3 S1A33K state.ent ens the current screen an calls the subsequent screen.
:3A;3 S1A33K.
:3A;3 B0 S1A33K 2***.
++) <f internal ta$le used in for all entries in empt then what happens
Ans Ko2 recors will be isplaye.
+-) <f < forgot some command in SAP Script e5g5G suppress Hero displa : #ow to do find it?
Ans Suppressin& of entire screens is possible with this co..an. Bhis co..an allows us to perfor.
screen processin& ?in the back&roun@. Suppressin& screens is useful when we are branchin& to list7
.oe fro. a transaction ialo& step.
+1) #ow to write a ()8 : how do u go a$out it?
Ans Steps for writin& B!1
16 <nS33(
26 !eclare Bables2 !ata 5for /BAB6 an !ata 5for B!1/BAB6
36 1all function ENploa8.
"6 Write coe for the Dirst Screen2 Aaio Button2 Dilena.e2 1han&e Button2 Secon Screen2 Ntilities
51reate 3ntries62 Bhir Screen an Save.
$6 1all transaction ES3118 usin& B!1/BAB .oe EA8.
%6 Save2 1heck 3rrors2 Activate an 3-ecute.
+2) What is Performance tuning?
Ans
-4) )efine )ocumentation5
Ans
-1) (rief a$out Testing of programs5
Ans
-2) #ow do u mo*e on to the ne7t screen in interacti*e reporting?
Ans Write coe of the followin&C
16 Bop7of7Pa&e urin& line7selection
26 At line7selection
-3) 8reate an functions? #ow to go a$out it?
Ans Steps for creatin& the DunctionsC
Dirst ProceureC
16 <nS33'
26 >oto
36 Dunction >roup 5D>6
"6 1reate >roup
$6 Ka.e of D> 59A3I#AJD>6
%6 Short Be-t
'6 Save
(6 :ocal 0b,ect
Secon Proceure
16 3nviron.ent
26 /nactive 0b,ect
36 Dunction >roup 59A3I#AJD>6
"6 Activate
$6 Back
Bhir Proceure
16 Ka.e of Dunction 4oule 59A3I#AJD46
26 1reate
36 Write D> Ka.e 59A3I#AJD>6
"6 Short Be-t
$6 Save
Dourth StepC
1all function E9A3I#AJD48.
-&) Ad*anced topics?
Ans
-') ,unction modules used in ,& help5
Ans Bhere are two types of function .oules use in D" helpC
16 D"/DJD/3:!J;A:N3JA3=N3SB
26 D"/DJ/KBJBAB:3J;A:N3JA3=N3SB
-+) Wor! most on which moduleG 9ame a few ta$les5
Ans Sales R !istribution 4oule
16 Sales !ocu.entC /te. !ata G ;BAP
26 Sales !ocu.entC Partner G ;BPA
36 Sales !ocu.entC #eaer !ata G ;BAI
"6 Sales !ocu.ent Dlow G ;BDA
$6 Sales !ocu.entC !elivery /te. !ata 7 :/PS
%6 1usto.er 4aster G IKA1
'6 4aterial !ata G 4AAA
(6 1onitions 5Bransaction !ata6 7 I0K;
--) Sstem Ta$le used
Ans
16 Sales !ocu.entC /te. !ata G ;BAP
26 Sales !ocu.entC Partner G ;BPA
36 Sales !ocu.entC #eaer !ata G ;BAI
"6 Sales !ocu.ent Dlow G ;BDA
$6 Sales !ocu.entC !elivery /te. !ata 7 :/PS
%6 1usto.er 4aster G IKA1
'6 4aterial !ata G 4AAA
(6 1onitions 5Bransaction !ata6 7 I0K;
-1) ,rom a ta$le how do u find whether a material is used in another material (%D?
Ans
-2) What is read line?
Ans A3A! :/K3 an A3A! 1NAA3KB :/K3 G Bhese state.ents are use to rea ata fro. the lines of
e-istin& list levels. Bhese state.ents are closely connecte to the #/!3 technique.
14) #ow u used logical data$ase? #ow is data transferred to program? 8orresponding
statement in ?)(5
Ans
11) #ow do u suppress fields on selection screen generated $ ?)(?
Ans
12) 8an there $e more than 1 main window in SAP Script?
Ans Ko2 there cannot be .ore than 1 .ain winow in SAP Script because in WA/B3JD0A
What are the layers of ata escription in A<3?
T Bhe e-ternal layer.
T Bhe ABAP<" layer.
T Bhe atabase layer.
!efine e-ternal layer?
Bhe e-ternal layer is the plane at which the user sees an interacts with the ata2 that is2 the ata
for.at in the user interface. Bhis ata for.at is inepenent of the atabase syste. use.
!efine ABAP<" layer?
Bhe ABAP<" layer escribes the ata for.ats use by the ABAP<" processor.
!efine !atabase layer?
Bhe atabase layer escribes the ata for.ats use in the atabase.
What is a !ata 1lass?
Bhe !ata class eter.ines in which table space the table is store when it is create in the atabase.
What is a Si+e 1ate&ory?
Bhe Si+e cate&ory escribes the probable space require.ent of the table in the atabase.
#ow .any types of si+e cate&ories an ata classes are there?
Bhere are five si+e cate&ories 5*7"6 an 11 ata classes only three of which are appropriate for
application tablesC
T APP:*7 4aster ata 5ata frequently accesse but rarely upate6.
T APP:17 Bransaction ata 5ata that is chan&e frequently6.
T APP:27 0r&ani+ational ata 5custo.i+in& ata that is entere when syste. is confi&ure an then
rarely chan&e6.
Bhe other two types areC
T NSA
T NSA1 G /ntene for custo.er8s own evelop.ents.
What are control tables?
Bhe values specifie for the si+e cate&ory an ata class are .appe to atabase7specific values via
control tables.
What is the function of the transport syste. an workbench or&ani+er?
Bhe function of the transport syste. an the Workbench 0r&ani+er is to .ana&e any chan&es .ae to
ob,ects of the ABAP<" !evelop.ent Workbench an to transport these chan&es between ifferent SAP
syste.s.
What is a table pool?
A table pool 5or pool6 is use to co.bine several lo&ical tables in the ABAP<" !ictionary. Bhe efinition of
a pool consists of at least two key fiels an a lon& ar&u.ent fiel 5;AA!ABA6.
What are poole tables?
Bhese are lo&ical tables2 which .ust be assi&ne to a table pool when they are efine. Poole tables
can be use to store control ata 5such as screen sequences or pro&ra. para.eters6.
What is a table cluster?
A table cluster co.bines several lo&ical tables in the ABAP<" !ictionary. Several lo&ical rows fro.
ifferent cluster tables are brou&ht to&ether in a sin&le physical recor. Bhe recors fro. the cluster
tables assi&ne to a cluster are thus store in a sin&le co..on table in the atabase.
#ow can we access the correction an transport syste.?
3ach ti.e you create a new ob,ect or chan&e an e-istin& ob,ect in the ABAP<" !ictionary2 you branch
auto.atically to the Workbench 0r&ani+er or correction an transport syste..
Which ob,ects are inepenent transport ob,ects?
!o.ains2 !ata ele.ents2 Bables2 Bechnical settin&s for tables2 Seconary ine-es for transparent tables2
Structures2 ;iews2 4atchcoe ob,ects2 4atchcoe /s2 :ock ob,ects.
#ow is conversion of ata types one between ABAP<" R !B layer?
1onversion between ABAP<" ata types an the atabase layer is one within the atabase interface.
#ow is conversion of ata types one between ABAP<" R e-ternal level?
1onversion between the e-ternal layer an the ABAP<" layer is one in the SAP ialo& .ana&er !HKP.
What are the !ata types of the e-ternal layer?
A11P2 1har2 1:KB2 1NIH2 1NAA2 !ABS2 !3S12 D:BP2 /KB12 /KB22 /KB"2 :AK>2 :1#A2 :AAW2 KN412 PA312
=NAK2 AAW2 B/4S2 NK/B2;AA1.
What are the !ata types of the ABAP<" layer?
Possible ABAP<" ata typesC
1C 1haracter.
!C !ate2 for.at HHHH44!!.
DC Dloatin&7point nu.ber in !0NB:3 PA31/S/0K 5( bytes6.
/C /nte&er.
KC Ku.erical character strin& of arbitrary len&th.
PC A.ount of counter fiel 5packeU i.ple.entation epens on h<w platfor.6.
SC Bi.e Sta.p HHHH44!!##44SS.
;C 1haracter strin& of variable len&th2 len&th is &iven in the first two bytes.
QC #e-aeci.al 5binary6 stora&e.
#ow can we set the table spaces an e-tent si+es?
Hou can specify the e-tent si+es an the table space 5physical stora&e area in the atabase6 in which a
transparent table is to be store by settin& the si+e cate&ory an ata class.
What is the function of the correction syste.?
Bhe correction syste. .ana&es chan&es to internal syste. co.ponents. Such as ob,ects of the ABAP<"
!ictionary.
What are local ob,ects?
:ocal ob,ects 5!ev classVB4P6 are inepenent of correction an transport syste..
What is a !evelop.ent class?
Aelate ob,ects fro. the ABAP<" repository are assi&ne to the sa.e evelop.ent class. Bhis enables
you to correct an transport relate ob,ects as a unit.
What is a ata ictionary?
!ata !ictionary is a central source of ata in a ata .ana&e.ent syste.. /ts .ain function is to support
the creation an .ana&e.ent of ata efinitions. /t has etails about
T what ata is containe?
T What are the attributes of the ata?
T What is the relationship e-istin& between the various ata ele.ents?
What functions oes a ata ictionary perfor.?
/n a ata .ana&e.ent syste.2 the principal functions perfor.e by the ata ictionary are
T 4ana&e.ent of ata efinitions.
T Provision of infor.ation for evaluation.
T Support for s<w evelop.ent.
T Support for. ocu.entation.
T 3nsurin& that the ata efinitions are fle-ible an up7to7ate.
What are the features of ABAP<" !ictionary?
Bhe .ost i.portant features areC
T /nte&rate to aABAP<" !evelop.ent Workbench.
T Active in the runti.e environ.ent.
What are the uses of the infor.ation in the !ata ictionary?
Bhe followin& infor.ation is irectly taken fro. the !ata ictionaryC
T /nfor.ation on fiels isplaye with D1 help.
T Possible entries for fiels isplaye with D" help.
T 4atchcoe an help views search utilities.
What are the basic ob,ects of the ata ictionary?
T Bables
T !o.ains
T !ata ele.ents
T Structures
T Dorei&n Ieys
what are the a&&re&ate ob,ects in the ata ictionary?
T ;iews
T 4atch coes
T :ock ob,ects.
/n the ABAP<" !ictionary Bables can be efine inepenent of the unerlyin& atabase 5B<D6.
Brue.
ABAP<" !ictionary contains the :o&ical efinition of the table.
A fiel containin& currency a.ounts 5ata type 1NAA6 .ust be assi&ne to a reference table an a
reference fiel. 3-plain.
As a reference table2 a syste. containin& all the vali currencies is assi&ne or any other table2 which
contains a fiel with the currency key for.at. Bhis fiel is calle as reference fiel. Bhe assi&n.ent of
the fiel containin& currency a.ounts to the reference fiel is .ae at runti.e. Bhe value in the
reference fiel eter.ines the currency of the a.ount.
A fiel containin& quantity a.ounts 5ata type =NAK6 .ust be assi&ne to a reference table an a
reference fiel. 3-plain?
As a reference table2 a syste. table containin& all the vali quantity units is assi&ne or any other table2
which contains a fiel with the for.at or quantity units 5ata type NK/B6. Bhis fiel is calle as reference
fiel.
Bhe assi&n.ent of the fiel containin& quantity a.ounts to the reference fiel is .ae at runti.e. Bhe
value in the reference fiel eter.ines the quantity unit of the a.ount.
What is the si&nificance of Bechnical settin&s 5specifie while creatin& a table in the ata ictionary6? By
specifyin& technical settin&s we can control how atabase tables are create in the atabase. Bhe
technical settin&s allows us to
T 0pti.i+e stora&e space require.ents.
T Bable access behavior.
T Bufferin& require.
T 1han&es to entries lo&&e.
What is a Bable attribute?
Bhe table8s attributes eter.ine who is responsible for .aintainin& a table an which types of access are
allowe for the table. Bhe .ost i.portant table attributes areC
T !elivery class.
T Bable .aintenance allowe.
T Activation type.
What is the si&nificance of !elivery 1lass?
T Bhe elivery class controls the e&ree to which the SAP or the custo.er is responsible for table
.aintenance.
T Whether SAP provies the table with or without contents.
T !eter.ines the table type.
T !eter.ines how the table behaves when it is first installe2 at up&rae2 when it is transporte2 an
when a client copy is perfor.e.
What is the .a-. no. 0f structures that can be inclue in a table or structure.
Kine.
What are two .ethos of .oifyin& SAP stanar tables?
T Appen Structures an
T 1usto.i+in& /nclues.
What is the ifference between a Substructure an an Appen Structure?
T /n case of a substructure2 the reference ori&inates in the table itself2 in the for. of a state.ent
inclueO.
T /n case of an appen structure2 the table itself re.ains unchan&e an the reference ori&inates in the
appen structure.
Bo how .any tables can an appen structure be assi&ne.
0ne.
/f a table that is to be e-tene contains a lon& fiel2 we cannot use appen structures why?
:on& fiels in a table .ust always be locate in the en2 as the last fiel of the table. /f a table has an
appen structure the appen line .ust also be on the last fiel of the table.
1an we inclue custo.i+in& inclue or an appen structure with Poole or 1luster tables?
Ko.
What are the two ways for restrictin& the value ran&e for a o.ain?
T By specifyin& fi-e values.
T By stipulatin& a value table.
Structures can contain ata only urin& the runti.e of a pro&ra. 5B<D6
Brue.
What are the a&&re&ate ob,ects in the !ictionary?
T ;iews
T 4atch 1oe.
T :ock 0b,ect.
What are base tables of an a&&re&ate ob,ect?
Bhe tables .akin& up an a&&re&ate ob,ect 5pri.ary an seconary6 are calle a&&re&ate ob,ect.
Bhe ata of a view is not physically store2 but erive fro. one or .ore tables 5t<f6
Brue.
What are the 2 other types of ;iews2 which are not allowe in Aelease 3.*?
T Structure ;iews.
T 3ntity ;iews.
What is a 4atch 1oe?
4atch coe is a tool to help us to search for ata recors in the syste.. 4atch 1oes are an efficient
an user7frienly search ai where key of a recor is unknown.
What are the two levels in efinin& a 4atch 1oe?
T 4atch 1oe 0b,ect.
T 4atch 1oe /.
What is the .a- no of .atch coe /8s that can be efine for one 4atch coe ob,ect?
A .atch coe / is a one character /! that can be a letter or a nu.ber.
1an we efine our own 4atch 1oe /!8s for SAP 4atchcoes?
Hes2 the nu.ber * to ) are reserve for us to create our own 4atch 1oe /s for a SAP efine
4atchcoe ob,ect.
What is an Npate type with reference to a 4atch coe /!?
/f the ata in one of the base tables of a .atchcoe /! chan&es2 the .atchcoe ata has to be upate.
Bhe upate type stipulates when the .atchcoe is to be upate an how it is to be one. Bhe upate
type also specifies which .etho is to be use for Builin& .atchcoes. Hou .ust specify the upate
type when you efine a .atchcoe /!.
1an .atchcoe ob,ect contain /s with ifferent upate types?
Hes.
What are the upate types possible?
Bhe followin& upate types are possibleC
T Npate type AC Bhe .atchcoe ata is upate asynchronously to atabase chan&es.
T Npate type SC Bhe .atchcoe ata is upate synchronously to atabase chan&es.
T Npate type PC Bhe .atchcoe ata is upate by the application pro&ra..
T Npate type /C Access to the .atchcoe ata is .ana&e usin& a atabase view.
T Npate type :C Access to the .atchcoe is achieve by callin& a function .oule.
What are the two ifferent ways of builin& a .atch coe ob,ect?
A .atch coe can be built in two ifferent waysC
T :o&ical structureC Bhe .atchcoe ata is set up te.porarily at the .o.ent when the .atch coe is
accesse. 5Npate type /2 k6.
T Physical StructureC Bhe .atch coe ata is physically store in a separate table in the atabase.
5Npate type A2 S2 P6.
What are the ifferences between a !atabase ine- an a .atch coe?
T 4atch coe can contain fiels fro. several tables whereas an ine- can contain fiels fro. only one
table.
T 4atch coe ob,ects can be built on transparent tables an poole an cluster tables.
What is the function of a !o.ain?
T A o.ain escribes the technical settin&s of a table fiel.
T A o.ain efines a value ran&e2 which sets the per.issible ata values for the fiels2 which refers to
this o.ain.
T A sin&le o.ain can be use as basis for any nu.ber of fiels that are ientical in structure.
1an you elete a o.ain2 which is bein& use by ata ele.ents?
Ko.
What are conversion routines?
T Kon7stanar conversions fro. isplay for.at to sap internal for.at an vice7versa are i.ple.ente
with so calle conversion routines.
What is the function of a ata ele.ent?
A ata ele.ent escribes the role playe by a o.ain in a technical conte-t. A ata ele.ent contains
se.antic infor.ation.
1an a o.ain2 assi&ne to a ata ele.ent be chan&e?
Hes. We can o so by ,ust overwritin& the entry in the fiel o.ain.
1an you elete ata ele.ent2 which is bein& use by table fiels.
Ko.
1an you efine a fiel without a ata ele.ent?
Hes. /f you want to specify no ata ele.ent an therefore no o.ain for a fiel2 you can enter ata type
an fiel len&th an a short te-t irectly in the table .aintenance.
What are null values?
/f the value of a fiel in a table is unefine or unknown2 it is calle a null value.
What is the ifference between a structure an a table?
Structures are constructe the al.ost the sa.e way as tables2 the only ifference usin& that no
atabase table is &enerate fro. the..
What is a view?
A view is a lo&ical view on one or .ore tables. A view on one or .ore tables i.e.2 the ata fro. a view is
not actually physically store instea bein& erive fro. one or .ore tables.
#ow .any types of ;iews are there?
T !atabase ;iew
T #elp ;iew
T Pro,ection ;iew
T 4aintenance ;iew
What is :ockin&?
When two users si.ultaneously atte.pt to access the sa.e ata recor2 this is synchroni+e by a lock
.echanis..
What is atabase utility?
!atabase utility is the interface between the ABAP<" !ictionary an the unerlyin& the SAP syste..
What are the basic functions of !atabase utility?
Bhe basic functions of atabase utility areC
T 1reate atabase ob,ects.
T !elete atabase ob,ects.
SAP ABAP /nterview =uestions an Answers2SAP ABAP /nterview =uestion aske in top co.panies like
/nfosys2Wipro2B1S2#1: 2/B42#P.
What is the synta- of Packe Ku.ber?
Ans !ata C KN4 type P eci.als 2.
What are ifferent types of attributes of Dunction 4oule?
Ans Bhere are % attributes of D4C
1. /.port
2. 3-port
3. Bable
". 1han&in&
$. Source
%. 3-ception
:ist of Screen ele.ents.
Ans Bhere are 13 screen ele.entsC
i. /nput < output fiels
ii. Be-t fiels
iii. 1heckbo-
iv. Aaio button
v. Push Button
vi. !rop own list
vii. Subscreen
viii. Bable control
i-. Babstrip control
-. 1usto. control
-i. Bo-
-ii. Status icons
-iii. 0IJ10!3 fiels
#ow .any efault Bab Strips are there? #ow to insert .ore Babs in it?
Ans Bhere 2 efault Bab strips. Screen painter attributes contain Bab Bitle2 which is use to insert .ore
tabs in tab strip.
#ow to efine Selection Screen?
Ans Bhere are 3 ways of efinin& selection screenC
1. Para.eters
2. Select7options
3. Selection7Screen
What are the properties of Selection Screen?
Ans Bhere are 11 properties of selection screenC
16 !efault
26 4e.ory /!
36 :owercase
"6 ;isible len&th
$6 0bli&atory
%6 4atchcoe
'6 1heck
(6 1heckbo-
)6 Aaiobutton >roup
1*6 Ko7isplay
116 4oif /!
What are the co.ponents of Selection Bable?
Ans Bhere are four co.ponents of selection tableC
:ow2 #i&h2 Si&n2 0ptions
#ow to isplay or know if the value entere contains recors or not?
Ans SH7SNBA1
What are the sequences of event block?
Ans
i. Aeports
ii. Koes
iii. !ata
iv. /nitiali+ation
v. At selection7screen
vi. Start7of7selection
vii. >et eptt
viii. >et e.p
i-. >et eptt late
-. 3n7of7selection
-i. Dor.
-ii. 3nfor.
What are types of Select state.ents?
Ans S3:31B S/K>:3 ... W#3A3 ...
S3:31B W!/SB/K1BX ... W#3A3 ...
S3:31B F ...
What are !4: co..ans?
Ans Select2 /nsert2 !elete2 4oify2 Npate.
What is Asynchronous an Synchronous Npate?
Ans Asynchronous Npate G Bhe pro&ra. oes not wait for the work process to finish the
upate. 1o..it Work.
Synchronous Npate G Bhe pro&ra. wait for the work process to finish the upate.
1o..it Work an Wait.
Write synta- for 4essa&e 3rror 5Aeport6?
Ans AB S3:31B/0K7S1A33K.
S3:31B F DA04 9A3I#AJ!3PBB /KB0 10AA3SP0K!/K> D/3:!S 0D /BAB
W#3A3 !3PBK0 /K !3PBK0.
3K!S3:31B.
/f SH7!B1KB L *.
43SSA>3 3*** W/B# EK0 A310A!S D0NK!8.
3K!/D.
#ow to see the list of all create session?
Ans Bhere are two .etho to see all sessionsC
16 S#!B 5Aecorin&6
26 Write coe in S33( then save2 check errors activate an e-ecute it.
Syste.
Service
Batch input
Session
What are the function .oule in B!1?
Ans Bhere are three function .oule in B!1C
16 B!1J0P3KJ>A0NP
26 B!1J/KS3AB
36 B!1J1:0S3J>A0NP
Write the steps to e-ecute session .etho.
Ans Steps for e-ecution Session 4ethoC
16 Syste.
26 Service
36 Batch /nput
"6 Session
$6 1hoose Session Ka.e
%6 Process
'6 Asks for 4oe 5!isplay All Screen2 !isplay 3rrors R Back&roun6
(6 Process
What are the ifferent types of .oe 5run coe6 in 1all Bransaction .etho?
Bhere are three .oes in 1all BransactionC
A G !isplays All Screen
3 G !isplay 3rrors
K G Back&roun Processin&
Write the transaction coe of 1usto.er 4aster !ata2 Pricin&2 /nquiry2 =uotation an Sales 0rer.
Ans 1usto.er 4aster !ata 7 Q!*1
Pricin& 7
/nquiry 7 ;A11
=uotation 7 ;A21
Sales 0rer 7 ;A*1
7 44*1
What are the fiels of Sales 0rer?
Ans Bransaction 1oe of Sales 0rerC ;A*1
Bable of Sales 0rerC ;BAI
0rer Bype 7 ANAAB
Sales 0r& G ;I0A>
!ist 1hannel G ;BW3>
!ivision G SPAAB
Sales 0ffice 7 ;IBNA
Sales >roup 7 ;I>AP
What are ifferent types of screen keywors?
Ans Bhere are four types of screen keyworsC 4oule2 :oop2 1hain an Diel.
Write special co..ans of :ist.
Ans Bhere are four specials co..ans of listsC Write2 Nline2 Skip an Kew7Pa&e
Write the followin& in ifferent .anner.
/D 5 A >3 B 6 AK! 5 A :3 16
Ans /D A B3BW33K B AK! 1
What are the ifferent types of ABAP state.ents?
Ans Bhere are si- types of ABAP state.entsC
16 !eclarative 7 Bypes2 !ata2 Bables
26 4oulari+ation 7 3vent Ieywors an !efinin& Ieywors
36 1ontrol 7 /fO3lse2 While2 1ase
"6 1all 7 Perfor.2 1all2 Set Nser 1o..an2 Sub.it2 :eave to
$6 0perational 7 Write2 A2 4ove
%6 !atabase 7 0pen S=: R Kative S=:
#ow ata is store in cluster table?
Ans 3ach fiel of cluster table behaves as tables2 which contains the nu.ber of entries.
What are client epenant ob,ects in ABAP < SAP?
Ans SAP Script layout2 te-t ele.ent2 an so.e !!/1 ob,ects.
0n which event we can valiate the input fiels in .oule pro&ra.s?
Ans /n PA/ 5Write fiel state.ent on fiel you want to valiate2 if you want to valiate &roup of fiels put
in chain an 3n chain state.ent.6
/n selection screen2 / have three fiels2 plant .aterial nu.ber an .aterial &roup. /f / input plant how
o / &et the .aterial nu.ber an .aterial &roup base on plant yna.ically?
Ans AB S3:31B/0K7S1A33K 0K ;A:N37A3=N3SB D0A 4AB3A/A:.
1A:: DNK1B/0K YD"/DJ/KBJBAB:3J;A:N3JA3=N3SBY
to &et .aterial an .aterial &roup for the plant.
#ow o you &et output fro. /!01?
Ans !ata in /!01 is store in se&.entsU the output fro. /!01 is obtaine by reain& the ata store in
its respective se&.ents.
When top of the pa&e event is tri&&ere?
Ans After e-ecutin& first write state.ent in start7of7selection event.
1an we create fiel without ata ele.ent an how?
Ans /n S3112 one option is available above the fiels strip i.e. !ata ele.ent < irect type.
Diels of ;BAI Bable.
Ans ;BAI G Sales !ocu.ent C #eaer !ata
!etails about Sales 0r&ani+ation2 !istribution 1hannel2 !ivision2 Sales >roup2 Sales 0ffice2 Business
Area2 0utline A&ree.ents2 etc
Which transaction coe can / use to analy+e the perfor.ance of ABAP pro&ra..
Ans Bransaction 1oe A:21.
#ow can / copy a stanar table to .ake .y own 9JBAB:3?
Ans >o to transaction S311. Bhen there is one option to copy table. Press that button. 3nter the na.e of
the stanar table an in the Bar&et table enter 9Jtable na.e an press enter.
What is runti.e analysis? #ave you use this?
Ans /t checks pro&ra. e-ecution ti.e in .icrosecons. When you &o to S33*. /f you &ive esire
pro&ra. na.e in perfor.ance file. /t will take you to below screen. Hou can &et how .uch fast is your
pro&ra..
What is .eant by perfor.ance analysis?
#ow to transfer the ob,ects? #ave you transferre any ob,ects?
#ow i you test the evelope ob,ects?
Ans Bhere are two types of testin&
7 Ke&ative testin&
7 Positive testin&
/n ne&ative testin&2 we will &ive ne&ative ata in input an we check any errors occurs.
/n positive testin&2 we will &ive positive ata in input for checkin& errors.
#ow i you hanle errors in 1all Bransaction?
Ans We can create an internal table like Ybs&.c&collY. All the .essa&es will &o to internal table. We can
&et errors in this internal table.
Below .essa&es are &o to internal table. When you run the call transaction.
16 B10!3
26 4essa&e Bype
36 4essa&e /
"6 4essa&e Ku.ber
$6 4S>;1
%6 4S>;2
'6 4S>;3
(6 4S>;"
1A:: BAAKSA1B/0K B10!3 NS/K> B!1!ABA 40!3 A<K<3.
NP!AB3 40!3 A<S 43SSA>3 /KB0 B!1!ABA.
B#3K PNB :00PO3K!:00P 0D B!14S>10::
1A:: DNK1B/0K ED0A4ABJWA/B38
3QP0AB L SHSB34 D/3:!
/4P0AB L 4S> B3QB 3AA0A
A.on& the 1all Bransaction an Session 4etho2 which is faster?
Ans 1all transaction is faster then session .etho. But usually we use session .etho in real
ti.e...because we can transfer lar&e a.ount of ata fro. internal table to atabase an if any errors in
a session2 then process will not co.plete until session &et correct.
What are the ifference between /nteractive an !rill !own Aeports?
Ans ABAP<" provies so.e interactive events on lists such as AB :/K37S3:31B/0K 5ouble click6 or AB
NS3A71044AK! 5pressin& a button6. Hou can use these events to .ove throu&h layers of infor.ation
about iniviual ite.s in a list.
!rill own report is nothin& but interactive report...rillown .eans above para&raph only.
#ow to pass the variables to for.s?
What is the table2 which contain the etails of all the na.e of the pro&ra.s an for.s?
Ans Bable contains vertical an hori+ontal lines. We can store the ata in table as blocks. We can scroll
epens upon your wish. An these all are store in atabase 5ata ictionary6.
What are Stanar Be-ts?
What is the ifference between 1lustere Bables an Poole Bables?
Ans A poole table is use to co.bine several lo&ical tables in the ABAP<" ictionary. Poole tables are
lo&ical tables that .ust be assi&ne to a table pool when they are efine.
1luster table are lo&ical tables that .ust be assi&ne to a table cluster when they are efine. 1luster
table can be use to store control ata. Bhey can also use to store te.porary ata or te-t such as
ocu.entation.
What is PD7SBABNS?
Ans PD7Status is use in interactive report for enhancin& the functionality. /f we &o to S3"12 we can &et
.enus2 ite.s an ifferent function keys2 which we are usin& for seconary list in interactive report.
A.on& Z4oveZ an Z4ove 1orresponin&Z2 which is efficient one?
Ans / &uess2 Y.ove corresponin&Y is very efficient then Y.oveY state.ent. Because usually we use this
state.ent for internal table fiels only...so if we &ive .ove corresponin&. Bhose fiels only .ovin& to
other place 5what ever you want6.
What are the 0utput Bype2 Bransaction coes2 Pa&e Dor.at?
Where we use 1hain an 3n chain?
Ans In Screen Programming

Das könnte Ihnen auch gefallen