SAP Reports / Programs

RTXWQU01_NACC SAP ABAP Report - DART: Data extract browser







RTXWQU01_NACC 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 RTXWQU01_NACC 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 RTXWQU01_NACC. "Basic submit
SUBMIT RTXWQU01_NACC AND RETURN. "Return to original report after report execution complete
SUBMIT RTXWQU01_NACC 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_VOLSET = D .
Selection Text: P_FILE = D .
Title: DART: Data extract browser
Text Symbol: PAG = Page
Text Symbol: H43 = Control total
Text Symbol: H42 = Pe
Text Symbol: H41 = Comp
Text Symbol: H3E = Compression
Text Symbol: H3D = Rate
Text Symbol: H3C = Time
Text Symbol: H3B = Segment index
Text Symbol: H3A = Segment data
Text Symbol: H38 = %
Text Symbol: H37 = MB/min
Text Symbol: H36 = Records/min
Text Symbol: H35 = hh:mm:ss
Text Symbol: H34 = Size (KB)
Text Symbol: H32 = Records
Text Symbol: H31 = Data segment
Text Symbol: COL = Column block
Text Symbol: A02 = Do you want to replace it?
Text Symbol: A01 = The data file already exists.
Text Symbol: A00 = Extract data to file
Text Symbol: 102 = Export all records to file
Text Symbol: 101 = Maximum number of hits
Text Symbol: 025 = Display file
Text Symbol: 023 = Verify checksums
Text Symbol: 022 = 0 Technical data
Text Symbol: 021 = 1 Master data
Text Symbol: 020 = 2 Transaction data
Text Symbol: 019 = Time (Hrs)
Text Symbol: 018 = Index size (KB)
Text Symbol: 017 = Index records
Text Symbol: 016 = Segment size (KB)
Text Symbol: 015 = Segment records
Text Symbol: 014 = Segment description
Text Symbol: 013 = Application area
Text Symbol: 012 = Data segment type





Text Symbol: 011 = Master data
Text Symbol: 010 = Transaction data
Text Symbol: 001 = Enter query conditions


INCLUDES used within this REPORT RTXWQU01_NACC

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_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING file_name = p_file voldir_set = p_volset TABLES t_txw_dir2 = itxw_dir2 t_txw_note = itxw_note.

TXW_EXTRACT_SEGMENT_DIR_READ CALL FUNCTION 'TXW_EXTRACT_SEGMENT_DIR_READ' TABLES t_txw_dirsg2 = itxw_dirsg2.

TXW_EXTRACT_SELECTION_READ CALL FUNCTION 'TXW_EXTRACT_SELECTION_READ' TABLES t_txw_sel = itxw_sel.

TXW_EXTRACT_METADATA_READ CALL FUNCTION 'TXW_EXTRACT_METADATA_READ' TABLES t_txw_meta = itxw_meta.

TXW_EXTRACT_CONTRL_TOTALS_READ CALL FUNCTION 'TXW_EXTRACT_CONTRL_TOTALS_READ' TABLES t_txw_chksum = itxw_chksum EXCEPTIONS not_found = 1.

TXW_EXTRACT_SEGMENT_READ_ALL CALL FUNCTION 'TXW_EXTRACT_SEGMENT_READ_ALL' EXPORTING export_structure = c_txw_compc TABLES t_segment = t_txw_compc EXCEPTIONS not_found = 1.

TXW_EXTRACT_SEGMENT_READ_ALL CALL FUNCTION 'TXW_EXTRACT_SEGMENT_READ_ALL' EXPORTING export_structure = c_txw_r2_t001 TABLES t_segment = t_txw_r2_t001 EXCEPTIONS not_found = 1.

TXW_SEGMENT_INFO_GET CALL FUNCTION 'TXW_SEGMENT_INFO_GET' EXPORTING export_structure = itxw_dirsg2-exp_struct TABLES sel_company_code = r_comp_code sel_period = r_period.

POPUP_GET_VALUES_USER_HELP CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP' EXPORTING f4_formname = f4_formname f4_programname = f4_programname popup_title = text-001 IMPORTING returncode = returncode TABLES fields = query_fields.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING line_size = hpos IMPORTING out_parameters = ws_pri_params out_archive_parameters = ws_arc_params valid = valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING list_text = list_text in_parameters = ws_pri_params in_archive_parameters = ws_arc_params no_dialog = 'X' IMPORTING out_parameters = ws_pri_params out_archive_parameters = ws_arc_params valid = valid.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING titel = text-001 IMPORTING select_value = value TABLES fields = h_fields valuetab = h_values.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = rs_nodeinfo EXCEPTIONS tree_failure = 01 id_not_found = 02 wrong_relationship = 03.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY'.

