RFKORR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates missing tax information (BSET items) for tax codes with a zero percentage rate...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 RFKORR01 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: XX_BLART = Document type
Selection Text: XX_BUDAT = Posting date
Selection Text: XX_BUKRS = Company code
Selection Text: XX_MWSKZ = Tax code
Selection Text: XX_XECHT = Update run
Title: Create Tax Information for Tax-Exempt Sales
Text Symbol: 001 = Company code does not exist:
Text Symbol: 002 = Country key does not exist:
Text Symbol: 003 = Error in 'FIND_TAX_SPREADSHEET'
Text Symbol: 004 = Error in 'CALCULATE_TAX_ITEM'
Text Symbol: 005 = Tax code does not have 0%:
Text Symbol: 006 = Error in 'CREATE_BSET_ITEM'
Text Symbol: 010 = Number of BSET lines generated
Text Symbol: 011 = Number of BSEG lines changed
001 Comp Document Fis. LIm Tx G Tax base Acct number
002 code number year cd L amount in FC key Cond.record
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FIND_TAX_SPREADSHEET CALL FUNCTION 'FIND_TAX_SPREADSHEET' EXPORTING BUCHUNGSKREIS = XX_BUKRS IMPORTING SCHEMA = KALSM EXCEPTIONS NOT_FOUND = 04.
CALCULATE_TAX_ITEM CALL FUNCTION 'CALCULATE_TAX_ITEM' EXPORTING DIALOG = SPACE INKLUSIVE = 'X' I_TAXCOM = TAXCOM IMPORTING E_TAXCOM = TAXCOM NAV_ANTEIL = NAVBT EXCEPTIONS MWSKZ_NOT_DEFINED = 04 MWSKZ_NOT_FOUND = 08 STEUERBETRAG_FALSCH = 12.
CREATE_BSET_ITEM CALL FUNCTION 'CREATE_BSET_ITEM' IMPORTING STEUER_FW = BSEG-WMWST TABLES T_BKPF = T_BKPF T_BSEG = T_BSEG T_BSET = T_BSET EXCEPTIONS ACCOUNT_NOT_FOUND = 01 BSCHL_NOT_FOUND = 02.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.