SAPscript is structured around a Layout Set, which defines how a document looks and where the data is placed. Each component plays a role in controlling design, formatting, and output.
🔹 1. Layout Set (SE71)
-
The backbone of SAPscript.
-
Contains definitions of pages, windows, and formatting.
-
Example: A Sales Order form might have one page layout for the confirmation letter.
🔹 2. Windows
-
Specific areas on a page where text/data is printed.
-
Main Window → prints dynamic data like sales order items (repeats if data overflows).
-
Header Window → prints customer and document info.
-
Footer Window → prints terms, disclaimers, or totals.
-
🔹 3. Paragraph & Character Formats
-
Define how the text looks (font size, bold, alignment).
-
Example: Paragraph “H1” for header text, Character format “B” for bold emphasis.
🔹 4. Standard Texts (SO10)
-
Reusable text blocks.
-
Example: “Payment Terms” or “Delivery Conditions” maintained once, used in multiple forms.
Flow of SAPscript Document Generation
Example:
In a Delivery Note:
-
Header Window → Customer details (name, address).
-
Main Window → Item details (material, quantity, description).
-
Footer Window → Terms & conditions (from SO10).
Takeaway: These components work together like a blueprint → SAPscript pulls data, places it into defined windows, formats it using paragraph/character settings, and prints the final structured document.