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

RTXWCHK10 SAP ABAP Report - DART: Verify control totals for FI documents







RTXWCHK10 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 RTXWCHK10 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 RTXWCHK10. "Basic submit
SUBMIT RTXWCHK10 AND RETURN. "Return to original report after report execution complete
SUBMIT RTXWCHK10 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: S_MONAT = D .
Selection Text: S_BUKRS = D .
Selection Text: P_VOLSET = D .
Selection Text: P_TARCH = D .
Selection Text: P_MTYP_I = Information
Selection Text: P_MTYP_E = Error
Selection Text: P_MTYP_A = Termination
Selection Text: P_FILE = D .
Selection Text: P_BUKRS = D .
Title: DART: Verify control totals for FI documents
Text Symbol: TP3 = no errors found
Text Symbol: TP2 = warnings
Text Symbol: TP1 = error occured
Text Symbol: T05 = All Company Codes
Text Symbol: T04 = Ledger
Text Symbol: T03 = Data file
Text Symbol: T02 = Fiscal year
Text Symbol: T01 = Company code
Text Symbol: PTA = Include data retrieved from archive
Text Symbol: L02 = Control totals are invalid
Text Symbol: L01 = Control totals are valid
Text Symbol: L00 = Legend
Text Symbol: H16 = AccTy
Text Symbol: H15 = Account balances
Text Symbol: H14 = Items
Text Symbol: H13 = Item totals
Text Symbol: H12 = D/C
Text Symbol: H11 = Period
Text Symbol: H05 = Date :
Text Symbol: H04 = Ledger :
Text Symbol: H03 = Fiscal Year :
Text Symbol: H02 = Company code :
Text Symbol: H01 = Data extract :
Text Symbol: B03 = Message type for negative result
Text Symbol: B02 = Data extract
Text Symbol: B01 = Selection criteria
Text Symbol: 00S = Debit
Text Symbol: 00H = Credit





Text Symbol: 004 = FI control totals verification: &1 errors found
Text Symbol: 003 = FI control totals verification: No errors found
Text Symbol: 002 = FI control totals verification: &1 errors found for company code &2.
Text Symbol: 001 = FI control totals verification: No errors found for company code &1.


INCLUDES used within this REPORT RTXWCHK10

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = lsx_restrict EXCEPTIONS OTHERS = 0. "N1319852

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING COLLECT_AND_SEND = ld_mess_send. "H1368472

TXW_EXTRACT_READ_INIT CALL FUNCTION 'TXW_EXTRACT_READ_INIT' EXPORTING file_name = p_file voldir_set = p_volset IMPORTING description = data_file_description TABLES t_txw_dir2 = itxw_dir2.

TXW_EXTRACT_SELECTION_READ CALL FUNCTION 'TXW_EXTRACT_SELECTION_READ' TABLES t_txw_sel = itxw_sel t_txw_selpar = itxw_selpar t_txw_selval = itxw_selval.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = gd_newgl_active.

FAGL_GET_GROUPS_WITH_LEDGER CALL FUNCTION 'FAGL_GET_GROUPS_WITH_LEDGER' EXPORTING i_rldnr = gd_rldnr TABLES et_ldgrp = lt_TLDGRP.

TXW_EXTRACT_READ_CLOSE CALL FUNCTION 'TXW_EXTRACT_READ_CLOSE'.

TXW_SEGMENT_INFO_GET CALL FUNCTION 'TXW_SEGMENT_INFO_GET' EXPORTING export_structure = segment_fi_pos TABLES sel_company_code = r_comp_code sel_period = r_period EXCEPTIONS invalid_structure = 1.

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

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '077' msgv1 = s_bukrs-low.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '077' msgv1 = s_bukrs-low.

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = poper variant = t001-periv year = fyear IMPORTING from_date_orig = lr_date-low "H1491725 to_date = lr_date-high. "H1491725

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = poper variant = t001-periv year = fyear IMPORTING to_date = lr_date-high. "H1491725

TXW_EXTRACT_SEGMENT_READ_ALL CALL FUNCTION 'TXW_EXTRACT_SEGMENT_READ_ALL' EXPORTING export_structure = dart_txw_bbacc * FLAG_RECORD_HEADER = ' ' TABLES t_segment = t_txw_bbacc S_PERIOD = S_MONAT[] "H779832 EXCEPTIONS NOT_FOUND = 1.

TXW_SEGMENT_READ_NEXT_REC CALL FUNCTION 'TXW_SEGMENT_READ_NEXT_REC' EXPORTING is_sourcefile = ls_source ID_RESTART = ld_restart IMPORTING ED_GOON = ld_goon tables et_segment = lt_fi_pos.

FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' IMPORTING e_rldnr = ld_leading_ledger.






FAGL_GET_TABLENAMES CALL FUNCTION 'FAGL_GET_TABLENAMES' EXPORTING i_ledger = ld_leading_ledger IMPORTING es_tabnames = ls_tablenames.

G_GET_TABLE_INFO CALL FUNCTION 'G_GET_TABLE_INFO' EXPORTING i_tab = ls_tablenames-tot_table TABLES E_KEYFIG_INFO = lt_keyfig_info EXCEPTIONS NO_TABLE_INFO_FOUND = 1 NO_KEYFIG_INFO_FOUND = 2 OTHERS = 3.

FAGL_GET_GLT0_SETTING CALL FUNCTION 'FAGL_GET_GLT0_SETTING' IMPORTING ed_read_glt0_user = ld_read_glt0_user.

FAGL_READ_SI_TABLE_BY_BELNR_LI call function 'FAGL_READ_SI_TABLE_BY_BELNR_LI' exporting id_rldnr = gd_rldnr it_belnr_list = lt_belnr_list importing et_bseg = lt_bseg et_glu1 = lt_glu1 exceptions not_found = 1 others = 2 .

TXW_SEGMENT_READ_NEXT_REC CALL FUNCTION 'TXW_SEGMENT_READ_NEXT_REC' EXPORTING is_sourcefile = ls_source ID_RESTART = ld_restart IMPORTING ED_GOON = ld_goon tables et_segment = lt_ngl_pos.

FAGL_GET_GLT0_SETTING CALL FUNCTION 'FAGL_GET_GLT0_SETTING' IMPORTING ed_read_glt0_user = ld_read_glt0_user.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = 'I' txtnr = '210' msgv1 = lt_errors-bukrs.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'XW' msgty = sy-msgty txtnr = '211' msgv1 = lt_errors-error_count msgv2 = lt_errors-bukrs.

MESSAGE_EXPORT_IMPORT CALL FUNCTION 'MESSAGE_EXPORT_IMPORT' EXPORTING EX_OR_IF = 'EX' I_MEMORYID = 'DART/FTWE' EXCEPTIONS OTHERS = 0.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXCEPTIONS OTHERS = 0.

MESSAGES_SAVE CALL FUNCTION 'MESSAGES_SAVE' exporting i_balobject = ld_balobject i_balsubobject = ld_balsubobject importing e_log_handle = gd_log_handle exceptions OTHERS = 0.

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