SAP Reports / Programs | Cross-Application Components | General Application Functions | Data Retention Tool(CA-GTF-DRT) SAP CA

RTXWSIZE SAP ABAP Report - Data Retention Tool: File size worksheet







RTXWSIZE 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 RTXWSIZE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FTWR - File size worksheet


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


Text pool values


Selection Text: P_BUKRS = D .
Title: Data Retention Tool: File size worksheet
Text Symbol: T11 = Size in MB
Text Symbol: T06 = Segment description
Text Symbol: T05 = Index
Text Symbol: T04 = Uncmprss
Text Symbol: T03 = Cmpressd
Text Symbol: T02 = Records
Text Symbol: T01 = Segment
Text Symbol: S05 = Delete worksheet
Text Symbol: S04 = Overwrite worksheet
Text Symbol: S03 = No
Text Symbol: S02 = Yes
Text Symbol: S01 = Save worksheet
Text Symbol: P01 = Segment list depends on the country code of the comp. code
Text Symbol: H09 = Segment list of company code &
Text Symbol: H08 = Current free space (MB)
Text Symbol: H07 = Temporary index memory (MB)
Text Symbol: H06 = Sort directory
Text Symbol: H05 = Application server
Text Symbol: H04 = Temporary sort space (MB)
Text Symbol: H03 = Estimated run time (hh:mm)
Text Symbol: H02 = - Uncompressed
Text Symbol: H01 = - Compressed
Text Symbol: H00 = Estimated total file size (MB)
Text Symbol: 100 = Preparing segment data
Text Symbol: 004 = Customer defined master data
Text Symbol: 003 = SAP defined master data
Text Symbol: 002 = Customer defined transaction data
Text Symbol: 001 = SAP defined transaction data


INCLUDES used within this REPORT RTXWSIZE

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:

TXW_GET_COUNTRY_CODE CALL FUNCTION 'TXW_GET_COUNTRY_CODE' EXPORTING P_BUKRS = p_bukrs IMPORTING P_COUNTRY_CODE = g_country_code P_SUBRC = subrc.

TXW_CREATE_SEGLIST CALL FUNCTION 'TXW_CREATE_SEGLIST' EXPORTING COUNTRY_KEY = g_country_code.

TXW_DATA_FILE_CLEAN_LOG CALL FUNCTION 'TXW_DATA_FILE_CLEAN_LOG' TABLES t_txw_dir2 = t_txw_dir2.

TXW_CHECK_SEGLIST CALL FUNCTION 'TXW_CHECK_SEGLIST' EXPORTING SEGMENTNAME = t_txw_c_strc-exp_struct IMPORTING SUBRC = subrc.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = text70.

PFL_GET_SERVER_PARAM_VALUES CALL FUNCTION 'PFL_GET_SERVER_PARAM_VALUES' * DESTINATION SERVER_SELECTED TABLES subst_srv_param_tbl = srv_subst_param_tbl usubst_srv_param_tbl = srv_usubst_param_tbl EXCEPTIONS OTHERS = 99.

SHOW_FILEPATH_FREESPACE CALL FUNCTION 'SHOW_FILEPATH_FREESPACE' EXPORTING file_path = sort_path dest_type = dest_type IMPORTING free_space = freespace EXCEPTIONS answer_is_not_yet_available = 1 communication_error = 2 general_req_error = 3 cant_find_destination = 4 cant_get_destinations = 5 unknown_error = 6 illegal_dest_type = 7 unsupported_unc_path = 8 OTHERS = 9.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING * NO_VALUE_CHECK = ' ' popup_title = 'Save worksheet'(s01) * START_COLUMN = '5' * START_ROW = '5' IMPORTING returncode = answer TABLES fields = display_fields * EXCEPTIONS * ERROR_IN_FIELDS = 1 * OTHERS = 2 .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = 'Overwrite worksheet'(s04) textline2 = glo_worksheet_name titel = 'Overwrite worksheet'(s04) * START_COLUMN = 25* * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer .

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'TXW_FSZT' fieldname = 'WORKSHEET' value = current_worksheet_name TABLES return_tab = ret_tab.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'TXW_FSZT' fieldname = 'WORKSHEET' value = current_worksheet_name TABLES return_tab = ret_tab.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = 'Delete worksheet'(s05) textline2 = glo_worksheet_name titel = 'Delete worksheet'(s05) * START_COLUMN = 25* * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer .



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