SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Information System(FI-GL-IS) SAP FI

RFPUMS00 SAP ABAP Report - Input Tax from Parked Documents







RFPUMS00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report displays the deductible VAT amounts which were entered in the document parking, and if necessary creates documents by batch input to enable the inclusion of the amounts into the advance return for tax on sales/purchases...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 RFPUMS00 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

WC31 - Batch Preparation of Adv. Tax Return


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 RFPUMS00. "Basic submit
SUBMIT RFPUMS00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFPUMS00 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: PAR_ADAT = Run date
Selection Text: PAR_BDAT = Posting date
Selection Text: PAR_BINA = Session name
Selection Text: PAR_BINP = Create batch input session
Selection Text: PAR_BLAR = Document type
Selection Text: PAR_BSLH = Credit posting key
Selection Text: PAR_BSLS = Debit posting key
Selection Text: PAR_BVTD = Tax Reporting Date for Posting
Selection Text: PAR_KTO1 = Tax-relevant payables account
Selection Text: PAR_KTO2 = Clearing account
Selection Text: PAR_LINE = Additional title
Selection Text: PAR_LIS1 = Line Items
Selection Text: PAR_LIS2 = Totals per company code
Selection Text: PAR_MIKF = Print microfiche line
Selection Text: PAR_MWKZ = Default input tax code
Selection Text: PAR_SDAT = Reversal posting date
Selection Text: PAR_SOFA = Run immediately
Selection Text: PAR_SVTD = Tax Report. Date for Reversal
Selection Text: PAR_ZEIT = Run time
Selection Text: P_LOCCUR = Amounts in Local Currency
Selection Text: P_RCMWKZ = Deflt Tax Code: Reverse Charge
Selection Text: P_REVCHG = Reverse Charge Processing
Selection Text: P_TAXNEG = D .
Selection Text: SEL_BELN = Document no.
Selection Text: SEL_BLDT = Document date
Selection Text: SEL_BUDT = Posting date
Selection Text: SEL_BUKR = Company code
Selection Text: SEL_CPUD = CPU date
Selection Text: SEL_GJHR = Fiscal year
Selection Text: SEL_MONA = Fiscal periods
Selection Text: SEL_MWKZ = Tax on sales/purchases code
Selection Text: SEL_VTDT = Tax Reporting Date
Selection Text: DUE_DATE = Due date for net payment
Title: Input Tax from Parked Documents
Text Symbol: 100 = |CoCd|Document |Posting|Posting |Tx| Invoice amount | Tax amount |Curr.|Remark |
Text Symbol: 101 = | |number |period |date |cd| in LC (FC) | in LC (FC) | | |
Text Symbol: 102 = |CoCd|Tx| Tax amount | of which | deductible | Tax base |Remark |
Text Symbol: 103 = | |cd| in LC | non-deductible | | in LC | |





Text Symbol: 104 = Information on documents generated for batch input session &BI
Text Symbol: 197 = Reverse charge not considered
Text Symbol: 198 = Reverse Charge Tax Code &K
Text Symbol: 199 = No Tax Amount: Default for Reverse Charge
Text Symbol: 200 = Tax calculated automatically -> not included ;
Text Symbol: 201 = Tax amount 0 -> not included ;
Text Symbol: 202 = Calculation of base for tax code &K ;
Text Symbol: 203 = Document and reversal document in company code code &BUK for VAT indicator &K
Text Symbol: 204 = Negative tax total -> not included ;
Text Symbol: 205 = |CoCd|Docmt- |Book- |Net DDte.-|Tx| Invoice Amount | Tax Amount |Crcy |Note |
Text Symbol: 206 = Of Which Nondeductible
Text Symbol: 207 = Deductible
Text Symbol: 208 = Tax Code
Text Symbol: 209 = Invoice Amount in LC
Text Symbol: 210 = Tax Amount in LC
Text Symbol: 211 = Tax Amount in LC
Text Symbol: 212 = Tax Basis in LC
Text Symbol: 213 = Curr.
Text Symbol: 214 = Invoice Amount
Text Symbol: 215 = Tax Amount
Text Symbol: 301 = Layout
Text Symbol: 302 = Output Lists
Text Symbol: 303 = Layout
Text Symbol: 304 = Line Items
Text Symbol: 305 = Configure
Text Symbol: 306 = Total per company code


INCLUDES used within this REPORT RFPUMS00

INCLUDE RFDBRMAC.


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:

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' "1432821 EXPORTING "1432821 xdatabase = 'B' "1432821 TABLES "1432821 xbukreis = sel_bukr. "1432821

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = t001-bukrs i_mwskz = par_mwkz i_waers = t001-waers i_wrbtr = hlp_wrbtr IMPORTING e_fwnav = hlp_fwnav e_fwste = hlp_fwste TABLES t_mwdat = tab_mwdat EXCEPTIONS OTHERS = 8.

