SAP Reports / Programs | Personnel Management | Budget Management(PA-PM) SAP PA

RHPMSIM0 SAP ABAP Report - Payroll Simulation for Entire Organization/Overall Budget







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RHPMSIM0. "Basic submit
SUBMIT RHPMSIM0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHPMSIM0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RHPMSIM0

INCLUDE PMSIMTOP.
INCLUDE RHPMSIMX.
INCLUDE RHPMSCMA.
INCLUDE RKASMAWF.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RHPMSIM0 or its description.