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
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
Below is a list of transaction codes which are relevant to this SAP report
/CEECV/ROFI10 - Advance Return for Tax on Sales/Purc
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: 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 .
INCLUDE I_RFUMS_TABLES.
INCLUDE I_RFUMS_PARAMETER.
INCLUDE I_RFUMS_DATA.
INCLUDE FIUUMS40.
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.