View
243
Download
0
Category
Preview:
Citation preview
7/26/2019 Ques Sapscript
1/50
7/26/2019 Ques Sapscript
2/50
What is sub routine pool in sap script? when it is used?
-ts an Abap prog of type sub routine pool, it is used for calculating certain 'ariables, eg
2(& date for an -n'oice. /ou pass the 'alues from the form thru -0CS/ structure intothe prgram.
How to read tet in sapscripts?S345
What is the difference between paragraph & character format?
Self explanatory definition
How to use a sapscript for multiple languages ?
6english, germany etc7 Copy the script in each lang or you ha'e an option to clic! 803 all
Languages8
How to download/upload sapscripts from & to your $C ?
S&+ or )S09L2C
What is the difference between scripts & smart forms?
Scripts are client;dependent but S< are client -ndependent
*apscripts and abap programs are client dependent or not? Why?Scripts are client dependent. = )eports are client -ndependent.
What is the transaction code for logo uploading?
S&+
What is the standard program used for uploading the logo to script?)S09L2C Copy from client...
What does open+form, write+form, close+form do?
Again its self;explanatory
What is the diffrence between open+form and close+form?
open?form is used to open the form=initiate the form.
close?form is used to conclude the open?form.
How to conert a sapscript to smart form?tcode SA)0
7/26/2019 Ques Sapscript
3/50
How to select desired paper si-e in sapscript?
-n asic settings.
How to print the $age !os in .orms #ery page 0 want to print 1 of 12 , 3 of 12 , 4
of 2 etc
PAG& @PAG&@ 3< @SAPSC)-P0;debugger = )S092(G
7/26/2019 Ques Sapscript
4/50
can either dynamically output indiidual predefined text modules" text elementsor transfer entire texts" which are to #e output in the layout set.
You can use Styles to define the formatting of the text in your documents.A style determines text formatting by setting the paragraph and character
formats used in a document. You can for example use a style to highlightcharacter strings or whole paragraphs. You can assign a style to any text.Typically howe!er you"ll use styles primarily in the main windows of layoutsets where users type or enter text directly in documents.
#eader data is found in both style and layout set maintenance.In style maintenance" it is used primarily to present important information -designed to make it easier for the end user to select a style. !he header data inlayout set maintenance" on the other hand" is used for information and controlpurposes.
)indows are defined in layout set maintenance. !hey represent areaswhich are positioned on pages as page windows and in which text islater output. At least one window must #e defined for each layout set. Ifnot" a text cannot #e formatted #y SAP script.
The following window types can be used:$A%& ' *ain window in which continuous text is output. !his is the window used#y dialog users of a print program and layout set. +or example the #ody text of aletter would #e entered in *AI,.
(A) ')indow with aria#le contents. !he text can ary on each page in which
the window is positioned. aria#le windows are formatted for each page.
*+&ST ' )indow with constant contents which is only formatted once.
A layout set has the following elements:#eader data -ata related to deelopment created #y" deelopment class"etc.0 and layout set information which elements are used0 are #oth stored in theheader data. A start page must #e entered here.
,aragraph formats -Paragraph formats are re1uired in layout sets - as in styles- in order to format texts. 2oweer" they are also used for word processing in
layout sets" for example" to format text elements.
*haracter formats -%ou can also use character formats to format texts orparagraphs. nlike paragraph formats" howeer" they are used to format textwithin a paragraph.
)indows -Windows are names and window types which are not physicallypositioned until they are allocated to pages and units of measurement are
7/26/2019 Ques Sapscript
5/50
specified.
,ages -Pages are defined to proide the system with a start and end point intext formatting.
,age windows -Page windows are the com#ination of windows and pages"where the dimensions of a window and its position on a page are specified.
!he purpose of SA, script control commandsis to allow control of theoutput formatting. !hese commands are not interpreted #y the SAPscripteditor" #ut are passed through to the SAPscript 4omposer for processing. !hecomposer is the program that conerts text from the form displayed in the editortothe form used for printing.
What is SA,script and explain its purpose?
SAP Script is the SAP system5s own text-processing system. %ou5ll find that itlooks and feels a lot like other leading text-processing system that you may useon your personal computer.
&ery company needs to output documents with a uniformly defined layout eg.Inoices" deliery notes" etc..0 all the time.
!he #asic layout of the document is pre-defined " #ut in many cases" other datahas to #e merged with it" such as address data or purchase order items. !hisdata might #e entered manually #y a employee" or retrieed from a data#aseta#le.
$arge 1uantities of these documents hae to #e produced. +rom printing isusually a matter of large print runs of documents such as payslips" checks" orderconfirmation" reminders etc.
SAPscript has #een deeloped to meet the a#oe re1uirements. I! is anintegrated tool for text entry and form printing in R/3 applications.
!hese documents are normally proided #y SAP #ut eery organi6ation haetheir uni1ue ways of these documents so to customi6e these and for creatingnewer ones if re1uired7 SAP script is used.
What are components of SA,script?$ayout set" SAPscript !ext" A'AP Print program " sym#ols" function modules likeopen8form" close8+rom" Read8text etc".
What are the AA,/ *ommands that lin0 to a layout set?4all function 9P&,-form.4all function )RI!&-from.
7/26/2019 Ques Sapscript
6/50
4all function 4$9S&-from
%mporting 1raphics 23ogos4 into SA,Script!he program RS!:$*4 can #e used to upload graphics file extension .tif onP4 files0 into indiidual standard text.
+ther useful programs for SA,ScriptRS!:+49, - 4onerts page formatRS!:S4RP - pload/ownload layout setsRS!:'; - SAPScript de#ugger
5ebug SA,Script%ou can de#ug a SAPScript< se !ools - )ord Processing - $ayout Set.&nter name of layout set and then tilities - Actiate e#ugger.It is of no conse1uence which layout set you enter when selecting the SAPscriptde#ugger. *enu path< !ools-)ord-processing - +orms" tilities - Actiate
e#ugger0 !he next layoutset called will inoke the de#ugger. !his is 1uite handywhen erifying which layoutset is #eing called erifying customi6ing settings0.Another way to set the SAPScript de#ugger is to run program RS!:';.
)hen a +orm is copied from one client to another .And If try to display orchange the form in the copied client .!he possi#le error message cud #e .I+ I! displays an error message saying !hat the text file is inconsistent .!hen go to S&3? and Run @RS!:429B .
It will ask for the form name "then check all the check#oxes and then run theprogram.,ote < all Script related pro#lems can #e soled using Program CRS!:D5.
#ow to ta0e a bac0 up of script layout into 6"r hard dis0 and load it laterse Program RS!:S4RP.se &:P9R! mode" when downloading and I*P9R! when uploading a script.on5t forget to gie the form name in the o#Eect field. !his will create a script withthe same name as that of the original script . If a script with the same nameexists in the same client "then it will gie an error C9#Eect cannot #e oerwritten 5 .
% want to copy table across clientsse Program RS4$!49P
To transfer script files across systems 2&ot *lients4 -RS!:S4RP
To compare the contents of a table across clients:RS!'S&R
To change the de!elopment class of any ob7ect -RS)'9FG>
7/26/2019 Ques Sapscript
7/50
What type of !ariables normally used in sap script to output data?H!a#les name- fieldsH.
#ow do you number pages in sap script layout outputs?
H page HHnext Page H
What ta0es most time in SA, script programming?efining layout set up / sets.
#ow do you use tab sets in layout sets?efine paragraph with defined ta#s.
#ow do you bac0up sap script layout sets? *an you download and upload?#ow?
SAP script #ackup
7/26/2019 Ques Sapscript
8/50
,rotect ... 8ndprotectcommand pairs can #e nested !rue / +alse0.+alse.
5elimiter 9 must #e used immediately #efore and after the sym#ol.
What does the composer do?!he final appearance of your document depends on interaction #etween the printprogram and the layout set.
!he SAPscript print program initiali6es the printing process. &ery commandentered using the SAPscript programming interfaces is transferred to thecomposer.
!he composer receied layout information from the layout set specified #y theprint program. !he documents are formatted according to this layout information.
If the documents contain aria#les" the compoer replaces these aria#les withdata from the R/3 system" such as the current date" or with the userdata selected#y the print program.
!he print program controls the completion of thelayout set. 9nce this is done"the composer places the completed document in the spool.
Where do we define Tab space for data in SA,Script?)hen defining the paragraph for the text element we can define the !A'S then.!here is parameter called !A'S to #e defined in paragraph definition.
what is difference between Window 9 a ,age Window?)indow< An area that is predefined in the layout set. )indows are text modules"which are positioned on a document page.
)e define the window type" efault Paragraph" specify the text elements or aSAPscript text to #e included etc in the )indow 4omponent.
Page)indow< we define the parameters of the earlier defined )indow"appearance on the document like left or right margins" )idth H 2eight.
What are symboles 9 state their different types with 8.g.
A Sym#ol is a constant" which can #e inserted in a document. It saes the userunnecessary work when replacing sections of text" phrases" etc. &ach sym#olhas a name which is encloses #y H.
&g. Haria#le name HSystem sym#ols eg HateH" HtimeH etc.
Standard sym#ols
7/26/2019 Ques Sapscript
9/50
centrally in ta#le !!!;. &g. HS;2H for the opening salutation < @dearsir/madamB.H*+;H for the closing salutation
7/26/2019 Ques Sapscript
10/50
#ow to reuse some components of the script layout to other program?Is this script layout is standard for all the printerN If not then y we are going forscript layoutN
;ie me couple of methods that I will take standard script layout printout fordifferent printer.
2ow u will analysis script programN which goes to main and how many windowsetcM.0
*an ( inserted logo on your program?. 1i!e me the program name whichuploads my logo and syntax for logo inserting in sap script.%es u can insert a logo on your script layout.se this Report)ST
7/26/2019 Ques Sapscript
11/50
The layot of a document is defined in a layot set.
A layout set specified the appearance and structure of a document.
3ayout sets contain predefined text modules with space reser!ed for
!ariable data. You can use these text modules for different
application.
8!ery SA,script document uses a layout set.
To ma0e changes to your documents such as mo!ing a piece of text
or changing fonts paragraph formats and tabs you only need to
change the layout set.
There are two ways of formatting texts using layout sets:
The text is entered and output in standard text maintenance. You canassign any layout set. Text can also be entered !ia the layout set a
letter header for example.
The text is formatted !ia an AA,/ program using a layout set. The
program can either dynamically output indi!idual predefined text
modules text elements or transfer entire texts which are to be output
in the layout set.
You can use Styles to define the formatting of the text in your
documents. A style determines text formatting by setting the
paragraph and character formats used in a document. You can forexample use a style to highlight character strings or
whole paragraphs. You can assign a style to any text. Typically
howe!er you"ll use styles primarily in the main windows of layout
sets where users type or enter text directly in documents.
#eader data is found in both style and layout set maintenance.
%n style maintenance it is used primarily to present important
information - designed to ma0e it easier for the end user to select a
style. The header data in layout set maintenance on the other hand
is used for information and control purposes.Windows are defined in layout set maintenance. They represent areas
which are positioned on pages as page windows and in which text is
later output. At least one window must be defined for each layout set.
%f not a text cannot be formatted by SA, script.
The following window types can be used:
7/26/2019 Ques Sapscript
12/50
$A%& ' $ain window in which continuous text is output. This is the
window used by dialog users of a print program and layout set. @or
example the body text of a letter would be entered in $A%&.
(A) ' Window with !ariable contents. The text can !ary on each page
in which the window is positioned. (ariable windows are formattedfor each page.
*+&ST ' Window with constant contents which is only formatted
once.
A layout set has the following elements:
#eader data - 5ata related to de!elopment 2created by de!elopment
class etc.4 and layout set information 2which elements are used4 are
both stored in the header data. A start page must be entered here.
,aragraph formats - ,aragraph formats are reuired in layout sets -
as in styles - in order to format texts. #owe!er they are also used forword processing in layout sets for example to format text elements.
*haracter formats - You can also use character formats to format texts
or paragraphs. 6nli0e paragraph formats howe!er they are used to
format text within a paragraph.
Windows - Windows are names and window types which are not
physically positioned until they are allocated to pages and units of
measurement are specified.
,ages - ,ages are defined to pro!ide the system with a start and end
point in text formatting.,age windows - ,age windows are the combination of windows and
pages where the dimensions of a window and its position on a page
are specified.
The purpose of SA, script control commands is to allow control of the
output formatting. These commands are not interpreted by the
SA,script
editor but are passed through to the SA,script *omposer for
processing. The composer is the program that con!erts text from the
form displayed in the editor to the form used for printing.
What is SA,script and explain its purpose?
Ans:- SA, Script is the SA, system"s own text-proessing system.
You"ll find that it loo0s and feels a lot li0e other leading text-
processing system that you may use on your personal computer.
8!ery company needs to output documents with a uniformly defined
layout 2eg. %n!oices deli!ery notes etc..4 all the time.
7/26/2019 Ques Sapscript
13/50
The basic layout of the document is pre-defined but in many cases
other data has to be merged with it such as address data or purchase
order items. This data might be entered manually by a employee or
retrie!ed from a database table.
3arge uantities of these documents ha!e to be produced. @rom
printing is usually a mattter of large print runs of documents such as
payslips chec0s order confirmation reminders etc.
SA,script has been de!eloped to meet the abo!e reuirements. %T is
an integrated tool for text entry and form printing in )> applications.
These documents are normally pro!ided by SA, but e!ery
organiBation ha!e their uniue ways of these documents so tocustomiBe these and for creating newer ones if reuiredC SA, script is
used.
What are components of SA,script?
3ayout set SA,script Text AA, ,rint program symbols function
modules li0e openDform closeD@rom )eadDtext etc.
What are the AA,/ *ommands that lin0 to a layout set?
*all function +,8&-form.
*all function W)%T8-from.*all function *3+S8-from
%mporting 1raphics 23ogos4 into SA,Script
The program )ST
7/26/2019 Ques Sapscript
14/50
debugger. This is uite handy when !erifying which layoutset is being
called 2(erifying customiBing settings4.
Another way to set the SA,Script debugger is to run program
)STE and )un )ST
7/26/2019 Ques Sapscript
15/50
#ow do you bac0up sap script layout sets? *an you download and
upload? #ow?
SA, script bac0up :- %n transaction S8K= goto 6tilities -L *opy from
client -L 1i!e source form name source client 2III default4 Target
form name.5ownload :- S8K= type form name -L 5isplay -L 6tilities -L form info -L
3ist -L Sa!e to ,* file.
6pload :- *reate form with page window pagewindow with the help of
downloaded ,* file. Text elements for ,age windows to be copied
from ,* file.
What is *ompare Tool in SA, Script ?
SA, Script offers tools for comparing ob7ects across clients. We can
compare or copy the following 0inds of ob7ects.
Styles3ayout sets
5ocuments
With the *ompare tool we can do the following :
*hec0 whether an ob7ect exists in both clients
5isplay the differences between the !ersions of an ob7ect
3ayout Sets are used to control page layout and text formatting in
documents .
SA, Standard styles and layout sets are always held in *lient III.
%n what format does SA, Script store text ?SA,script texts are stored in %nterchange Text @ormat 2%T@4.
SA,script offers con!ersion programs for the text file formats )ich
Text @ormat 2)T@4 and AS*%% as an interface to other word processors.
The !arious window types in SA, Script
are $ain (ariable and *onstant.
The &ew-,age command is used to force a ,age brea0 in the text at
any point.
,rotect ... 8ndprotect command pairs can be nested 2True @alse4.
@alse.
5elimiter 9 must be used immediately before and after the symbol.
What does the composer do?
The final appearance of your documednt depends on interaction
between the print program and the layout set.
7/26/2019 Ques Sapscript
16/50
The SA,script print program initialiBes the printing process. 8!ery
command entered using the SA,script programming interfaces is
transferred to the composer.
The composer recei!ed layout information from the layout setspecified by the print program. The documents are formatted
according to this layout information.
%f the documents contain !ariables the compoer replaces these
!ariables with data from the )> system such as the current date or
with the userdata selected by the print program.
The print program controls the completion of thelayout set. +nce this
is done the composer places the completed document in the spool.
Where do we define Tab space for data in SA,Script?
When defining the paragraph for the text element we can define the
TAS then. There is parameter called TAS to be defined in
paragraph definition.
what is difference between Window 9 a ,age Window?
Window: An area that is predefined in the layout set. Windows are
text modules which are positioned on a document page.
We define the window type 5efault ,aragraph specify the text
elements or a SA,script text to be included etc in the Windcow
*omponent.
,ageWindow: we define the parameters of the earlier defined Window
appearance on the document li0e left or right margins Width 9 #eight.
What are symboles 9 state their different types with 8.g.A Symbol is a constant which can be inserted in a document. %t sa!es
the user unnecessary wor0 when replacing sections of text phrases
etc. 8ach symbol has a name which is encloses by 9.
7/26/2019 Ques Sapscript
17/50
7/26/2019 Ques Sapscript
18/50
Give me couple of methods that I will take standard script layout printout for different
printer.
How u will analysis script program? ( which goes to main and how many windows
etc.)
Can A inserted logo on your program?
7/26/2019 Ques Sapscript
19/50
'he "%#**;#!"%#** command formats addresses according to the postal
norms of the recipientDs country, as defined in the
country parameter
"%#** #0A#%9 $"%"!"1;$*'E&
C0'9 &>!"1;%'21&D
CB!'%9 &>!"1;"!1&
.%=CB!'%9 D#D
#!"%#**
"oiding pagebreaks in a paragraph
/: $%'#C'
:
:
/: #!$%'#C'
'he tet lines to be protected are enclosed between the two commands
Conditonal tet ouput 0. ; #!0.
9ou can use 0./#!0. like in a normal "5"$ program
/: 0. condition
:
:
/: #!0.
and
/: 0. condition
:/: #*#
:
/: #!0.
#ample:
7/26/2019 Ques Sapscript
20/50
/: 0. &*$.0;C0'9'& @ L5#%0!L
put some tet here
/: #!0.
#ym3ols and *ontrol commands
*ymbols are placeholders for alues that are inserted during print formatting
*ymbols are indentified by name surrounded by L&L and are not case sensitie
ypes of sym3ols
*ystem symbols
"'# ate
"9 ay
!"=#+.+"9 !ame of day=!'H =onth
9#"% 9ear
'0=# 'ime
HB%* Hours
=0!B'#* =inutes
*#C!* *econds
$"
7/26/2019 Ques Sapscript
21/50
'o include a standard tet in a form, use the 0!CB# command:
/: 0!CB# E+5CJK2+#J+H. 5F#C' '#' 0 *A
When formatting the standard tet the $"%"
7/26/2019 Ques Sapscript
22/50
$rogram symbols are for contents of database fields or global program symbols
When you print the form, data from the database tables are printed isntead of the
symbols
0n the print program:
'"5#*: kna1
0n the form:
&>!"1;!"=#1&
.ormatting
&*9=5&4o formatting
&*9=5OJ& ffset ; utput begins here ffset refers to formatted alue
&*9=5(P)& ength ; utput data in the specified length
&*9=5(0)& *uppress initial alue ; 0f the field has been initiali-ed, nothing is
output
&*9=5(E)& *uppress leading -eros
&*9=5(C)& Compress blank spaces ; Consecutice spaces are compressed into a
single space eading spacesare suppressed
&*9=5(%)& %ight align output
&*9=5(*)& perators are suppressed
&*9=5(Q)& ictionary length ; 'he data length is defined by the "5"$
dictionary
&*9=5(R3)& ecimal format ength R decimals 3
&Dtet1D*9=5Dtet3D& 'et can be inserted before and after the symbol
*ontrol commands
Control command are used to modify tet output Bse format key /: in the format
column
/: 0!CB#
/: #.0!#
/: "%#**#!"%#**/: $%'#C'#!$%'#C'
/: !#W;$"
7/26/2019 Ques Sapscript
23/50
$arameters:
5F#C' #g '#', >B (ocument), *9* (Hypertet)
0 'et 0 ;'et 0 is a way to group tets ; *e transaction *12
"!
7/26/2019 Ques Sapscript
24/50
endform.
&ote that if you use more than one parameter you must use 6sing or*hanging before e!ery parameter Q
: ,8)@+)$ RformL %& ,)+1)A$ RprogL: 6S%&1 9%&(A)=9: 6S%&1 9%&(A)9......
: *#A&1%&1 9+6T(A)=9: *#A&1%&1 9+6T(A)9......
: 8&5,8)@+)$62. Structure of a print program
The print program is used to print forms. The program retie!es the
necesary data from datbase tables defines the order of in which textelements are printed chooses a form for printing and selects an outputde!ice and print options.
+pen form printing - $ust be called before wor0ing with any of the otherform function modules.call function N+,8&D@+)$N.....$ust be ended with function module *3+S8 @+)$HTo begin se!eral indentical forms containing different data within a singlespool reuest begin each form using STA)TD@+)$ and end it using8&5D@+)$
call funtion NSTA)TD@+)$N.....Write text elements to a window of the formcall function NW)%T8D@+)$N.....8nds formcall funtion N8&5D@+)$N.....*loses form printingcall function N*3+S8D@+)$N....8xamples of function calls
+,8& @+)$
*A33 @6&*T%+& N+,8&D@+)$N8
7/26/2019 Ques Sapscript
25/50
H @+)$ M N NH 3A&16A18 M SY-3A&16+,T%+&S M +,T%+&SH $A%3DS8&58) MH $A%3D)8*%,%8&T M
H $A%3DA,,3D+8*T MH )AWD5ATAD%&T8)@A*8 M NHN%$,+)T%&1H 3A&16A18 MH &8WDA)*#%(8D,A)A$S MH )8S63T M8+,T%+&S M /
6&*3+S85 M J$A%3D+,T%+&S M PA)*#%(8D8))+) M K%&(A3%5D@A
7/26/2019 Ques Sapscript
26/50
8&5D@+)$
*A33 @6&*T%+& N8&5D@+)$N
%$,+)T%&1H )8S63T M8*3+S8D@+)$
Structure for ,rint options 2return !alues4 - ,ages selected for printing&umber of copies etc.5ATA 81%& +@ )8S63T.
%&*3658 ST)6*T6)8 %T*,,.5ATA 8&5 +@ )8S63T.*A33 @6&*T%+& N*3+S8D@+)$N%$,+)T%&1)8S63T M )8S63TH )5%D)8S63T MTA38SH +T@5ATA M8H +T#8)S M /.63. CONTRO!"OR# $ Calling Comman%& '&ing a program
The function module *+&T)+3D@+)$ can be used to create SapScriptcontrol statements from within an AA, program.
8xample:call function N*+&T)+3D@+)$N8
7/26/2019 Ques Sapscript
27/50
Styles are used to predefine paragraph and character formats for forms.SA, pro!ides se!eral standard styles e.g. for Address includes on-linedocumentation and so on. You can define your own styles.
To find styles create styles and maintaine styles use transaction S8K.
You assign style to a text by using menu @ormat -L Style
You can ma0e temporary style changes using the control command :STY38
'&ing grapic& in SapScript
6se transaction S8KE to inmport graphics to SA,.
%n the form painter you can either include directly to the form using menu8dit-L1raphic-L*reate or using the %&*3658 statement in a window.
To use an %&*3658 stanment goto into the woindow script editor and usemenu %nclude-L1raphic. The include can loo0 li0e this for a bitmap:
: %T$A, $Y3+1+ +8*T 1)A,#%*S %5 $A, TY,8 $+&
$odifications*onsiderations in connection with modificationsThe standard SA, print program should only be changed when it isabsolutely necessary. %f additional data is needed these can in many casesbe retrie!ed using a a ,8)@+)$ statement in the form instead of changingthe print program..
There can be the following reasons to change the print program:
Structureal changes&ew text eloements are needed,rint program to be used to print additional forms5eterminechange which forms and printprograms that are used forprinting
The forms and print programs for a gi!en output type and application canbe found in table T&A,) ,rocessing programs for output
6se !iew (DT&A,) in 2Transaction S8>I4 to change entries
7/26/2019 Ques Sapscript
28/50
$odule ,oolTransactions:A transaction is a program that conducts a dialog with the user. %n a typicaldialog the system displays a screen on which the user can enter or
reuest information. ased on the the user input or reuest the programexecutes the appropriate actions li0e it branches to the next screendisplays an output or changes the database.8xplain what is a transaction in SA, terminology.- %n SA, terminology a tran&action i& &erie& of logicall connecte%%ialog &tep&.
8xplain how SA, 16% handles output screen for the user.- 6ser terminal input is accepte% S+P ,'-and &ent to te S+P%i&patcer. The dispatcher co-ordinates the information exchange betweenthe SA, 16%s and the wor0 processes. The dispatcher first places theprocessing reuest in reuest ueues which it then processes.
The %i&patcer %i&patce& te reue&t& to te a/ailale 0or proce&&. Theactual processing ta0es place in the wor0 process. When processing iscomplete the re&ult of a 0or proce&& i& returne% /ia te %i&patcer to teS+P ,'-.The SA, 16% interprets the recei!ed data and generates theoutput screen for the user.What is 36W or 5atabase 36W or 5atabase Transaction ?- + '4 ( logical unit of 0or ) i& te span of time during which anydatabase updates must be performed. 5iter te are all performe%( committe% ) or te are all tro0n a0a ( rolle% ac ).
' ( or %ataa&e '4 or %ataa&e tran&action4 )
This is the set of updates terminated by a database commit. A 36W lastsat most from one screen change to the next 2 because the SA, systemtriggers database commits automatically at e!ery screen change 4.36Ws help to guarantee database integrity. When an 36W has beensuccessfully concluded the database is once again in a correct state. %fhowe!er an error occurs within an 36W all database changes made sincethe beginning of the 36W are canceled and the database is then in thesame state as before the 36W started.
+n ' egin&
- 8ach time you start a transaction
- When the database changes of the pre!ious 36W ha!e beenconfirmed 2database commit4 or- when the database changes of the pre!ious 36W ha!e beencancelled 2database rollbac04
+n ' en%&
- When the database changes ha!e been confirmed 2database commit4or- When the database changes ha!e been canceled 2database rollbac04
7/26/2019 Ques Sapscript
29/50
What is SA, 36W or 6pdate Transaction ?- 6pdate transaction 2 or SA, 36W;4This is a set of updates terminated by an AA,/ commit. A SA, 36W maylast much longer than a database 36W since most update processingextends o!er multiple transaction screens.The programmer terminates an
update transaction by issuing a *+$$%T W+)F statement.5oes the external program run in the same SA, 36W as the caller or in aseparate one?- Transactions run with a separate SA, 36W- )eports run with a separate SA, 36W- 5ialog modules run in the same SA, 36W as the caller- @unction modules run in the same SA, 36W as the callerThe only exceptions to the abo!e rules are function modules called with %&6,5AT8 TASF 2( function only4 or %& A*F1)+6&5 TASF 2A38applications4. These always run in their own 2separate4 updatetransactions.
What are the reuirements a dialog program must fulfill ?- A dialog program must fulfill the following reuirements. a user friendly user interface. format and consistency chec0s for the data entered by the user. easy correction of input errors. access to data by storing it in the database.What are the basic components of dialog program ?- Screens 25ynpros48ach dialog in an SA, system is controlled by dynpros. A 5ynpro consistsof a screen and its flow logic and controls exactly one dialog step.- AA,/ module pool8ach dynpro refers to exactly one AA,/ dialog program. Such a dialogprogram is also called a module pool since it consists of interacti!emodules.What is a dynpro ? What are its components ?- A dynpro 25Ynamic ,)+gram4 consists of a screen and its flow logicand controls exactlyone dialog step.- The different components of the dynpro are:@low logic: *alls of the AA,/ modules for a screen
Screen layout: ,ositions of the texts fields pushbuttons and so on for ascreenScreen attributes: &umber of the screen number of the subseuent screenand others@ield attributes: 5efinition of the attributes of the indi!idual fields on ascreenWhat is screen flow logic? What are the selections in it? 8xplain ,A% and,+?
7/26/2019 Ques Sapscript
30/50
Ans - Screen flow logic contains the procedural part of a screen. Thescreen flow logic is li0e an AA, program in that it ser!es as a containerfor processing bloc0s. There are four e!ent bloc0s each of which isintroduced with the screen 0eyword ,)+*8SS:,)+*8SS 8@+)8 +6T,6T.
...,)+*8SS A@T8) %&,6T....,)+*8SS +& #83,-)8U68ST....,)+*8SS +& (A368-)8U68ST.
Selections are performed in ,A%.,)+*8SS 8@+)8 +6T,6T 2,+4 is automatically triggered after the ,A%processing of the pre!ious screen and before the current screen isdisplayed. You can program the ,+ processing of the screen in this
bloc0. At the end of the ,+ processing the screen is displayed.,)+*8SS A@T8) %&,6T 2,A%4 is triggered when the user chooses afunction on the screen. You can program the ,A% processing of the screenin this bloc0. At the end of the ,A%.processing the system either calls the next screen or carries onprocessing at the point from which the screen was called.,)+*8SS +& #83,-)8U68ST 2,+#4 and ,)+*8SS +& (A368-)8U68ST 2,+(4 are triggered when the user reuests field help 2@=4 orpossible !alues help 2@/4 respecti!ely. You can program the appropriatecoding in the corresponding e!ent bloc0s. At the end of processing thesystem carries on processing the current screen.*an we use W)%T8 statement in screen fields ? %f not how is datatransferred from field data to screen fields- We cannot write field data to the screen using the W)%T8 statement.The system instead transfers data by comparing screen field names withAA,/ !ariable names. %f both names are the same it transfers screenfield !alues to AA,/ program fields and !ice-!ersa. This happensimmediately before and immediately after displaying the screen.#ow does the interaction between the 5ynpro and the AA,/ modulesta0es place ?- A transaction is a collection of screens and AA,/ routines
controlled and executed by a 5ialog processor. The 5ialog processorprocesses screen after screen thereby triggering the appropriate AA,/processing for each screen. @or each screen the system executes the flowlogic that contains the corresponding AA,/ processing. The controlpasses from screen flow logic to AA,/ code and bac0.#ow does the 5ialog handle user reuests ?- When an action is performed the system triggers the ,)+*8SS A@T8)%&,6T e!ent. The data passed includes field screen data entered by the
7/26/2019 Ques Sapscript
31/50
user and a function code. A function code is a technical name that hasbeen allocated in the Screen ,ainter or $enu ,ainter to a menu entry apushbutton the 8&T8) 0ey or a function 0ey of a screen. An internal wor0field 2o0-code4 in the ,A% module e!aluates the function code and theappropriate
action is ta0en.#ow are the function codes handled in flow logic ?- When the user selects a function in a transaction the system copiesthe function code into a specially designated wor0 field called +FD*+58.This field is global in the AA,/ module pool. The +FD*+58 can then bee!aluated in the corresponding ,A% module.The function code is always passed in exactly the same way regardless ofwhether it comes from a screenNs pushbutton a menu option function 0eyor other 16% element.What controls the screen flow ?- The S8T S*)88& and 38A(8 S*)88& statements control screen
flow.What are field; and chain; statements ?- The @%835 and *#A%& flow logic statements let you program yourown field chec0s. @%835 and *#A%& tell the system which fields you arechec0ingand whether the system should perform chec0s in the flow logicor call an AA,/ module.What is an on H-input field; statement ?- +& H-%&,6TThe AA,/ module is called if the user has entered a VHV in the firstcharacter of the field and the field has the attribute H-entry in the Screen,ainter. You can use this option in exceptional cases where you want tochec0 only fields with certain 0inds of input.What are conditional chain statements ?- +& *#A%&-%&,6T similar to +& %&,6T.The AA,/ module is called if any one of the fields in the chain contains a!alue other than its initial !alue 2blan0s or nulls4.+& *#A%&-)8U68STThis condition functions 7ust li0e +& )8U68ST but the AA,/ module iscalled if any one of the fields in the chain changes !alue.What is at exit-command; ?- The flow logic 0eyword AT 8
7/26/2019 Ques Sapscript
32/50
screen has been processed. )eturn from next screen to current screen isnot automatic. %t does not
interrupt processing of the current screen. %f we want to branch tothe next screen without finishing the current one use 38A(8 S*)88&.With *A33 S*)88& the current 2calling4 chain is suspended and a nextscreen 2or screen chain4 is called in. The called screen can then return tothe suspended chain with the statement 38A(8 S*)88& T+ S*)88& I.Sometimes we might want to let an user call a popup screen from the mainapplication screen to let them enter secondary information. After they ha!ecompleted their entries the users should be able to close the popup andreturn directly to the place where they left off in the main screen. #erecomes *A33 S*)88& into picture. This statement lets us insert such aseuence into the current one.
*an we specify the next-screen number with a !ariable. 2 Yes &o 4.Yes.
The field SY-5Y&&) refers to DDDDDDDDDDDDDDDD.&umber of the current screen.
What is a dialog module ?
A dialog module is a callable seuence of screens that does not belong to aparticular transaction. 5ialog modules ha!e their own module pools andcan be called by any transaction.The syntax used to call a screen as a dialog box 2 popup 4 is
DDDDDDDDDDDDDDDDD.*A33 S*)88& Rscreen numberLSTA)T%&1 AT Rstart columnL Rstart lineL8&5%&1 AT Rend columnL Rend lineL .What is a call mode; ?%n the AA,/ world each stac0able seuence of screens is a Vcall modeV.This is important because of the way you return from a gi!en currentseuence. To terminate a call mode and return to a suspended chain setthe Vnext screenV to I and lea!e to it:38A(8 T+ S*)88& I or 2 S8T S*)88& I and 38A(8 S*)88& 4. When youreturn to the suspended chain execution resumes with the statementdirectly following the original *A33 S*)88& statement. The originalseuence of screens in a transaction is itself is acalling mode. %f you 38A(8 T+ S*)88& I in this seuence 2 that is
7/26/2019 Ques Sapscript
33/50
without ha!ing stac0ed any additional call modes 4 you return from thetransaction altogether.The maximum number of calling modes stac0ed at one time is DDDDDD.&ine.What is 36W or 5atabase 36W or 5atabase Transaction ?
A 36W; 2 logical unit of wor0 4 is the span of time during which anydatabase updates must be performed in an all or nothing; manner. 8itherthey are all performed 2 committed 4 or they are all thrown away 2 rolledbac0 4. %n the AA,/ world 36Ws and transactions can ha!e se!eralmeanings:36W 2 or database 36W; or database transaction; 4This is the set of updates terminated by a database commit. A 36W lastsat most from one screen change to the next 2 because the SA, systemtriggers database commits automatically at e!ery screen change 4.What is SA, 36W or 6pdate Transaction ?6pdate transaction 2 or SA, 36W;4
This is a set of updates terminated by an AA,/ commit. A SA, 36W maylast much longer than a database 36W since most update processingextends o!er mul
What is a screen group ? #ow it is useful ?Screen group is a field in the Screen Attributes of a screen. #ere we candefine a string of up to four characters which is a!ailable at the screenruntime in the SY-5&1) field. )ather than maintaining field selectionseparately for each screen of a program we can combine logicallyassociated screens together in a screen group.
What is a Subscreen ? #ow can we use a Subscreen ?A subscreen is an independent screen that is displayed in an area ofanother 2VmainV4 screen. To use a subscreen we must call it in the flowlogic 2 both ,+ and ,A% 4 of the main screen. The *A33 S6S*)88&statement tells the system to execute the ,+ and ,A% e!ents for thesubscreen as part of the ,+ or ,A% e!ents of the main screen. The flowlogic of your main program should loo0 as follows:,)+*8SS 8@+)8 +6,T,6T.*A33 S6S*)88& RareaL %&*365%&1 NRprogramLN NRscreenLN.,)+*8SS A@T8) %&,6T.*A33 S6S*)88& RareaL.
Area is the name of the subscreen area you defined in your main screen.This name can ha!e up to ten characters. ,rogram is the name of theprogram to which the subscreen belongs and screen is the subscreenNsnumber.What are the restrictions on Subscreens ?Subscreens ha!e se!eral restrictions. They cannot:Set their own 16% status#a!e a named +F code
7/26/2019 Ques Sapscript
34/50
*all another screen*ontain an AT 8
7/26/2019 Ques Sapscript
35/50
What is the use of the statement 3ea!e to list-processing ?3ea!e to list-processing statement is used to produce a list from a modulepool. 3ea!e to list-processing statement allows to switch from dialog-mode to list-mode within a dialog program.When will the current screen processing terminates ?
A current screen processing terminates when control reaches eithera 3ea!e-screen or the end of ,A%.#ow is the command Suppress-5ialog useful ?Suppressing entire screens is possible using this command. Thiscommand allowsus to perform screen processing in the bac0ground;. The system carriesout all ,+ and ,A% logic but does not display the screen to the user.Suppressing screens is useful when we are branching to list-mode from atransaction dialog step.What happens if we use 3ea!e to list-processing without using Suppress-5ialog ?
%f we donNt use Supress-5ialog the next screen will be displayed but asempty.when the user presses 8&T8) the standard list output is displayed.#ow the transactions that are programmed by the user can be protected ?y implementing an authority chec0.What are the modes in which any update tas0s wor0 ?Synchronous and Asynchronous.What is the difference between Synchronous and Asynchronous updates ?A program as0s the system to perform a certain tas0 and then either waitsor doesnNt wait for the tas0 to finish. %n synchronous processing theprogram waits: control returns to the program only when the tas0 has beencompleted. %n asynchronous processing the program does not wait: thesystem returns control after merely logging the reuest for execution.What is the difference between 3ea!e Transaction and *all Transaction ?- %n contrast to 38A(8 T+ T)A&SA*T%+& the *A33 T)A&SA*T%+&statement causes the system to start a new SA, 36W . This second SA,36W runs parallel to the SA, 36W for the calling transaction.+!erall how do you write transaction program in SA,?*reate the transaction using ob7ect browser 2S8EI45efine the ob7ects e.g. screen Transactions. ' $odules ' ,+ ,A%.
And you can create a transaction from S8> also.5oes SA, has a 16% screen painter? %f yes What operating systems is ita!ailable on? What is the other type of screen painter called?
Yes+n what +S is it a!ailable ' Window based.+ther type of screen painter ' alpha numeric screen painter.What are step loops? #ow do you program page down page up in steploop?
7/26/2019 Ques Sapscript
36/50
Step loops: $ethod of displaying a set of records.,age down 9 ,age up: decrement increment base counter%ndex M base sy-step= ' =&ormally how many and what files get created when a transaction programis written? What is top
7/26/2019 Ques Sapscript
37/50
8&5$+5638.Ans :- Then we 0now that it is part of the ,+ therefore is processedbefore the screen is presented.5escribe the fields on the screen ?
Ans :- Attributes screen Screen types follow up screens cursor positionetc. After you ha!e entered the screen number the screen branches to thescreen attribute maintenance. 8nter a short description select the type&+)$A3 and specify the number of the follow-up screen.
What are the three components of +&-3%&8 program?
Ans :- Screen AA,/ program and transaction code.
What is gained by using the 5ictionary @ields menu option when creating
your screen?
Ans :- The fields you ha!e created inherits the same attributes as those inthe 5ata 5ictionary.
#ow to *reate a chec0box frame pushbuttons and radio buttons on ascreen?
Ans :- ust type a name and go to graphic element push button.
#ow do you assign an +FD*+58 for a push button? #ow it is used in yourAA,?
Ans :- %n the field list name the element and gi!e it the !alue that it willrepresent when pushed You must ma0e sure that you clear the field thatrepresents the pushbutton after e!ery chec0.What automatic chec0s does the screen perform? 2should be four45escribe all four and how they are used?
Ans :- The field format reuired input a foreign 0ey table parameters.
What are the two methods to declare input field as mandatory?
%f you set reuired field as program attribute the user must enter a !alue inthe field. )euired fields appear on the screen containing a uestion mar02?4.
7/26/2019 Ques Sapscript
38/50
#ow does foreign 0ey wor0? What you ha!e to put in your screen toidentify the foreign 0ey?
&o? Then where is the foreign 0ey identified?Ans :- You ha!e defined a screen field by referring to a 5ata 5ictionary
which has a chec0 table. When the foreign 0ey is chec0ed the systemcompares the !alues of the fields to be chec0ed with the contents of the0ey fields of the corresponding table.
What are the two effects of the foreign 0ey from a user standpoint?
Ans :- ,ossible entries 9 a chec0 against the 0ey field contents.
What is user defined !alidation chec0s in the flow logic?
Ans :- @%835XS838*T @%835X(A368S or in the module pool @%835X$+5638.
5oes the !alue command in the flow logic go in the ,A% or the ,+ e!ent?
Ans :- ,A%.
-f an error occur& in te mo%ule pool 0ic fiel%& are a/ailale for entr
an% 0ic are %i&pla onl fiel%&7Ans :- +nly those fields defined with the @%835 statement before $+5638
9 rele!ant chec0s in a chain.When is the chain command used in the ,+ e!ent?
Ans :- %f you want to ma0e more than one field ready for input after an error.
What table stores the online messages? What is the message class andwhat is its significance?
Ans :- Table T=II. The message class is a specific class of messages for agroup of transactions.
at are te 8 %ifferent me&&age tpe& an% o0 are te an%le% te
&&tem7 at i& ten %ifference et0een te arning an% 5rror
me&&age&7Ans :-A : Abend $essage displayed on the current screen and subseuent tas0terminated
7/26/2019 Ques Sapscript
39/50
% : %nformation $essage displayed on the current screen but user cancontinue program by pressing 8&T8)8: 8rror $essage displayed on the current screen. With @%835 statements the fields concerned become ready again for input and user is reuired toma0e the entry entries again
W : Warning As 8 message but correcting input is optionalS: Success $essage displayed on the follow-up screen as an % message.What does W%T# statement add to a message?
Ans :- %n the place of the 9 or the fields or !alues are placed in the errormessage.
What effect does the @%835 statement ha!e within the flow logic?
Ans :- The field statement resets the fields so those fields are ready for
input again.
Where are the messages displayed on the screen?
Ans :- At the bottom.
%s the S8T ,A)A$8T8) statement to be issued in ,+ or ,A% module?Why?
Ans :- ,A% the !alue must be input into the fields first before it can be
placed in the buffer.
ere %oe& te ,5T P+R+#5T5R &tatement get it& /alue&7 ic fiel%
get& populate% 0it te ne0 /alue7Ans :- @rom the buffer.Where can the S8T *6)S+) command be executed? What is its effect?
Ans :- %n ,+ To position the *6)S+) in a particular field after the screenis displayed.
at are te matcco%e& an% o0 %o te affect te &creen fiel%7 ere
are te &pecifie% in te online program7Ans :- %n the ,roperties window of the @ield.What is the effect of an +& *#A%&-)8U68ST command in your flow logic?
Ans :- When !alue of any of the fields between *#A%&X..8&5*#A%& isattempted to change.
7/26/2019 Ques Sapscript
40/50
What commands are used to change database table entries?
Ans :-
#ow can you chec0 if the changes to the database were successful?
Ans :-
What is the difference between the 3ong form and the short form of ma0ingdatabase changes?
*"$ "5"$ *cripts 6uestion and "nswers $art K
What is the adantages using the *"$ long form oer the short form of databasechanges?
"ns :; =ay be .ast #ffect
Can SwhereT clause be used when updating database entries?
"ns :; 9es
escribe array operations and their adantages?
"ns :;
What is logical unit of work? How is it defined?
"ns :; ogical Bnit of work is a block of memory area where database contents are
stored and manipulated
.or eery *"$ application BW is automatically created for database
communication 5esides this we hae *"$ BW s also there
What function is performed by the commit work command?
"ns :; When you perform Commit , all the BW s work will be reflected to the
database
Why is it so important for a programmer to check the lock entries?
"ns :; 'o find out if record is locked and also to maintain data integrity
7/26/2019 Ques Sapscript
41/50
How can you find a lock entry for a database table?
"ns :; 'he function module S#!6B#B# Mlock obectNT checks whether a lock was
triggered for the same obect therwise an eception .%#0 is carried
out 0f the obect is not locked the function module sets the lock
What steps are necessary to set a lock on a record within a database table?
"ns :;
#ecute C" .B!C'0! statement
C" .B!C'0! 7#!6B#B# Mlock obectTN
#$%'0!
7/26/2019 Ques Sapscript
42/50
What are the main differences between the repot status and screen status?
"ns :;
Where must you place the *#' $.;*'"'B* command in your online program?
"ns :; $lace it in the $5 module of the screen
Why is it good idea to clear >+C# field after deciding which action to take?
"ns :; 9ou need to clear the > code to aoid sending a screen that already has a
function code
How do you specify that a function is an eit type command?
"ns :; 5y specifying function type # for the pushbuttons or menu options in the
screen painter or menu painter
What is the purpose of the S"' #0';C=="!T?
"ns :; Bsually there are many ways to leae a screen (back,eit,cancel) 'his
command will perform termination logic for all functions of type #
What are screen groups?
"ns :; " group of screen fields such as radio buttons or checkboes
What is the correct synta for dynamically modifying a large number of screen
fields?
"ns :;
=B# =0.9 +*C%##!+B'$B'
$ "' *C%##!0. *C%##! G
7/26/2019 Ques Sapscript
43/50
=0.9 *C%##!
#!$
What is the name of the internal table that stores the screen information?
"ns :; *C%##!
What is the purpose of the =0.9 command when performing the dynamic
screen modifications?
"ns :; after you actiate or deactiate the field attributes by assigning them 1 or 2,
you sae the modifications ia =0.9 *C%##! command
irection for the use of check bo and radio buttons in screen painter?
"ns :;
Creating %adio 5utton and Check 5oes on the screen
7/26/2019 Ques Sapscript
44/50
"' *##C'0!;*C%##! B'$B'
$ "' *C%##!
0. screen;name @ D$+A#%"5D %
screen;name @ D$+*''1D %
screen;name @ D$+*''3D %
screen;name @ D+$+A#%"5++"$$+;'#'D %screen;name @ D+$+*''1++"$$+;'#'D %
screen;name @ D+$+*''3++"$$+;'#'D
screen;actie @ D2D
=0.9 *C%##!
#!0.
#!$
How to leae dynpro allthough reVuired entry not made ?
0n the menu painter ; .unction attributes for the button, set .unctional
type to # (#it command)
$%C#** ".'#% 0!$B'
Call module that leaes screen before Bser+Command+ is eecuted=B# %eturn#it "' #0';C=="!
=B# user+command+1222
=B# returneit
C"*# sy;ucomm
WH#! DC"!CD Lr whateer you want to call it
Clear w+screen
#"A# ' *C%##! 2
#!C"*#
#!=B#
Calling a report from a dynpro
'here are to ways to do this:
Bse leae to list;processing if you want to do it in your module pool 9ou will not be
able to use
selection;screens
Bse the submit statement to start a seperate report from your dynpro
"nyone who hae idea on how to know the selected alue on run;time?
How can get the table control attribute selected alue ? 0 try to read the alue in
debuger which is U
(table+control;cols;selected) 'here is no difference on the other row which is not
selected
'he tc;cols;selected is for column selection only .or row selection you hae two
scenarios
turn on the *elColumn attribute in screen painter, gie it a name and declare an
abap ariable with the same name type C length 1 0n your $"0 loop at itab, when
the selected row is processed the abap ariable will @ DD "t this point you can sae
the record or key
you can determine which row the cursor is on in your table control as follows:
7/26/2019 Ques Sapscript
45/50
"'": 0!#+*# 0># *9;*'#$,
'"50 0># *9;'"50
7/26/2019 Ques Sapscript
46/50
Q *H$$"%"= @ D D
dynpprog @ DE*22223+5%B!A+0*'#D
dynpnr @ D2122D
dynprofield @ D0'+E*22224;$%C'%D
Q *'#$ @ 2
alue @ DP2QDQ =B'0$#+CH0C# @ D D
Q 0*$"9 @ D D
Q *B$$%#**+%#C%0*' @ D D
Q C"5"C>+$%
7/26/2019 Ques Sapscript
47/50
What enhancements can be created using *mod?Ans: *ustomer 8nhancements i.e. @ield 8xits.What is the code for showing a list produced in a dialog program?Ans: 3ea!e screen. 3ea!e to 3ist-processing.
+rSubmit Rprogram nameL.When is field &ame= transported to the program in this coding:,rocess After %nput.$odule A*.@ield &ame= $odule 58@.What is the effect of S6,,)8SS 5%A3+1 in ,+?@ield &ame $odule 1#%.%f an error message was raised in $odule 1#% which fields would be readyfor input?Ans: The fields that are placed in *#A%&XXX8&5*#A%&.
%n which places could you set the 16% status and title bar for a modaldialog box?
What does *#A%& ....8&5 *#A%& do?Sometimes you want to chec0 se!eral fields as a group. To do this includethe fields in a @%835 statement and enclose e!erything in a *#A%&-8&5*#A%& bloc0.8xampleHHHH Screen flow logic: HHHH*#A%&.@%835: S,@3%-*A))%5 S,@3%-*+&&%5.$+5638 *#8*FD@3%1#T.8&5*#A%&.When an error is found inside a chain the screen is re-displayed and allfields found anywhere in the chain are input-enabled. All non-chain fieldsremain disabled.#ow can you test flow logic?*hec0 function chec0s the syntaxdata-consisteny and screen layout of thescreen.To test the syntax from the menu path choose screen----Lchec0-------L
syntax.To test the data consistency from the menu path choose screen----Lchec0------L consistency.To chec0 the layoutfrom ythe menu path choose screen-----Lchec0-----Llayout.What happens if you choose hold data option in screen atributes?To retain data entered by a user. The system automatically displays thisdata if the user returns to this screen.
7/26/2019 Ques Sapscript
48/50
What happens if you enter I in &8
7/26/2019 Ques Sapscript
49/50
Should find the customer enhancements belonging to particularde!elopment class.
What are the different ways in which you can ma0e changes to SA,
standard software ?*ustomiBing8nhancements to the SA, Standard$odifications to the SA, Standard*ustomer 5e!elopmentWhat is customiBing ?*ustomiBing is the setting of system parameters !ia SA,Ns own interface.Why do you need enhancements ?The standard applications do not offer some of the functionality you need.The )> enchancement concept allows you to add your own functionality toSA,Ns standard business applications.What are the different types of enhancements ?8nhancements using customer exits*ustomersN potential reuirements which are not included in the standardsoftware are incorporated in the standard as empty modification NshellsN.*ustomers can then fill these with their own coding. 8nhancements canrelate to programs menus and screens. 6pward compatibility is assured.%n other words SA, guarantees that the 7ump from the standard softwareto the exit and the interface which call the exit will remain !alid in futurereleases.8nhancements to AA,/ 5ictionary elements
These are AA,/ 5ictionary enhancements 2creation of table appends4text enhancements 2customer-specific 0ey words and documentation fordata elements4 and field exits 2creation of additional coding for dataelements4.What is customer de!elopment ?*reating customer-specific ob7ects within the customer name range.What is SS*) ?SS*) 2SA, Software *hange )egistration4 is a procedure for registeringall manual changes to SA, source coding and SA, 5ictionary ob7ects.What is the difference between modifications and enhancements ?$odifications mean ma0ing changes to the SA, standard functionality.
8nhancements mean adding some functionality to SA, standardfunctionality.What are the disad!antages of modification ?$odifying standard code can lead to errors$odifications mean more wor0 during software upgradesWhat are the ad!antages of enhancements ?5o not affect standard SA, source code5o not affect software upgrades
7/26/2019 Ques Sapscript
50/50
when do you opt for modification ?*ustomer exits are not a!ailable for all programs and screens within the)> standard applications. You can only use exits if they already existwithin the SA, )> System . +therwise you ha!e to opt for modifications.
What are the !arious types of customer exits ?$enu exitsScreen exits@unction module exitsFeyword exitsWhat is a menu exit ?Adding items to the pulldown menus in standard )> applications .=>.What is a screen exit ?Adding fields to the screens within )> applications. SA, creates screenexits by placing special subscreen areas within a standard )> screen andcalling a customer subscreen from within the standard dynproNs flow logic.
What is a function module exit ?Adding functionality to )> applications. @unction module exits play arole in both menu and screen exits.What is a 0eyword exit ?Add documentation to the data elements of 0ey words defined in theAA,/ 5ictionary. The system displays this documentation whene!er auser presses @= to get online help for a screen field.#ow do SA, organiBes its exits ?SA, organiBes its exits in pac0ages that are called SA, enhancements.8ach SA, enhancement can contain many indi!idual exits.What is an add-on pro7ect ?To ta0e ad!antage of the exits a!ailable within standard )> applicationsyou need to create an add-on pro7ect. This pro7ect lets you organiBe theenhancement pac0ages and exits you want to use. The add-on pro7ect alsoallows you to hang add-on functionality onto the exit hoo0s contained withSA, enhancements.
Recommended