SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Activation Program, Conversion Program, DB Utility, MC, SPDD(BC-DWB-DIC-AC) SAP BC

RXDCHKDB SAP ABAP Report - XPRA for cleaning up the DDIC-DB inconsistencies







RXDCHKDB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program cleans some inconsistencies between the ABAP Dictionary and the 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 RXDCHKDB 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 RXDCHKDB. "Basic submit
SUBMIT RXDCHKDB AND RETURN. "Return to original report after report execution complete
SUBMIT RXDCHKDB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: XPRA for cleaning up the DDIC-DB inconsistencies
Text Symbol: 010 = Object &:
Text Symbol: 011 = Exception &:
Text Symbol: 012 = Action not necessary
Text Symbol: 013 = Action successful


INCLUDES used within this REPORT RXDCHKDB

INCLUDE RADBTMAC.


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_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING TABNAME = TABNAME DB_CHECK_FLAG = 'X' IMPORTING SUBRC = IRC EXCEPTIONS OTHERS = 1.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING TABNAME = TABNAME DB_CHECK_FLAG = 'X' IMPORTING SUBRC = IRC EXCEPTIONS OTHERS = 1.

DB_DROP_VIEW CALL FUNCTION 'DB_DROP_VIEW' EXPORTING VIEWNAME = 'MA29V' DB_CHECK_FLAG = 'X' IMPORTING SUBRC = IRC EXCEPTIONS OTHERS = 1.

DB_DROP_VIEW CALL FUNCTION 'DB_DROP_VIEW' EXPORTING VIEWNAME = 'MARU' DB_CHECK_FLAG = 'X' IMPORTING SUBRC = IRC EXCEPTIONS OTHERS = 1.

DD_DROP_TABLE CALL FUNCTION 'DD_DROP_TABLE' EXPORTING TABNAME = TABNAME EXCEPTIONS NOT_ACTIVE = 1 OTHERS = 2.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING TABNAME = TABNAME TABLES X031L_TAB = X031L_TAB EXCEPTIONS OTHERS = 3.

DD_CREATE_TABLE CALL FUNCTION 'DD_CREATE_TABLE' EXPORTING TABNAME = TABNAME TAB_IND_CONTROL = 'A' KEYFIELDS = 'X' IMPORTING SUBRC = IRC TABLES X031L_TAB = X031L_TAB EXCEPTIONS OTHERS = 7.

APPEND_PROTOCOL CALL FUNCTION 'APPEND_PROTOCOL' EXPORTING ACCEPT_NOT_INIT = 'X' TABLES XMSG = SPROT_U_TAB.

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING SYSTEMTYPE = SYSTYPE EXCEPTIONS NO_SYSTEMNAME = 1 NO_SYSTEMTYPE = 2 OTHERS = 3.



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