SAP Reports / Programs

RTXWCHK3 SAP ABAP Report - DART: Verify extract consistency







RTXWCHK3 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 RTXWCHK3 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 RTXWCHK3. "Basic submit
SUBMIT RTXWCHK3 AND RETURN. "Return to original report after report execution complete
SUBMIT RTXWCHK3 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_FILE = D Data file name
Selection Text: P_VOL = D Directory set
Title: DART: Verify extract consistency
Text Symbol: HDR = Segment in error:
Text Symbol: IND = Data index offset:
Text Symbol: LOA = Last good offset:
Text Symbol: LOB = Volume id:
Text Symbol: LOC = Segment data offset:


INCLUDES used within this REPORT RTXWCHK3

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_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = p_vol vol_id = hide_vol_id log_filename = p_file IMPORTING phy_filename = phy_file EXCEPTIONS voldir_set_invalid = 1 get_filename_failed = 2 OTHERS = 3.

SCMA_JOB_STARTED_FROM_SCMA call Function 'SCMA_JOB_STARTED_FROM_SCMA' EXPORTING BEFORE_INIT = 'X' IMPORTING e_scma = scma_activ.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING COLLECT_AND_SEND = 'X'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'E' txtnr = '005'.

TXW_DATA_FILE_ENQUEUE CALL FUNCTION 'TXW_DATA_FILE_ENQUEUE' EXPORTING voldir_set = p_vol file_name = p_file "logical file name lock_mode = 'S' "shared lock EXCEPTIONS foreign_lock = 1 system_failure = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'E' txtnr = '003' msgv1 = user.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'E' txtnr = '002'.

TXW_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = p_vol vol_id = 0 log_filename = p_file IMPORTING phy_filename = phy_file EXCEPTIONS voldir_set_invalid = 1 get_filename_failed = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'E' txtnr = '056' msgv1 = p_vol.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'E' txtnr = '057' msgv1 = p_file.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'E' txtnr = '204'.

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING file_name = p_file voldir_set = p_vol EXCEPTIONS file_open_failed = 1 file_invalid = 2 file_locked = 3 lock_system_failure = 4 voldir_set_invalid = 5 file_directory_invalid = 6 get_filename_failed = 7 no_authority = 8 OTHERS = 9.

TXW_EXTRACT_READ_CLOSE CALL FUNCTION 'TXW_EXTRACT_READ_CLOSE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '128'.

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_FILE_CLOSE_READ





CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

TXW_FILE_NAME_GET CALL FUNCTION 'TXW_FILE_NAME_GET' EXPORTING voldir_set = p_voldir vol_id = p_vol_id log_filename = p_l_file IMPORTING phy_filename = phy_name EXCEPTIONS voldir_set_invalid = 1 get_filename_failed = 2.

TXW_FILE_OPEN_FOR_READ CALL FUNCTION 'TXW_FILE_OPEN_FOR_READ' EXPORTING file_name = phy_name file_position = file_offset EXCEPTIONS OTHERS = 1.

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

TXW_FILE_CLOSE_READ CALL FUNCTION 'TXW_FILE_CLOSE_READ' EXPORTING file_name = phy_file.

MESSAGES_SAVE CALL FUNCTION 'MESSAGES_SAVE' exporting i_balobject = ld_balobject i_balsubobject = ld_balsubobject * i_in_update_task = * i_identification = GD_MESSAGES_IDENT importing e_log_handle = gd_log_handle exceptions NO_MESSAGES = 1 NOT_ACTIVE = 2 PROGRAM_ERROR = 3 SAVE_NOT_ALLOWED = 4 WRONG_IDENTIFICATION = 5.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING LS_KEY = GS_KEY LS_SCMA_EVENT = LS_SCMA_EVENT ls_message = ls_message CHANGING LD_APLSTAT = LD_APLSTAT EXCEPTIONS NO_ID_GIVEN = 1 OTHERS = 2.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING LS_DETAIL = LS_DETAIL LS_WITEM = LS_WITEM IMPORTING LS_KEY = GS_KEY TABLES LT_SELKRIT = LT_SELKRIT.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = 'X' MODE = 'CURRENT' IMPORTING OUT_PARAMETERS = PRINT_PARAMETERS OUT_ARCHIVE_PARAMETERS = ARC_PARAMETERS.

SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING IN_PARAMETERS = PRINT_PARAMETERS IN_ARCHIVE_PARAMETERS = ARC_PARAMETERS.



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