SAP Program RPU40CQL - Conversion of payroll results in Release 4.0A


Conversion of Payroll Results Release 4.5B (RPU40CQL)

Description
The report program converts the payroll results for Australia countryversion. These payroll results are saved in cluster RQ in the PCL2file. We recommend that you create a backup copy of the PCL2 filebefore conversion. The report program has the 'Test run' parameter(this must be activated in the coding).If this parameter is flagged, nochanges are made to the database. The default value is set to nodatabase changes.
A conversion is necessary if changes have occurred when storing thepayroll results. These changes can occur if new fields are required inexisting tables, or the format of the field has changed.
Each change made during the storage of the payroll results triggers achange in the version number, which is also stored with each record,The payroll and evaluation reports can only work with records with thecurrent version number. However, since data from the past must often beaccessed, it is necessary to update these records so they have the sameformat as the current version. This is performed by this reportprogram.
This report program is mainly used to change old data after a releaseupgrade. The report program is started automatically because it isentered as an Execute Program After (XPRA) in the command fileperforming the upgrade.
The report program assumes that the payroll data has already beenconverted to the 4.0B format, therefore the RPU40ACL XPRA havealready been run.
The conversion takes place for all clusters and all clients.

Precondition
As this program contains only the general process control for theconversion for all countries and clients:
You must have implemented of all the forms in the Australia specificRPU40CRQ subroutine pool.

Output
The report program generates statistics relating to the conversion.These can be interpreted as follows:

  • A personnel number can have several payroll results (logical records).
  • Each payroll result may need several physical records for storage.
    • There are several alternatives for each logical record:

    • The record could be correctly converted
      The record has already been converted
      The record has a version number that cannot be supported
      An error has occurred during the conversion. A possible reason is thatthe existing record in the database is faulty
      The total of items 1 - 4 gives the number of logical records.
      • The data for the conversion is displayed in the statistics per client
      • and per cluster.
        • The results for clients and clusters are displayed as totals.

        • The statistics are either displayed on the screen or, if the report
        • program is running as an XPRA, using the log interface so that the usercan see the results of the conversion in the transport log.

          Example
          Conversion of HRMS payroll results:
          Overview

          • Total number of personnel numbers,,,,"1000"

          • Total number of physical records,,,,,,"21300"

          • Total number of logical records,,,,,,"20100"

          • Total number of records already converted,,"5"

          • Total number of records with incorrect version,,"2"

          • Total number of incorrect records,,,,,,"1"

          • Total number of converted records,,,,"20092"

          • Conversion for client "003": Country grouping "13" (cluster "RQ")

          • Number of personnel numbers,,,,,,"1000"

          • Number of physical records,,,,,,"21300"

          • Numbr of logical records,,,,,,,,"20100"

          • Number of records already converted,,,,"5"

          • Number of records with incorrect version,,,,"2"

          • Number of incorrect records,,,,,,"1"

          • Number of converted records,,,,,,"20092