SAP Reports / Programs

RHREPL00 SAP ABAP Report - Replace Persons with Users in PD Data Records -> Sequential File







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


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 RHREPL00. "Basic submit
SUBMIT RHREPL00 AND RETURN. "Return to original report after report execution complete
SUBMIT RHREPL00 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: 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


INCLUDES used within this REPORT RHREPL00

No INCLUDES are used within this REPORT code!


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_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.



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 RHREPL00 or its description.