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

RFUMSV00 SAP ABAP Report - Advance Return for Tax on Sales/Purchases







RFUMSV00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report creates the advance return for tax on sales/purchases, and, of required, also creates a batch input session for automatic transfer posting of tax payable...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 RFUMSV00 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

/CEECV/ROFI10 - Advance Return for Tax on Sales/Purc


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 RFUMSV00. "Basic submit
SUBMIT RFUMSV00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFUMSV00 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: PARPCORR = D .
Selection Text: SO_DIAC = D .
Selection Text: SEL_VTDT = Tax Reporting Date
Selection Text: SEL_UKRS = Taxes on sales/purchases group
Selection Text: SEL_TMTI = Time of Tax Return
Selection Text: SEL_TMDT = Date of Tax Return
Selection Text: SEL_MWKZ = Tax on sales/purchases code
Selection Text: SEL_MONA = Fiscal period
Selection Text: SEL_LSTM = Tax return country
Selection Text: SEL_CPUD = CPU date
Selection Text: SEL_BUPL = Business Place
Selection Text: SEL_BLDT = Document date
Selection Text: PAR_ZKTO = Alternative Tax Payable Acct
Selection Text: PAR_ZEIT = Time for Processing
Selection Text: PAR_XSVO = Select input tax
Selection Text: PAR_XSTW = Nat.Crcy Instead of Local Crcy
Selection Text: PAR_XSHT = Total by debit/credit
Selection Text: PAR_XSAU = Select output tax
Selection Text: PAR_XML = Output in XML Format
Selection Text: PAR_XCAS = Read receipt data
Selection Text: PAR_UMSV = Prepare printing of forms
Selection Text: PAR_STRU = TSP indicator for tax rounding
Selection Text: PAR_STAT = Statistical Info not Printed
Selection Text: PAR_SOFA = Process session immediately
Selection Text: PAR_REID = Report no.
Selection Text: PAR_NAVA = Incr.bse amt by non-ded.inp.tx
Selection Text: PAR_MONA = Posting period
Selection Text: PAR_LSEP = List separation requested
Selection Text: PAR_LINE = Additional title
Selection Text: PAR_LAUD = Program run date
Selection Text: PAR_LANG = Output Language
Selection Text: PAR_KUKP = Do not update documents
Selection Text: PARPDPER = D .
Selection Text: SKONTO = D .
Selection Text: SEL_UMSK = D .
Selection Text: SEL_KTOS = D .
Selection Text: PAR_XFWA = D .
Selection Text: PAR_XDTA = D .





Selection Text: PAR_XADR = D .
Selection Text: PAR_VAR7 = D .
Selection Text: PAR_VAR6 = D .
Selection Text: PAR_VAR5 = D .
Selection Text: PAR_VAR4 = D .
Selection Text: PAR_VAR3 = D .
Selection Text: PAR_VAR2 = D .
Selection Text: PAR_VAR1 = D .
Selection Text: PAR_UDTR = D .
Selection Text: PAR_TRID = D .
Selection Text: PAR_SORT = D .
Selection Text: PAR_SNOU = D .
Selection Text: PAR_SNIN = D .
Selection Text: PAR_NOHE = D .
Selection Text: PAR_MIKF = D .
Selection Text: PAR_LIS7 = D .
Selection Text: PAR_LIS6 = D .
Selection Text: PAR_LIS5 = D .
Selection Text: PAR_LIS4 = D .
Selection Text: PAR_LIS3 = D .
Selection Text: PAR_LIS2 = D .
Selection Text: PAR_LIS1 = D .
Selection Text: PAR_LAUI = D .
Selection Text: PAR_FILE = D .
Selection Text: PAR_BODO = D .
Selection Text: PARPEUVA = D .
Selection Text: PARPDYEA = D .
Selection Text: PAR_FDAT = Due Date of the Tax Payable
Selection Text: PAR_CAOS = Sep. Non-Deduct. Input Tax
Selection Text: PAR_BUPL = Update documents: Test run
Selection Text: PAR_BSUD = Update documents: Update run
Selection Text: PAR_BLAR = Postings document type
Selection Text: PAR_BINP = Batch input session required
Selection Text: PAR_BINA = Session name
Selection Text: PAR_BDAT = Posting date
Selection Text: PAR_AVER = International Address Version
Selection Text: PAR_ADAT = Run deadline
Title: Advance Return for Tax on Sales/Purchases
Text Symbol: 024 = Input tax: Total





