SAP Reports / Programs | Basis Components | Database Interface, Database Platforms | DB2 for AS/400(BC-DB-DB4) SAP BC

RSDB4XTT SAP ABAP Report - Get table sizes for upgrade (AS/400 only)







RSDB4XTT 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 RSDB4XTT 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 RSDB4XTT. "Basic submit
SUBMIT RSDB4XTT AND RETURN. "Return to original report after report execution complete
SUBMIT RSDB4XTT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Get table sizes for upgrade (AS/400 only)
Text Symbol: 001 = No records found in DDXTT.
Text Symbol: 002 = Records in DDXTT updated
Text Symbol: 003 = Error in update of DDXTT.


INCLUDES used within this REPORT RSDB4XTT

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:

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

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = GC_LEV_1 L_MSAG = GC_MSAG L_MSGNR = GV_MSGNR TABLES P_TAB = GT_PROT.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = GC_LEV_1 L_MSAG = GC_MSAG L_MSGNR = GV_MSGNR L_V1 = 'RSDB4XTT' 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_LEVEL = GC_LEV_1 L_MSAG = GC_MSAG L_MSGNR = GV_MSGNR L_SEVERITY = GC_SEV_E L_V1 = 'RSDB4XTT' 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_LEVEL = GC_LEV_1 L_MSAG = GC_MSAG L_MSGNR = GV_MSGNR L_V1 = 'No records found in DDXTT.'(001)

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

GET_TABLE_SIZE_DB4 CALL FUNCTION 'GET_TABLE_SIZE_DB4' EXPORTING TABNAME = DDXTT_TAB-TABNAME DATA_SPACE_ONLY = 'X' DBHOST = DBHOST_TEMP SCHEMANAME = SCHEMANAME IMPORTING TABSIZE = I_TABSIZE "KBytes * TABLE_FRAGMENTED = EXCEPTIONS NO_DATABASE_TABLE = 1 OTHERS = 2.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = GC_LEV_1 L_MSAG = 'D4' L_MSGNR = GV_MSGNR L_V1 = 'RSDB4XTT' 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_LEVEL = GC_LEV_1 L_MSAG = GC_MSAG L_MSGNR = GV_MSGNR L_SEVERITY = GC_SEV_E L_V1 = 'Error in update of DDXTT.'(003)

SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING ACTTYPE = GC_ACTTYPE IFNAME = GV_PROTFILE IMPORTING EFNAME = GV_PROTFILE 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 RSDB4XTT or its description.