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
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_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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.
RFCORR99 - Analysis Program for Taxes RFCORR99 - Analysis Program for Taxes RFCORR90 - Correct GLT0 Table for Cash Discount Clearing Accounts RFCORR90 - Correct GLT0 Table for Cash Discount Clearing Accounts RFCORR78 - Adjustment of PSWBT and PSWSL from SGA Postings RFCORR78 - Adjustment of PSWBT and PSWSL from SGA Postings