What is SAPSCRIPT?
SAP script is the SAP System’s own text-processing system. It is like other leading text-processing systems. It is used to print preformatted text in pre-formatted forms.
Transaction code for SAPSCRIPT
SAPSCRIPT vs Report
SAP script is the SAP System’s own text-processing system. It is like other leading text-processing systems. It is used to print preformatted text in pre-formatted forms.
SE71 - Form Painter
SE71 - Styles Maintenance
SE78 - Sapscript Graphic Management
SO10 - Create Standard Text Module
Sapscript is a form that has a layout set as per company standards and can be used for external use too.
Reports generally designed for internal use for internal users.
SAPSCRIPT vs SMARTFORMS
Things that can and can't do:
Things that can and can't do:
Title | SAPSCRIPT | SMARTFORMS |
Table | simulated by the use of tabulations, so they can't contain dynamic long texts, no borders | True tables, with borders |
Main window | can have several ones, useful for printing several identical labels per page | can have only one |
XML/HTML | No | Smart Forms generates XML output which can be viewed through the web |
Page format | One only | Several page formats are possible |
Color | No | Yes |
Make copies look different | Use of "Copies" windows | |
Barcode | Printer-dependent, only works with printers that are able to generate barcodes by themselves (natively or addition of SIMM); few printers supported by SAP | New barcode technology: SAP converts barcode data into an image, so it works for all device types which are able to print graphics |
Development of these forms:
SAPSCRIPT | SMARTFORMS |
client dependent | client independent |
It is possible to create a Smart Form without a main window | |
Data extraction/calculation and form output are mixed together | Separation of concerns: Data extraction must be done once at the beginning, they are passed to the smart form once at the end |
Enhanced Form Builder | |
On activation a function module is generated for Smart Forms | |
conditions like if..endif, case..endcase inside a window | exists as conditions on windows |