TXW_EXTRACT_LOG_PRINT CALL FUNCTION 'TXW_EXTRACT_LOG_PRINT'.

TXW_SEGMENT_QUERY_INIT CALL FUNCTION 'TXW_SEGMENT_QUERY_INIT' EXPORTING export_structure = itxw_dirsg2-exp_struct TABLES t_query = t_query EXCEPTIONS no_record_found = 4.

TXW_SEGMENT_QUERY_RECORD_READ





CALL FUNCTION 'TXW_SEGMENT_QUERY_RECORD_READ' IMPORTING record = wa_txw_data EXCEPTIONS no_more_records = 1.

TXW_SEGMENT_QUERY_RECORD_READ CALL FUNCTION 'TXW_SEGMENT_QUERY_RECORD_READ' IMPORTING record = wa_txw_data EXCEPTIONS no_more_records = 1.

TXW_SEGMENT_QUERY_CLOSE CALL FUNCTION 'TXW_SEGMENT_QUERY_CLOSE'.

TXW_SEGMENT_CHECKSUM_VERIFY CALL FUNCTION 'TXW_SEGMENT_CHECKSUM_VERIFY' EXPORTING export_structure = itxw_dirsg2-exp_struct EXCEPTIONS checksum_invalid = 2.

DSYS_SHOW CALL FUNCTION 'DSYS_SHOW' EXPORTING dokclass = 'DE' dokname = data_element EXCEPTIONS OTHERS = 1.

TXW_TEXTNOTE_EDIT CALL FUNCTION 'TXW_TEXTNOTE_EDIT' EXPORTING edit_mode = space TABLES t_txwnote = itxw_note.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = startspecs stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = start_modify_flag stdt_output = startspecs EXCEPTIONS OTHERS = 0.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname IMPORTING jobcount = jobnumber EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' at_opmode_periodic = startspecs-periodic calendar_id = startspecs-calendarid event_id = startspecs-eventid event_param = startspecs-eventparm event_periodic = startspecs-periodic jobcount = jobnumber jobname = jobname laststrtdt = startspecs-laststrtdt laststrttm = startspecs-laststrttm prddays = startspecs-prddays prdhours = startspecs-prdhours prdmins = startspecs-prdmins prdmonths = startspecs-prdmonths prdweeks = startspecs-prdweeks predjob_checkstat = startspecs-checkstat pred_jobcount = startspecs-predjobcnt pred_jobname = startspecs-predjob sdlstrtdt = startspecs-sdlstrtdt sdlstrttm = startspecs-sdlstrttm startdate_restriction = startspecs-prdbehav strtimmed = startimmediate targetsystem = startspecs-instname start_on_workday_not_before = startspecs-notbefore start_on_workday_nr = startspecs-wdayno workday_count_direction = startspecs-wdaycdir * RECIPIENT_OBJ = * TARGETSERVER = ' ' IMPORTING job_was_released = job_released EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8 .

TXW_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = txw_vwlog2-vol_set vol_id = space log_filename = txw_vwlog2-l_file IMPORTING phy_filename = phys_file.

TXW_FILE_OPEN_FOR_READ CALL FUNCTION 'TXW_FILE_OPEN_FOR_READ' EXPORTING file_name = phys_file EXCEPTIONS file_open_failed = 1 OTHERS = 2.

TXW_FILE_OPEN_FOR_WRITE CALL FUNCTION 'TXW_FILE_OPEN_FOR_WRITE' EXPORTING file_name = phys_file clear_file = ' ' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-a01 textline2 = text-a02 titel = text-a00 cancel_display = ' ' IMPORTING answer = answer.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-025 IMPORTING returncode = returncode TABLES fields = query_fields.

TXW_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = itxw_dir2-vol_set vol_id = 'DR' log_filename = itxw_dir2-l_file IMPORTING phy_filename = file_name.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING * NO_VALUE_CHECK = ' ' popup_title = text-025 * START_COLUMN = '5' * START_ROW = '5' IMPORTING returncode = returncode TABLES fields = query_fields * EXCEPTIONS * ERROR_IN_FIELDS = 1 * OTHERS = 2 .

POPUP_TO_INFORM * CALL FUNCTION 'POPUP_TO_INFORM' * EXPORTING * TITEL = sy-REPID * TXT2 = SY-SUBRC * TXT1 = 'Error in Flush'(500).



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