RHPNPSUB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program scans the PD database and gathers personnel numbers provided that objects of type P are contained in the chosen object set...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 RHPNPSUB into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RE_RHPNPSUB - Start PA Reporting via PD
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: DYNP = Extended personnel selection
Selection Text: REPID = PA reporting
Selection Text: SORT = Sort by personnel number
Selection Text: VARIANT = Report variant
Title: Start HR reporting via Personnel Planning structures
Text Symbol: 001 = does not exist in the library
Text Symbol: 002 = is not reporting via the PA database
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 0.
REPOSITORY_INFO_SYSTEM_F4 CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4' EXPORTING object_type = 'PROG' object_name = repid suppress_selection = suppress_selection IMPORTING object_name_selected = repid EXCEPTIONS others = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.