RHPMSIM0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program simulates a payroll run so that you can determine how much financing is required for HR Funds and Position Management...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 RHPMSIM0 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.
Selection Text: DELETE = Delete
Selection Text: UPDATE = Refresh
Title: Payroll Simulation for Entire Organization/Overall Budget
Text Symbol: 001 = Edit
Text Symbol: 002 = Refresh
Text Symbol: 003 = Delete
Text Symbol: 004 = Editing period
Text Symbol: 005 = to
Text Symbol: 006 = Personnel no.:
Text Symbol: 007 = Organizational assignment missing
Text Symbol: 008 = Payroll results missing
Text Symbol: 009 = Simulation of payroll results
Text Symbol: 010 = Assignment of wage type to expenditure type incorrect
Text Symbol: 011 = Error during internal processing
Text Symbol: 012 = Error log
Text Symbol: 013 = Error occurred when deleting simulated results
Text Symbol: 014 = Simulate payroll run
INCLUDE PMSIMTOP.
INCLUDE RHPMSIMX.
INCLUDE RHPMSCMA.
INCLUDE RKASMAWF.
No SAP DATABASE tables are accessed within this REPORT code!
RH_PM_PAYROLL_SIMULATE CALL FUNCTION 'RH_PM_PAYROLL_SIMULATE' EXPORTING pernr = objec_tab-objid "#EC DOM_EQUAL begda = pchbegda " objec_tab-begda endda = pchendda " objec_tab-endda * simulation = simulate EXCEPTIONS no_org_assignment = 1 no_payroll_results = 2 no_expenditure_type = 3 error_during_hrpmsim_update = 4 OTHERS = 5.
RH_PM_HRPMSIM_DELETE CALL FUNCTION 'RH_PM_HRPMSIM_DELETE' EXPORTING pernr = objec_tab-objid "#EC DOM_EQUAL begda = pchbegda endda = pchendda commit = 'X' EXCEPTIONS delete_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.