Upload
abdulshaik
View
217
Download
0
Embed Size (px)
Citation preview
8/12/2019 Sap Questionaire 1
1/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 SE0P''%E0E and )E0 P''%E0E commands.
E23" SE0 P''%E0E 4E5# E%P5"E%P# # 6E%P7
)E0 P''%E0E # 6E%P7 4E5# E%P5"E%P#
. 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.
8/12/2019 Sap Questionaire 1
2/6
'+ 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.
1. 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 '
SC data files+.
Second step is to process data file and insert into S'P s*stem. 4or e2ample if *ou want toget 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 tothe 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 ff line+ using this techniGue. 4or e2ample
%onthl* reports$ no /od* needs to /e there to run this *ou can schedule a Batch o/.
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 # 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
EP0 reportHname#'0' 3 page/rea- 1&+ 0,PE C$
#'0' 3 title 1F+ 0,PE C$
0'B5ES3 'BC$ #E4$ L,M.
P''%E0ES3 'BC"#SC.
4E5#")DPS3
4E5#"S,%B5SNnameK
NstreetK O A4
Ncit*K
SE0
0'5S'0
C5D#E 'S#FFF1
S0'0"4"SE5EC0.
8/12/2019 Sap Questionaire 1
3/6
Call to e2tract data from the data/ase are performed here
E#"4 SE5EC0.
0P"4"P')E
E#"4"P')E
4% 4ormHame
E#4%.
18. 9ave *ou ever created a user"defined data/ase in S'P(? f so how did *ou go a/out adding auser"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 aredefining
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$ E5#$ S04#$ S04&$ C5DS0 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 thes*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 ELP0 command or access the data/ase records using
SQ5.
1. 9ave *ou ever done an* transaction program(development using 'B'P(
8/12/2019 Sap Questionaire 1
4/6
'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 '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
. . C'55 0'S'C0 Statement
&1. What are the various data structures ta/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# 4E# '0
'0 EWE#'0
C'55
C'SE...W9EE#C'SE
C9EC!
#E##
EL0
4%E#4%4...E5SE...E#5P
5E'=E5P...E#5P
%#D5E...E#%#D5E
C9')E 4...E#
PE4%DS)
SE5EC0E#SE5EC0
S0P
W95EE#W95E
&. n *our e2perience programming '%'P(. 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$ adio Buttons$ Com/o /o2es$ and Chec- /o2es. !e* point here is *ou need to specif*
!"C#E *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 determinewhich -e* was pressed.
C'SE !"C#E
W9E #E5E
%#D5E #elete H 4unction.
&A. 9ow *ou use PE4% command?
8/12/2019 Sap Questionaire 1
5/6
PE4% command is used to call a su/ routine from an* module.
E2. 3 PE4% %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
child nodes. f *ou want to use )E0 ta/le command in *our program *ou need to declare thatrelated structure as a logical data/ase. nce *ou specif* the structure *ou set SE5EC0"
P0S 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.
&. 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.
F. 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
1. #escription on roll area$ wor- area$ roll in?
oll area3 Contains data that is automaticall* copied into the process R private memor* at the
/eginning of the dialog step olled in+.
Page area3 /elieve that the page area is a section of memor*$ which is the sie
of 11(F operation.
Wor- area3 Contains the graphical user interface elements for the displa* and entr* of data. oll in3 When data is copied from the role file to the roll area.
&. #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/12/2019 Sap Questionaire 1
6/6
#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
EP0 MEL'%P5E.
0'B5ES3 M=EW.
SE5EC0 V 4% M=EW.
W0E3 ( M=EW.E#SE5EC0.