SAP Reports / Programs | Basis Components | Middleware | Background RFC (bgRFC)(BC-MID-RFC-BG) SAP BC

RS_BGRFC_DB_CONSISTENCY SAP ABAP Report - Checks Consistency of bgRFC Database Tables







RS_BGRFC_DB_CONSISTENCY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is only to be used in exceptional cases by SAP Development Support...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 RS_BGRFC_DB_CONSISTENCY 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 RS_BGRFC_DB_CONSISTENCY. "Basic submit
SUBMIT RS_BGRFC_DB_CONSISTENCY AND RETURN. "Return to original report after report execution complete
SUBMIT RS_BGRFC_DB_CONSISTENCY VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Checks Consistency of bgRFC Database Tables
Text Symbol: 033 = UNIT_DAT: Deletes all units (no receiver list) for which there is no entry
Text Symbol: 034 = in table _SDATA
Text Symbol: 035 = REF_DAT: Deletes all units (receiver list) with no entry
Text Symbol: 036 = in table QRFC_O_SDATA
Text Symbol: 037 = UNIT_REF: Deletes table QRFC_O_UNIT records with IS_REF_UNIT_ID = 'X'
Text Symbol: 038 = for which there is no entry in QRFC_O_REF_UNIT
Text Symbol: 039 = REF_UNIT: Deletes table QRFC_O_REF_UNIT records for which there is no entry
Text Symbol: 040 = in table QRFC_O_UNIT with IS_REF_UNIT_ID = 'X'
Text Symbol: 041 = DAT_UNIT: Deletes table _SDATA records for which there is no entry
Text Symbol: 042 = in table _UNIT or QRFC_O_REF_UNIT
Text Symbol: 043 = Predecessor counter of unit &1& must be reduced by &2&
Text Symbol: 044 = Cannot correct predecessor counter of unit &1& since unit is being executed
Text Symbol: 045 = Outbound type Q pred_cnt: No errors found
Text Symbol: 046 = Outbound type Q pred_cnt: Following units have an incorrect predecessor counter:
Text Symbol: 047 = REPAIR: Make database changes
Text Symbol: 048 = Inbound type T pred_cnt: No errors found
Text Symbol: 049 = Inbound type T pred_cnt: Following units have an incorrect predecessor counter:
Text Symbol: 050 = RUN_UNIT: Deletes records from table BGRFC_O_RUNNABLE for which there is no entry
Text Symbol: 051 = in table _UNIT
Text Symbol: 052 = EXE_UNIT: Deletes records from table _EXE_STATE for which there is no entry
Text Symbol: 053 = UNIT_TIME: deletes the duplicate records from _UNIT_TIME.
Text Symbol: 054 = No inconsistencies found in &1&
Text Symbol: 056 = &1& Unit_id &2&
Text Symbol: 059 = SDATA_CONS: Consistency Check for SDATA Table
Text Symbol: 060 = &1& has one invalid SDATA entry.
Text Symbol: 061 = Error when deleting units:
Text Symbol: 062 = LOCK_CON: Consistency Check for LOCK Table
Text Symbol: 063 = &1& has an inconsistent constellation of LOCK entries.
Text Symbol: 064 = &1& has an inconsistent constellation of LOCK/EXE entries.
Text Symbol: 065 = LOCK_EXE_CON: Consistency Check for LOCK/EXE Tables
Text Symbol: 032 = in table QRFC_O_UNIT
Text Symbol: 001 = Unit &1& has no successor in queue &2& (client &3&) for destination &4&
Text Symbol: 002 = Unit &1& has no predecessor in queue &2& (client &3&) for destination &4&
Text Symbol: 003 = Outbound type T - pred_cnt: No errors found
Text Symbol: 004 = Outbound type T - pred_cnt: Following units have an incorrect predecessor counter:
Text Symbol: 005 = Unit &1& is a top entry but is not in the queue
Text Symbol: 006 = ====================================== #1# ======================================





Text Symbol: 007 = No inconsistencies found between following tables:
Text Symbol: 008 = Table &1& contains the following invalid entries:
Text Symbol: 009 = Outbound queue &1& in client &2& for destination &3& does not contain a top entry.
Text Symbol: 010 = This queue contains, for example, the unit &1&.
Text Symbol: 011 = Table &1& contains an invalid unit ID or lock ID
Text Symbol: 012 = No invalid unit ID or lock ID found
Text Symbol: 013 = Inbound type Q pred_cnt: No errors found
Text Symbol: 014 = Inbound type Q pred_cnt: Following units have an incorrect predecessor counter:
Text Symbol: 015 = Inbound queue &1& in client &2& for destination &3& does not contain a top entry
Text Symbol: 016 = Outbound + OutInbound Type Q
Text Symbol: 017 = Inbound Type Q
Text Symbol: 018 = Outbound Type T
Text Symbol: 019 = Inbound Type T
Text Symbol: 020 = INVAL_ID: Deletes records with unit_id_invalid/lock_id_invalid
Text Symbol: 021 = TOP_QUEU: Adds missing records to queue
Text Symbol: 022 = QUEU_TOP: Adds a missing record to _TOP for each queue
Text Symbol: 023 = QUE_UNIT: Adds dummy units for queue records that are not in _UNIT
Text Symbol: 024 = PRED_CNT: Calculates and refreshes predecessor counter
Text Symbol: 025 = PRED_0: Adds all units with PRED_CNT = 0 that are not in _EXE_STATE
Text Symbol: 026 = to table _RUNNABLE
Text Symbol: 027 = RUN_EXE: Deletes _EXE_STATE records that are in _RUNNABLE
Text Symbol: 028 = ERR_EXE: Deletes _ERR_STATE records that are not in _EXE_STATE
Text Symbol: 029 = UNIT_QUE: Deletes _UNIT records for which there is no queue record
Text Symbol: 030 = LOC_UNIT: Deletes locks for which there are no entries in the unit table
Text Symbol: 031 = QIN_UNIT: Deletes table QRFC_O_QIN records for which there are no entries


INCLUDES used within this REPORT RS_BGRFC_DB_CONSISTENCY

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:

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT





CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.




DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



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