SAP ABAP IMG Activity OHATWFORS040 (Example: Leave-Data in Window)
Hierarchy
SAP_HRCTW (Software Component) Sub component SAP_HRCTW of SAP_HR
   PY-TW (Application Component) Taiwan
     PC42 (Package) Payroll: Taiwan
IMG Activity
ID OHATWFORS040 Example: Leave-Data in Window  
Transaction Code S_PH9_46000094   (empty) 
Created on 19990427    
Customizing Attributes OHATWFORS040   Example: Leave-Data in Window 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHATWFORS040    


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 
Customizing Attributes Country Key Country Name
OHATWFORS040 TW Taiwan
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHATWFORS040 0 AHR0000414 Remuneration Statement 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19990427 
SAP Release Created in