Ansicht
Dokumentation

HRPY0001 - Set start/end date for cumulation data records

HRPY0001 - Set start/end date for cumulation data records

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

The user exit stored in this group enables you to assign the payroll results to the cumulation periods. Within the customer module, the start and end assigned in the payroll infotype for the respective payroll result is also determined based on customer rules.

If this module is active, the standard calculation stored in the HRCUMTYDATE module is ignored.

Refer to the following example to illustrate this principle:

*----------------------------------------------------------------------*

* INCLUDE ZXCALU01

*----------------------------------------------------------------------*

* Example of a customer modified begda/endda assignment

* This algorithm does not do anything useful. It is a

* SIMPLE example ! For another example of coding, refer to

* the function module "HRCUMTYDATE".

begda = a_versc-paydt.

endda = a_versc-paydt.

* Assign customer specific begda / endda for the

* entry in the cumulation infotype

if a_cumty = 'Y'.

move '0313' to begda+4(4) .

move '1222' to endda+4(4) .

endif.






PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1321 Date: 20240420 Time: 034915     sap01-206 ( 22 ms )