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

RTXWQFRM SAP ABAP INCLUDE - Subroutines for view query programs







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


Text pool values


Title: Subroutines for view query programs


INCLUDES used within this REPORT RTXWQFRM

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynumb translate_to_upper = ' ' TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 9.

TXW_DATA_VIEW_AUTHORITY_CHECK CALL FUNCTION 'TXW_DATA_VIEW_AUTHORITY_CHECK' EXPORTING activity = dart1_act-display data_view = p_txview.

TXW_DATA_VIEW_AUTHORITY_CHECK CALL FUNCTION 'TXW_DATA_VIEW_AUTHORITY_CHECK' EXPORTING activity = dart1_act-export data_view = p_txview.

GET_PRINT_PARAMETERS * CALL FUNCTION 'GET_PRINT_PARAMETERS' * EXPORTING * no_dialog = 'X' * IMPORTING * out_parameters = ws_pri_params.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING * line_size = hpos mode = 'PARAMSEL' 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.

TXW_VIEW_SET_PFSTATUS CALL FUNCTION 'TXW_VIEW_SET_PFSTATUS' EXPORTING gui_status = gui_status-detail TABLES t_excluded = t_excluded.

TXW_VIEW_SET_PFSTATUS CALL FUNCTION 'TXW_VIEW_SET_PFSTATUS' EXPORTING gui_status = gui_status-detail TABLES t_excluded = t_excluded.

TXW_VIEW_SET_TITLEBAR CALL FUNCTION 'TXW_VIEW_SET_TITLEBAR' EXPORTING title_bar = '002' parm_1 = txw_c_v0t-text parm_2 = cp_tabix parm_3 = hits_c.

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

TXW_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING file_name = p_file voldir_set = p_dirs TABLES t_txw_dir2 = t_txw_dir2 t_txw_note = itxw_note EXCEPTIONS OTHERS = 1.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = sy-msgid msgty = sy-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 txtnr = sy-msgno.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS OTHERS = 0.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING show_linno = ' '.

TXW_DATA_VIEW_FILE_WRITE_INIT CALL FUNCTION 'TXW_DATA_VIEW_FILE_WRITE_INIT' EXPORTING l_file = p_xfile directory_set = p_xdirs data_view = p_txview append_to_file = p_append test_only = 'X' split_file = p_divid IMPORTING file_uuid = glo_file_uuid vol_id = glo_vol_id.

TXW_DATA_VIEW_INFO_GET CALL FUNCTION 'TXW_DATA_VIEW_INFO_GET' EXPORTING data_view = p_txview IMPORTING company_code_field = company_code_field company_code_segment = company_code_segment period_field = period_field period_segment = period_segment TABLES sel_company_code = r_comp_code sel_period = r_period EXCEPTIONS OTHERS = 1.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE





CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = sy-msgid msgty = sy-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 txtnr = sy-msgno.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS OTHERS = 0.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING show_linno = ' '.

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.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

TXW_VIEW_SET_PFSTATUS * CALL FUNCTION 'TXW_VIEW_SET_PFSTATUS' * EXPORTING * gui_status = gui_status-win.

TXW_VIEW_SET_TITLEBAR * CALL FUNCTION 'TXW_VIEW_SET_TITLEBAR' * EXPORTING * title_bar = 'NOT'.

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

TXW_VIEW_SET_PFSTATUS CALL FUNCTION 'TXW_VIEW_SET_PFSTATUS' EXPORTING gui_status = gui_status-win.

TXW_VIEW_SET_TITLEBAR CALL FUNCTION 'TXW_VIEW_SET_TITLEBAR' EXPORTING title_bar = 'INF'.

TXW_EXTRACT_LOG_PRINT CALL FUNCTION 'TXW_EXTRACT_LOG_PRINT'.

TXW_DATA_FILE_ENTER_MULTIPLE CALL FUNCTION 'TXW_DATA_FILE_ENTER_MULTIPLE' TABLES t_xfiles = t_xfiles EXCEPTIONS canceled = 1.

TXW_EXTRACT_READ_CLOSE CALL FUNCTION 'TXW_EXTRACT_READ_CLOSE'.

TXW_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING file_name = p_p_file voldir_set = p_p_dirs TABLES t_txw_dir2 = t_txw_dir2 t_txw_note = itxw_note.

TXW_VIEW_SET_PFSTATUS CALL FUNCTION 'TXW_VIEW_SET_PFSTATUS' EXPORTING gui_status = gui_status-main.

TXW_DATA_VIEW_FILE_WRITE_INIT CALL FUNCTION 'TXW_DATA_VIEW_FILE_WRITE_INIT' EXPORTING fiscal_year = txw_vwlog2-fisc_year data_view = p_txview l_file = p_xfile directory_set = p_xdirs append_to_file = p_append split_file = p_divid binary_mode = glo_flag_binary UUID_CREATE = P_UUID_CREATE IMPORTING file_uuid = txw_vwlog2-file_uuid vol_id = glo_vol_id export_file = export_file eol_bytes = glo_eol_bytes.

TXW_DATA_VIEW_PROCESS CALL FUNCTION 'TXW_DATA_VIEW_PROCESS' EXPORTING data_view = p_txview call_back_program = prog_name form_output_record = form_output_record flag_optimize = p_xoptim max_buffer_size = p_qbuff max_hits = p_maxnr IMPORTING duplicate_records = dup_records TABLES t_view_segments = view_segments t_selection = orig_view_sel EXCEPTIONS OTHERS = 1.

TXW_VIEW_SET_TITLEBAR CALL FUNCTION 'TXW_VIEW_SET_TITLEBAR' EXPORTING title_bar = '001' parm_1 = txw_c_v0t-text parm_2 = hits_c.

TXW_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = txw_vwlog2-vol_set "directory_set vol_id = glo_vol_id log_filename = p_xfile IMPORTING phy_filename = export_file.

TXW_FILE_OPEN_FOR_WRITE CALL FUNCTION 'TXW_FILE_OPEN_FOR_WRITE' EXPORTING file_name = filename clear_file = 'X' binary_mode = glo_flag_binary EXCEPTIONS OTHERS = 3.




TXW_FILE_OPEN_FOR_WRITE CALL FUNCTION 'TXW_FILE_OPEN_FOR_WRITE' EXPORTING file_name = filename clear_file = ' ' binary_mode = glo_flag_binary EXCEPTIONS OTHERS = 3.

TXW_VIEW_DATA_META_GET CALL FUNCTION 'TXW_VIEW_DATA_META_GET' EXPORTING i_exp_struc = glo_view_fields-segment TABLES t_txw_meta = itxw_meta.

TXW_VIEW_DATA_META_GET CALL FUNCTION 'TXW_VIEW_DATA_META_GET' EXPORTING i_exp_struc = glo_view_fields-segment TABLES t_txw_meta = itxw_meta.



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