SAP ABAP IMG Activity OHACSB002 (Modify Fixed Layout Items)
Hierarchy
SAP_HRCCH (Software Component) Sub component SAP_HRCCH of SAP_HR
   PY-CH (Application Component) Switzerland
     P02C (Package) HR Customizing: Switzerland
IMG Activity
ID OHACSB002 Modify Fixed Layout Items  
Transaction Code S_AHR_61006921   IMG Activity: OHACSB002 
Created on 19981221    
Customizing Attributes OHACSB002   Modify Fixed Layout Items 
Customizing Activity OHACSB002   Modify Fixed Layout Items 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHACSB002    

This step explains how to set up data to be printed in fixed positions.

All data which fulfils the following criteria can only be printed in fixed positions:

  • The data is variable, i.e. it is not the same on all master data sheets for a period.

  • The data is in the same position on every master data sheet.

Data displayed in fixed positions usually relates to persons and organizational matters such as:

  • name of employee
  • personnel number of employee
  • address of employee
  • date of birth of employee
  • tax data for employee
  • social insurance data for employee
  • leave data for employee
  • monthly and annual values of a (cumulation) wage type, provided they are not displayed in windows
  • name of administrator

Data displayed in fixed positions can include both variable data (such as the personnel number, which is different on all remuneration statements for a period) and data which is always printed unchanged in exactly the same position (such as the text "Personnel number", which normally appears in front of the number itself). The latter can also be set up as form background instead of as data to be displayed in a fixed position. This option should be considered if later changes to the form layout are not expected, since it is often easier to change the position in which this kind of data is displayed than the position of data in the form background (see "Set up form background": "Working without/with limited form background").

GENERAL PROCEDURE

You must make an entry for each piece of data that is displayed in a fixed position. Each entry must include the following:

  • page type
  • line number
  • offset
  • output length
  • wage type (if applicable)
  • field name

You can also specify the following for each entry:

  • conversion
  • field offset for printout
  • rule for form editing

Please note the peculiarities when setting up the following data as data to be displayed in a fixed position:

  • "Set up wage types in fixed positions"
  • "Set up address"
  • "Set up leave data in fixed positions"
  • "Set up time quotas in fixed positions"

Page type

The page type is used to determine whether data displayed in fixed positions is printed only on certain pages or on every page of a remuneration statement. The following page type options can be used for the remuneration statement:

  • "EP" ("Every page")

    Data marked with "EP" is printed on every page of a remuneration statement.

  • "FP " ("First page")

    Data marked with "FP" is printed only on the first page of a remuneration statement.

  • "LP " ("Last page")

    Data marked with "LP" is printed only on the last page of a remuneration statement.

Line number

This number determines the line of the remuneration statement in which the data is printed.

Offset

This field is used to determine the column from which printing starts.

Field name

The data you want to print in a fixed position is stored under Field. The entry in this field can either be a constant, a text module identifier, or a table field.

  • Constant

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

  • Example:

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

NB: Every piece of data that can be defined as a constant can also be defined as a text module. You must do this if the length of the piece of data exceeds 10 characters and/or it is required in several languages (see "Set up text modules").

  • Text module identifier

    You can specify a text module identifier which you have already set up in the step "Set up text modules" as a field name (e.g. "TEXT01"). There must always be a hyphen between the character string "TEXT" and the respective number of the text module.

  • Example:

You want to specify a text module with the identifier "TEXT05" in the Field field. To do this, please enter the following:
TEXT-05

  • Table field

    You can also specify a table field as a field name. You must ALWAYS specify a table field if the data to be set up is variable.

    To specify table fields in the Field field, enter the name of the table which contains the field, then a hyphen, and finally the field name itself.

  • Example:

You want to print an employee's personnel number. This is stored in field "PERNR" in table "PERNR". You must therefore enter the following in the Field field:
PERNR-PERNR

Fields from table "SCHLW" are an exception. They must always be entered in the Field field without a hyphen and without the name of the table.

Example:
You want to print the date on which an employee was hired. The date is stored in field "PHIRE" in table "SCHLW". You must therefore enter the following in the Field field:
PHIRE

Output length and conversion

To choose the output length of the field name, please proceed as follows:

  • Constant

    The output length of the field name equals the number of characters in the constant. (The apostrophe that precedes the constant is not taken into account.)

  • Example:

"'/" is entered as a constant in the Field field. The output length of the field name is therefore "01".

  • Text module identifier

    The output length of the field name equals the number of characters in the text module represented by the identifier.

  • Example:

The text module "personnel number" is represented by the identifier "TEXT05" in the Field field. The output length of the field name is therefore "16".

  • Field name

    You can determine the output length of a field name using the "Allowed field names" overview. In this overview, the Output length field includes a default length for every listed field which you can then copy as the output length.

    You can always decide to choose an output length that is shorter or longer than the specified default length. If you choose the former you risk cutting off the data at the right hand side. If you choose the latter, you should ensure that the data can be output in full within the predefined field length.

  • Conversion

    You can specify a conversion for data output along with the field name.

    The "Allowed field names" overview contains a "Conversion" column which lists default conversions for certain fields. These conversions are included in the default length of the fields in question. If you choose a conversion which is not defined as a default, you must add it yourself to the output length of the field.

    The conversions allowed for data printed in fixed positions are flagged in column "T512Q" in the "Allowed conversions" overview. You can display explanations on the individual conversions by positioning the cursor on the conversion number in the overview and pressing F1 for Help.

Field offset (part of a character string)

In certain instances, you may wish the system to print part of rather than the whole contents of a field. You can specify the position from which the field is to be printed in the Field offset for printing field.

Example:

The Account number field has a default output length of 18 characters. The first three characters always consist of leading zeros which are not to be printed. You must therefore enter "03" in the Field offset for printout field to have the system print the field as of the 4th character. You must also replace the 18 with 15 in the Output length field.

Please take careful note of the following when specifying the field offset:

  • The field offset always starts with "00". Offset "01" therefore indicates that a field is printed as of the second character.

  • The field offset is linked directly to the output length of the field.

  • The field offset and the output length must always be less than or equal to the predefined field length.
    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
    OHACSB002 CH Switzerland
    Assigned Application Components
    Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
    SIMG OHACSB002 0 HLA0003801 Statements 
    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_T512Q V - View OH00 CH01 Information in fixed positions 
    History
    Last changed by/on SAP  19981221 
    SAP Release Created in