RUTCHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RUTCHECK 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.
Title: DD: General Consistency Check
INCLUDE RADBTMAC.
No SAP DATABASE tables are accessed within this REPORT code!
DD_MAP_NAMETAB_TO_DDFIELDS CALL FUNCTION 'DD_MAP_NAMETAB_TO_DDFIELDS' TABLES DDFIELDS = DDFIELDS X031L_TAB = X031L_TAB.
DB_GET_TABLE_FIELDS CALL FUNCTION 'DB_GET_TABLE_FIELDS' EXPORTING FIELD_INFO = 'A' TABNAME = TABNAME IMPORTING SUBRC = DBRC TABLES DBFIELDS = DBFIELDS.
DD_TBIX_GET CALL FUNCTION 'DD_TBIX_GET' EXPORTING GET_STATE = 'A' INDEXNAME = '*' LANGU = SY-LANGU PRID = PRID TABL_NAME = TABNAME WITHTEXT = ' ' TRACELEVEL = 0 IMPORTING GOT_STATE = GOT_STATE TABLES DD12V_TAB_A = DD12V_TAB DD12V_TAB_N = DD12V_TAB_DUMMY DD17V_TAB_A = DD17V_TAB DD17V_TAB_N = DD17V_TAB_DUMMY EXCEPTIONS ILLEGAL_VALUE = 01.
DB_GET_INDEXES CALL FUNCTION 'DB_GET_INDEXES' EXPORTING TABNAME = ITABNAME TABLES DBINDEXES = DBINDEXES DBINDFLDS = DBINDFLDS.
DD_DD07V_GET CALL FUNCTION 'DD_DD07V_GET' EXPORTING DOMAIN_NAME = 'DBDIFFKIND' LANGU = SY-LANGU WITHTEXT = 'X' TABLES DD07V_TAB = DBDIFFKIND_TEXT EXCEPTIONS ACCESS_FAILURE = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.