SAP ABAP IMG Activity SIMG_OHAR415 (Set up leave data in a window)
Hierarchy
SAP_HRCSG (Software Component) Sub component SAP_HRCSG of SAP_HR
   PY-SG (Application Component) Singapore
     P25C (Package) HR Singapore: Customizing
IMG Activity
ID SIMG_OHAR415 Set up leave data in a window  
Transaction Code S_AHR_61003561   IMG-Aktivität: SIMG_OHAR415 
Created on 19981221    
Customizing Attributes SIMG_OHAR415   Set up leave data in a window 
Customizing Activity SIMG_OHAR415   Set up leave data in a window 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAR415    

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.



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_OHAR415 SG Singapore
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAR415 0 HLA0009807 Remuneration Statement 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
V_T512E V - View OH00 R2 Set up wage types in window 
V_T514K V - View OH14 CEDT R7 Allowed tables 
History
Last changed by/on SAP  19981221 
SAP Release Created in