Show TOC

Example: Time Quota in Window

This step outlines how you print an attendance or absence quota in a window for an employee. Information on attendance quotas are stored in table ZKT. Information on absence quotas are stored in table ZQT.

Example

You want to set up the absence quota for an employee in form ZF01 with the time quota type 01 in window F1.

The following information on the absence quota is to be printed in the same line in subgroup 05 of group 01:

The following information on the absence quota is to be printed on one line in subgroup 10 of group 01:

Standard Settings

The following individual fields can be created from the ZK table:

The following keys exist for the identifier:

With the following identifiers, only the quota records that are deductible in the current payroll period are selected:

With the following identifiers, only quota records are selected that were deductible in the past but are still to be compensated now and that have a remainder that is not 0.

With the following identifiers, only records are selected that will be deductible in the future and can only be compensated in the future, that is, quotas that were already entered for the future.

Activities

1. In the form editor, choose Line layout -> Change.
2. Create two line layouts:
a) In the Line type field enter 01 and 02 in each layout respectively.
b) In the Column type field, enter X in both layouts.
3. For line type 01, create the following individual fields:
Column Table Table field Conversion
001 ZK KTART
004 ZK BEGDA
015 ZK ENDDA
027 ZK ANZHL
039 ZK KVERB

For line layout type 02, create the following individual fields:

001 ZK KTART
004 ZK KTART 01
051 ZK REST
4. Choose Goto -> Window.
5. Define two subgroups with the following data:
Subgroup Table Identifier LType CType
05 ZKQ YD01 01 X
10 ZKQ S*01 02 X

Result:

You have set up an appropriate line layout for both lines. For the line in subgroup 05, you have selected line type 01 and column type X; for the line in subgroup 10, you have selected line type 02 and column type X.

In each case, you have specified as the table field the relevant fields from the table ZK, which contains the time quotas for all employees.

As a rule, the default value was selected for the print length of the fields.

The conversion 01 for the field in column 004 means that the text, instead of the key, is printed for the time quota type instead of the key.

Two entries are required for the wage types in the window. Both entries have the value 01 in the Identifier field. This entry denotes that information on time quota type 01 is to be printed.

The value D in the identifier SD01 denotes that in each case, the value for the individual data sets is to be printed. (This is deduced from the information defined by line type 01 and column type X). As a result, the number of lines printed will, in each case, match the number of data records for the time quota type.

The entry S*01 determines that, in each case, the total from all data records is printed with the information defined by line type 02 and column type X.

The information on the remuneration statement appears - independently of the values and number of data records relating to time quota type 01 - as in the following example:

Number Quota used Remainder

01 01.10.95 31.10.95 5 2

01 01.11.95 30.11.95 8 4

01 Non-working shift entitlement 7