SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Basic Functions(FI-GL-GL) SAP FI

RFYTXUPDATE SAP ABAP Report - Batch program for updating external tax system







RFYTXUPDATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Update Program for Audit Register File - External Tax System You use this program to update the audit file in the external tax system...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 RFYTXUPDATE 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 RFYTXUPDATE. "Basic submit
SUBMIT RFYTXUPDATE AND RETURN. "Return to original report after report execution complete
SUBMIT RFYTXUPDATE 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: AWORG = Reference organisational units
Selection Text: AWREF = Reference document
Selection Text: AWTYP = Document type
Selection Text: DISPLAY = Display list of all results
Selection Text: DOCNR = Internal document number
Selection Text: MAXROWS = Maximum #documents selected
Selection Text: REP_DATE = Reporting date
Title: Batch program for updating external tax system
Text Symbol: 001 = No documents have been selected for update
Text Symbol: 002 = All documents have been successfully updated to the external system
Text Symbol: 003 = All documents failed during update to the external system
Text Symbol: 004 = Total number of documents selected:
Text Symbol: 005 = Documents updated successfully:
Text Symbol: 006 = Documents failed during update:
Text Symbol: 007 = Documents locked during update:
Text Symbol: 008 = Last document that failed during update:
Text Symbol: 009 = Number of documents:
Text Symbol: 901 = Error message:
Text Symbol: A01 = Document data
Text Symbol: A02 = Additional data


INCLUDES used within this REPORT RFYTXUPDATE

INCLUDE RFYTXLIB.


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:

EXTERNAL_TAX_DOCUMENT_UPDATE CALL FUNCTION 'EXTERNAL_TAX_DOCUMENT_UPDATE' EXPORTING i_docnr = current_doc IMPORTING o_message = message EXCEPTIONS not_found = 1 foreign_lock = 2 failed = 3 OTHERS = 4.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_formname_pf_status_set i_callback_user_command = gc_formname_user_command i_structure_name = gc_structure it_fieldcat = gt_fieldcat it_events = gt_events is_layout = ls_layout TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure 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.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile i_t_log_handle = gt_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_display_profile = is_display_profile i_t_log_handle = gt_log_handle i_s_list_append = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

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

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gs_log_handle i_msgty = gc_i i_probclass = gc_4 i_text = iv_free_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = xs_display_profile 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 RFYTXUPDATE or its description.