RHCHECKI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report lists all relationships whose inverse relationships have different entries in the fields
If you would like to execute this report or see the full code listing simply enter RHCHECKI 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.
The inverse relationships you select will be saved
Selection Text: TEST = Test Mode
Title: Display/Adjust Relationships with Different Inverse Relationship
Text Symbol: 001 = Checked Objects
Text Symbol: 008 = Relationship Consistency Error
Text Symbol: 009 = Relationship Error
Text Symbol: 010 = Indicator
Text Symbol: ADO = Inverse Relationships Adjusted
Text Symbol: CON = Adjust Inverse Relationships
Text Symbol: CRO = The inverse relationships you selected will be saved.
Text Symbol: ERR = Error when adjusting inverse rel'ships.
Text Symbol: NOT = No inverse relationships to adjust
Text Symbol: TIP = Highlight and Save
Text Symbol: UPD = Are you sure you want to save?
INCLUDE FPH5ATOP.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * TEXTLINE1 = LINE0 * TITEL = LINE1 * IMPORTING * ANSWER = ANSWER.
RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'B' TABLES innnn = w1001 EXCEPTIONS error_during_update = 1 no_authorization = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.
RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' "#EC * EXPORTING vtask = 'D' EXCEPTIONS corr_exit = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_structure i_inclname = g_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING textline1 = line0 titel = line1 IMPORTING answer = answer.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_structure_name = gc_structure is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = gc_save is_variant = gs_variant it_events = gt_events TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.