Programme SAP RPU46ASENT525A - Maintenance of Tables T525M, T525N, T525O Acc. to Content of T525A

Description
This report converts part of the newly defined data model for thecalculation of an employment period. It makes the relevantchanges for the selection rule.
The Calculation of Employment Period module was developed forRelease 4.0A and enhanced for Release 4.6A. To enable you to use thechanged functions, entries from the existing tables must be convertedto new tables.

Status of the old model in Release 4.0A
The part of the model converted by this report consists of three tablesin the 4.0A model:

  • Table T525A (Selection Rules for Employee Data) and table T525B
  • as the accompanying text table
    (Note: Table T525A was previously called HR Valuation Rule forEmployee Data.)
    • Table T525C (Definition of Valuation Models for Employee Data)

    • Table T525C defines which selection rules belong to a valuation model,in other words, which selection rules are to be evaluated in avaluation model.
      • Table T525L (Valuation Models for Employee Data) and table T525D
      • as the accompanying text table

        New model in Release 4.6A

        Modification
        This report creates the entity table T525N (Selection Class) asa temporary table. It defines:

        • Which selection rules belong to a selection class

        • Which selection classes are evaluated within a valuation model
        • Tables in the new model
          From Release 4.6A, the part to be replaced consists of five tables:

          • Table T525A (Selection Rules for Employee Data) and table T525BN
          • as the accompanying text table
            • Table 525M (Assignment of Selection Rules to Selection Classes)

            • Table T525N (Selection Class and table T525NT as the
            • accompanying text table
              • Table T525O (Assignment of Selection Classes to Valuation Models
              • )
                • Table T525L ( Valuation Model) and table T525D as the
                • accompanying text table
                  Table T525C is no longer used in the model.

                  Description of the conversion
                  A selection class is created in table T525N for each selection rule intable T525A. Table T525M creates a link between the existing selectionrule and the new selection class. The new selection class inherits itsname and the descriptive text from the existing selection rule.
                  For each relationship between a valuation model and a selection rule intable T525C, a relationship is created in table T525O between the samevaluation model and the corresponding selection class.

                  Conversion of weighting factor
                  In Release 4.0A, a selection rule could be used in different valuationmodels. The evaluation was dependent on the weighting factor (fieldWEGHT) stored in the selection rule (T525A).
                  As of Release 4.6A, this weighting factor is assigned to a selectionclass within a valuation model and is defined in table T525O. Theweighting factor consists of two fields (numerator and denominator).
                  In table T525N, a selection class is created in the first program stepfor each selection rule. Both entities have the same key. In Release4.0A, the assignment of a selection rule for a valuation model wasdefined in table T525C. The report uses this assignment to create anentry in table T525O. The weighting factor stored in the selection ruleis copied to the numerator for each entry whose selection class has thesame key as the selection rule. The value 1 is copied to thedenominator.

                  Conversion of selection rule texts to selection class texts
                  This conversion applies all selection rules. An entry is created intable T525NT for each entry in table T525B.

                  Preconditions
                  This report can only be executed if no entries exist in tables T525M,T525N, T525NT, and T525O.
                  If entries already exist and you still want to run this report, youmust first delete all entries in these tables.

                  Output
                  A message is displayed when the report has been run successfully.