Ansicht
Dokumentation

SIMG_OHAX414 - Set Up Leave Data in Fixed Positions (Old Procedure)

SIMG_OHAX414 - Set Up Leave Data in Fixed Positions (Old Procedure)

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Caution: The procedure described in this activity is still supported by the system but should not be used when setting up new forms.

This IMG activity describes how to set up an employee's leave data in a fixed position.

The procedure for setting up leave is different from the procedure for filling the Field field described in the step "Set up data in fixed positions". To set up leave, only fields from the following tables can be specified here:

  • VACY* (all years)
This table contains cumulated leave data sorted by leave type for all employees as of the date when they joined the company.
  • VACYA (current year)
This table contains leave data for the current year for all employees sorted by leave type.
  • VACYP (previous years)
This table contains cumulated leave data for previous years for all employees sorted by leave type.
  • VACPA (current period)
This table contains leave data for the current period for all employees sorted by leave type.

The contents of the tables listed can be derived from the table names:

Code Meaning
"VAC" vacation
"Y" (4th character) year
"P" (4th character) period
"P" (5th character) previous
"A" (5th character) current
"*" (5th character) all

The most important field names of the tables mentioned above are listed under the appropriate table names in the "Allowed field names" overview.

All field names (e.g. "ASP01") for the tables mentioned have a standardized structure and consist of five characters:

  • Characters 4 and 5 contain the key for the leave type, such as "01" for standard annual leave.
If all leave types are to be displayed rather than a specific leave type, please use the placeholder "**".
  • Characters 1 to 3 determine the criteria by which the leave type is considered.
The criteria are as follows:
ATR Number of leave days applied for
GLT Number of leave days compensated
ASP Current leave entitlement
RSA Number of remaining leave days that can be taken
RSG Number of remaining leave days that can be compensated
RST Total number of remaining leave days (= RSA + RSG)

Please note that the field names are only listed for a limited number of leave types in the "Allowed field names" overview. For this reason, it is also possible to use other field names created in accordance with the above schema. Please note that table "VACPA" (current period) does not contain any fields for remaining leave days ("RSA", "RSG", "RST").

Entries in the Field name field must be made in the usual way, i.e. first you enter the table in which the field is contained, then a hyphen and finally the field name itself.

EXAMPLE

You want to set up leave entitlement for an employee for leave type 01, "Standard leave" for the current year in line 16 as of column 69 for form "ZF01". The leave entitlement should be printed only on the first page of the remuneration statement.

PType No Offs Lngth WType Field   Conv Rule Field offset
FP 16 069 10   VACYA-ASP01

Employee data for the current year always comes from table "VACYA". The field which contains the leave entitlement for leave type 01 is required from this table. This is field "ASP01". The identification code "ASP" stands for total leave entitlement, the identification code "01" for the leave type "Standard annual leave".

The default length listed for this field in the "Allowed field names" overview was chosen as the output length. The page type "FP" determines that the information must be printed only on the first page of the remuneration statement.

ABBREVIATIONS USED

The following abbreviations were used in the above examples:

PType Page type in form
No Line number in form
Offs Offset
Lngth Output length
WType Wage type
Field Field name
Conv Conversion
Rule Rule for form editing
Field offset Field offset for printout

ACTIVITIES

Set up the employee's leave.






BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 7377 Date: 20240523 Time: 193126     sap01-206 ( 75 ms )