Smartforms
Smartforms
Tool for the maintenance of forms on which application data from the
SAP system can be output
FUNCTION
/1BCDWD/SF00000001
DATA: %INPUT
TYPE SSFCOMPIN
%RESULT TYPE SSFR
Creating and maintaining forms requires half the time of SAP Script.
Selected node
Attributes
Navigation tree Form Painter
(of selected node)
Form Painter
Table Painter
PC Editor
Navigation tree
Can place a scanned graphics into the background of the design area.
Toolbar
Personal settings
zooming
Ruler with size of grid
selected window ruler
etc.
Form Attributes
Form Interfaces
Global Definition
We can initialize the global data before we start processing the start
page.
Within the form routines we cannot access any global data unless we
explicitly pass them to the form routine interface.
Pages
Windows
Addresses
Graphics
Tables
Templates
You can determine the page layout and the sequence of pages with
different structures.
Main Window
You can display text and data , which covers several pages.
Must have the same width on each page , but can differ in height.
A page without main window must not call itself as next page,
since this would trigger an endless loop.
Page Command
Window Loop
Text Alternative
Graphics Folder
G lobal Definitions
Form Attributes
Second Kind of Node and its sub-nodes
Form Interfa ce
Pag es an d W indow s
O utp ut Areas Elem en tary N od es Table O utp ut Flow Co ntrol O ther Nod es
Graphic You use this node to position graphics in the form. To include background graphics, use
node type Page .
Address You use this node to include an address. The system reads the address data directly from
the database tables and formats them for print output.
Node type Description Possible direct successors
Table output Template Output of a table containing All except window, page, table,
static data and template nodes
Table Output of a table containing As with template node
application data
Loop Processes successor node repeatedly. All except window and page nodes
Alternative Branches depending on condition. Direct successors are automatically the nodes TRUE and
FALSE. The direct successors of these are all nodes except
window and page nodes.
Other Nodes
Node type Description Possible direct successors
Folder Combines successor nodes to All except window and page nodes
logical groups
Complex section Combines all attributes of the node All except window and page nodes
types template, table, loop, folder
The following tab pages are used in common by several node types