RHRELAT0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RHRELAT0 lists all the possible relationship types of a selected object type...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 RHRELAT0 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: CLASS = Object type
Selection Text: RSIGN = Relationship type (A or B)
Title: Allowed Relationships of Object Types
Text Symbol: 001 = Transfer structure records to PC
Text Symbol: 100 = Allowed Relationships of Object Types
001 Object type Type Relationship Related object type
INCLUDE MPH5ATOP.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = l_menu i_callback_top_of_page = 'TOP_OF_PAGE' is_layout = gs_layout it_fieldcat = it_fcat * IT_EVENTS = TABLES t_outtab = it_list EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = list_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.