GET_TAX_RFD_CODE CALL FUNCTION 'GET_TAX_RFD_CODE' EXPORTING iv_kalsm = t005-kalsm iv_mwskz = par_mwkz IMPORTING es_tax_rfd_codes = ls_tax_rfd_codes EXCEPTIONS not_found = 1 OTHERS = 2.

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 1 CHANGING c_workarea = g_pumsep EXCEPTIONS invalid_type = 1 OTHERS = 2.

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 1 CHANGING c_workarea = g_sum EXCEPTIONS invalid_type = 1 OTHERS = 2.






OPEN_FI_PERFORM_00001910_E CALL FUNCTION 'OPEN_FI_PERFORM_00001910_E' TABLES t_pumsep = tab_pumsep t_messages = tab_messages.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = tab_ep-bukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 1 OTHERS = 2.

FI_COUNTRY_DATA CALL FUNCTION 'FI_COUNTRY_DATA' EXPORTING i_land1 = ls_t001-land1 IMPORTING e_kalsm = lv_kalsm.

GET_TAX_RFD_CODE CALL FUNCTION 'GET_TAX_RFD_CODE' EXPORTING iv_kalsm = lv_kalsm iv_mwskz = tab_ep-mwskz IMPORTING es_tax_rfd_codes = ls_tax_rfd_codes EXCEPTIONS not_found = 1 OTHERS = 2.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_client = sy-mandt i_function = 'B' i_group = par_bina i_user = sy-uname EXCEPTIONS OTHERS = 8.

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END' EXPORTING i_bdcimmed = par_sofa i_bdcstrtdt = par_adat i_bdcstrttm = par_zeit EXCEPTIONS OTHERS = 8.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS no_message = 4.

FI_MESSAGE_PRINT * CALL FUNCTION 'FI_MESSAGE_PRINT' * EXPORTING * i_xausn = ' '.

FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' TABLES t_fimsg = tab_fimsg.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FB01' TABLES t_blntab = tab_blntab t_ftpost = tab_ftpost1 t_fttax = tab_fttax EXCEPTIONS OTHERS = 8.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FB01' TABLES t_blntab = tab_blntab t_ftpost = tab_ftpost2 t_fttax = tab_fttax EXCEPTIONS OTHERS = 8.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = fimsg.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = tab_summe-bukrs i_mwskz = tab_summe-mwskz i_waers = t001-waers i_wrbtr = hlp_wrbtr IMPORTING e_fwnav = hlp_fwnav e_fwste = hlp_fwste TABLES t_mwdat = tab_mwdat EXCEPTIONS OTHERS = 8.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = t001-bukrs i_mwskz = par_mwkz i_waers = t001-waers i_wrbtr = hlp_wrbtr IMPORTING e_fwnav = hlp_fwnav e_fwste = hlp_fwste TABLES t_mwdat = tab_mwdat.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_setpfstatus it_fieldcat = lt_fieldcat is_layout = ls_layout it_sort = gt_sort i_save = 'X' it_events = lt_events is_variant = ls_variant TABLES t_outtab = gt_pumsep EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = lt_fieldcat it_sort = gt_sort i_save = 'X' is_variant = ls_variant TABLES t_outtab = gt_pumsep EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = g_repid i_structure_name = gc_structure_pumsep CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_LIST_DISPLAY



CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat_sum it_sort = gt_sort i_save = 'X' it_events = lt_events is_variant = ls_variant TABLES t_outtab = gt_sum EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = lt_fieldcat_sum it_sort = gt_sort i_save = 'X' is_variant = ls_variant TABLES t_outtab = gt_sum EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = g_repid i_structure_name = gc_structure_sum CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

FI_MESSAGES_ALV CALL FUNCTION 'FI_MESSAGES_ALV' EXPORTING i_headline = lt_info is_layout = ls_layout.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat_message i_save = 'X' it_events = lt_events TABLES t_outtab = gt_message EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = g_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS no_message = 1 OTHERS = 2.

FI_MESSAGES_ALV CALL FUNCTION 'FI_MESSAGES_ALV' EXPORTING i_headline = lt_info is_layout = ls_layout.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = gc_save IMPORTING e_exit = l_exit es_variant = l_variant_help EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_save CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

FI_TAX_GET_MWSKZ_EXISTENCE CALL FUNCTION 'FI_TAX_GET_MWSKZ_EXISTENCE' EXPORTING i_bukrs = p_bukrs i_mwskz = p_mwskz IMPORTING e_t007a = ls_t007a EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 kalsm_not_found = 3 parameter_error = 4 mwskz_not_found = 5 OTHERS = 6.



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