Ansicht
Dokumentation

SIMG_OHAX409 - Set Up Wage Types in Window

SIMG_OHAX409 - Set Up Wage Types in Window

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity you can execute the following activities:

  • Specify the wage types for which data is printed in a window.
  • Specify the payroll results tables containing the data to be printed for these wage types.
  • Use the line type and column type, which you assign to each wage type, to determine the specific wage type data to be printed and the layout to be used.
  • Use the wage type group and subgroup to determine the sequence in which the data is printed in the window.

Requirements

You should have defined the required layouts together with their respective line type and column type in the IMG activity "Set up line layout in window".

General Procedure

The following specifications must be made for every wage type for which data is printed in a window:

  • Wage type
  • Table name
  • Entry number (if applicable)
  • Window code
  • Group number and subgroup number
  • Line type and column type

The following can also be specified for every wage type in the window:

  • Conversion
  • Compression indicator (DSPLIT)
  • Indicator for difference relevancy
  • Rule for form editing

Specifications that are not self-explanatory are explained below.

Please note the special rules for setting up the following data in a window:

  • "Set up leave in window"
  • "Set up time quotas in window"

Wage type sorting

Wage type sorting without retroactive accounting results

If no retroactive accounting results are printed on a remuneration statement, the wage types to be printed in the window are always printed in the following sort sequence:

1. Window code
2. Group
3. Subgroup
4. Line type
5. Column type
6. Wage type
If the wage types have the same window code and group, for example, they are printed out sorted by subgroup.

Wage type sorting with retroactive accounting results

If retroactive accounting results are printed on a remuneration statement, the sort sequence of the wage types in the window depends on the parameters entered in the Sort retroactive accounting runs and Type of retroactive accounting printout fields when starting the remuneration statements generation program.

  • Option 1:
Start the program with "D" or "J" as the parameter in the Type of retroactive accounting printout field.
If you do this, wage types from retroactive accounting are always printed out on a separate form, whether you enter "1" or "2" in the Sort retroactive accounting runs field. Wage types for the current period are printed in the sort sequence specified under Wage type sorting without retroactive accounting results.
  • Option 2:
Start the program with "A" or "S" as the parameter in the Type of retroactive accounting printout field and "1" in the Sort retroactive accounting runs field.
If you do this, wage types are always printed in the following sort sequence:
1. Window code
2. Group
3. Subgroup
4. (Retroactive accounting) date (= start of for-period)
5. Line type
6. Column type
7. Wage type
A wage type from a retroactive accounting run is printed out together with the wage type from the current period.
  • Option 3:
Start the program with "A" or "S" as the parameter in the Type of retroactive accounting printout field and "2" in the Sort retroactive accounting runs field.
If you do this, wage types in the window are always printed in the following sort sequence:
1. Window code
2. (Retroactive accounting) date (= start of for-period)
3. Group
4. Subgroup
5. Line type
6. Column type
7. Wage type
The system prints all retroactive accounting wage types first, then all wage types from the current period.

Table name

The table name enables you to specify the payroll results table that contains the data to be printed for the respective wage type.

In the "Allowed table names" overview, all tables which you can specify using the table name are flagged in column "T512E".

If you do not know which wage type data is stored in which payroll accounting results table, please proceed as follows:

  1. Determine the corresponding wage type (such as "/101") using the payroll results.
  2. Determine which wage type data (such as the annual value) needs to be printed.
  3. On the basis of this, find out the name of the appropriate table (such as table "CRT" for the annual value of wage type "/101").
  4. Check in the "Allowed table names" overview whether the table in question is allowed.

Note that the table indicator previously used at this point, has now been replaced by the table name, and should therefore not be used in new forms. The table indicator specified the payroll results table in which wage type information was stored for printing. In the "Allowed table names" overview, the table indicator for these tables is entered in the "Table indicator" column.

Entry number

If more than one entry exists with the same wage type and the same table name, each entry is assigned a different number ("00", "01", "02" etc).

There might be several entries with the same wage type and table name in the following circumstances:

  • A wage type is assigned to several windows.
  • A wage type is assigned to several groups and/or subgroups in a window.
  • A wage type is assigned to a window and also cumulated in one or more cumulation wage types.
  • A wage type is assigned to a window in which it is displayed in compressed form and is also cumulated in one or more cumulation wage types.
  • A wage type is cumulated in more than one cumulation wage type.

