RHPAPSUB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program searches the PD database for applicant numbers according to the selection criteria you specify provided that there are objects of type AP in the selected 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 RHPAPSUB 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: DYNP = Extended applicant selection
Selection Text: REPID = Applicant reporting
Selection Text: SORT = Sort by applicant number
Selection Text: VARIANT = Report variant
Title: Start applicant reporting via Personnel Planning structures
Text Symbol: 001 = does not exist in the library
Text Symbol: 002 = is not reporting via the applicant 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.
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 CANCEL = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.