SAP Reports / Programs | Training and Event Management(PE) SAP PE

RHREFDOC0 SAP ABAP Report - Reference Documents in Training and Event Management







RHREFDOC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report for Displaying Reference Documents This report lets you search for and display documents that were generated by operations in billing and activity allocation, and in materials 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 RHREFDOC0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RE_RHREFDOC0 - Reference Document Reporting


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 RHREFDOC0. "Basic submit
SUBMIT RHREFDOC0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHREFDOC0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Reference Documents in Training and Event Management
Text Symbol: 001 = Reference Document
Text Symbol: 002 = Display Reference Document
Text Symbol: 003 = Selection Options
Text Symbol: 004 = Document Operation
Text Symbol: 005 = Operation status
Text Symbol: 006 = Selection Period
Text Symbol: 007 = Operation
Text Symbol: 008 = Log status


INCLUDES used within this REPORT RHREFDOC0

INCLUDE RHREPTOP.
INCLUDE RHALVINC.
INCLUDE RHREPVAL.
INCLUDE RHODAT00.
INCLUDE RHOINI00.


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_PART_TYPES_GET CALL FUNCTION 'RH_PART_TYPES_GET' TABLES patyp_tab = valid_otypes.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'HRV_EVENT' "#EC NOTEXT text = 'X' langu = sy-langu TABLES dd07v_tab = event_values EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'HRV_STATUS' "#EC NOTEXT text = 'X' langu = sy-langu TABLES dd07v_tab = status_values EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

RH_REFDOCFLOW_READ CALL FUNCTION 'RH_REFDOCFLOW_READ' EXPORTING in_eveid = in_eveid in_otype = in_otype in_objid = in_objid TABLES out_refdoctab = tmp_refdoc EXCEPTIONS nothing_found = 1 OTHERS = 2.

RH_REFDOC_DISPLAY CALL FUNCTION 'RH_REFDOC_DISPLAY' EXPORTING in_refdocno = alv_itab-refdocno * IN_REFDOCNOITEM = * TABLES * OUT_REFDOCTAB = EXCEPTIONS refdocno_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 RHREFDOC0 or its description.