Window code

In the IMG activity "Set up window", you assigned a two-character window code to every window (e.g. "F1"). The window code now enables you to assign the wage types to the appropriate window.

Group number and subgroup number

The combination of group number and subgroup number determines the sequence in which wage types are printed in a window.

If several wage types are printed in one line, special rules apply to the assignment of group numbers and subgroup numbers (see "Group numbers and subgroup numbers for wage types in superlines").

  • Group number
The group number is a two-character value between "01" and "99".
All wage types in a window are grouped together according to the group number.
  • Subgroup number
The subgroup number is a two-character value between "00" and "99".
All wage types in a group are grouped together using the subgroup number to form subgroups.
  • Dependencies
All wage types with the same window code, group and subgroup are printed directly one after the other in a window (with the exception of superlines, see below). Wage type groups with a lower group number (such as "01") are printed before wage type groups with a higher group number (such as "05"). Wage type subgroups with a lower group number are also printed before wage type subgroups with a higher group number.
The sequence in which the wage types are printed in a window can, therefore, be determined by assigning group numbers and subgroup numbers.
To enable the subsequent addition of wage types, you are advised to include a gap between each group number and subgroup number (eg. "05", "10", "15", etc).
Example
You want the following wage types to be printed in one window in the sequence specified:
MA40
MA10
MA20
MA50
To do this, you must take into account the following prerequisites:
  • All wage types are printed in the same window.

  • All wage types have the same line and column type.

  • No retroactive accounting information is printed.

You can ensure that the above wage types are printed in the required sequence by assigning them the following group numbers and subgroup numbers, for example:
Wage type Group number Subgroup number
MA10 05 05
MA20 05 05
MA40 05 02
MA50 05 05

All wage types were assigned to the same group ("05"). The sequence in which the wage types are printed is determined in this example by the subgroup number. The lower subgroup number "02" means that wage type "MA40" is printed before the other wage types. The remaining wage types with the same group number and subgroup number are sorted and then printed by wage type (see "Wage type sorting"), taking the above conditions into account.
To enable the subsequent addition of wage types, a gap was included between the group numbers and subgroup numbers.
  • Group numbers and subgroup numbers for wage types in superlines
All wage types that must be printed in the same line (superline) must have the same group number, subgroup number and line type and a numeric column type. If you set up more than one superline, at least one of the following values must be different for each one:
  • window

  • group

  • subgroup

You should assign group and subgroup numbers with gaps between them for wage types in superlines (e.g. "05", "10", "15").
Example:
You want the following wage types to be printed in the same line of a window:
MA10,,,,MA20
You also want the following wage types to be printed in a different line in the window:
MA40,,,,MA50
In this example, you must assign the same group number, subgroup number and line type to both wage types. The column types of the wage types must be numeric and in ascending order, starting with "01". Furthermore, at least one of the values for the two superlines must be different. In this example, a different value has been chosen for the subgroup number:
Wage type Group no. Subgr.no. Line type Column type
MA10 05 05 01 01
MA20 05 05 01 02
MA40 05 10 01 01
MA50 05 10 01 02

Line and column type

The line type and column type, which must be assigned to every wage type, enable you to determine which wage type information is printed and which layout is used.

The required layouts with their respective line type and column type have already been defined in the step "Set up line layout in window".

If you discover at this point that there is no appropriate layout for a specific wage type, simply return to "Set up line layout in window" and set up the layout.

Indicator for difference relevancy

This indicator is only relevant if you want to start the report that creates remuneration statements using at least one of the following two parameters:

  • Using parameter "D" as the first character in the field Print current period.
If this parameter has been set, a remuneration statement is only created if there is a difference between the result of the current period and the result of the previous period for specific wage types.
Example:
The period consists of one month. Difference relevancy will be taken into consideration for February and March.
In this example, the system checks whether the payroll run created in February for February differs from the payroll run created in March for March.
  • Using "L" as the parameter in the Print retroactive accounting field.
If this parameter has been set, retroactive accounting runs are only printed if there is a difference between the result of the current period and the result of the last payroll run for specific wage types.
Example:
The period consists of one month. Difference relevancy will be taken into consideration for February and March.
In this example, the system checks whether the payroll run created in February for February differs from the payroll run created in March for February.

