SAP ABAP IMG Activity OHAFAD002 (Transfer Payroll Account)
Hierarchy
SAP_HRCFR (Software Component) Sub component SAP_HRCFR of SAP_HR
   PY-FR (Application Component) France
     P06C (Package) HR Customizing: France
IMG Activity
ID OHAFAD002 Transfer Payroll Account  
Transaction Code S_AHR_61009366   IMG Activity: OHAFAD002 
Created on 19981221    
Customizing Attributes OHAFAD002   Transfer Payroll Account 
Customizing Activity OHAFAD002   Transfer Payroll Account 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHAFAD002    

This section explains how to transfer payroll accounts from your old system. It concentrates in particular on the difference between transfers for periods beginning on the first of the year and for periods that begin at some other point during the year. It also deals with customer-specific calculation of averages.

Activities

  • The payroll account which you wish to transfer from the old system is written to a sequential file.
  • Report RPULKT00, the program for transferring payroll accounts, reads the data from the sequential file and stores the payroll account in table T558A.
  • Schema FLK0 in the payroll accounting program retrieves the wage types from table T558A and forms payroll results, which are then stored in cluster RF of database table PCL2.

Procedure

  • Decide which wage types you want to convert.
    You will find sample entries stored under personnel number 00000000 in table T558A. These sample entries are explained in detail below.
  • Report RPULKT00 is a sample report which you must modify to suit your own needs.
    This report contains the data definition structure of a record in the sequential file.

    data: begin of satz,
    lenge(2), "Vorspann bei sequentiellen
    reser(2), "...Datasets mit variablen Saetzen
    pernr(8), "Personalnummer
    begda like t558a-begda,
    endda like t558a-endda,
    * 1.Abrechnungselement altes Lohnkonto
    lga01(4), "Lohnart 01
    bpe01(8) type p decimals 2, "Betrag/Einheit 01
    anz01(8) type p decimals 2, "Anzahl 01
    btr01(8) type p decimals 2, "Betrag 01
    * 2.Abrechnungselement altes Lohnkonto
    lga02(4), "Lohnart 02
    bpe02(8) type p decimals 2, "Betrag/Einheit 02
    anz02(8) type p decimals 2, "Anzahl 02
    btr02(8) type p decimals 2, "Betrag 02
    * so oft wiederholen, wie Sie maximal Elemente eingeben wollen
    * Maximalzahl muss mit Feld REPEAT uebereinstimmen.
    end of satz,
    repeat(2) type p value 2. "Anzahl der Wiederholungen in SATZ

This data structure must be modified to include the fields for wage type, rate and number (named WYTnn, RTEnn and NUMnn respectively, with 'nn' standing for the two-digit sequential number given to the element). This must be done for each payroll element or wage type that is transferred.

  • After you have done this,
    • create a sequential file from the payroll account in your old system
    • use report RPULKT00 to transfer the data to table T558A
    • and use the payroll driver with schema FLK0 to store the wage types contained in table T558A as payroll results in cluster RF.

Standard settings

Table T558A contains sample entries for payroll account transfer. These sample entries apply to period 1 or 4 of a year, depending on when the transfer takes place (i.e., on 1 January or later in the year).

There is a large choice of sample entries, so which of them do you use for what?

Payroll account transfers effected during the year

If the transfer is done during the year, you need to know what wage type data must be included in it.

No matter when a payroll account transfer is started, it must include the wage types required for payroll accounting and updating the payroll account, as well as those needed for employment tax certificates and the annual employment tax declaration.

Cumulated transfers or transfers for specific periods?

Basically speaking, you may transfer the payroll account either in cumulated form or for one specific period.

Customer-specific calculation of averages

If the calculation of averages is customer-specific, the average bases for the relevant number of previous months must be transferred for the exact (!) period in question.

In other words, if the basis is formed from an average of three months and the payroll account is transferred in January, the average bases for October, November and December must also be transferred.

The standard SAP version uses the following wage types for calculating
averages:
/204 Average amounts
/207 Average days
/208 Average hours

Example of a payroll account transfer starting in January

The average bases for 3 payroll periods are to be stored in T558A for every employee. The bases are to be transferred for the exact periods in question.

The wage types for the December income threshold deficits are to be transferred to T558A as well.

  1. Three periods have been entered in T558A for personnel number 00000005.


Table T558A:
==============
PERSNO PERIOD WAGE TYPE NUMBER AMOUNT
00000005 10/19xx /204 234.50
/207 22.00
11/19xx /204 345.30
/207 21.00
12/19xx /204 572.30
/207 22.00
/340 360.00 6,000.00
/341 360.00 18,000.00
/342 360.00 18,000.00
/3P8 360.00 6,000.00

  1. Payroll is then run for periods 10/19xx, 11/19xx and 12/19xx, using schema FLK0.

Afterwards, cluster RF will contain the following payroll results:

PERSNO PERIOD TABLE WAGE TYPE NUMBER AMOUNT
00000005 10/19xx RT /204 234.50
/207 22.00
00000005 11/19xx RT /204 345.30
/207 21.00
00000005 12/19xx RT /204 572.30
/207 22.00
/340 360.00 6,000.00
/341 360.00 18,000.00
/342 360.00 18,000.00
/3P8 360.00 6,000.00

Further notes

What is transferred to cluster RF?

The wage types in T558A are transferred to table RT. Tables CRT and SCRT are filled at the same time, depending on how the wage types in processing class 30 are coded. Tables WPBP, SV .... are filled from the master data. For this reason, the master data for any period used in a payroll account transfer must always be maintained.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHAFAD002 FR France
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHAFAD002 0 HLA0003824 Gross 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
PSCC L - Logical transport object PE00 FLK0F_01 HR: Transport Customer Schemas 
V_T558A V - View OH00 F_01 Transfer Payroll Account 
History
Last changed by/on SAP  19981221 
SAP Release Created in