SAP ABAP IMG Activity SIMG_OHAE428 (Define line layout in window)
Hierarchy
SAP_HRCES (Software Component) Sub component SAP_HRCES of SAP_HR
   PY-ES (Application Component) Spain
     P04C (Package) HR Customizing: Spain
IMG Activity
ID SIMG_OHAE428 Define line layout in window  
Transaction Code S_AHR_61007507   IMG Activity: SIMG_OHAE428 
Created on 19981221    
Customizing Attributes SIMG_OHAE428   Define line layout in window 
Customizing Activity SIMG_OHAE428   Define line layout in window 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAE428    

This IMG activity enables you to set up the line layout in the window.

The layout of individual lines in a window can be identical. This means, for example, that a window could contain several lines in which the wage type text and then the wage type amount are displayed as of exactly the same columns. Information printed in a window is not, therefore, provided with print specifications such as column length and output length; instead, layouts are defined which structure the lines within the window. The layouts are assigned to individual wage types using an identifier in the step "Set up wage types in window".

By setting up line layouts, you can avoid repeating entries unnecessarily for:

  1. different information types (such as for wage type amounts, texts, and numbers)
  2. columns
  3. output length
  4. conversion
  5. field offsets

Such repetition may be avoided because layouts can be used time and time again, which means that you can assign them to all of the wage types that are printed in accordance with one specific schema.

GENERAL PROCEDURE

A layout is always line-oriented, ie. it determines the schema according to which a line is printed. The number of entries to be created for a layout is equal to the amount of information to be printed in a line. Each entry always refers to a specific piece of wage type information (such as wage type amount, key, text etc.). The entry determines how the wage type information is printed in each line. This means that it is possible for a layout to consist of one single entry. is more usual, however, for a layout to consist of more than one entry.

The following must be specified for each entry:

  • Line type
  • Column type
  • Offset
  • Output length
  • Field name

You can also specify the following for every entry:

  • Conversion
  • Field offset for printout
  • Rule for form editing

These specifications are explained below in so far as they are not self-explanatory.

Line type and column type

The combination of line type and column type identifies a layout.

The line type is a two-digit numeric value which can be chosen freely (01-99). All of the entries for a layout must always have the same line type.

The column type is one-digit long and it specifies which column of the window information should be printed in. Every window in the payroll account contains three different columns:

  • text column

    The wage type and the wage type text or the end date of the in-period are printed in this column in standard form "DK01".

  • totals column/column of averages

    This column displays the cumulative amount of a wage type for the periods shown, or the averages (= cumulative amount divided by the number of period columns in the line).

  • period column

    The period column contains the total amount, the rate, or the wage type amount for a period. In certain countries, other values (such as tax bracket, religious denomination etc.) can also be displayed in the period column.

    The period column usually appears several times in a window. You can determine the maximum number of period columns allowed by entering the required number in the field Number of columns per page on the initial screen of the report for creating payroll accounts.

In accordance with these three different column types in the window, three different column types can be assigned to information:

  • "X"

    You should use column type "X" for all information that should be printed in the text column of the window.

  • "S"

    You should use column type "S" for all information that should be printed in the totals column or in the column of averages.

  • "1"

    You should use column type "1" for all information that should be printed in the period column.

When creating a payroll account, please proceed as follows:

For every wage type, information with column type "X" is printed first. For this reason, column type "X" must be assigned to every required wage type in the IMG activity "Set up wage types in window". After this, information with column type "1" (period values) is printed. The total value is then determined from the period values.

In addition to the column types mentioned, there is another column type:

  • "T"

    Column type "T" should be used only for initial group texts and final group texts (see: "Initial group texts and final group texts" at the end of this IMG activity).

    Example:

    You want to print the following wage type information in a line:

    • the wage type key in the text column
    • the wage type text in the text column
    • the cumulative value of the wage type in the totals column
    • the total amount of the wage type in the period column

      You must make four entries for this layout. For these entries, you must always choose the same line type (for example "01"). You should specify column type "X" for information in the text column, column type "S" for information in the totals column, and column type "1" for information in the period column.

Note

In addition to the individual entries for the required layouts, you must create three further entries. If these entries are missing, the output of information in the window has not been defined.

These three entries determine the following:

  • the offset of the totals column and period column in the window
  • the output length of information in the totals column and period column
  • the distance between the individual period columns

The required entries should be as follows:

LType    CType    Offs        Length        Field    FOffs    Conv    Rule

CO    S    <OFFSET>        <LENGTH>        '

CO    1    <OFFSET>        <LENGTH>        '

CO    2    <OFFSET>        <LENGTH>        '

You must enter the required values in the fields Offset and Output length. Choose values that will not cause the individual columns to overlap.

The first entry specifies the column where the totals column starts and its output length.

The second and third entries specify the column as of which the first and the second period column start and the output length for each period column. The system uses the offsets of the first and second period column to determine automatically the offset of any further periods. It is therefore not necessary to specify this.

In addition to the three entries mentioned, you can also create an entry with column type "CO" for the text column:

LType    CType    Offs        Length        Field    FOffs    Conv    Rule

CO    X    <OFFSET>        <LENGTH>        '

At present, this entry is not mandatory (that is, the specifications as to the offset and output length of the text column are not taken into account when a payroll account is created). However, you can use these entries as information for arranging the columns in the payroll account.

Field name

The information itself is stored in the field Field name. In this field, you can enter either a constant, a text module identifier or a table field.

  • Constant

    A constant is printed on a payroll account in exactly the same way as it is specified in the field Field name. Each constant must be preceded by an apostrophe, which identifies it as a constant.

  • Example:

You want to enter "-" as a constant in the field Field name. To do this, you must enter the following:
'_

Information in the totals column

The information in the totals column is not stored in any internal payroll table, but is determined when a payroll account is created. Therefore, for information to be displayed in the totals column, you must enter the constant <blank> in the field Field name. Enter the constant <blank> as follows:

'

NB: Every piece of information that can be specified as a constant can also be defined as a text module. You MUST do this if the length of the information in question exceeds 10 and/or the information in question is required in several languages "Set up text modules").

  • Text module identifier

    You can specify a text module identifier which you have already set up in&#

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_OHAE428 ES Spain
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAE428 0 HLA0008546 Payroll Account 
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_T512D V - View OH00 S3  
V_T514C V - View OH14 CKTO S1  
V_T514K V - View OH14 CKTO S2  
V_T514N V - View OH14 CKTO S2  
History
Last changed by/on SAP  19981221 
SAP Release Created in