Text Symbol: 025 = Tax difference: Line items
Text Symbol: 026 = Balance per company code
Text Symbol: 027 = Balance of all company codes
Text Symbol: 028 = Configure
Text Symbol: 051 = Further selections
Text Symbol: 052 = Posting parameters
Text Symbol: 053 = Output control
Text Symbol: 054 = Output lists
Text Symbol: 055 = Document numbering
Text Symbol: 056 = Form printout
Text Symbol: 057 = Tax payable posting
Text Symbol: 058 = DME file
Text Symbol: 023 = Input tax: Line items
Text Symbol: 022 = Output tax: Total
Text Symbol: 021 = Output tax: Line items
Text Symbol: 020 = Output lists
Text Symbol: 019 = Layout
Text Symbol: 010 = Advance Tax Return: Report Date &DAT1 to &DAT2
Text Symbol: 009 = Tax on sls/purch. adv. ret.: Repeat runs &DAT1 to &DAT2
Text Symbol: 008 = Business place is &1
Text Symbol: 007 = Tax on sls/purch. adv. ret.: Repeat run from &DATE at &TIME
Text Symbol: 006 = Only for repeat run:
Text Symbol: 005 = Tax on sls/purch. adv. ret.: Doc. date &DAT1 to &DAT2
Text Symbol: 002 = Tax on sls/purch. adv.ret.: Periods &PER1 to &PER2
Text Symbol: 001 = Tax on sls/purch. adv. ret.: Posting date &DAT1 to &DAT2
Text Symbol: 0** = * Report title / Selection parameter
Text Symbol: 501 = Add. Parameters
Text Symbol: 408 = Country
Text Symbol: 407 = Name of Country
Text Symbol: 406 = ISO
Text Symbol: 405 = Country ISO Code
Text Symbol: 404 = Description
Text Symbol: 403 = Input Tax in F. Crcy
Text Symbol: 402 = Output Tax in F. Crcy
Text Symbol: 401 = Base Amount in F.Crcy
Text Symbol: 400 = Business PartnerName
Text Symbol: 300 = Caution: The base amounts in this report are incorrect. See note 204972.
Text Symbol: 204 = Only tax items with run date &DAT1 to &DAT2 were selected from this period
Text Symbol: 202 = Only tax items with run date &DATE and time &TIME were selected from this period.



Text Symbol: 201 = Run date &DATE and time &TIME were noted in the tax items
Text Symbol: 2** = * Information texts
Text Symbol: 180 = Data for electronic tax return prepared for
Text Symbol: 173 = Comment
Text Symbol: 172 = Company Code without Doc. Split
Text Symbol: 171 = With run date &LAUFDATUM& and run ID &LIDENTIF& for
Text Symbol: 170 = Data prepared for printing forms
Text Symbol: 169 = Company Code with Document Split
Text Symbol: 168 = 2 Batch Input Sess. &BATCHINPUTM
Text Symbol: 167 = Batch input session &BATCHINPUTM
Text Symbol: 102 = No file created
Text Symbol: 101 = File & created
Text Symbol: 1** = * List headings
Text Symbol: 059 = Electronic Advance Tax Return


INCLUDES used within this REPORT RFUMSV00

INCLUDE I_RFUMS_TABLES.
INCLUDE I_RFUMS_PARAMETER.
INCLUDE I_RFUMS_DATA.
INCLUDE FIUUMS40.


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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_collapse text = text-051 * INFO = ' ' IMPORTING RESULT = pushb_c1 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_collapse text = text-057 * INFO = ' ' IMPORTING RESULT = pushb_c2 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_collapse text = text-053 * INFO = ' ' IMPORTING RESULT = pushb_c3 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_collapse text = text-054 * INFO = ' ' IMPORTING RESULT = pushb_c4 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_collapse text = text-052 * INFO = ' ' IMPORTING RESULT = pushb_c5 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_expand text = text-051 * INFO = ' ' IMPORTING RESULT = pushb_o1 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_expand text = text-057 * INFO = ' ' IMPORTING RESULT = pushb_o2 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_expand text = text-053 * INFO = ' ' IMPORTING RESULT = pushb_o3 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_expand text = text-054 * INFO = ' ' IMPORTING RESULT = pushb_o4 EXCEPTIONS OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_expand text = text-052 * INFO = ' ' IMPORTING RESULT = pushb_o5 EXCEPTIONS OTHERS = 3.

