SAP Reports / Programs

RFCATX00 SAP ABAP Report - Post PST to Prior Period (Canada)







RFCATX00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program determines the tax proportion contained in the deduction of cash discount...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFCATX00 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 RFCATX00. "Basic submit
SUBMIT RFCATX00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFCATX00 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: PA_TLSEP = List Separation
Selection Text: SO_BELNR = Document Number
Selection Text: SO_BUDAT = Posting Date
Selection Text: SO_BUKRS = Company Code
Selection Text: SO_GJAHR = Fiscal Year
Selection Text: SO_LIFNR = Vendor
Selection Text: SO_MWSKZ = Tax Code
Selection Text: SO_XBLNR = Reference Number
Title: Post PST to Prior Period (Canada)
Text Symbol: 001 = Doc. Number
Text Symbol: 002 = Invoice Number
Text Symbol: 003 = Docu. Date
Text Symbol: 004 = TxCd
Text Symbol: 005 = Discnt
Text Symbol: 006 = Tax Portion
Text Symbol: 010 = Doc.No. Invoice No. Doc.date TxCd CashDsct Tax portion
Text Symbol: 011 = Company Code
Text Symbol: 012 = Currency


INCLUDES used within this REPORT RFCATX00

INCLUDE RFDBRMAC.


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:

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = xbsak-bukrs IMPORTING e_t001 = t001.

CHECK_JURISDICTION_ACTIVE CALL FUNCTION 'CHECK_JURISDICTION_ACTIVE' EXPORTING i_bukrs = xbsak-bukrs IMPORTING e_isactive = txjcd_active.

FIND_TAX_SPREADSHEET CALL FUNCTION 'FIND_TAX_SPREADSHEET' EXPORTING buchungskreis = t001-bukrs EXCEPTIONS OTHERS = 1.

TXJCD_CONTROL CALL FUNCTION 'TXJCD_CONTROL' EXPORTING i_txjcd = txjcd IMPORTING e_xmwsn = t001-xmwsn e_xskfn = t001-xskfn EXCEPTIONS OTHERS = 1.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = t001-bukrs i_mwskz = mwskz i_txjcd = txjcd i_waers = t001-waers i_wrbtr = base_amount TABLES t_mwdat = mwdat EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_DEFAULT_GET * CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' "#EC * * EXPORTING * i_save = G_SAVE * CHANGING * cs_variant = xs_variant * EXCEPTIONS * wrong_input = 1 * not_found = 2 * program_error = 3 * OTHERS = 4.

REUSE_ALV_VARIANT_F4 * CALL FUNCTION 'REUSE_ALV_VARIANT_F4' * EXPORTING * is_variant = is_variant * i_save = G_SAVE * IMPORTING * e_exit = lv_exit * es_variant = ls_variant * EXCEPTIONS * not_found = 1 * program_error = 2 * OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE * CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' * EXPORTING * i_save = G_SAVE * CHANGING * cs_variant = xs_variant * EXCEPTIONS * wrong_input = 1 * not_found = 2 * program_error = 3 * OTHERS = 4.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_pf_status_set = gc_setpfstatus i_callback_program = g_repid it_fieldcat = lt_fieldcat i_save = g_save it_events = lt_eventtab is_layout = ls_layout it_sort = lt_sorttab TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_strname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = gd_linsz et_sort = lt_sort.



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