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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.