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

RHREFDOCCHECK SAP ABAP Report - Reference Document Checks







RHREFDOCCHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RHREFDOCCHECK 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 RHREFDOCCHECK. "Basic submit
SUBMIT RHREFDOCCHECK AND RETURN. "Return to original report after report execution complete
SUBMIT RHREFDOCCHECK 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 Document Checks
Text Symbol: 001 = No data found
Text Symbol: 002 = Cancellation


INCLUDES used within this REPORT RHREFDOCCHECK

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_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = -plvar otype = -sclas realo = -sobid IMPORTING short = gv_shortname stext = gv_longname EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = 'RHREFNO99' * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = 'UCOMM_EXIT' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = IMPORTING e_exit_caused_by_caller = g_exit_caused_by_caller es_exit_caused_by_user = gs_exit_caused_by_user TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = lv_tabname lfieldname = lv_fieldname IMPORTING dfies_wa = gs_fieldinfo EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

RH_VV_DOCUMENT_CONFIRM CALL FUNCTION 'RH_VV_DOCUMENT_CONFIRM' EXPORTING in_plvar = gs_outtab-plvar in_eotyp = gs_outtab-otype in_eveid = gs_outtab-objid in_event = gs_outtab-event in_refdocno = gs_outtab-refdocno in_document = gs_outtab-belnr * IN_CONTROLLINGAREA = * IN_CONFIRM_POPUP = 'X' * IN_DOCUMENT_RESET = ' ' * IMPORTING * OUT_MESSAGELEVEL = * OUT_STATUS = * OUT_ORIGINALDOCUMENT = * TABLES * OUT_MESSAGES = * OUT_P1001 = * EXCEPTIONS * DOCUMENT_CHECK_FAILURE = 1 * DOCUMENT_NOT_FOUND = 2 * ENQUEUE_FAILURE = 3 * UPDATE_ERROR = 4 * UNEXPECTED_ERROR = 5 * OTHERS = 6 .



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