SAP Reports / Programs | Financial Accounting(FI) SAP FI

RFCORR99 SAP ABAP Report - Analysis Program for Taxes







RFCORR99 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program displays and checks tax-relevant Customizing settings...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 RFCORR99 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 RFCORR99. "Basic submit
SUBMIT RFCORR99 AND RETURN. "Return to original report after report execution complete
SUBMIT RFCORR99 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_XNET = Net
Selection Text: P_WAERS = D Currency
Selection Text: P_TXJCD = D Jurisdiction code
Selection Text: P_MWSKZ = Tax code
Selection Text: P_DISC = Cash discount amount
Selection Text: P_DATE = Date
Selection Text: P_BUKRS = D Company code
Selection Text: P_AMOUNT = D Amount
Title: Analysis Program for Taxes
Text Symbol: 089 = Calculation rule not B (fixed amount)
Text Symbol: 088 = Condition class not A (surcharges and reductions)
Text Symbol: 087 = Base amount may not contain access sequence
Text Symbol: 086 = Condition active for invoice list
Text Symbol: 085 = Description
Text Symbol: 084 = Calculation procedure condition types
Text Symbol: 083 = Error on reading
Text Symbol: 082 = EU cde
Text Symbol: 081 = Tax code
Text Symbol: 080 = Calculation procedure for
Text Symbol: 079 = Tax account
Text Symbol: 078 = From
Text Symbol: 077 = Level
Text Symbol: 076 = Percent
Text Symbol: 075 = Description
Text Symbol: 074 = Cond.type
Text Symbol: 073 = Calculated
Text Symbol: 072 = Tax-relevant indicator (only for external tax system)
Text Symbol: 071 = Tax category for US taxes
Text Symbol: 070 = Next level of TXJCD
Text Symbol: 069 = G/L account (credit)
Text Symbol: 068 = G/L account number (debit)
Text Symbol: 067 = EU code
Text Symbol: 066 = Country for tax reporting
Text Symbol: 065 = Target tax code (for deferred tax)
Text Symbol: 090 = Condition type not K (base amount)
Text Symbol: 115 = Level
Text Symbol: 114 = No.
Text Symbol: 113 = Tax code does not exist





Text Symbol: 112 = Does not agree with
Text Symbol: 111 = TSP code - dependent data
Text Symbol: 110 = No
Text Symbol: 109 = Yes
Text Symbol: 108 = Tax system
Text Symbol: 107 = Tax determination per item
Text Symbol: 106 = Length of jurisdiction code
Text Symbol: 105 = EMPTY
Text Symbol: 104 = Contains no formula
Text Symbol: 103 = Non-statistical
Text Symbol: 102 = Statistical
Text Symbol: 101 = Formula exists
Text Symbol: 100 = Condition type
Text Symbol: 099 = Rounding rule not _ (nearest whole no.)
Text Symbol: 098 = Condition type not D (tax)
Text Symbol: 097 = Calculation rule not A (percentage)
Text Symbol: 096 = Calculation rule for travel expenses must be H (percentage)
Text Symbol: 095 = Trip Costs
Text Symbol: 094 = Condition class not D (tax)
Text Symbol: 093 = Marked for deletion
Text Symbol: 092 = Invalid access sequence:
Text Symbol: 091 = This condition type must have an access sequence
Text Symbol: 033 = Tax calculation
Text Symbol: 032 = Tax customizing
Text Symbol: 031 = Log from PRICING call
Text Symbol: 030 = Calculation procedure for tax on sls/purch. code
Text Symbol: 029 = E_TXJCD
Text Symbol: 026 = G/L account (credit)
Text Symbol: 025 = G/L account (debit)
Text Symbol: 023 = "Tax-relevant" indicator (for external tax system only)
Text Symbol: 022 = Tax category for US taxes
Text Symbol: 021 = EU identifier
Text Symbol: 020 = Country for tax return
Text Symbol: 019 = Target tax code (for deferred tax)
Text Symbol: 018 = Tax type
Text Symbol: 017 = Error message for incorrect tax amount
Text Symbol: 016 = Tax code
Text Symbol: 015 = Tax jurisdiction code
Text Symbol: 014 = Document date as base for tax determ.





