SAPscript - Form Layout


1. Simple page layout using the new graphical Form Painter
2. Additional Improvements

From Release 4.0, new tools are available that make it considerably easier for you to create and modify forms.

1. The graphical Form Painter
From Release 4.0, you can edit SAPscript forms using the new graphical Form Painter as well as the old alphanumeric Form Painter.
Function description
The graphical Form Painter combines the previous layout for pages, windows and page windows under one title "page layout". Within the design area (which corresponds to a page), you can position print areas (for example, for addresses, senders, purchase order items) with the mouse and change them (drag & drop). The grid alignment facilitates the page layout. You can choose both the grid increment and the zoom factor.
You can create the output area texts in the new PC editor and by switching the view, you can display the overall view of it in the Form Painter.
Quick reference
a) How do I start the graphical Form Painter?
In the Form Painter initial screen (Tools - Word processing - Form ), you can choose between the new graphical Form Painter and the previous alphanumeric Form Painter by choosing Settings -> Form Painter.
b) How does the new interface work?
If you choose either Page layout in the Form Painter initial screen or the Layout pushbutton in the Form Painter, the screen displays two windows:
In the original window, the administration screen, you can see the page and window data, as well as various editing and display functions. In addition, the system displays a second window, the design window. Here you can use the mouse to design the page layout.
The administration screen and the design window are constantly synchronized as soon as an action is executed on one of them.
corresponds to a page of the form. From the administration screen, you can assign two different modes to the design window. Choose Design / Text to assign either design or text mode.
In text mode, the system displays the text elements of the individual windows. You can display the whole text by scrolling in the window. This text is read-only. To edit it, branch to the editor by choosing Text on the administration screen.
In design mode, you can use the mouse to position the windows, change the window size or select a window for editing.
On the administration screen, you edit the different pages and their windows in two structured areas. The system also displays the most important menu functions as pushbuttons.
The page area:

Use the combobox to display all pages defined in the form. You can change between the pages using either the combobox or the group of three pushbuttons Start page, Next page and Overview.
You create, copy, rename and delete pages using the usual pushbuttons. When copying a page, the system copies all windows and their text elements.
To change page attributes such as next page, type of page numbering etc, choose Other attributes.
The window area:

Use the combobox to display a list of all windows on the current page. the current page. To switch to another window, select the window from the combobox or click on the window in the design window.

Delete windows
To delete windows on the current page, choose the Delete pushbutton. If the window does not appear on any other page, the system deletes it completely.

Cut windows
To remove individual windows from the current page, choose Cut. The system stores the object in the clipboard. To insert the object on any page of the form, choose Paste. The clipboard stores the text elements, the window size and the position.

Copy windows
To copy individual windows to the clipboard, choose the Copy. To insert them on any page, choose Paste. The system copies all windows including their text elements, sizes and positions.

Paste windows
When pasting a window, the system keeps the name of the window unless the window already exists on the page. If so, the system assigns a default name.

Align windows with the grid
To align all windows positioned on one page automatically with the closest grid tab, choose Align to grid.

Edit windows
To edit the text elements of the windows, choose Text. The system branches to the line editor or to the WYSIWYG PC editor, depending on the setting (SO10). In the editor you can switch between these two editors by choosing Goto -> Change editor.
2. Additional improvements
a) Form documentation
According to experience, the greatest difficulties arise when inserting new fields into customer-specific forms.
In Release 4.0, the SAPscript text editor provides a Possible entries pushbutton for all DDIC fields or global data from a specified print program that can be included. However, this alone is not always sufficient, as each table field or each variable from this program is filled with a value.
Here you should refer to the form documentation that is available for all forms that are used regularly. On the Form Painter initial screen, choose Documentation then Display), or choose Goto -> Documentation in the Form Painter.
Refer to the online Help for details on form documentation.
b) Navigation help for program symbols
If you are editing texts for a form window, you can use the input and navigation help (refer to the appropriate Release Notes) for program symbols.
c) Syntax check
You can either check all form texts using the Form Painter, or you can use the editor to check that the SAPscript control commands for each screen have the correct syntax (refer to the appropriate Release Notes).

Software/hardware requirements

Graphical Form Painter: Windows 95 or Windows NT 4.0