SAP ABAP IMG Activity OHAXFORS040 (Example: Leave-Data in Window)
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 OHAXFORS040 Example: Leave-Data in Window  
Transaction Code S_AHR_61011072   IMG Activity: OHAXFORS040 
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 OHAXFORS040    

Example

You want to print the leave entitlement for an employee for the leave type standard leave (01), for the current year in window F1, group 01, subgroup 05 as follows:

  • from column 01 - leave type key
  • from column 04 - leave type key text
  • from column 30 - leave entitlement for the leave type

The leave entitlement (ASP) is stored in the table VAC.

In this case, proceed as follows.

  1. From the form editor, choose Line layout -> Change.
  2. Choose Edit -> New Line.
  3. In the Line type field, enter a line.
  4. In the Column type field, enter X.
  5. Create three individual fields with the following data:

Column Table Table field Print length Conversion

001 VAC ART

004 VAC ART 20 01

030 VAC ASP

  1. Choose Change window.
  2. Define a subgroup with the following data:

Subgroup     Table    Identifier    LineType  ColumnType
05           VAC      YA01          01        X

Result:

You have set up the line layout for the line that is to be printed. You have selected the line type 01 and the column type X. In each case, you have specified as the table field the relevant fields from the table VAC, which contains leave for all employees.

As a rule, the default print length was selected for the fields. Only the field that was converted was given a longer print length.

The conversion 01 means that the leave type text is printed instead of the key.

The entry in the identifier field indicates that information on leave type 01 is to be printed, and that this should relate to the current year (YA).

Further notes

For more information on the composition of the identifier, refer to Example with New Procedure.

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
OHAXFORS040 AR Argentina
OHAXFORS040 AT Austria
OHAXFORS040 AU Australia
OHAXFORS040 BE Belgium
OHAXFORS040 BR Brazil
OHAXFORS040 CA Canada
OHAXFORS040 CH Switzerland
OHAXFORS040 DE Germany
OHAXFORS040 DK Denmark
OHAXFORS040 ES Spain
OHAXFORS040 FR France
OHAXFORS040 GB United Kingdom
OHAXFORS040 HK Hong Kong
OHAXFORS040 ID Indonesia
OHAXFORS040 IE Ireland
OHAXFORS040 IT Italy
OHAXFORS040 JP Japan
OHAXFORS040 MX Mexico
OHAXFORS040 MY Malaysia
OHAXFORS040 NL Netherlands
OHAXFORS040 NO Norway
OHAXFORS040 NZ New Zealand
OHAXFORS040 PH Philippines
OHAXFORS040 PT Portugal
OHAXFORS040 SE Sweden
OHAXFORS040 SG Singapore
OHAXFORS040 TH Thailand
OHAXFORS040 TW Taiwan
OHAXFORS040 US USA
OHAXFORS040 VE Venezuela
OHAXFORS040 ZA South Africa
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHAXFORS040 0 HLA0100669 Forms 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19990406 
SAP Release Created in