SAP Reports / Programs

RSDCDDXT SAP ABAP Report - Repository Switch: DROP/CREATE of Table DDXTF







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


Text pool values


Title: Repository Switch: DROP/CREATE of Table DDXTF


INCLUDES used within this REPORT RSDCDDXT

INCLUDE RSUGSINC.
INCLUDE RDDRSCST.


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:

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = 'DDSUX030L' IMPORTING X030L_WA = LV_X030L EXCEPTIONS OTHERS = 1.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = 'DDSUX031L' IMPORTING X030L_WA = LV_X030L EXCEPTIONS OTHERS = 1.

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING DIRTYPE = GC_ACTTYPE FILENAME = GV_PROTLIST SUBDIR = GC_SUBPROT IMPORTING FILE = GV_PROTFILE.

UPG_GET_ACTIVE_COMP_UPGRADE CALL FUNCTION 'UPG_GET_ACTIVE_COMP_UPGRADE' EXPORTING IV_COMPONENT = GC_COMPONENT_SAP_BASIS IV_UPGTYPE = 'A' IV_BUFFERED = ' ' IMPORTING EV_UPGINFO = LW_UVERS EXCEPTIONS OTHERS = 1.

SUBST_GET_EXCHANGE_STATE * call function 'SUBST_GET_EXCHANGE_STATE' * importing * ev_state = gv_upgrade_status * exceptions * no_entry_found = 1.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_SEVERITY = GV_SEVERITY L_LEVEL = GV_LEVEL L_MSGNR = GV_MSGNR L_NEWOBJ = GC_NEWOBJ_X TABLES P_TAB = GT_PROT.

SUBST_GET_SOURCERELEASE * call function 'SUBST_GET_SOURCERELEASE' * importing * ev_sourcerelease = gv_startrel * exceptions * no_entry_found = 1.

SUBST_GET_DESTRELEASE * call function 'SUBST_GET_DESTRELEASE' * importing * ev_destrelease = gv_destrel * exceptions * no_entry_found = 1.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_SEVERITY = GV_SEVERITY L_LEVEL = GV_LEVEL L_MSGNR = GV_MSGNR L_NEWOBJ = GC_NEWOBJ_X L_V1 = GV_V1 TABLES P_TAB = GT_PROT.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_SEVERITY = GV_SEVERITY L_LEVEL = GV_LEVEL L_MSGNR = GV_MSGNR TABLES P_TAB = GT_PROT.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING TABNAME = LV_DDXTF_NAME IMPORTING SUBRC = LV_DDXTF_EX EXCEPTIONS OTHERS = 1.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING TABNAME = LV_TABNAME TABLES X031L_TAB = LT_X031L.

DD_DROP_TABLE CALL FUNCTION 'DD_DROP_TABLE' EXPORTING TABNAME = LV_TABNAME.

DD_CREATE_TABLE CALL FUNCTION 'DD_CREATE_TABLE' EXPORTING TABNAME = LV_TABNAME TAB_IND_CONTROL = 'A' KEYFIELDS = 'X' IMPORTING SUBRC = LV_SUBRC TABLES X031L_TAB = LT_X031L.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_SEVERITY = GV_SEVERITY L_LEVEL = GV_LEVEL L_MSGNR = GV_MSGNR L_NEWOBJ = GC_NEWOBJ_X L_V1 = GV_V1 L_V2 = GV_V2 TABLES P_TAB = GT_PROT.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_SEVERITY = GV_SEVERITY L_LEVEL = GV_LEVEL L_MSGNR = GV_MSGNR L_NEWOBJ = GC_NEWOBJ_X L_V1 = GV_V1 L_V2 = GV_V2 TABLES P_TAB = GT_PROT.

SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING ACTTYPE = GC_ACTTYPE IFNAME = GV_PROTFILE IMPORTING EFNAME = GV_PROTFILE TABLES P_TAB = GT_PROT.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_MSGNR = GV_MSGNR L_NEWOBJ = GC_NEWOBJ_X L_V1 = GV_V1 TABLES P_TAB = GT_PROT.

SUBST_APPEND_PROTOCOL





CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_MSGNR = GV_MSGNR L_NEWOBJ = GC_NEWOBJ_X L_V1 = GV_V1 L_V2 = GV_V2 TABLES P_TAB = GT_PROT.



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