RTXWCHK2 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 RTXWCHK2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FTWD - Verify data extract checksums
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_FILE = D Data file name
Selection Text: P_MTYP_A = Termination
Selection Text: P_MTYP_E = Error
Selection Text: P_MTYP_I = Information
Selection Text: P_VOLSET = D Directory set
Title: DART: Verify data extract checksums
Text Symbol: 001 = All data segments verified (no errors found)
Text Symbol: 002 = Checksum is valid for data extract
Text Symbol: 003 = Checksum is invalid for data extract
Text Symbol: 004 = Checksum error found in &1 data segment(s)
Text Symbol: B01 = Data extract
Text Symbol: B02 = Message type for negative result
Text Symbol: L00 = Legend
Text Symbol: L01 = Checksum is valid
Text Symbol: L02 = Checksum is invalid
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 CANCELED = 1 OTHERS = 2.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING COLLECT_AND_SEND = 'X'.
TXW_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING file_name = p_file VOLDIR_SET = P_VOLSET IMPORTING DESCRIPTION = DATA_FILE_DESCRIPTION.
TXW_EXTRACT_SEGMENT_DIR_READ CALL FUNCTION 'TXW_EXTRACT_SEGMENT_DIR_READ' TABLES t_txw_dirsg2 = itxw_dirsg2.
TXW_SEGMENT_CHECKSUM_VERIFY CALL FUNCTION 'TXW_SEGMENT_CHECKSUM_VERIFY' EXPORTING export_structure = itxw_dirsg2-exp_struct EXCEPTIONS checksum_invalid = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '071'.
TXW_EXTRACT_CHECKSUM_VERIFY CALL FUNCTION 'TXW_EXTRACT_CHECKSUM_VERIFY' IMPORTING byte_check_sum = byte_check_sum ref_check_sum = ref_check_sum EXCEPTIONS checksum_invalid = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '224'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = sy-msgid msgty = 'I' txtnr = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '223'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '072' msgv1 = cerr.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RTXWCHK2 - DART: Verify data extract checksums RTXWCHK2 - DART: Verify data extract checksums RTXWCHK11 - DART: Verify control totals for FI documents RTXWCHK11 - DART: Verify control totals for FI documents RTXWCHK10 - DART: Verify control totals for FI documents RTXWCHK10 - DART: Verify control totals for FI documents