SAP ABAP IMG Activity OHAQFORS040 (Example: Leave Data in Window)
Hierarchy
SAP_HRCAU (Software Component) Sub component SAP_HRCAU of SAP_HR
   PY-AU (Application Component) Australia
     P13C (Package) Human Resources Customizing: Australia
IMG Activity
ID OHAQFORS040 Example: Leave Data in Window  
Transaction Code S_AHR_61016904   (empty) 
Created on 19990330    
Customizing Attributes PYAU_FORMS   Payroll Australia: Forms, optional, non-critical, 204 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHAQFORS040    


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 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19990330 
SAP Release Created in