SAP Reports / Programs

RPUTMSA0 SAP ABAP Report - Municipal Tax Return Using FinanzOnline







RPUTMSA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program (RPUTMSA0) supports the process to electronically transfer the municipal tax declaration to the BMF FinanzOnline portal...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 RPUTMSA0 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 RPUTMSA0. "Basic submit
SUBMIT RPUTMSA0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUTMSA0 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: R_XML = Download as XML File
Selection Text: R_PAKNR = Package Number of Transfer
Selection Text: R_JAHR = Year
Selection Text: R_FASTNR = Tax Office/Number of Reporter
Selection Text: R_DISP = Display Transfer
Selection Text: RA_SENT = Change Transfer Status
Selection Text: RA_RUECK = Create Withdrawal
Selection Text: RA_DEL = Delete Transfer
Title: Municipal Tax Return Using FinanzOnline
Text Symbol: 020 = Set status to "Sent"?
Text Symbol: 019 = Set status back to "Not Sent"?
Text Symbol: 018 = Deletion is not possible; already withdrawn
Text Symbol: 017 = New Transfer Status: Not Sent
Text Symbol: 016 = New Transfer Status: Sent
Text Symbol: 015 = Management table cannot be locked
Text Symbol: 014 = Transfer is a withdrawl or is already withdrawn
Text Symbol: 013 = Deletion is not possible; transfer already sent
Text Symbol: 012 = Delete transfer?
Text Symbol: 011 = Transfer deleted
Text Symbol: 007 = Pack. No.:
Text Symbol: 006 = Withdrawal created successfully
Text Symbol: 005 = No transfer could be selected
Text Symbol: 002 = Action to Perform
Text Symbol: 001 = Selection of Return Transfer for Processing


INCLUDES used within this REPORT RPUTMSA0

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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Übermittlung Löschen?'(012) * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' default_button = '2' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_CRITICAL' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Status auf "nicht gesendet" zurücksetzen?'(019) default_button = '2' display_cancel_button = '' popup_type = 'ICON_MESSAGE_CRITICAL' IMPORTING answer = l_answer EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Status auf "gesendet" setzen?'(020) default_button = '2' display_cancel_button = '' IMPORTING answer = l_answer EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'F0001' dynpprog = sy-cprog dynpnr = '1000' dynprofield = 'R_JAHR' value_org = 'S' TABLES value_tab = lt_adm EXCEPTIONS OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = '1000' TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'F0001' dynpprog = sy-cprog dynpnr = '1000' dynprofield = 'R_FASTNR' value_org = 'S' TABLES value_tab = lt_adm EXCEPTIONS OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = '1000' TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'P03_KSJ_ADM' retfield = 'PAKNR' dynpprog = sy-cprog dynpnr = '1000' dynprofield = 'R_PAKNR' value_org = 'S' TABLES value_tab = lt_adm dynpfld_mapping = lt_dynmap EXCEPTIONS OTHERS = 0.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' "Sperren enqueue_mode = 'E' "Exklusiv view_name = 'P03_KSJ_ADM' EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 OTHERS = 7.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' "Entsperren enqueue_mode = 'E' "Exklusiv view_name = 'P03_KSJ_ADM' EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 OTHERS = 7.



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