SAP ABAP IMG Activity OHAXFORS031 (Example with Old Procedure)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX (Application Component) Payroll: General Parts
     PCAC (Package) Customizing HR Payroll
IMG Activity
ID OHAXFORS031 Example with Old Procedure  
Transaction Code S_AHR_61011071   IMG Activity: OHAXFORS031 
Created on 19981221    
Customizing Attributes OHAXFORS001   International form maintenance 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHAXFORS031    

Note: The procedure outlined here is still supported. However, with new forms, you should proceed as outlined in Example with New Procedure

Example

You want to print an employee's leave entitlement for the leave type Standard annual leave (01) for the current year. Employees' leave data for the current year is stored in the table VACYA. The current entitlement to standard leave is stored in the field ASP01. Leave entitlement should only be printed on the first page, in line 16, from column 69.

In this case, the following entry is required:

Page type Position Table Table field Print length

FP 16/069 VACYA ASP01 10

Standard settings

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

Abbreviation    Meaning

VAC    Leave

Y (in 4th place)    Year

P (in 4th place)    Period

P (in 5th place)    Previous

A (in 5th place)    Current

* (in 5th place)    All

The following combinations are possible:

  • VACY* (all years)

    This table contains the cumulated leave data for all employees since the start of their employment in the enterprise. This data is differentiated according to leave type.

  • VACYA (Current year)

    This table contains the leave data for the current year for all employees. The data is differentiated according to leave type.

  • VACYP (Previous years)

    This table contains cumulated leave data for all employees for the previous years. The data is differentiated according to leave type.

  • VACPA (Current period)

    This table contains leave data for all employees for the current period. The data is differentiated according to leave type. The table does not contain fields for remaining leave days (RSA, RSG, RST).

The field names of these tables have five characters and are composed of two elements.

The first three places, which constitute the first element, define the leave type more clearly. The following aspects are possible:

  • ATR    Number of leave days requested
  • GLT    Number of leave days compensated
  • ASP    Existing leave entitlement
  • RSA    Number of deductible leave days remaining
  • RSG    Number of leave days that can be compensated
  • RST    Number of existing leave days remaining (= RSA + RSG)

Places 4 and 5, which constitute the second element, contain the key for the relevant leave type (for example, "01" for standard leave). If you want to display total leave instead of a value for a specific wage type, enter the place holder "**".

Activities

  1. In the form editor, choose Individual fields -> Create.
  2. Complete the fields as described in the example.

Further notes

If you want to print the text for a leave type, you must enter 01 in the Conversion field. As a result, the relevant text (for example, Leave entitlement) is printed instead of the leave type key (for example 01).

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency E   Invalid for countries specified 
Customizing Attributes Country Key Country Name
OHAXFORS031 AR Argentina
OHAXFORS031 AT Austria
OHAXFORS031 AU Australia
OHAXFORS031 BE Belgium
OHAXFORS031 BR Brazil
OHAXFORS031 CA Canada
OHAXFORS031 CH Switzerland
OHAXFORS031 DE Germany
OHAXFORS031 DK Denmark
OHAXFORS031 ES Spain
OHAXFORS031 FR France
OHAXFORS031 GB United Kingdom
OHAXFORS031 HK Hong Kong
OHAXFORS031 ID Indonesia
OHAXFORS031 IE Ireland
OHAXFORS031 IT Italy
OHAXFORS031 JP Japan
OHAXFORS031 MX Mexico
OHAXFORS031 MY Malaysia
OHAXFORS031 NL Netherlands
OHAXFORS031 NO Norway
OHAXFORS031 NZ New Zealand
OHAXFORS031 PH Philippines
OHAXFORS031 PT Portugal
OHAXFORS031 SE Sweden
OHAXFORS031 SG Singapore
OHAXFORS031 TH Thailand
OHAXFORS031 TW Taiwan
OHAXFORS031 US USA
OHAXFORS031 VE Venezuela
OHAXFORS031 ZA South Africa
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHAXFORS031 0 HLA0100669 Forms 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19990406 
SAP Release Created in