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

RTXWDIR2NE SAP ABAP Report - Add entry for old extracts with codpage







RTXWDIR2NE 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 RTXWDIR2NE 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 RTXWDIR2NE. "Basic submit
SUBMIT RTXWDIR2NE AND RETURN. "Return to original report after report execution complete
SUBMIT RTXWDIR2NE 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_CODE = Codepage
Selection Text: P_FILE = Data file name
Selection Text: P_VOLSET = Directory set
Title: Add entry for old extracts with codpage
Text Symbol: 001 = Data File
Text Symbol: 002 = Directory File
Text Symbol: 003 = in table TXW_DIR2 created
Text Symbol: F01 = Data Extract


INCLUDES used within this REPORT RTXWDIR2NE

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_DATA_FILE_VALUE_HELP CALL FUNCTION 'TXW_DATA_FILE_VALUE_HELP' IMPORTING data_file = p_file EXCEPTIONS OTHERS = 0.

TXW_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = id_vol vol_id = 'DR' log_filename = id_file IMPORTING phy_filename = glo_extract_status-file_name.

TXW_FILE_IMPORT * CALL FUNCTION 'TXW_FILE_IMPORT' * EXPORTING * p_dir_file = dir_file * p_file_style = glo_file_style-file_style * p_xtrct_uuid = extract_uuid glo_file_style-file_style = tmp_txw_dir2-UNICODE_MODE.

TXW_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING FILE_NAME = p_file VOLDIR_SET = p_volset EXCEPTIONS OTHERS = 0.

TXW_FILE_IMPORT CALL FUNCTION 'TXW_FILE_IMPORT' EXPORTING p_dir_file = dir_file p_file_style = glo_file_style-file_style p_xtrct_uuid = tmp_txw_dir2-xtrct_uuid EXCEPTIONS OTHERS = 2.



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