SAP Message 3G819 - Missing/superfluous modules in selection program &1 (&2 &3 &4)

Diagnosis
The system has identified inconsistencies when checking the selectionprogram &V1&.
The system has different requirements of the selection programdepending on whether the off-cycle process is started using theOff-cycle workbench transaction or using the HR processworkbench.
If you start the process from the Off-cycle workbench, only thefunction module HRPY_PROCESS_FIRE_EVENT is required.
If you start the process from the HR process workbench, insertthe function modules HRPY_PROCESS_INIT_SELECTION andHRPY_PROCESS_CLOSE_SELECTION.
The following function modules were found:

  • V2

  • V3

  • V4
  • Procedure
    Please change the selection program so that it contains the correctfunction modules for the required task. You can use the programsH99_SELECT_OFF_CYCLE (start from off-cycle workbench) andH99_SELECT_OC_ALL (start from HR process workbench) as models.