SAP ABAP IMG Activity OHIGBPBS020101 (Activate syncronisation during Personnel Actions)
Hierarchy
SAP_HRCGB (Software Component) Sub component SAP_HRCGB of SAP_HR
   PY-GB-PS (Application Component) Öffentlicher Dienst
     P08P1 (Package) HR Public Sector Great Britain
IMG Activity
ID OHIGBPBS020101 Activate syncronisation during Personnel Actions  
Transaction Code S_KI4_29000083   IMG-Aktivität: OHIGBPBS020101 
Created on 19991221    
Customizing Attributes OHIGBPBS020101   Activate the syncronisation of Payroll Priority infotype (0121) 
Customizing Activity OHIGBPBS020101   Activate the syncronisation of Payroll Priority infotype (0121) 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHIGBPBS020101    

The Payroll Priority infotype (0121) is one of the central infotypes in the Multiple Employment solution. The data in this infotype must be kept syncronised with the start and end dates of the various contracts of employment that an employee has.

Incorrect data in the Payroll Priority infotype (0121) will lead to rejections in payroll or in the worst case scenario incorrect payment. For this reason, we deliver three Dynamic Measures to help clients syncronise the data in this infotype with the data of the person as a whole.

The three Dynamic Measures must be correct in your system.

Example

An employee is working under many contracts of employment for you. This can be realised by assigning several 'reference personnel numbers' to the same employee, each reflecting a different contract.

These contracts will be processed by payroll in Personnel Number order, but need a specific payroll priority order for certain payroll processes. This order is defined in the Payroll Priority infotype (0121), by listing the personnel numbers in a specific order and defining a MAIN contract.

If the same employee starts a new contract , a new personnel number is created (Hiring Action) and a new Payroll Priority infotype (0121) record has to be created, including this new personnel number. The same procedure is used for re-entries (Re-hiring Action).

When an employee terminates one or all of their contracts (Firing Action), the personnel number of each terminated contract has to be removed from the list in the Payroll Priority infotype (0121). However, the last active contract is not removed from the list in the Payroll Priority infotype (0121) and remains as the "Terminated Primary".

Requirements

The contracts of employment must be "hired" in the order of their start dates. The dynamic measures do not support the hiring of a contract that actually started BEFORE the last contract was hired. This form of "poor" data input must be "processed out" by the clients.

This is not a normal late starter scenario.

This is scenario will only occur when departments act independently when dealing with the contracts of employment of the same employee AND the different departments do not have the correct processes in place to make sure that the contracts of employment are processed in the order in which they are due to start!

This can be filled manually in the 'Event' infotype (IT0000) or filled in dynamically (via a match on N.I. Number, Date Of Birth, Sex and finally surname) in the 'Personnel Details' infotype (IT0002). So for any Multiple Employment Solution "Hiring Action'" the first three infotypes MUST be IT0000, IT0002 and IT0001 in order.

Standard settings

Three dynamic measures are delivered by the standard SAP system.

The first dynamic measure is used during the termination process for an employee. It creates a new infotype record by deleting the personnel number from the reference list. It is called from 'Actions' infotype (IT0000).

04    100        ****PUBLIC SECTOR GREAT BRITAIN ***

04    101        ****CREATE IT 0121 IF NECESSARY****

04    102    P    T001P-MOLGA='08'

04    103    P    PSPAR-TCLAS='A'

04    104    P    PSYST-FIRST<>'1'

04    105    P    P0000-STAT2='0'

04    106    P    PSAVE-STAT2<>'0'

04    107    F    LEAVE_ME(RPUACTG0)

The second is used to create a new record in the Payroll Priority infotype (0121). It copies all information from the previous record and inserts the new personnel number. This dynamic measure is called from the 'Organisational Assignment' infotype (IT0001) during the hiring process. It is only triggered, if the field 'Reference Personnel Number' is filled.

04    0        ****PUBLIC SECTOR GREAT BRITAIN****

04    1        ****CREATE IT 0121 IF NECESSARY****

04    2    P    T001P-MOLGA='08'

04    3    P    PSPAR-TCLAS='A'

04    4    F    CHECK_ME(RPUACTG0)

The last action is called from the Payroll Priority infotype (0121) itself. The aim of this action is to update the later records of the Payroll Priority infotype (0121), which means that new numbers have to be added to the following records, respectively, personnel number will be deleted from them, if the persons contract is complete (leave).

06    0        ****PUBLIC SECTOR GREAT BRITAIN ****

06    1        ****UPDATE SUCCEEDING IT0121 RECORDS **

06    2    P    T001P-MOLGA='08'

06    3    P    PSPAR-TCLAS='A'

06    4    F    UPDATE_RECORD(RPUACTG0)

Activities

The dynamic actions are controlled by the customising table T588Z. The following fields in this table have to be filled:

  1. Infotype: specify infotype (field documentation)
  2. Subtype : specify subtype Field name: specify field name
  3. Function character of step : Decides whether the record should be created, changed, .... (field documentation)
  4. Sequential number
  5. Indicator for step : (field documentation)
  6. Variable function part: Set up the rules (field documentation)

It is possible to call subroutines (forms) in ABAP programs directly from a dynamic action. The actions used here are designed to create records in the Payroll Priority infotype (0121), using subroutines from the report 'RPUACTG0'. See also the documentation of this report.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHIGBPBS020101 GB United Kingdom
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHIGBPBS020101 0 HLA0009562 Absences 
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
VV_T588Z_0000___PL0 V - View SM30 Dynamic Action for Leaver on Infotype Actions (0000) 
VV_T588Z_0001___PL0 V - View SM30 Dynamic Action for Hire on Infotype Org.Assignment (0001) 
VV_T588Z_0121___PL0 V - View SM30 Dynamic Action, update infotype Ref.Per.No Priority (0121) 
History
Last changed by/on SAP  20020220 
SAP Release Created in