SAP ABAP IMG Activity SIMG_OHAE519 (Edit leave in individual fields (old procedure))
Hierarchy
SAP_HRCES (Software Component) Sub component SAP_HRCES of SAP_HR
   PY-ES (Application Component) Spain
     P04C (Package) HR Customizing: Spain
IMG Activity
ID SIMG_OHAE519 Edit leave in individual fields (old procedure)  
Transaction Code S_AHR_61007735   IMG Activity: SIMG_OHAE519 
Created on 19981221    
Customizing Attributes SIMG_OHAE519   Edit leave in individual fields (old procedure) 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAE519    

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.






Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
SIMG_OHAE519 ES Spain
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAE519 0 HLA0008545 Remuneration Statement 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19981221 
SAP Release Created in