Calculation and Initialization
Use
For your calculation you must specify the following events:
-
The calculation event, that is the event at which to execute the operation you selected. You select this event in the Event column from a list box.
-
The initialization event, that is the event at which to reset the Target Field Name you selected. When executing calculations on all items of a table, mark the checkbox of the Initialization column; when executing calculations on items of a sort level, use the fields Reset and At Field Name to specify a sort criterion.
Events and Output
SAP Smart Forms automatically inserts the calculations and initializations into processing. The events are not visible in the navigation tree; they are triggered implicitly by SAP Smart Forms. In the table below, which contains one sort criterion, these implicit events are highlighted by different colors:
Implicit Calculation and Initialization Events
|
Initialization |
||
|
|
Table |
|
|
|
Header Area |
|
|
|
CARRID Event on Sort Begin |
|
|
Reset Sort Criterion CARRID |
||
|
Before Sorting |
||
|
|
Table Line |
|
|
... |
||
|
|
Table Line |
|
|
|
Main Area |
|
|
Before Loop |
||
|
|
Table Line |
|
|
.... |
||
|
|
Table Line |
|
|
After Loop |
||
|
|
CARRID Event on Sort End |
|
|
|
Table Line |
|
|
... |
||
|
|
Table Line |
|
|
After Sorting |
||
|
|
Footer |



