Defining Report Data
Page Name |
Definition Name |
Usage |
---|---|---|
GP_RPT_TBL |
Assign the output table, writable array, primary input table type, and segment options. |
|
GP_RPT_DTL_SEC |
Map fields and create filters used to generate the output table. |
Use the Define Report Data page (GP_RPT_TBL) to assign the output table, writable array, primary input table type, and segment options.
Navigation:
This example illustrates the fields and controls on the Define Report Data page.

Field or Control |
Description |
---|---|
Report Data |
Displays the identification code for the report data setup. |
Generate Log |
Select to generate log details when you run the report. |
Segment Writable Array |
Enter a writable array segment. The corresponding writable array table can be used throughout the report data generation process in two ways. First, any field on this writable array table can be included in the field map. Thus it is used to populate fields in the output tables. Second, any field on this writable array table can be used as a filter for the process (using the parameter "SEGFILTER" on the Validate Report Data page). For example, for a writable array that contains the Company and Establishment fields, a process can be run for a single company or establishment. |
Row Level Security |
Select to enable row level security for the report. When row level security is enabled, the Report Data process selects payee records from EMPL_SRCH_GBL where the Row Security class equals the one defined for the operator. |
Run Time Security Override |
Select to allow the Row Level Security value to be overridden on the run control page of the report. |
Process Details
Field or Control |
Description |
---|---|
Sequence |
Enter the sequence number. The same input and output tables may be used repeatedly. Warning! The report data generation process uses this sequence number when generating output tables. The output table must have a SEQ_NUM field to hold the sequence number value. |
Output Table |
Enter the record name of the output table. |
Primary Input Table |
Select the primary table to be read for data selection. The Primary Input Table and the Output Table have a one to one relationship; for each row selected in the Primary Input Table there will be one row selected in the Output Table. The options available are:
|
Writable Array Table |
When the Primary Input Table is Writable Array, enter the table name here. This writable array is not the same as the value in the Segment Writable Array field, which applies to the entire process. |
Segment Option |
Select which data will be selected if the process encounters retroactive information. Options are:
|
Use the Report Data Process Details page (GP_RPT_DTL_SEC) to map fields and create filters used to generate the output table.
Navigation:
Click the Details link on the Define Report Data page.
This example illustrates the fields and controls on the Report Data Process Details page.

Additional Input Tables
Additional input tables can be used in addition to the Primary Input Table. To use additional tables in the process, a linking relationship must be defined on this page in order to retrieve the data. The relationship can be defined with either the primary input table or the output table.
Field or Control |
Description |
---|---|
Input Table |
Enter an input table. Once a table is defined as an additional input, any of its fields can be used to populate a field in the output table. |
Join with |
Select one of the following options:
|
Update Sequence |
You must enter a sequence number when joining an input table with an output table. This sequence number determines the order of the different accesses to the additional input tables that are triggered by some update statements. There is one update statement per additional input table. For example, the field UNION_CD is populated with data from JOBCODE_TBL based on the SETID and JOBCODE defined in the output table. Then the field DISABILITY_INS is populated with data from UNION_TBL based on the UNION_CD. In this case the JOBCODE_TBL must have an Update Sequence value of 1 and the UNION_TBL must have an Update Sequencevalue of 2. |
Join Condition Defined |
The system uses this field to indicate that a join condition is defined between the additional input table and the primary input table or the additional input table and the output table, depending on the value in the Join with field. This field is read-only. |
Generate Field Map |
Use this push button to generate a field mapping based on the output table definition, the primary input table, the additional input tables, the writable array segment and the worktable. Once the field mapping has been generated, the user can change it using the Field Map group box. |
Field Map
Once you have selected the Generate Field Map button, the system populates this group box. You may then alter these fields.
Field Map Input Record and Field Tab
Field or Control |
Description |
---|---|
Output Field |
Displays the field name of the output table. The fields of the output table are not required. You cannot select the fields that define the mandatory key structure. |
Input Type |
The following options are available:
|
Input Record |
Enter a record name if Input Type is Additional Input or Writable Array. For other input types, the records' technical names appear. |
Input Field |
Displays the field name of the primary input, additional input, the worktable, the writable array segment, or a writable array. |
Reverse Sign |
Indicates if the field must take the opposite sign (+/-) when the result is attached to a prior amount. Usually, this field is selected for all the fields that can be summed. This option should not be selected for fields that do not contain values, such as PIN_NUM or INSTANCE. |
Field Map Element Tab
The following fields are required if the Input Type is Element.
Field or Control |
Description |
---|---|
Entry Type |
Select from: System Element, Variable, Formula, Bracket, Earning, Deduction, Auto-Assigned, Accumulator, Count, and Duration. |
Element |
This field is required if the Input Type is Element. Be sure to use the correct Country field. |
Field Map Element Options Tab
Field or Control |
Description |
---|---|
Element Source |
Required if the Input Type is Element or Writable Array. Determines how the element is read, in the case of retroactivity.
|
As of Field |
Required if the Input Type is Element and the Element Source is Original. The field name is used for the As of Date to find the element. This field is populated by the output table. |
Period Accumulator Type |
Required if the Input Type is Period Accumulator. Values are: MTD Amount, MTD Unit, PTD Amount, PTD Unit, QTD Amount, QTD Unit, YTD Amount, and YTD Unit. |
Input Filter
Field or Control |
Description |
---|---|
SQL |
Write a where clause to execute during the selection of the primary input table. Aliases are available. For example:
|
Aliases available for Filter |
This legend shows that the aliases that can be used in the SQL field. Use the button to refresh the legend. Aliases are as follows:
|
Note: You can use specific words in your SQL where clause. For example: "and WRK.PAY_ENTITY in (%PARM.PRMARG.1)". In this statement, the report data process will replace %PARM.PRMARG.1 with the appropriate value.