SAP Reports / Programs

RFVIIM00 SAP ABAP Report - Input Tax Distribution: Simulation, Implementation, Reversal and Log







RFVIIM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report is used to simulate and post input tax distributions...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 RFVIIM00 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FO8DN - Input Tax Distribution Log
FO8DA - Input Tax Distribution
FO8DB - Input Tax Distribution Posting
FO8DM - Input Tax Distribution Reversal


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 RFVIIM00. "Basic submit
SUBMIT RFVIIM00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIIM00 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_BKTXT = D Document Header Text
Selection Text: P_BLART = D Document Type
Selection Text: P_BLDAT = D Document Date
Selection Text: P_BUDAT = D Posting Date
Selection Text: P_BUKRS = D Company Code
Selection Text: P_MONAT = D Posting Period
Selection Text: S_AEWENR = BE of Particip. RUs
Selection Text: S_AKONT = Account Deductible Input Tax
Selection Text: S_AWORG = Reference Original Unit
Selection Text: S_AWREF = Reference Document Number
Selection Text: S_AWTYP = Object Type
Selection Text: S_BUDAT = Posting Date
Selection Text: S_BUKRS = Company Code
Selection Text: S_DABRZ = Reference Date
Selection Text: S_DBEAR = Date of Last Processing
Selection Text: S_DERF = Entry Date
Selection Text: S_ESMIV = Collective lease-out
Selection Text: S_GJAHR = Fiscal Year
Selection Text: S_HKONT = Original Acct
Selection Text: S_MONAT = Period
Selection Text: S_SWENR = Business Entity
Selection Text: S_SOLLID = Debit Position ID
Selection Text: S_SNKSL = Service Charge Key
Selection Text: S_SMIVE = Lease-out
Selection Text: S_SMENR = Rental Unit
Selection Text: S_SGRNR = Property
Selection Text: S_SGENR = Buildings
Selection Text: S_SEMPSL = Settlement Unit
Selection Text: S_SBERI = Correction Items
Selection Text: S_RWTYP = Object Type AB
Selection Text: S_RWREF = Reference Document Number AB
Selection Text: S_RWORG = Reference Original Unit AB
Selection Text: S_ROSNR = Item Number AB
Selection Text: S_RERF = First Entered By
Selection Text: S_REHER = Origin of First Entry
Selection Text: S_RBHER = Origin of Last Processing
Selection Text: S_RBEAR = Last Processed By
Selection Text: S_POSNR = Item Number





Selection Text: S_NASAK = Account Non-Deductible Inp.Tax
Title: Input Tax Distribution: Simulation, Implementation, Reversal and Log
Text Symbol: 080 = Company Code
Text Symbol: 079 = Doc.Type
Text Symbol: 078 = Doc. Date
Text Symbol: 077 = DocHeader
Text Symbol: 076 = Collective LO
Text Symbol: 075 = Mngmnt Contract
Text Symbol: 074 = Bldg
Text Symbol: 073 = Properties
Text Symbol: 072 = Business Entities
Text Symbol: 071 = Rntl agrmnts
Text Symbol: 070 = Rental Units
Text Symbol: 069 = Settlement Units
Text Symbol: 068 = Correction Items
Text Symbol: 081 = Posting Date
Text Symbol: 082 = Period
Text Symbol: 083 = Fiscal Year
Text Symbol: 084 = Doc.Head.Text
Text Symbol: 085 = *Input Tax Distrib. RE
Text Symbol: 086 = Evaluation Input Tax Distrib.
Text Symbol: 087 = Input Tax Distrib. Results
Text Symbol: 089 = SIMULATION
Text Symbol: 090 = LC Gross Amount
Text Symbol: 091 = LC GrossA.
Text Symbol: 092 = FC Gross Amount
Text Symbol: 093 = FC GrossA.
Text Symbol: 101 = A parallel distribution was made
Text Symbol: 102 = Start the transaction again
Text Symbol: 033 = Acct Asst Object
Text Symbol: 032 = CostLC
Text Symbol: 031 = Cost LC
Text Symbol: 030 = Cost Local Curr.
Text Symbol: 029 = Detail: All Fields
Text Symbol: 028 = No. of Sel. Activities
Text Symbol: 027 = @B_COLL@
Text Symbol: 026 = Line Type
Text Symbol: 025 = @B_COLR@
Text Symbol: 024 = Line Items with Output Tax





