RHREPL00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a sequential file of records from the PLOG file in which persons are replaced with users provided that the relevant relationship exists in the HR master record...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 RHREPL00 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: DSLOGNAM = Logical file name
Selection Text: PCHPLVAR = Plan version
Selection Text: SANZ = Display transported records
Selection Text: SEARK = Organizational unit
Selection Text: SEL_BOX = Standard selection screen
Selection Text: TEST = Test
Title: Replace Persons with Users in PD Data Records -> Sequential File
Text Symbol: 001 = Plan version
Text Symbol: 002 = Organizational unit
Text Symbol: OPT = Options
Text Symbol: SEL = Selection
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' * exporting * ASK_PLVAR_DIALOG = ' ' IMPORTING ACT_PLVAR = PCHPLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 1 OTHERS = 2.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = DSLOGNAM IMPORTING FILE_NAME = DS_PHY_NAME EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2.
RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING ORG_OBJECT_TYPE = ACT_OTYPE ACT_PLVAR = ACT_PLVAR ACT_SEARCH_STRING = SEARCH_FIELD IMPORTING ORG_OBJECT_OBJID = ACT_OBJID EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_OBJECT_ID_SELECTED = 2 OTHERS = 3.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = ACT_PLVAR OTYPE = ACT_OTYPE REALO = ACT_REALO ISTAT = '1' IMPORTING SHORT = ACT_SHORT STEXT = ACT_STEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = ACT_PLVAR OTYPE = ACT_OTYPE REALO = ACT_REALO ISTAT = '1' IMPORTING SHORT = ACT_SHORT STEXT = ACT_STEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
RH_MULTIPLE_OTYPE_SEARCH CALL FUNCTION 'RH_MULTIPLE_OTYPE_SEARCH' EXPORTING ACT_SEARCH = SEARCH_FIELD ACT_PLVAR = ACT_PLVAR IMPORTING SELECTED_OBJID = ACT_REALO TABLES OTYPE_TAB = OTYPE_TAB EXCEPTIONS NOTHING_FOUND = 1 NOTHING_SELECTED = 2 NO_ACTIVE_PLVAR = 3 OTHERS = 4.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = ACT_PLVAR OTYPE = ACT_OTYPE REALO = ACT_REALO ISTAT = '1' IMPORTING SHORT = ACT_SHORT STEXT = ACT_STEXT EXCEPTIONS NOT_FOUND = 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.
RHREPL00 - Replace Persons with Users in PD Data Records -> Sequential File RHREPL00 - Replace Persons with Users in PD Data Records -> Sequential File RHRELSQL - Native SQL Access for Index Creation RHRELSQL - Native SQL Access for Index Creation RHRELAT0 - Allowed Relationships of Object Types RHRELAT0 - Allowed Relationships of Object Types