Sie sind auf Seite 1von 6

Sap Questionnaire 8

1. What is Screen Painter and What are steps involved in writing Scripts for Command Buttons?
Entering !"C#E for !$ declaring !"C#E in %odule Pool$ and Writing script using case
!"C#E statement and using function names.
&. What is SP'()P'? When do *ou use it?
'+ '+ ,ou can set and displa* default values in fields. ,ou ma-e the assignment using P.# in
field attri/utes and chec- SP' or )P' option. ther wa* of using this is using SE0
P'1'%E0E1 and )E0 P'1'%E0E1 commands.
E23" SE0 P'1'%E0E1 4.E5# E%P5"E%P.# .# 6E%P7
)E0 P'1'%E0E1 .# 6E%P7 4.E5# E%P5"E%P.#
8. 9ow do *ou run programs with variant?
'+ Current screen will have :E2ecute with variant; and :verview of variants; /uttons if
variants can /e used. Choose to run with :E2ecute with variant; and run with a variant.
<. What is varia/le selection with variants?
'+ .t is possi/le to fetch values for variants from ta/le 0='1= fields. .n this case the value of
0='1= field is set /efore running the program with the variant. 0his is varia/le selection since
variant runs with different values. 0his is especiall* useful for /atch mode runs.
>. What are the differences /etween SE5EC0"P0.?S$ ='1.'?0S and P'1'%E0E1S?
'+ '+ .f *ou use Select options then *ou can define range of values li-e 4rom"0o. ,ou can
include ranges or e2clude ranges or ,ou can specif* single value.
.f *ou use Parameters *ou can onl* enter a particular value to a field.
.f *ou use =ariants$ *ou can have several variants for a program. ,ou can save values of set of
parameters as a variant and *ou can have several variants with different com/inations of
parameter values. ,ou can run program with variant$ .n that case *ou do not have to enter
parameters.
@. What does )E0 5'0E do?
'+ .n report$ if *ou want to print 0itle on the top and 0otals at the /ottom then *ou need to use
)E0 5'0E to print.
A. What are different t*pes of programs?
1 nline report BE2ecuta/le Program<.@d+
C Co/ 1eport
. .nclude 1eport
% %odule Pool
D Dpdate Program
4 4unction %odules
S E2ternal Su/routines
8. What is a variant? What are the advantages of using variant?
' =ariant is a selection set of input parameters. + .f a report is run with same selection set at
regular intervals$ variants would save user wor-. =ariants also reduce load on the s*stem$ as
restricting selection to a small essential amount of data reduces the num/er of data/ase accesses
and hence the load on the s*stem.
E. What happens if *ou choose 9old #ata option in screen attri/utes?
'+ S*stem automaticall* shows the data if the user returns to the screen.
1F. Where do *ou use Pop"Dp Windows?
1. 1. #ata .nput Bprompting the user to enter data+.
&. &. nline Control B#efine or restrict the online flow for the user+.
8. 8. #ata /ac-up B#o *ou want to save the data? ,es or ?o+.
Confirmation messages and .nclude messages.
11. What is B#C?
'+ '+ Batch #ata Communication. Batch .nput is a S'P method for transfering data into S'P
S*stem. 0he transfer consists of two phases3
1+ 1+ Create the /atch input data for the target S'P s*stem B'SC.. data files are speciall*
prepared for S'P /atch input processing+$
Processing the /atch input data in the target s*stem.
1&. Where did *ou use it?
'+ E2ported data from the legac* s*stem to new S'P s*stem. .n Purchasing$ *ou can import
vendor data and other information a/out vendor7s can /e /rought over to the new s*stem using
this techniGue.
18. Can *ou e2plain how *ou imported data to the new s*stem?
'+ '+ 4irst step in this B#C is preparing data for the target S'P s*stem B'
SC.. data files+.
Second step is to process data file and insert into S'P s*stem. 4or e2ample if *ou want to
get all customer7s information including general data and other7s. .f *ou do not have this
techniGue$ *ou need to -e* in all the information manuall* using S'P screens. Dsing this
techniGue$ what *ou need to do is remem/er or note down all -e* seGuences including
entering data and pressing 4unction -e*s or Push /uttons to save the data and move on to
the ne2t screens. ,ou need to simulate same seGuences using B#C. 4or data entr* *ou need
to read in record /* record from the data file and assign those field values on the screen and
simulate function -e*s to save data. 0hat wa* s*stem will chec- referential integrit* and
other chec-s. 0he reason this is normall* run off line is$ performance wise this is so slow
/ecause it has to load each screen. ther alternative to these loading ta/les directl* /ut S'P
does not recommend that /ecause in some cases referential integrit* is violated. 0hat is how
*ou import the data using B#C.

?0E3 B#C does not alwa*s mean that it is used for importing data and that is it. ,ou can
run an* time intensive or la/orious tas-s Bff line+ using this techniGue. 4or e2ample
%onthl* reports$ no /od* needs to /e there to run this *ou can schedule a Batch Co/.
1<. 9ow do *ou set up a /atch process?
'+ '+ .f *ou are planning to import data then *ou need to prepare the data first.
,ou need to remem/er or note down the user actions B4unction !e* clic-s or Push /utton clic-s+.
?eed to simulate those user events using Batch process techniGue that is
B#CH.?SE10H)1DP$ B#CH.?SE10$ and B#CHC5SEH)1DP.
Schedule the Batch Io/.
1>. 9ow do *ou run a report for a row in ta/le?
'+ Dsing )raphics %ultiple2er. 0here is an option some thing similar to screen capture which
captures data onl*. Dsing that data *ou can draw graphs B8# and &#+. 0his option is availa/le all
the time from %enuJ "K )enerate )raphics which captures the data then *ou need to drag and
select the data *ou want to draw a graph on. nce *ou select *ou can clic- on )raphics$ which
launches graphics multiple2er.
1@. =arious Event for a screen?
'+ Clic-ing Push Button$ 4unction !e*$ %enu ption.
1A. #escri/e the /asic framewor- of an 'B'P(< program?
0he /asic structure of an 'B'P(< program is as follows3
1EP10 reportHname
#'0' 3 page/rea- B1&+ 0,PE C$
#'0' 3 title B1F+ 0,PE C$
0'B5ES3 'BC$ #E4$ L,M.
P'1'%E0E1S3 'BC"#SC.

4.E5#")1DPS3

4.E5#"S,%B5S
NnameK
NstreetK O A4
Ncit*K
.?SE10

.?.0.'5.S'0.?
.?C5D#E 'S#FFF1
S0'10"4"SE5EC0.?.
Call to e2tract data from the data/ase are performed here
E?#"4 SE5EC0.?.
0P"4"P')E
E?#"4"P')E
41% 4ormH?ame
E?#41%.
18. 9ave *ou ever created a user"defined data/ase in S'P(18? .f so how did *ou go a/out adding a
user"defined data/ase to the s*stem?
0o add a user"defined data/ase to the s*stem$ the following steps are reGuired.
1+ #efine the structure in the data dictionar*.
'. '. )o to the #ata dictionar* %aintenance screen. 4ill in the name of the data/ase *ou are
defining
B. B. #efine the data/ase structure
0o do this$ select the o/Iect class ta/les for editing. .n the resulting screen$ fill in the
necessar* information a/out the data/ase.
C. C. Provide the data/ase fields. )o to the field7s screen so those new fields can /e entered
into the s*stem. ,ou must atleast enter %'?#0$ 1E5.#$ S104#$ S104&$ C5DS01 and
C5DS0#. When *ou have entered all the reGuired fields save the record structure.
#. #. 'ctive the ta/le. 0he ta/le is now defined in the #ata #ictionar* and -nown to the
s*stem at large.
'dd the data/ase to the s*stem /* going to the #ata/ase Create screen.
0here select processing method of in "line$ so that the data/ase has /een created$ *ou can
now create data/ase clusters with the ELP10 command or access the data/ase records using
SQ5.
1E. 9ave *ou ever done an* transaction program(development using 'B'P(<$ screen painter$ and
menu painter? .f so$ descri/e the steps or techniGue used to develop transactions?
0he following list outlines the general steps that should /e followed when developing a new S'P
1(8 transaction. . do not have to /e performed specificall* to this seGuence$ /ut these topics(steps
should /e performed.
1. 1. Preliminar* wor-3 #esign the transaction$ specif* the transaction code in the s*stem
and enter the transaction attri/utes.
&. &. #efine glo/al data in the data dictionar*. #etermine which domains$ data elements$ and
ta/les *ou want to use.
8. 8. Create an 'B'P(< module pool. Create a module pool for the transaction and assign a
name and attri/utes according to the customer naming conventions.
<. <. #efine screens BScreen Painter+3 Paint *our screens$ that defines the positions and te2ts
of the fields on the screen and assign appropriate names. .n doing this$ *ou point the #ata
#ictionar* fields *ou have defined in the #ata #ictionar*$ #efine the attri/utes of all
screens.
>. >. #efine menus$ windows$ and function -e*s B%enu Painter+3 #efine the interface for
*our transaction with menus$ pop"up windows and function -e*s for each individual screen.
'ssign function code to each function that the user can e2ecute.
@. @. #efine screen flow logic.
A. A. Program the individual modules3 Write the detailed processing logic$ program and
modules called in the screen flow logic$ pass the data /etween the module pool and S'P
memor*$ process the function codes from the interface and process the reports.
8. 8. Create and program on"line messages3 Create on"line messages and document them Bin
the form of te2ts+ Call the messages in the appropriate modules. /serve the rules for error
dialog.
E. E. 0est the transaction. 0est the transaction with the on"line de/ugging facilit*.
0ransport transaction programs 3 0ransport *our completed transaction to the production
s*stem
.nstance.
&F. 9ave *ou ever developed a /atch"input program? .f so$ what approach did *ou use to get data
into S'P?
'ns3 " Batch .nput is a S'P method for transfering data into S'P S*stem. 0he transfer consists
of two phases3
1+ 1+ Create the /atch input data for the target S'P s*stem B'SC.. data files are speciall*
prepared for S'P /atch input processing+.
&+ &+ Processing the /atch input data in the target s*stem.
0here are three approaches for su/mitting data for /atch processing3
1. 1. Batch Session
&. &. C'55 #.'5) Statement
8. 8. C'55 01'?S'C0.? Statement
&1. What are the various data structures Bta/le processing+ used in the 'B'P(< environment?
'ns3 " 0he data structures are field string$ internal ta/les$ append and collect.
&&. What are some of the S'P 'B'P(< control statements that *ou used to write one of *our more
complicated programs.
'0 E?# 4PE?# '0
'0 ?EWPE?#'0
C'55
C'SE...W9E?PE?#C'SE
C9EC!
#PE?##
EL.0
41%PE?#41%
.4...E5SE...E?#5P
5E'=E
5P...E?#5P
%#D5E...E?#%#D5E
? C9'?)E 4...E?#?
PE141%PDS.?)
SE5EC0PE?#SE5EC0
S0P
W9.5EPE?#W9.5E
&8. .n *our e2perience programming '%'P(<$ What guidelines do *ou follow as /est practices?
'ns3 " a+ Store data in internal ta/les to reduce duplicate processing.
/+ Cop* an e2isting process and changes it.
c+ 4ollow prescri/ed naming conventions for programs.
d+ Dse an include statement BM.DFFF1+ from the main documentation /loc-.
e+ 4or descri/ing the content of the program$ such as date$ program author$ purpose$ list of
parameters and specifies$ list S'P ta/les used$ and list e2ternal input(output$ ta/les(files are used.
&<. 9ow do *ou create logical data/ase? %enu SeGuence also.
C'SE #evelopment Wor- Bench ther /Iect E#.0 5ogical #ata/ases
1
C'SE #evelopment Program %aintenance 'B'P #evelopment Dtilities
#evelopment ( 0est 5ogical #ata/ases
&>. What -ind of n line programs did *ou write or use?
n"line program is a program$ which is not off line or Bac-ground Io/. 0ransaction and #ialog
modules are online programs.
&@. What is Screen Painter? 'nd 9ow do *ou write a script for command Button?
Screen Painter is a tool to create a screens which can have Dser .nput fields$ Command /uttons$
4rames$ 1adio Buttons$ Com/o /o2es$ and Chec- /o2es. !e* point here is *ou need to specif*
!"C#E B*ou can give an* name /ut normall* *ou use !"C#E+ 4or ! function and *ou
declare same varia/le in %odule Pool also. .n P'. module using Case statements to determine
which -e* was pressed.
C'SE !"C#E
W9E? #E5E
%#D5E #elete H 4unction.
&A. 9ow *ou use PE141% command?
PE141% command is used to call a su/ routine from an* module.
E2. 3 PE141% %essageH 9andler DS.?) F
&8. What is 5ogical data/ase and E2plain a/out )E0 and PD0 modules?
4aster Wa* of e2ecuting for selecting records.
5ogical data/ase is not a ph*sical data/ase. .t is logical data/ase structure of ta/les where *ou
specif* the relationship /etween a set of related ta/les. Ever* logical data/ase has root ta/le Q
child nodes. .f *ou want to use )E0 ta/le command in *our program *ou need to declare that
related structure as a logical data/ase. nce *ou specif* the structure *ou set SE5EC0"
P0.?S and then #ata/ase Program and modif* the code for PD0 4orms. 0his PD0 forms are
e2ecuted whenever *ou use )E0 function in the code.
&E. What is %enu painter? 'nd 9ow do use it in *our application?
%enu painter is tool to create %enus$ Push Buttons assignments and from Screens. #uring run
time *ou can assign an* menu status to a screen.
,ou assign a four"character function code for each function and *ou use !"C#E to identif*
which function need to /e run. ,ou write code in P'. module for each function.
8F. What is .nternal 0a/le?
.nternal 0a/le is a temporar* ta/le$ where *ou store the data temporaril* in a B'P program.
0*pes of 0a/le t*pes " 5ogical level
0ransparent$
Pooled$ cluster
#ata/ase 0a/le
81. #escription on roll area$ wor- area$ roll in?
1oll area3 Contains data that is automaticall* copied into the process R private memor* at the
/eginning of the dialog step B1olled in+.
Page area3 . /elieve that the page area is a section of memor*$ which is the siSe
of 11(F operation.
Wor- area3 Contains the graphical user interface elements for the displa* and entr* of data.
1oll in3 When data is copied from the role file to the roll area.
8&. #irection for the use of area menu?
'rea menus are used purel* for the pathing to transactions. 0he* contain the same
information
's a transaction e2cept for the part that is defined /* the screen painter component.
#etails of the 'rea menu screen 3
0itle 3 Wor-/ench 3 %aintain area menu initial screen
0ransaction 3 SE<8
Path 3 0ools "KC'SE"K#evelopment"K%aintain area menu
Creating an area menu3
1+ Enter the name of the new area menu.
Since there are no S'P area menus starting with TM;$ an appropriate naming convention
would /e for all user created area menus to start with TMT.
&+9it NCreateK
8+Enter3
"%aintain 5anguage Bmust /e TET+
"Short te2t Bdescription of area menu+
"9itNContinueK
<+ ,ou should /e now in the area menu editor.
0he fields that *ou can maintain are as follows3
"0itle 3 0e2t at the top of *our area menu
"%enu /ar3 0e2t for pulldown menu options Q functions or su/ menus.
"Push /utton settings3 " ?um/erBs+ of the corresponding function -e*Bs+ defined.
"4unction -e* settings3 " 0e2t and associated definitions for function -e*s.

88. #irection for the use of view o/Iect within the program?
=iew o/Iect U ' view o/Iect is a virtual ta/le tailored to the needs of an application .0his
allows
#irect access to specific data.
=iew o/Iect is used in within an 'B'P(< program the same wa* a ta/le is used. .f *ou have
created a view o/Iect M=.EW $ *ou can displa* its contents using following e2ample program
1EP10 MEL'%P5E.
0'B5ES3 M=.EW.
SE5EC0 V 41% M=.EW.
W1.0E3 ( M=.EW.
E?#SE5EC0.

Das könnte Ihnen auch gefallen