Ansicht
Dokumentation

SIMG_OHAX519 - Leave Data in Individual Fields (Old Procedure)

SIMG_OHAX519 - Leave Data in Individual Fields (Old Procedure)

PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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

For further information, refer to the section "Individual fields", or to the documentation on the form editor in the SAP Library.

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

The employee's leave is set up in fixed positions (individual fields).

The procedure for setting up leave is different from the procedure for filling the fields Table and Table field described in the step "Individual fields". 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 field Table field.

All field names (for example, "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 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 remain. leave days that can be compensated
RST Total number of remaining leave days (= RSA + RSG)

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

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   Position   Table   Table field Output length
FP   16 069 VACYA   ASP01   10

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 leave".

The output length is defined by the form editor and can be changed. The page type "FP" determines that the information must be printed only on the first page of the remuneration statement.

Procedure

Make the required entries using the form editor. Choose the activity for the form editor.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 6093 Date: 20240523 Time: 192449     sap01-206 ( 64 ms )