TAX_UMKRS_TIMEDEP_ACTIVE CALL FUNCTION 'TAX_UMKRS_TIMEDEP_ACTIVE' "N1542782 IMPORTING "N1542782 E_UMKRS_ACTIVE = gd_umkrs_active "N1542782 TABLES "N1542782 T_R_BUKRS = br_bukrs "N1542782 T_R_UMKRS = sel_ukrs "N1542782 T_R_BUDAT = br_budat "N1542782 T_R_BLDAT = sel_bldt "N1542782 T_R_VATDATE = dso_vtdt "N1542782 . "N1542782

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = 'BSEG' IMPORTING dd02v_wa = ls_dd02v_wa_bseg.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = 'BSET' IMPORTING dd02v_wa = ls_dd02v_wa_bset.

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' "<<<< 31H EXPORTING xdatabase = 'B' "<<<< 31H TABLES xbukreis = br_bukrs. "<<<< 31H

FOT_ENQUEUE_DECLSTA CALL FUNCTION 'FOT_ENQUEUE_DECLSTA' "751603 EXPORTING "751603 it_fotdeclsta = gt_fotdeclsta "751603 id_enqmod = 'ENQ'. "751603

TAX_UMKRS_DETERMINE CALL FUNCTION 'TAX_UMKRS_DETERMINE' "N1542782 EXPORTING "N1542782 i_bkpf = bkpf "N1542782 IMPORTING "N1542782 E_UMKRS = gd_umkrs. "N1542782

GET_TAX_RFD_CODE CALL FUNCTION 'GET_TAX_RFD_CODE' EXPORTING iv_kalsm = tab_001-kalsm iv_mwskz = bset-mwskz IMPORTING es_tax_rfd_codes = ls_tax_rfd_codes EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERT_TO_FOREIGN_CURRENCY * CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * local_currency = bkpf-hwaer * foreign_currency = bkpf-waers * local_amount = hlp_sdiff * date = bkpf-wwert * rate = bkpf-kursf * IMPORTING * foreign_amount = hlp_sdiff_fc.

FI_SPLIT_TAX CALL FUNCTION 'FI_SPLIT_TAX' EXPORTING is_vat_amount = gs_unsplitted_information IMPORTING et_vat_amounts = gt_splitted_inf_single_line EXCEPTIONS internal_error = 1 OTHERS = 2.

CA_USER_EXISTS CALL FUNCTION 'CA_USER_EXISTS' EXPORTING i_user = sy-uname EXCEPTIONS user_missing = 1 OTHERS = 2.

RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = sy-repid mode_write_or_move = 'M' IMPORTING p_trange = lt_trange EXCEPTIONS OTHERS = 1.

FREE_SELECTIONS_RANGE_2_WHERE CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_WHERE' EXPORTING field_ranges = lt_trange IMPORTING where_clauses = lt_twhere.

CHECK_PLANTS_ABROAD_ACTIVE CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' EXPORTING i_bukrs = t001-bukrs IMPORTING e_fi_isactive = xwia.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = excdt foreign_currency = int_teurb-waers local_amount = zdmbtr local_currency = int_teurb-hwaer * RATE = 0 type_of_rate = int_teurb-kurst IMPORTING * EXCHANGE_RATE = foreign_amount = e_dmbtr.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = excdt foreign_currency = int_teurb-waers local_amount = zdmbtr local_currency = g_waers type_of_rate = int_teurb-kurst IMPORTING foreign_amount = e_dmbtr.

READ_T001 CALL FUNCTION 'READ_T001' EXPORTING xbukrs = save_bukrs IMPORTING struct = t001.



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