RFUVPT00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report program RFUVPT00 creates a tax declaration for Portugal...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 RFUVPT00 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: P_LSTDCL = Last periodic declaration?
Selection Text: P_INVAT = VAT Sys. Intra Com Transact.
Selection Text: P_INTGT = Integrate ECSL file?
Selection Text: P_HQLOCM = Madeira
Selection Text: P_HQLOCC = Continents
Selection Text: P_HQLOCA = Azores
Selection Text: P_FSTDEC = First periodic declaration?
Selection Text: P_FSTDCL = First Message
Selection Text: P_FSCCH = FISCAL-ID of Chartered Accntt
Selection Text: P_EXEREP = Exceeding To Be Reported
Selection Text: P_ENDDT = Date for Ending Activity
Selection Text: P_DMEE = D .
Selection Text: P_DDLINE = Within deadline?
Selection Text: P_CONT = Continents
Selection Text: P_BVPER = Sales Revenue
Selection Text: P_AZOR = Azores
Selection Text: P_ART3Y2 = Operation Ref to Art. 3 (App)
Selection Text: P_ART3Y = Operation Ref to Art. 3
Selection Text: P_APMDT3 = Ver. Appendix M (Madeira)
Selection Text: P_APMDT2 = Ver. Appendix M (Azores)
Selection Text: P_APMDT1 = Ver. Appendix M (Continents)
Selection Text: P_APLDT1 = Version Appendix L
Selection Text: P_ACTVCD = Indicator of Business Activity
Selection Text: P_ACTFA = Activities with Fixed Assets
Selection Text: PAR_SPRA = Language
Selection Text: PANMTXAM = Tax Amount
Selection Text: PANMOPYR = Operation in reporting year?
Selection Text: PANMBSAM = Not Closed by December 31
Selection Text: PANMATRV = Premature Revenues
Selection Text: VERSI_M = Version for Monthly Return
Selection Text: VERSI_A = Version for Annual Return
Selection Text: TREE_ID = Format Tree
Selection Text: P_VRTRM = Vrsn - Transportation Means
Selection Text: P_VRDET4 = Version for VAT Det4
Selection Text: P_VRDET3 = Version for VAT Det3
Selection Text: P_VRDET2 = Version for VAT Det2
Selection Text: P_VRDET1 = Version for VAT Det1
Selection Text: P_VRAPR6 = Appendix R Detail 2 (3)
INCLUDE RFUVPT00_ALVLIST.
No SAP DATABASE tables are accessed within this REPORT code!
CALCULATE_TAX_FROM_GROSSAMOUNT call function 'CALCULATE_TAX_FROM_GROSSAMOUNT' EXPORTING i_bukrs = t001-bukrs i_mwskz = bset-mwskz i_waers = t001-waers i_wrbtr = brutto IMPORTING E_FWSTE = STEUER TABLES t_mwdat = dummy.
CHECK_PLANTS_ABROAD_ACTIVE CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' EXPORTING i_bukrs = br_bukrs-low IMPORTING e_fi_isactive = plants_abroad_active.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = gui_file filetype = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' trunc_trailing_blanks_eol = ' ' "928726 * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = downtab EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.
CHECK_PLANTS_ABROAD_ACTIVE CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' EXPORTING i_bukrs = br_bukrs-low IMPORTING e_fi_isactive = plants_abroad_active.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_bukrs-low parameter_3 = 'PERIOD_WRITE' CHANGING physical_filename = p_sefile_name EXCEPTIONS OTHERS = 1.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_bukrs-low parameter_3 = 'PERIOD_READ' CHANGING physical_filename = p_sefile_name EXCEPTIONS OTHERS = 1.
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = tree_typ i_tree_id = tree_id item = dmee_item_3 uparam = space TABLES file_output = output.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = dmee_item_3 uparam = space TABLES file_output = output.
DMEE_END CALL FUNCTION 'DMEE_END' EXPORTING uparam = space IMPORTING e_xml = lf_xml TABLES file_output = output.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_bukrs-low parameter_3 = 'YEAR_READ' CHANGING physical_filename = appl_o_p EXCEPTIONS OTHERS = 1.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_bukrs-low parameter_3 = 'YEAR_WRITE' CHANGING physical_filename = applfiap EXCEPTIONS OTHERS = 1.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = gui_file filetype = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' trunc_trailing_blanks_eol = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = itab_local EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.
DMEE_HANDLE_XML_DOCUMENT * CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' * EXPORTING * i_filename = filename * i_save = 'X' * i_display = space.
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 RFUVPT00 or its description.
RFUVPT00 - RFUVPT00 - RFUVINCL - Include for the adv.return for tax on sales/purch.print program (Form) RFUVDE00 - Print Program: Advance Return for Tax on Sales/Purchases (Germany) RFUVDE00 - Print Program: Advance Return for Tax on Sales/Purchases (Germany) RFUVDATA - Include for the adv.return for tax on sales/purch. prnt prog. (Data)