Ansicht
Dokumentation
SIMG_OHAX415 - Set Up Leave Data in a Window
TXBHW - Original Tax Base Amount in Local Currency ABAP Short ReferenceThis documentation is copyright by SAP AG.
This IMG activity describes how to set up leave data for an employee.
Employee leave data can be set up as fixed layout items or in a window.
This step describes how to set up employee leave data in a window.
When setting up leave data in a window the entries to be made in the Field field differ from those described in the step "Set up line layout in window", and the entries in the Table indicator and Wage type fields differ from those described in "Set up wage types in window".
FIELD NAME (Set up line layout in window)
When setting up employee leave data, you may only specify fields here which belong to the following tables:
- VAC (Leave)
- This table contains the leave data for all employees.
The allowed field names in this table are listed in the "Allowed field names" overview under the table name.
To make an entry for leave in the Field field, please follow the usual procedure, i.e. first enter the table which contains the field, then a hyphen and finally the name of the field itself.
- Example:
- You wish to print existing leave entitlement. This is stored in the "ASP" field in table "VAC". In this case you must make the following entry in the Field field:
- VAC-ASP
Note on setting up text for a leave type
If you want to print a leave type text you must enter "VAC-ART" as the field name and conversion "01" in the Conversion field. This causes the system to print the text for the leave type (e.g. "Standard leave") instead of the key ("01").
TABLE INDICATOR (Set up wage types in window)
When setting up leave data you must always enter the following in this field:
- W (Leave)
WAGE TYPE (Set up wage types in window)
Specify the leave type to be printed or whether the total of all leave types is to be printed in this field. Also specify a period (e.g. current period) to which the leave aspect (e.g. existing leave entitlement) refers.
Your entry here must consist of four characters. These should be as follows:
1st character: |
---|
"Y" | Year | (Leave aspect refers to whole year) | |
"P" | Period | (Leave aspect refers to period) |
2nd character: |
---|
"P" | previous | (Previous year or period) |
"A" | current | (current year or period) |
"*" | all | (all years or periods) |
3rd and 4th characters: |
---|
"Leave type", e.g. "01" for leave type "Standard leave" | |
or | |
"**" | for the total of all leave types |
Example:
You wish to print the total of all leave types for the current year. To do this you must make the following entries in the Wage type field:
YA**
EXAMPLE
You want to set up the employee's leave entitlement for the leave type "Standard leave" ("01") for the current year (window "F1", group "01", subgroup "05") for form "ZF01" as follows:
- from column 00 on, the leave type key
- from column 04 on, the leave type text
- from column 30 on, the leave entitlement for the leave type
In this case you must make the following entries for the line layout:
LType | CType | Offs | Lngth | Field | FOffs | Conv | Rule | |
---|---|---|---|---|---|---|---|---|
01 | X | 000 | 02 | VAC-ART | ||||
01 | X | 004 | 25 | VAC-ART | 01 | |||
01 | X | 030 | 10 | VAC-ASP | ||||
You must also make the following entry for the wage types in the window:
WType | Tab | No | Win | Gp | Sgp | LType | CType | ... |
---|---|---|---|---|---|---|---|---|
YA01 | W | F1 | 01 | 05 | 01 | X | ||
You must set up a suitable line layout for the line to be printed. In this case line type "01" and column type "X" have been selected. The fields in table VAC which contain the leave data for all employees must be specified as the field name. The default from the "Allowed field names" overview was usually selected as the output length. Entering conversion "01" in the middle line causes the system to print the text for the leave type instead of its key.
The entry in the Wage type field means that data on leave type "01" relating to the current year ("YA") is to be printed. When setting up leave data you must always enter "W" in the Table indicator field.
ABBREVIATIONS USED
The following abbreviations were used in the above example:
LType | Line type |
CType | Column type |
Offs | Offset |
Lngth | Output length |
Field | Field name |
FOffs | Field offset for printout |
Conv | Conversion |
Rule | Rule for form editing |
WType | Wage type |
Tab | Table indicator for form control |
No | Number |
Win | Window identifier |
Gp | Group number |
Sgp | Subgroup number |
LType | Line type |
CType | Column type |
ACTIVITIES
Set up employee leave data in a window.
rdisp/max_wprun_time - Maximum work process run time TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 9866 Date: 20240523 Time: 195153 sap01-206 ( 82 ms )