Professional Documents
Culture Documents
---------------------------------------------------------------------------------------------------------------------------------
Ans. SAPscript is the SAP System's own text-processing system. You'll find that it looks and
feels a lot like other leading text-processing systems that you may use on your personal computer.
Every company needs to output documents with a uniformly defined layout (for example,
invoices, delivery notes,...) all the time.
These documents are often created automatically.
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 an
employee, or retrieved from a database table.
Large quantities of these documents have to be produced. Form printing is usually a matter of
large print runs of documents such as payslips, checks, order confirmations, reminders etc.
SAPscript has been developed to meet the above requirements. It is an integrated tool for text
entry and form printing in R/3 applications.
These documents are normally provided by SAP but every organization have their unique ways of
these documents so to customize these & for creating newer ones if required ; SAPscript is used.
ANS. Layout set, SAPscript Text, ABAP Print Program, Symbols, Function modules like
Open_form, Read_text etc.
The final appearance of your document depends on interaction between the print program and the
layout set.
The SAPscript print program initializes the printing process. Every command entered using the
SAPscript programming interface is transferred to the composer.
The composer receives layout information from the layout set specified by the print program. The
documents are formatted according to this layout information.
---------------------------------------------------------------------------------------------------------------------------------
By Laxmichand 1
FAQ – SAPSCRIPT
---------------------------------------------------------------------------------------------------------------------------------
If the documents contain variables, the composer replaces these variables with data from the R/3
system, such as the current date, or with the user data selected by the print program.
The print program controls the completion of the layout set. Once this is done, the composer
places the completed document in the spool.
ANS. Header, Pages, Windows, Page Windows, Paragraph, Text Elements & Character Strings.
Ans . When Defining the Paragraph for the text element we can define the TABS then. There is
parameter called TABS to be defined in Paragraph definition.
Ans. 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, Default Paragraph, specify the text elements or SAPscript Text to
be included etc in the WINDOW component.
PAGE WINDOW – We define the parameters of the earlier defined WINDOW , appearance on
the document like left or right margins, Width & Height.
8.What are Symbols & state their different types with e.g?
Types :
Ÿ System symbols e.g &Date&, &Time& etc
Ÿ Standard symbols: Standard symbols are user-defined. They are maintained centrally in table
TTDTG. e.g &SGDH& for the opening salutation: "Dear Sir/Madam:"
&MFG& for the closing salutation: "Yours faithfully"
Ÿ Program symbols : Program symbols display data from the ABAP/4 program which has called
the word processing function. e.g itab-connid.
n
---------------------------------------------------------------------------------------------------------------------------------
By Laxmichand 2
FAQ – SAPSCRIPT
---------------------------------------------------------------------------------------------------------------------------------
n Text symbols : You can define a text symbol for any text module. This symbol is valid only in
the text module for which you have defined it. E.g Define &symbol&=’value’.
Ans.
Define Include
Protect …. EndProtect If … endif.
New-Page
Ans. You can specify either in the style or in the layout set that a particular paragraph should not
be split in two by a page break. If the page protect attribute is set then the complete paragraph is
always output on a single page. This property applies only to that particular paragraph. SAPscript
provides the PROTECT .. ENDPROTECT command pair to allow you to define the areas to be
protected against a page break on an individual basis. Thus the PROTECT/ENDPROTECT
commands may be regarded as a kind of conditional NEW-PAGE command, the condition being
whether or not the lines enclosed between the two commands fit in the space remaining in
the current main window.
---------------------------------------------------------------------------------------------------------------------------------
By Laxmichand 3
FAQ – SAPSCRIPT
---------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------
By Laxmichand 4