SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHCHECKV SAP ABAP Report - Display and Create Missing Inverse Relationships







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


Transaction Code(s):

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

RE_RHCHECKV - Check Relationships


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


INCLUDES used within this REPORT RHCHECKV

INCLUDE FPH5ATOP.


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



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