Text Symbol: 023 = Reversed Line Items
Text Symbol: 022 = Line Items with Full Deductible Inp.Tax
Text Symbol: 021 = Undistributed Line Items
Text Symbol: 020 = Distributed Line Items
Text Symbol: 019 = @f_redo@SelCor
Text Symbol: 018 = @f_redo@SelSU
Text Symbol: 017 = @f_redo@SelCon
Text Symbol: 016 = @f_redo@ObjSel
Text Symbol: 015 = @3T@Del. sel. accounts
Text Symbol: 014 = @3T@Del. sel. entry
Text Symbol: 013 = Only reversed rates split in VITAXD
Text Symbol: 012 = Delete CGA
Text Symbol: 011 = Entry
Text Symbol: 010 = Predefine
Text Symbol: 009 = Corr.Items
Text Symbol: 008 = Settl.Unit
Text Symbol: 007 = Contracts
Text Symbol: 006 = Objects
Text Symbol: 005 = Acct Assgt
Text Symbol: 004 = Accts
Text Symbol: 003 = Run
Text Symbol: 002 = Selection via Posting Data
Text Symbol: 001 = Tax Information for RE Account Assignment
Text Symbol: 034 = AcctObj
Text Symbol: 067 = *Reversal InTX Distr.
Text Symbol: 066 = Simulation and Posting of Input Tax Distrib.
Text Symbol: 065 = Reversal of Input Tax Distribution
Text Symbol: 064 = Processing
Text Symbol: 063 = Eval. and Reversal
Text Symbol: 062 = Simulation and Distrib.
Text Symbol: 061 = Corr.Items
Text Symbol: 060 = Settl.Unit
Text Symbol: 059 = Contract
Text Symbol: 058 = Object
Text Symbol: 057 = Line Item
Text Symbol: 056 = @f_redo@Del. sel. line item
Text Symbol: 055 = @M_ERRO@ Inconsistent document lines! (see log)
Text Symbol: 054 = Inconsistent RE Line Items
Text Symbol: 053 = Ded. TX LC



Text Symbol: 052 = Deduct. Tax LC
Text Symbol: 051 = Deductible Tax LC
Text Symbol: 050 = FYr. DisD
Text Symbol: 049 = Fiscal Yr. DistDoc
Text Symbol: 048 = CoCd D.D.
Text Symbol: 047 = CoCd Distrib. Doc
Text Symbol: 046 = Obj. Type
Text Symbol: 045 = Dist. Doc
Text Symbol: 044 = Distrib. Doc.
Text Symbol: 043 = CostFC
Text Symbol: 042 = Costs FC
Text Symbol: 041 = Costs Foreign Curr.
Text Symbol: 040 = N.Ded.TX
Text Symbol: 039 = N. Ded. TX
Text Symbol: 038 = Non-Deductible Tax FC
Text Symbol: 037 = Ded. TX
Text Symbol: 036 = Deduct. Tax FC
Text Symbol: 035 = Deductible Tax FC


INCLUDES used within this REPORT RFVIIM00

INCLUDE IIM00TOP.
INCLUDE APP_LOG_FORMS.
INCLUDE RKASMAWF.
INCLUDE IIM00F01.
INCLUDE IIM00F02.
INCLUDE IIM00F03.
INCLUDE RFVISODF.
INCLUDE IFRE_CHECK_RE_CLASSIC.


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:

RE_GET_CC_CUSTOMIZING CALL FUNCTION 'RE_GET_CC_CUSTOMIZING' EXPORTING i_bukrs = lv_bukrs IMPORTING e_tipzb = gs_tipzb.

