RHCHECKV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Displaying and Creating Incorrect Inverse Relationships The report checks whether inverse relationships are maintained for all relationships in the Personnel Planning database...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 RHCHECKV into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RE_RHCHECKV - Check Relationships
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: CORRECT = Automatic Without Display
Title: Display and Create Missing Inverse Relationships
Text Symbol: 010 = Correct data record(s)?
Text Symbol: 012 = The system is writing the data records to the database
Text Symbol: 013 = Are you sure?
Text Symbol: 020 = Correction of selected inverse relationships
Text Symbol: 034 = Correction is being made.
Text Symbol: 052 = Display and create missing inverse relationships
Text Symbol: 070 = Correction mode
INCLUDE FPH5ATOP.
No SAP DATABASE tables are accessed within this REPORT code!
RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' EXPORTING p1001_imp = u1001 IMPORTING p1001_exp = u1001 EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = repname i_internal_tabname = 'STRUCFC' i_inclname = repname CHANGING ct_fieldcat = l_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = repname i_callback_pf_status_set = 'SETSTATE' i_callback_user_command = 'USRCOMMAND' is_layout = l_layout it_fieldcat = l_fieldcat TABLES t_outtab = itabc EXCEPTIONS program_error = 1 OTHERS = 2 .
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = p_mesg_diagnose textline1 = p_mesg_textl textline2 = p_mesg_textl2 titel = text-020 start_column = 25 start_row = 6 cancel_display = ' ' IMPORTING answer = confirm.
RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' EXPORTING p1001_imp = u1001 IMPORTING p1001_exp = u1001 EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
RH_INSERT_INFTY_DIRECT CALL FUNCTION 'RH_INSERT_INFTY_DIRECT' EXPORTING vtask = 'B' TABLES innnn = u1001_tab EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.
RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING vtask = 'D' EXCEPTIONS corr_exit = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percent text = p_text_030.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RHCHECKV - Display and Create Missing Inverse Relationships RHCHECKV - Display and Create Missing Inverse Relationships RHCHECKS - Display/Reconstruct Missing Schedule Records RHCHECKS - Display/Reconstruct Missing Schedule Records RHCHECKRELATIONS_OLD - Delete relationships without existing objects RHCHECKRELATIONS_OLD - Delete relationships without existing objects