SAP ABAP IMG Activity SIMG_OHAC425 (Set Up Data in Fixed Positions)
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 SIMG_OHAC425 Set Up Data in Fixed Positions  
Transaction Code S_AHR_61007000   IMG Activity: SIMG_OHAC425 
Created on 19981221    
Customizing Attributes SIMG_OHAC425   Set Up Data in Fixed Positions 
Customizing Activity SIMG_OHAC425   Set Up Data in Fixed Positions 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAC425    

This step enables you to set up information at fixed positions.

Information can only be printed at fixed positions if it fulfils the following criteria:

  • The information is variable, that is, it is not the same on all payroll accounts for a period.

  • The information is located at the same position on every payroll account.

Information at fixed positions is generally information on persons and organizational data, such as:

  • Name of employee
  • Personnel number of employee
  • Address of employee
  • Date of birth of employee
  • Date employee joined or left company
  • Employee's pension insurance number
  • Date on which payroll account was created
  • Page number of payroll account

Besides variable information (such as personnel number, which is different on every payroll account), information which always appears unchanged at the same position on a payroll account (the words "personnel number", for instance, which normally come before the actual personnel number) can also be printed at fixed positions. However, this type of information can also be set up as a form background instead of at fixed positions. You should consider this option if you do not intend to make any future changes to the form layout. Remember: it is often easier to change the position of information at fixed positions than to change the position of information in the form background (Set up form background: working with/without limited form background).

GENERAL PROCEDURE

You must make an entry for each piece of information that is printed at a fixed position. Each entry must include the following specifications:

  • Page type
  • Line number in form
  • Offset
  • Length of printout
  • Field name

You can also specify the following for each entry:

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

Page type

The page type is used to determine whether information at a fixed position is printed only on certain pages or on every page of a payroll account. You can choose from the following page types:

  • "EP" ("Every Page")

    Information marked with "EP" is printed on every page of a payroll account.

  • "FP" ("First Page")

    Information marked with "FP" is printed only on the first page of a payroll account.

  • "LP" ("Last Page")

    Information marked with "LP" is printed only on the last page of a payroll account.

Line number

The line number determines the line of the payroll account in which the information is printed.

Offset

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

Field name

The information you want to print at a fixed position is stored in the field Field name. The entry in this field can be 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 "/" in the field Field name as a constant. Enter the following:
'/

NB: Every piece of information that can be defined as a constant can also be defined as a text module. You must do this if the piece of data is greater than 10 characters in length and/or the information in question 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 IMG activity "Set up text modules" as a field name (eg. "TEXT01"). There must always be a hyphen between the character string "TEXT" and the respective number of the text module.

  • Example:

You want to define a text module with the identifier "TEXT05" in the field Field name. 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 information to be set up is variable information.

    Table fields are specified in the field Field name by listing the table in which the field is stored, then a hyphen, and finally the field name itself.

  • Example:

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

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

Example:
You want to print the date on which an employee was hired. This date is stored in the field PHIRE in table "SCHLW". Enter the following in the field Field name.
PHIRE

If you do not know that the employee's personnel number is stored in the field PERNR in table "PERNR" or that the date on which an employee is hired is stored in the field PHIRE in table "SCHLW", you can find out such information as follows:

  1. Call the "Permitted field names" overview using the Execute function.
  2. Use the menu option According to contents in the menu Choose.
  3. Select the field Description on the Field selection window, and press the Continue key.
  4. When the window Choose: according to contents is displayed, enter the operator CP in the Relational operator field, and the wording of the required information (generically, if necessary) in the Field contents field, and press Choose.
  5. Has the required information been found?
    YES: note the table and the field name of the information in question and go back to step e).
    NO: repeat steps b) through d), using a synonymous search string if necessary.
  6. Call the "Permitted tables" overview.
  7. Check column "T512Q" to see whether the table that contains the specified field has been flagged and can, therefore, be used for information at fixed positions. If not, repeat the entire work process using a synonymous search string if necessary.

    You can also do the following to determine the field that you require:

  8. Call the "Permitted tables" overview using the Execute function.
  9. Check the descriptions of the permitted tables to see whether they might contain the required information. Please note that the potential table(s) is/are flagged in the column "T512Q" so that it(they) is/are allowed for information at fixed positions.
  10. Note the name(s) of the potential table(s).
  11. Call the "Permitted field names" overview.
  12. Access the fields of the potential table(s) using the Position function. Use their descriptions to check whether they match the information that is required.
  13. Note the field names and the table of the field identified.

Length of printout and conversion

The length of printout of the field name can be chosen as follows:

  • Constant

    The printout length of the field name is equal to the number of characters in the constant (the apostrophe that preceds a constant is not taken into account here).

  • Example:

"'/" is entered as a constant in the field Field name.
Therefore, the printout length of the field name is "01".

  • Text module identifier

    The printout length of the field name is equal to the number of characters in the respective text module represented by the identifier.

  • Example:

The text module "personnel number" is represented by the identifier "TEXT05" in the field Field name. The printout length of field name is "14" in this case.

  • Field name

    You can determine the printout length of a field name using the "Permitted field names" overview. In this overview, the field Output length 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. The former option involves the risk of information being cut off at the right. As for the latter option, you must ensure that the information can be output in full within the predefined field length.

  • Conversion

    For field names, it

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_OHAC425 CH Switzerland
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAC425 0 HLA0009648 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_T512Q V - View OH00 0K Set Up Data in Fixed Positions 
V_T514C V - View OH14 CKTO 0J Permitted Conversions 
V_T514K V - View OH14 CKTO 0P Permitted Tables 
V_T514N V - View OH14 CKTO 0J Permitted Field Names 
History
Last changed by/on SAP  19981221 
SAP Release Created in