RE_POPUP_DOCUMENT_HEADER CALL FUNCTION 'RE_POPUP_DOCUMENT_HEADER' EXPORTING i_bkpf = gd_ebkpf i_nodlg = gc_nodlg IMPORTING e_bkpf = gd_ibkpf e_canc = gd_canc.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gd_status i_callback_user_command = g_user_command is_layout = gt_layout it_fieldcat = gt_fieldcat[] it_sort = gt_sort[] is_variant = gs_variant i_save = gd_var_save it_events = gt_events[] IMPORTING e_exit_caused_by_caller = gv_exit_call es_exit_caused_by_user = gr_exit_user TABLES t_outtab = gt_outtab EXCEPTIONS OTHERS = 2.

RE_SHOW_TAX_INFORMATION CALL FUNCTION 'RE_SHOW_TAX_INFORMATION' TABLES i_vitaxd = i_vitaxd e_enh_vitaxd = i_outtab e_sprot_u = i_sprot_u.

RE_SEL_TAX_INFORMATION CALL FUNCTION 'RE_SEL_TAX_INFORMATION' EXPORTING i_split = ld_split i_nodoc = i_nodoc i_mwart = ld_mwart i_stokz = ld_stokz i_stflg = ld_stflg i_init_sollid = ld_init_sollid TABLES e_vitaxd = i_vitaxd ir_imkey = i_imkey ir_akont = i_akont ir_budat = i_budat ir_monat = i_monat ir_hkont = i_hkont ir_rerf = i_rerf ir_derf = i_derf ir_reher = i_reher ir_rbear = i_rbear ir_dbear = i_dbear ir_rbher = i_rbher ir_gjahr = i_gjahr ir_bukrs = i_bukrs ir_dabrz = i_dabrz ir_nasak = i_nasak ir_sollid = i_sollid.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = ut_events.

RE_POPUP_DOCUMENT_HEADER CALL FUNCTION 'RE_POPUP_DOCUMENT_HEADER' EXPORTING i_bkpf = gd_ebkpf i_nodlg = gc_nodlg IMPORTING e_bkpf = gd_ibkpf e_canc = gd_canc.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING is_layout = gt_layout it_fieldcat = gt_fieldcat.

RE_TRANSFORM_PROTOCOLL CALL FUNCTION 'RE_TRANSFORM_PROTOCOLL' EXPORTING ir_log = gr_log TABLES it_sprot_u = gt_sprot_u.

RE_TRANSFORM_PROTOCOLL CALL FUNCTION 'RE_TRANSFORM_PROTOCOLL' EXPORTING ir_log = gr_log i_extnumber = gc_enumb TABLES it_sprot_u = gt_sprot_u.

RE_TRANSFORM_PROTOCOLL CALL FUNCTION 'RE_TRANSFORM_PROTOCOLL' EXPORTING ir_log = gr_log TABLES it_sprot_u = gt_sprot_u.

FI_CHECK_DATE CALL FUNCTION 'FI_CHECK_DATE' EXPORTING i_bukrs = i_user = sy-uname i_program = g_repid i_from_date = ld_date_min i_to_date = ld_date_max i_from_per = ld_per_min i_to_per = ld_per_max i_from_year = ld_gjahr_min i_to_year = ld_gjahr_max i_applk = 'IM-RE' IMPORTING e_return = lv_return EXCEPTIONS no_authority_prog = 1 no_authority_date = 2 wrong_parameter = 3 others = 4.

FI_CHECK_DATE CALL FUNCTION 'FI_CHECK_DATE' EXPORTING i_bukrs = ' ' i_user = sy-uname i_program = g_repid i_applk = 'IM-RE' IMPORTING e_return = lv_return EXCEPTIONS no_authority_prog = 1 no_authority_date = 2 wrong_parameter = 3 others = 4.

FVAU_AUTHORITY_CHECK CALL FUNCTION 'FVAU_AUTHORITY_CHECK' EXPORTING object = auth_object authpar = authpar EXCEPTIONS no_authority = 1 OTHERS = 2.



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