Ansicht
Dokumentation
RP_SET_PRDAT_PRTEV - HR: Set PRDAT and PRTEV in Payroll Status infotype (0003)
ROGBILLS - Synchronize billing plans Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
This function module enables you to directly set the Earliest personal retroactive accounting date and Earliest personal recalculation date for time evaluation for a single personnel number. You cannot, however, use it to delete the existing value in this field and reset the initial value.
This is done by setting the relevant field in the Payroll Status infotype (P0003-PRDAT or P0003-PRTEV). The date is only set to the input value if the old value is smaller. Otherwise an exception occurs, and an update is not performed.
However, if you choose the value 'X' for the P_FORCE input value, the current date is set.
When you use this function module, you can choose whether or not to lock the personnel number (ENQUEUE). If the default is not used ('X'), the personnel number should not be locked (' ') if the calling program has already done so.
The Payroll Status infotype (0003) is changed when it is updated. An infotype log may be written if required.
Example
Notes
Further information
Documentation on the function group.
Documentation on other modules in the function group.
Parameters
P_ENQUEUEP_FORCE
P_PERNR
P_PRDAT
P_PRTEV
Exceptions
NO_PERNROLD_PRDAT_HIGHER
OLD_PRTEV_HIGHER
PERNR_ENQUEUED
Function Group
RPRRROGBILLS - Synchronize billing plans ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1656 Date: 20240523 Time: 134409 sap01-206 ( 35 ms )