Text Symbol: 013 = Taxes on sales/purchases group
Text Symbol: 012 = Number of decimal places
Text Symbol: 011 = Smallest rounding unit
Text Symbol: 010 = Foreign curr.translation for tax items
Text Symbol: 009 = Tax base amount is net
Text Symbol: 008 = Cash discount base is net
Text Symbol: 007 = Third Local Currency
Text Symbol: 006 = Second Local Currency
Text Symbol: 005 = Calc. Proced.
Text Symbol: 004 = Currency
Text Symbol: 003 = Country
Text Symbol: 002 = Chart of Accounts
Text Symbol: 001 = Company Code
Text Symbol: 064 = Indicator: Error message for invalid tax amount ?
Text Symbol: 063 = Tax type
Text Symbol: 062 = Indicator: Base amount for tax is net
Text Symbol: 061 = Indicator: Discount base amount is the net value
Text Symbol: 060 = Indicator: Determine taxes line-by-line
Text Symbol: 059 = Indicator: External tax system active
Text Symbol: 058 = Length of the nth part of the tax jurisdiction code
Text Symbol: 057 = Document date as base for tax determ.
Text Symbol: 056 = Foreign currency translation for tax items
Text Symbol: 055 = Calculation procedure
Text Symbol: 054 = Taxes on sales/purchases group
Text Symbol: 053 = Third local currency
Text Symbol: 052 = Second local currency
Text Symbol: 051 = Number of decimal places
Text Symbol: 050 = Smallest rounding unit
Text Symbol: 049 = Tax jurisdiction NOT in TTXJ
Text Symbol: 048 = Field
Text Symbol: 047 = Chart of accounts
Text Symbol: 046 = No Acct Determin.
Text Symbol: 045 = Not tax accounts, tax non-deductible
Text Symbol: 044 = Acct key
Text Symbol: 043 = Tax rate
Text Symbol: 042 = Tax amount in PC
Text Symbol: 041 = Taxes
Text Symbol: 040 = Gross amount
Text Symbol: 039 = Tax base amount



Text Symbol: 038 = Tax calculation
Text Symbol: 037 = Calculation error
Text Symbol: 036 = Jurisdiction code data
Text Symbol: 035 = Company code-dependent data


INCLUDES used within this REPORT RFCORR99

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:

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = bukrs IMPORTING e_t001 = t001 EXCEPTIONS system_error = 1 OTHERS = 2.

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = bukrs IMPORTING e_x001 = x001 EXCEPTIONS currency_2_not_defined = 1 currency_3_not_defined = 2 OTHERS = 3.

FI_COUNTRY_DATA CALL FUNCTION 'FI_COUNTRY_DATA' EXPORTING i_land1 = t001-land1 IMPORTING e_kalsm = t005-kalsm.

CALCULATE_TAX_FROM_GROSSAMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_GROSSAMOUNT' EXPORTING i_bukrs = bukrs i_mwskz = mwskz i_txjcd = txjcd i_waers = waers i_wrbtr = amount i_zbd1p = disc i_prsdt = prsdt "#EC DOM_EQUAL i_protokoll = 'X' IMPORTING e_fwnav = fwnav e_fwnvv = fwnvv e_fwste = fwste TABLES t_mwdat = t_mwdat EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 mwskz_not_defined = 3 mwskz_not_valid = 4 account_not_found = 5 different_discount_base = 6 different_tax_base = 7 txjcd_not_valid = 8 not_found = 9.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = bukrs i_mwskz = mwskz i_txjcd = txjcd i_waers = waers i_wrbtr = amount i_zbd1p = disc i_prsdt = prsdt "#EC DOM_EQUAL i_protokoll = 'X' IMPORTING e_fwnav = fwnav e_fwnvv = fwnvv e_fwste = fwste TABLES t_mwdat = t_mwdat EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 mwskz_not_defined = 3 mwskz_not_valid = 4 OTHERS = 5.

COND_PROTOCOL_SHOW_NEW CALL FUNCTION 'COND_PROTOCOL_SHOW_NEW' EXPORTING cps_kalsm = kalsm cps_kappl = 'TX' cps_kposn = ' ' cps_kvewe = 'A'.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog "#EC DOM_EQUAL dynumb = '1000' translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

F_VALUES_TXJCD CALL FUNCTION 'F_VALUES_TXJCD' EXPORTING i_land1 = t001-land1 IMPORTING e_txjcd = p_txjcd.



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