SAP ABAP IMG Activity SIMG_OHAL502 (Line layout)
Hierarchy
SAP_HRCMY (Software Component) Sub component SAP_HRCMY of SAP_HR
   PY-MY (Application Component) Malaysia
     P14C (Package) HR customizing: Malaysia
IMG Activity
ID SIMG_OHAL502 Line layout  
Transaction Code S_AHR_61006056   IMG-Aktivität: SIMG_OHAL502 
Created on 19981221    
Customizing Attributes SIMG_OHAL502   Line layout 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAL502    

This step explains how to set up the line layout in a window when you are configuring the remuneration statement using the form editor.

For more information, refer to the section "Set up Line Layout in Window", or to the documentation on the form editor.

For information on how to use the form editor, see the SAP Library.

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. Print specifications such as column length and output length are not made for pieces of data individually, instead layouts are defined to determine the structure of 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 making numerous redundant entries for:

  1. different infotypes (e.g. wage type amounts, texts, and numbers)
  2. columns
  3. output length
  4. conversions
  5. field offsets

Such repetition may be avoided because layouts can be used time and time again, which means 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, that is, it determines the schema according to which line is printed. The number of entries created for a layout is equal to the amount of data to be printed in one line. Each entry always refers to a specific piece of identifier data (for example, the wage type amount, the wage type key, the wage type text), that is, the entry determines how the wage type data is printed on each line. This means that it is possible for a layout to consist of one single entry. However, it is more usual for it to consist of more than one entry.

The following must be specified for each entry:

  • Line type
  • Column type

You can or must also specify the following for each individual field of a line layout:

Position information

  • Column

Print information

  • Constant
  • Text module
  • Table field
    • Table
    • Table field
  • Additional information: Identifier

You can also specify the following for each entry:

Print formatting options

  • Output length
  • Conversion
  • Rule
  • Offset for printout

These specifications are explained below where 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-character numeric value which can be chosen freely (01-99). All entries for one layout must ALWAYS have the same line type.

The column type consists of one character and can be made up as follows:

  • "X"

    You must use column type "X" if you want to print data on just one wage type in a line.

  • "1", "2", "3", "4", "5", "6", "7", "8", "9"

    You must ALWAYS use numeric values for superlines, that is, if you want to print information for different wage types in a line.

    Definition:

    "Different" wage types refers to the following cases:

    a)    Two entirely different wage types are printed.

        Example:

        Wage type /101

        Wage type /106

    b)    Information from different internal payroll tables are

        printed for the same wage type.

        Example:

        Wage type /101 from internal payroll table "RT"

        Wage type /101 from internal payroll table "CRT"

    Note the following with regard to superlines:

    All data for the first wage type or for the wage type from the first table must be stored under column type "1"; all information for the second wage type or for the wage type from the second table must be stored under column type "2", and so on.

  • "T"

    You must use column type "T" for initial and final group texts (see "Initial and Final Group Texts" at the end of this step).

Note that every line type can be combined with column type "x", column type "T" and numeric column types ("1", "2" and so on). This means, for example, that you can enter the following line and column types for a particular form:

Line type    Column type

01    X

01    1

01    2

01    3

01    T

Examples

Example 1:

You want to print the monthly value of wage type /101 in a line.

To do this, you must enter a numeric value (such as "01") as the line type and the value "X" as the column type.

Example 2:

You want to print the monthly value of wage type /101 first and then the monthly value of wage type /106 in the same line. In this example, both entries must have the same numeric value (such as "01") as the line type. The column type must have the value "1" for the first wage type (/101) and the value "2" for the second wage type (/106).

Initial and Final Group Texts

An appropriate layout must be set up for each initial or final group text defined in the step "Set up Initial and Final Group Texts in Window". Note the following:

  • A layout for a group heading always consists of just one entry.
  • The line type for this entry must be identical to the line type of the first piece of information of the respective group.

  • The column type for this entry is always "T" (see line type and column type).

  • Table T512G and field TEXT must always be chosen for this entry.

Example:

You want to set up a layout for an initial group text. The line type for the first piece of data in the group is "01". You must make the following entries:

  1. In the form editor, choose "Change line layout" and make entries in the fields Line type and Column type

LType    CType

01    T

  1. Make the following entries in data groups Position information, Print information and Print formatting options in the "Set up individual field in line layout" screen.:

Column    Table    Table field        Output length

000    T512G    TEXT        132

The line type for the initial group text must always be the same as the line type for the first piece of data in the group. The fixed values explained above must be entered in the remaining fields.

Procedure

Make the required entries using the form editor. Choose the activity for the form editor.

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_OHAL502 MY Malaysia
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAL502 0 HLA0003895 Remuneration Statement 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19981221 
SAP Release Created in