Ansicht
Dokumentation

RPUACTG0 - Dynamic Action on ITs 0000 & 0001

RPUACTG0 - Dynamic Action on ITs 0000 & 0001

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Subroutines for dynamic actions on infotypes 0000, 0001 and 0121 for multiple employment.

Purpose

This report contains two subroutines which are called from dynamic actions on the 'Actions' infotype (IT0000), the 'Organisational Assignment' infotype (IT0001) and the infotype 'Reference

Personnel Number Priority' (IT0121)

The form 'CHECK_ME'is used in the dynamic action on infotype IT0001 during the hiring event and fills the structure P08_REF_PERNR which is used to create the 'Payroll Priority' infotype (IT0121).

The personnel number for the newly hired person is inserted in the previous priority ranking of IT0121 in the following way:

  1. Retain previous order.
  2. Longest or shortest earning period depending on a switch (hard-coded).
  3. Sort the same earning periods by hire date.

The form 'LEAVE_ME' is called by the dynamic action on the 'Organisational Assignment' infotype (IT0000) when an employee leaves. It deletes the 'leaving' personnel number from the previous record of infotype IT0121 in background processing.

The form 'UPDATE_RECORD' is called from the action on infotype 0121. The form checks, in dependence of the current action (hire/leave/reentry), if the actual personnel number must be added or deleted from succeeding records.

Example

An employee starts a new contract on a new personnel number at 01.07. The reference personnel number already has a record of IT0121, with a split at 01.08. The dynamic action on infotype 0001 creates a new record of infotype 0121 beginning at 01.07, ending 31.07. The dynamic action on infotype 0121 then appends this number to all following records of IT0121.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1860 Date: 20240601 Time: 211949     sap01-206 ( 56 ms )