Events Tab
You use the Events tab to define events at the beginning and end of a node (folder, complex section, table, loop), at which you display additional contents. To do so, SAP Smart Forms offers a header
and a footer
. These areas are especially useful for displaying table headings and totals lines.
Caution
With the new table nodes this tab is no longer needed because the new table node always contains the directly inferior nodes Header
, Main Area
, and Footer
.
When you mark the header or footer checkbox, an event node Header
or Footer
appears in the navigation tree of the Form Builder; in the Output Event
group you can now make further settings:
Options for Header and Footer Areas
Field |
For |
Meaning |
|---|---|---|
|
Header Area |
Inferior nodes of event node |
|
Footer |
Inferior nodes of event node |
|
Footer |
For the footer, you must specify a height to tell the composer how much space to reserve for the footer. This allows the form processor to postpone the processing of the footer until a page break occurs and enables you to use this area for printing subtotals. |
|
Header and Footer |
For additional printing of the header after a page break and of the footer before a page break. |
Note
You must mark at least one checkbox in the Output Event
group. Otherwise SAP Smart Forms will delete the header or footer.
The Conditions
tab of the inferior nodes of the header and footer areas contains additional events (Only at Page Break
, Only at Beginning of Section
, Only at End of Section
). These events are input-enabled only if both fields of the Ouptut Event
group box are marked (default). In this case, you can print different output depending on the output event. You can use the additional output events to further narrow down the output event.
You cannot nest events. After you defined a header or footer for a section, no other subordinate section is allowed to define its own header or footer. In addition. if you use both header and footer, you must always define them together in the same section. The Form Builder checks these conditions.