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

RFUMPT00 SAP ABAP Report - Annual Sales Return to Tax Office (Portugal) -> File







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


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 RFUMPT00. "Basic submit
SUBMIT RFUMPT00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFUMPT00 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: PDATEI = File output
Selection Text: PDATNAME = Output file name
Selection Text: PERSATZ = Substitute return
Selection Text: PFISKUS = Tax office responsible
Selection Text: PKUNDE = Report customer sales
Selection Text: PLIEFER = Report vendor sales
Selection Text: PLIMIT = Amount limit (in thousands)
Selection Text: SEL_MWS = Tax Code for Tax Procedure
Selection Text: SEL_BLDA = D .
Selection Text: SEL_MWSK = D .
Selection Text: SEL_UMSK = D .
Title: Annual Sales Return to Tax Office (Portugal) -> File
Text Symbol: 083 = Amount '&1' was originally a negative amount.
Text Symbol: 082 = The sales tax identification number '&1' is suspicious.
Text Symbol: 081 = The sales tax identification number is missing.
Text Symbol: 080 = You are warned of the following unexpected facts:
Text Symbol: 072 = Do you want to overwrite it?
Text Symbol: 071 = File "&1" already exists.
Text Symbol: 070 = Confirmation
Text Symbol: 064 = Total Sales/Purchases
Text Symbol: 063 = Total sales (in th'sds) :
Text Symbol: 062 = Total number of detail lines:
Text Symbol: 011 = Report parameters
Text Symbol: 012 = Output control
Text Symbol: 021 = Head section
Text Symbol: 022 = Detail sections
Text Symbol: 023 = Concluding section
Text Symbol: 031 = First report of customer sales in fiscal year &1
Text Symbol: 032 = Substitute report of customer sales in fiscal year &1
Text Symbol: 033 = First report of vendor sales in fiscal year &1
Text Symbol: 034 = Substitute report of vendor sales in fiscal year &1
Text Symbol: 035 = For the tax office :
Text Symbol: 036 = Date of creation :
Text Symbol: 037 = Company :
Text Symbol: 038 = Location/country :
Text Symbol: 039 = Sales tax ID no. :
Text Symbol: 040 = Amnt limit (in th'sd):
Text Symbol: 041 = Amount Limit





Text Symbol: 051 = Page
Text Symbol: 052 = Line
Text Symbol: 053 = SlsTaxID
Text Symbol: 054 = Sales
Text Symbol: 055 = Empty bin
Text Symbol: 061 = Total number of detail pages:


INCLUDES used within this REPORT RFUMPT00

No INCLUDES are used within this REPORT code!


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:

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = br_bukrs-low IMPORTING e_t001 = t001.

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 CHANGING physical_filename = dateiname EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titel = 'Bestätigung'(070) * textline1 = text * textline2 = 'Möchten Sie sie überschreiben?'(072) * cancel_display = space * IMPORTING * answer = antwort.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_bukrs-low CHANGING physical_filename = dateiname EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = es_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command is_layout = ls_layout it_fieldcat = lt_fcat it_events = lt_events is_print = ls_print TABLES t_outtab = it_header_list EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = iv_repid i_structure_name = iv_struct_output CHANGING ct_fieldcat = xt_fcat 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.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fcat it_events = lt_events is_print = ls_print TABLES t_outtab = it_detail_list EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fcat it_events = lt_events is_print = ls_print TABLES t_outtab = it_trailer_list EXCEPTIONS program_error = 1 OTHERS = 2.

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 .

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = is_log_handle i_msgty = gc_e i_probclass = gc_2 i_text = iv_add_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = gs_display_profile EXCEPTIONS OTHERS = 1.






BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = gs_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = gc_x i_s_display_profile = gs_display_profile i_t_log_handle = lt_log_hdl EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

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.

DMEE_HANDLE_XML_DOCUMENT * CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' * EXPORTING * i_filename = filename * i_save = 'X' * i_display = space.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_bukrs-low CHANGING physical_filename = pdatname EXCEPTIONS OTHERS = 1.



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