Ansicht
Dokumentation

OHAXTI362 - Define Generation Rules

OHAXTI362 - Define Generation Rules

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you specify how time wage types are formed for TIP entries.

You have specified the rules to be checked in the Time Wage Type Selection Rule Group and the Day Grouping. These rules are checked according to the sequence of the sequential numbers.

The check starting point is the processing type that originated with the TIP entry. The remaining conditions are essentially split up into three groups:

  • Conditions regarding the day:
    This is where you specify the conditions for wage type generation relating to a day, based on the public holiday class, the daily work schedule class, the day type, and so on.
  • Conditions regarding time:
    This is where you specify whether the wage type should be generated only after a certain number of hours or whether the relevant TIP entry must be within a specific time interval.
  • Control:
    You can specify whether the system is to continue checking the rules after it has found one that applies. It is also possible to generate the wage type with a fixed value depending on the duration of the TIP entry, if this rule applies.
  • The wage type MM10, overtime 25%, is to be generated for processing type "M" (overtime). The wage type is to be generated if the overtime was done on a workday and the current day is not a public holiday.
  • If the employee worked more than two overtime hours, the wage type MM10 (Overtime 25%) is to be generated for the first two hours. For the remaining hours, the wage type MM20 (Overtime 50%) is to be generated.

The wage types that you want to assign in time evaluation have been defined.

The standard system contains sample entries.

Count up from the current rule number in increments of ten. In this way, it is easy to add further rules at a later time.

If you activate the switch TIMGT T510S in your system for table T77S0 (system table), a button with a function that lets you check for overlapping entries in the view Time Wage Type Selection Rule (V_T510S) becomes available. For more information, see SAP Note 2177959.

  1. At the start of the evaluation schema, you specified how employees are to be grouped for assigning TIP entries to wage types. You can check the assignment in the Check Assignment of Time Wage Type Selection Rule activity.
  2. For TIP entries that originated from absences, time wage types are generated only if the absences are valuated according to the "as if" principle. In the Absence Valuation: Check "As If" Principle activity, check for which Absence Valuation Rules the Time Wage Type Selection field needs to be selected.
  3. In the Define Generation Rules activity, you specify the rules for time wage type selection:
    1. Decide here to which time wage type selection rule group you want this rule to apply. Enter the group in the Time Wage Type Selection Rule Group field. You can define names under Define Names for Time Wage Type Selection Rule Groups.
    2. The rules for time wage type selection can vary according to day grouping. Decide for which day groupings you want to create your own rules and enter the grouping numbers in the Day Grouping field. You can define names under Define Names for Day Groupings for Time Wage Type Selection.
    3. There can be multiple rules to check for each of the two groups mentioned above. Enter the sequential number of the rule in the SNo field.
    4. Decide from which processing types the wage type is to be generated. Enter the wage type in the Wage Type field, and the processing types from which this wage type is to be generated in the Valid Processing Types fields.
    5. Decide for which weekdays you want to generate this wage type. Enter a checkmark in the Weekdays field for each day of the week: "1" for Monday, "2" for Tuesday, and so on.
    6. Decide which public holiday class must apply on the previous, current, and next day for this wage type to be generated.
    7. Decide for which of the period work schedule and daily work schedule classes you want to generate the wage type.
    8. Decide for which day type this wage type may be generated.
    9. Decide whether the wage type is only to be generated if the TIP entry lies within a certain interval. Enter this time interval in the Start Time and End Time fields.
    10. Decide whether you want to generate the relevant wage type only if a specific number of hours exist for the processing type. Enter the value in the Min. Hours field. Instead of specifying an explicit number of hours, you can also make a symbolic entry in the Symb. field. Enter "S" if the lower limit is to correspond to the number of planned hours on the day or enter "T" if it is to correspond to the number of hours on the day for 100% employment percentage. Enter a "U" if it is to correspond to the average working hours per day in accordance with the work schedule rule.
    11. Consider whether you only want to generate this wage type for the first hours of a certain processing type. Enter the value in the Max. Hours field. Instead of specifying an explicit number of hours, you can also make a symbolic entry in the Symb. field. Enter "S" if the upper limit is to correspond to the number of planned hours on the day or enter "T" if it is to correspond to the number of hours on the day for 100% employment percentage. Enter a "U" if it is to correspond to the average working hours per day in accordance with the work schedule rule.
    12. If you have defined an upper or lower limit, you can specify processing types for the total of which the condition is to be checked. Enter these processing types in the Count PTypes field.
    13. If you have defined an upper and lower limit as well as a time interval, you can specify whether the condition is only to apply to TIP entries that are found in this specific interval. In this case, activate the Interval field.
    14. If a TIP entry is between clock-in and clock-out time, it is possible to generate the wage type with a fixed value, that is, irrespective of the duration of the TIP entry. Enter the required value in the Fixed Value field.
    15. If the rule is met for a TIP entry, you can stop processing the rule and start processing the next rule in the time wage type selection. To do so, select the Exit Rule field.
    16. If the rule is met for a TIP entry, you can also exit the time wage types selection. To do so, select the Exit Time Wage Type Selection field.
  • The fields in the "Conditions Regarding Time" section are optional.
  • If you have filled the Min. Hours or Max. Hours field, but have not made an entry in the Count Ptypes field, the system includes the processing type specified in parameter 2 when function GWT is called.
  • You can apply the following example for exiting the time wage type selection if a generation rule applies:

    Your employees are paid according to day records. If an employee works more than 4 hours, a full day record is paid, otherwise half of the day record is calculated.
    You can use fixed values to determine a time wage type with number 1 or 0.5 (displayed schematically) as follows:

    Processing Types Min. Max. Fixed Val. End Wage Type
    S 4.00 1.00 X abcd
    S 0.00 4.00 0.50 abcd

    If the employee works 5 hours, for example, the first rule applies. The wage type abcd is generated with number 1 and processing is stopped. If the employee works only 3 hours, the condition on the lower limit for the first rule is not fulfilled, so the second rule applies. Wage type abcd is filled with the fixed value 0.5.
    Wage type abcd is now available in payroll with the correct number for valuation with the day record.

    Note that the sequence of the generation rules is important in the example shown above.





CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 9616 Date: 20240523 Time: 180711     sap01-206 ( 169 ms )