If you do not set an indicator for difference relevancy for any wage types and then start the report with "D" as the parameter in the Print current period field and/or "L" in the Print retroactive accounting field, all available wage types are checked for differences.

By setting the indicator for difference relevancy, you can limit the number of wage types that are checked for differences if the parameters named above have been set. However, indicators for difference relevancy can only be used for wage types which have table name "RT".

The following values can be entered for the indicator:

  • D (for parameter "D")
All wage types marked with a "D" and which also have table name "RT" are scanned for differences between the result of the current period and the result of the previous period. If a difference is found for at least one of these wage types, a remuneration statement is created for the current period.
This value is only taken into account if you start the report that creates remuneration statements with parameter "D" set in the field Print current period.
  • R (for parameter "L")
All wage types marked with an "R" and which also have table name "RT" are scanned for differences between the current result and the result of the last payroll run but one. If a difference is found for at least one of these wage types, a retroactive accounting statement is printed.
This value is only taken into account if you start the report that creates remuneration statements with "L" as the parameter in the Print retroactive accounting field.
  • * (for parameters "D" and "L")
All wage types marked with an "*" and which also have table name "RT" are scanned for differences between the result of the current period and the result of the previous period (indicator "D") as well as for differences between the result of the current period and the result of the last payroll run but one (indicator "R").
This value can only be taken fully into account if you start the report that creates remuneration statements with "D" as the parameter in the Print current period field and "L" in the Print retroactive accounting field.

Rule for form editing

If data is selected according to certain conditions, you can specify a rule identifier in this field. The rule controls the selection of information.

You can specify rules in the step "Set up special processing rules".

Note:

If the total amount ("XRT-BETRG"), number ("XRT-ANZHL") and rate ("XRT-BETPE") of a wage type are "0", the wage type is not selected to be displayed in a window because of a setting in the program itself, even if a rule has not been assigned.

EXAMPLE

An overview of the abbreviations used in the example can be found under the heading "Abbreviations used" at the end of this activity.

You want the names and monthly values of the following wage types to be printed in the sequence specified in the window with identifier "F1":

MA40 Voluntary bonus
MA10 Pay scale salary
MA20 Pay scale bonus
MA50 Compensation bonus

Please take the following into account:

  • Wage type "MA10" is already cumulated in a cumulation wage type using the number "01".
  • A layout exists with line type "01" and column type "X" for printing the name and amount of a wage type in the same line.
  • No retroactive accounting is printed.

You can ensure that the above wage types are printed under the specified conditions by making the following entries:

WType Tab No Win Gr SGr LType CType
MA10 R 02 F1 05 05 01 X
MA20 R   F1 05 05 01 X
MA40 R   F1 05 02 01 X
MA50 R   F1 05 05 01 X

Wage types are assigned to the correct window by window code "F1". The wage type values to be printed (name, monthly value) are stored in the payroll results table "RT". The entry for wage type "MA10" is also distinguished by the number "02" from the entry which already exists for this wage type, which has the number "01".

The sequence in which wage types are printed is determined by the group number and subgroup number. All wage types were assigned to the same group ("05") in this example. Therefore, the subgroup number alone determines the print sequence. The lower subgroup number "02" ensures that wage type "MA40" is printed before the other wage types. The remaining wage types with the same group number and subgroup number are sorted and then printed by wage type, taking the above conditions into account. Gaps were left between the group numbers and subgroup numbers to enable the subsequent addition of wage types. The combination of line type "01" and column type "X" ensures that the data corresponding to each wage type is printed on the same line according to a predefined layout.

Compression indicator (DSPLIT)

You can specify a compression indicator for specific wage types in field DSPLIT. This ensures that the wage type is always printed without splits on the remuneration statement.

Wage type compression is described in the "Compress wage types" activity.

ABBREVIATIONS USED

In the above examples, the following abbreviations are used:

WType Wage type
Tab Table name for form control
No Number
Win Window code
Gr Group number
SGr Subgroup number
LType Line type
CType Column type

ACTIVITIES

Set up the required wage types in the window.






Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 26793 Date: 20240523 Time: 195642     sap01-206 ( 314 ms )