Programme SAP RPU46ASENT525G - Maintain Tables T525P, T525S after Content of Table T525G

Description
This report converts part of the new data model for the calculationof the employment period. It changes the calculation rule tothe calculation process.
The Employment Period Calculation function has been developedfor Release 4.0A and enhanced for Release 4.6A. To enable you to usethe changed functions, entries from existing tables must be convertedto new tables.

Status of old model at Release 4.0A
In the model for Release 4.0A, the part to be converted by this reportconsists of three tables:

  • Table T525G (Calculation Rule for Time Specifications) and table
  • T525H as the accompanying text table
    Table T525G is a table with delivery class E (control table) andcontains the valuation model and the rounding rule to be evaluatedwithin the calculation rule.
    • T525L (Valuation Model for Employee Data)

    • T525E (Rounding Rule for Time Interval)

    • Table T525E is a table with delivery class C (Customizing table)and contains rules, for example, how durations are rounded.

      New model for Release 4.6A

      Modification
      As of Release 4.6A, the employment period calculation procedurecontains a calculation process (instead of a calculation rule).This report defines:

      • The general configurations for the calculation process

      • How the process steps are executed within a calculation process

      • Which valuation model and rounding rule is evaluated within a
      • calculation process, based on the employee's organizational assignment.
        The report adds a customer table to the existing model. This enablesyou to replace the SAP-defined configuration.

        Tables in the new model
        As of Release 4.6A, the part to be replaced will consist of thefollowing tables:

        • Table T525P (Calculation Process for Employment Period Calculation

        • ) and table T525PT as the accompanying text table.
          Both tables are E tables (containing SAP entries).
          • Table T525Q (Calculation Process Empl. Period Calculation
          • (Customer))
            This table is a C table (containing customer entries).
            • Table T525R (Process Step for Employment Period Calculation) and
            • table T525RT as the accompanying text table.
              • Table T525S (Assignment of Valuation Model and Rounding Rule)

              • Table T525L (Valuation Models for Employee Data)

              • Table T525E (Rounding Rule for Time Intervals)

              • Table T525U (Conversion Rules for Employment Period Calculation)

              • Table T525G is no longer evaluated during a calculation process.

                Description of conversion
                Table T525G, which is to be replaced, belongs to delivery class E. Inthe conversion, this report differentiates between the entries in thecustomer name range (9*) and the entries in the customer name range.

                Conversion of calculation rule to calculation process
                The SAP calculation rules are not converted into calculationprocesses by this report. This applies to all entries, with theexception of the entries in the customer name range (9*). The SAPcalculation processes are maintained by SAP.
                For each calculation rule created in the customer name range (T525G), acalculation process with the same key is created in table T525P foreach country grouping. The following configuration is assigned to thenew calculation processes (from the customer name range):

                • BEGDA = 1800/01/01

                • ENDDA = 9999/12/31

                • CRULE (conversion rule) = 0140

                • The feature CRULE uses the conversion rule for the previous evaluation.
                  • AUTHO = ' '.

                  • The authorization check is automatically deactivated.
                    No entry is required in table T525R (Process Step for EmploymentPeriod Calculation) for the transfer of the previous evaluations.

                    Conversion of calculation rule to assignment of valuation model androunding rule
                    Since table T525S (Assignment of Valuation Model and Rounding Rule
                    ) is a customer table, all entries are generated by this report.
                    An assignment to calculation process is created for each calculationrule (T525G) for each country grouping (T001P). The assignments arecreated with the following configuration:

                    • BEGDA = 1800/01/01

                    • ENDDA = 9999/12/31

                    • TSPST = Calculation rule-valuation model

                    • RNDRL = Calculation rule-rounding rule

                    • This assignment is only made if the calculation rule-evaluation rule(T525G) exists in table T525L ( evaluation model employee data).

                      Conversion of calculation rule texts to calculation process texts

                      This conversion only applies to the customer name range (9*). An entryis created in table T525PT for each entry in table T525H.

                      Note
                      No data is written to tables T525Q, T525R, and T525RT.

                      Preconditions
                      The report can only be executed if:

                      • there are no entries in table T525S and no entries in the customer name
                      • range for tables T525P and T525PT.
                        • if entries already exist, and you still want to execute this report,
                        • (you must first delete the entries in this table)
                          • if an entry exists in table T525L.
                          • Output
                            A message is displayed if the report has been executed successfully.