Reports run from A.60.71 need a set of user parameters defined. These parameters specify the Smart Materials environment, for example the language setting. These parameters will be added automatically. There is no need to specify them in A.30.06.
The following parameters are defined in the User Parameter setting of the Report:
Parameter name |
Description |
|
---|---|---|
P_ARUN_ID |
Unique number for each run of a report. |
Number 12 |
P_DISCIPL |
Smart Materials discipline number |
Number 12 |
P_NLS_ID |
NLS ID |
Number 2 |
P_PROJEKT |
Project name |
Character 20 |
P_US_ID |
The US_ID of the Smart Materials user |
Number 12 |
P_USER |
Smart Materials User Name |
Character 10 |
P_REPORT_NAME |
Name of the report |
Character 10 |
In the REP_T1.rdf example report, there are more parameters. They are used to enable a default layout stored in Smart Materials.
The BeforeReport and AfterReport triggers in the example use program units from the MARREP library. This library must be attached and the trigger should have the same coding as in the trigger to set the necessary database environment variables.