Ansicht
Dokumentation

RPU46AF2 - Subroutine pool deactivated

RPU46AF2 - Subroutine pool deactivated

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Description

The program proceeds with the conversion of the payroll results stored n table RF of file PCL2.

A conversion only becomes necessary when modifications have been made in the saving of payroll results.
It is the structure modification of the fields in table SV that entails such modifications.
The fields concerned are the following (structure PC223):

  • REGNO Contributions model (from NUM3 to CHAR4)
  • ORGA1 AS contribution fund (from NUM3 to CHAR4)
  • COTIS Social charges and tax expenses (from CHAR2 to CHAR4)

Each modification in the saving of payroll results automatically entails a modification of the version number stocked in each record. The payroll calculation as well as the evaluation report can only work with the records containing the current number of the version. But as previous data is often appealed to, it is necessary to adapt these ancient records to the format of the current version.
This is the objective of this program.

The program is used when the previous data is modified after a 'put'.
Initiation is automatic because the program is situated on the command file that initiates the 'put' (this file is known as an XPRA: EXECUTE PROGRAM AFTER).

Note:
We recommend that you make a safety copy of the PCL2 file before the conversion. The program possesses a "Test" parameter (must be activated in the code). When it is marked, no modification of the data base is effected.

Requirements

The execution of the program implies that the calculation data have already been converted into 4.0 format or, in other words, that XPRA RPU40ACL has already been executed.

This program contains only the general execution command for the conversion for France. The system appeals to a subroutine pool (RPU46AF1) for the conversion.
This subroutine pool has been generated beforehand using the RPUGEN00 program (for which you can consult the documentation for further information).

Output

This program performs the conversion of data in all the clusters and clients.

The program supplies statistics relating to the conversion, which are to be interpreted as follows:

A personnel number may contain several payroll results (logical records). Each payroll result may use several physical records for saving.

Several scenarios exist for each logical record:

  1. The record was already converted.
  2. The record has a version number that is not maintained.
  3. An error has occurred during the conversion. The erroneous record on the data base may be the cause.
  4. The record has been correctly converted.

The cumulation of centers 1-4 gives the number of logical records.

The data relating to the conversion are indicated per client and per cluster in the statistics.

In addition, all the results for the clients and the clusters are issued in cumulated form.

The statistics are either issued on the monitor, or, when the program is activated as XPRA, through the log interface: it is thus possible to verify the result of the conversion in the transport log.

Example

  • Conversion of the HRMS payroll results
  • Overview
  • Total number of personnel number..................."1000"
  • Total number of physical records..............."21300"
  • Total number of logical records................"20100"
  • Total number of records already converted.........."5"
  • Total number of erroneous version records.........."2"
  • Total number of erroneous records.................."1"
  • Total number of converted records.............."20092"
  • Conversion for client: "003": Country group "01" (cluster "RD")
  • Number of personnel numbers........................"1000"
  • Number of physical records....................."21300"
  • Number of logical records......................"20100"
  • Number of records already converted................"5"
  • Number of erroneous version records................"2"
  • Number of erroneous records........................"1"
  • Number of converted records...................."20092"

Activities

Check the messages displayed by the system during the execution of the program. In the event of errors, correct them before restarting the program.






CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 5130 Date: 20240601 Time: 080343     sap01-206 ( 70 ms )