Saturday, June 25, 2011

SAPScript Tutorial

SAPSCRIPTS are used to generate formatted documents which can contain logos, tables and other formatting objects. And this documents can look like a pre printed documents that normal ABAP codes cannot possible. 


SAPscript comprises these five components: 
1)an editor for entering and editing the lines of a text. 
2)styles and forms for print layout. 
3)the composer as central output module. 
4)a programming interface 
5)several database tables for storing texts, styles and forms. 



Transaction code SE71 is used for create, display and change the sapscript forms.
A document contains different areas with different data ( like header, footer, address etc ). In SAPscript each of these output area is called as a window.Different types of windows are Constant Windows, Variable Windows and Main Windows.

Print program retrieves the desired data and determines the output order and SAPscript will format and position these data for print.SAPscript can automatically access the data defined in a controlling program.
WRITE_FORM_LINES is the function module used for passing the text lines to the output form.A text line can contain maximum 132 characters

Full Document :: SAPScript.Pdf

No comments:

Post a Comment