RHPMSIM4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program transfers payroll results already posted into cost planning (cluster PCL5) with the result that HR Funds and Position Management determines the required funds of settled personnel from the updated actual results and not from the payroll simulation...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RHPMSIM4 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Transferring Payroll Results Already Posted
INCLUDE RHPMCONST.
No SAP DATABASE tables are accessed within this REPORT code!
RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = plvar.
RH_PM_GET_MOLGA_FROM_PERNR * CALL FUNCTION 'RH_PM_GET_MOLGA_FROM_PERNR' * EXPORTING * plvar = plvar * pernr = p_pernr * begda = p_begda * endda = p_endda * IMPORTING * molga = molga * EXCEPTIONS * OTHERS = 0.
CD_READ_RGDIR CALL FUNCTION 'CD_READ_RGDIR' EXPORTING persnr = p_pernr "#EC DOM_EQUAL TABLES in_rgdir = i_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = entry IMPORTING calcd = retro.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = entry IMPORTING calcd = retro.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.