Ansicht
Dokumentation

RPUSTRCL_COSTS - Report deactivated

RPUSTRCL_COSTS - Report deactivated

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program converts table COSTS (PC2X0), which is part of payroll cluster (PCL2), from the Data Dictionary definition that was present before loading Note 821847 to the Data Dictionary that is present after loading note 821847.

This is only necessary if you use the new HRforms solution to interrogate your payroll results.

Integration

This program can be run many times in update mode. Payroll Results that have already been processed will be by-passed during subsequent runs.

Prerequisites

You have loaded the note which includes this conversion program or applied the changes manually.

Features

Selection

Convert only for Records: Choose the records you wish to convert or leave this field blank to convert ALL records. The PCL2 record keys are as follows; "PPPPPPPPSSSSS "

Where PPPPPPPP is the employee number (i.e. PERNR)

SSSSS is the sequence number of the payroll result (i.e. CDSEQ)

To convert just the records of employee number 1, then enter the following from and to values

From:,,0000000100001

To:,,0000000199999

Conversion only to date: Set this to the date that Note 821847 was applied to the environment (system) that you are currently running the conversion program. This date is defaulted to 31.12.9999, you will be able to choose an earlier date. (If you leave the field empty no records will be converted.)

Test Run: Change the defaulted value from 'X' to space when you wish to run a "live" run and actually update the database. Once a record has been run in "live" mode it will not be re-convert by this program, the ABAP dump that would occur is "caught" and the record is by-passed.

Version record not updated: Change the defaulted value from 'X' to space if, during a "live" run, you wish to update the VERSION structure with the following data.

VERSION-SAPRL = SY-SAPRL. (i.e. system release)

VERSION-NUMBER = NEW_VERSION. (i.e. no change)

VERSION-UNAME = SY-UNAME. (i.e. User id of person running the program)

VERSION-DATUM = SY-DATUM. (i.e. System Date stamp)

VERSION-UZEIT = SY-UZEIT. (i.e. System Time stamp)

VERSION-PGMID = 'RPUSTRCL_COSTS'.

However, there is no need to update the Version record as all of this data is available in the payroll structure called "PCL2", which is already updated when the program is run in "live" mode.

Standard Variants

Output

Activities

1) If you are running this program in 2006 (or later) please ENSURE that

a) GB CUSTOMERS: the IMPORT/EXPORT macros defined in RPUSTRRG_COSTS process ALL of the GB payroll tables. The "standard" definition of the GB payroll IMPORT/EXPORT macros are defined in the include HGBPAYMACRO.

As at 31.10.2005, the last International table imported/exported is CODIST and the last GB table imported/exported is MSAX, but others may have been added later.

If RPUSTRRG_COSTS does not IMPORT/EXPORT all the tables that are IMPORTed/EXPORTed by HGBPAYMACRO then contact SAP before attempting to run this conversion program.

b) US CUSTOMERS: the IMPORT/EXPORT macros defined in RPUSTRRU_COSTS process ALL of the US payroll tables. The "standard" definition of the US payroll IMPORT/EXPORT macros are defined in the include HUSPAYMACRO.

As at 12.12.2005, the last International table imported/exported is CODIST and the last US table imported/exported is COSTS, but others may have been added later.

If RPUSTRRU_COSTS does not IMPORT/EXPORT all the tables that are IMPORTed/EXPORTed by HUSPAYMACRO then contact SAP before attempting to run this conversion program.

2) Find out the date when note 821847 (release 470 HRSP 43 / release 500 HRSP 10 / release 600 HRSP 1) was loaded into each of your environments (i.e. DEV, TST/QA and PRD).

3) Using transaction SE16 and table PCL2 find out how many payroll results you have in PCL2 cluster RG, that were created before each of the dates, from 1) above, in each of the environments. This will allow you to judge how long the conversion will take in each environment.

500,000 PCL2 records take approximately 45 minutes to convert!

4) Set the date from 1) above in the date field provided (Convert only upto date PCL2-AEDTM) as you run the conversion in each of these environments.

5) Test the conversion for a group of employees (using the Convert only for Records selection fields) this will be across all clients in your DEV or TST/QA environment and make sure that you are happy with the outcome both in Test and Live modes.

6) Then follow exactly the same procedure for all of your employees. (You can re-run the employees already processed)

Payroll results processed that do not need processing (i.e. that have already got the correct structure boundaries) will be by-passed and the following message will be issued.

"The record PPPPPPPPNNNNN could not be imported in client ???"

7) When you are happy with the results in DEV & TST/QA environments, run the test and live runs in your PRD environment (i.e. live/production system).

Example






ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 6068 Date: 20240520 Time: 110104     sap01-206 ( 98 ms )