FERCR060 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is creating archive files for the regulatory data...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 FERCR060 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: R_PLAN = Plan
Selection Text: R_ACTUAL = Actual
Selection Text: P_VERSN = D Version
Selection Text: P_PERIO = D Period
Selection Text: P_KOKRS = D Controlling area
Selection Text: P_GJAHR = D Fiscal year
Selection Text: P_BUDAT = D Posting date
Selection Text: F_TEST = D Test run
Selection Text: F_LOG = D Create log
Title: Archive regulatory data
Text Symbol: Q00 = Process with
Text Symbol: P70 = Create log
Text Symbol: P60 = Test run
Text Symbol: P50 = Version
Text Symbol: P40 = Plan
Text Symbol: P30 = Actual
Text Symbol: P20 = Posting date
Text Symbol: P11 = /
Text Symbol: P10 = Period
Text Symbol: P00 = Parameters
Text Symbol: H00 = Create archive
Text Symbol: 002 = plan version
Text Symbol: 001 = Period &/& for controlling area &
INCLUDE FERCD000.
INCLUDE FERCD100.
INCLUDE FERCF000.
No SAP DATABASE tables are accessed within this REPORT code!
FERC_PERIOD_CHECK CALL FUNCTION 'FERC_PERIOD_CHECK' EXPORTING period = ferc-perio year = ferc-gjahr controlling_area = ferc-kokrs CHANGING posting_date = ferc-budat EXCEPTIONS error_message = 1 OTHERS = 1.
FERC_PARAMETERS_INIT CALL FUNCTION 'FERC_PARAMETERS_INIT' EXPORTING controlling_area = ferc-kokrs year = ferc-gjahr period = ferc-perio record_type = ferc-rrcty version = ferc-version ferc_step = ferc-step test_run = ferc-test test_log = ferc-test_log IMPORTING run_id = ferc-run_id run_no = ferc-run_no currency = ferc-waers archive_session = ferc-admi_run dd_dir = ferc-dd_dir dd_trc = ferc-dd_trc TABLES ferc_relevant_company_codes = ferc_cc EXCEPTIONS error_message = 1 OTHERS = 1.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = ferc0_object IMPORTING commit_count_for_delete_prg = package_size EXCEPTIONS object_not_found = 0.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING object = ferc0_object comments = sy-lisel create_archive_file = create_archive output_sel_screen_when_dialog = space output_sel_screen_when_batch = space IMPORTING archive_handle = ferc-handle.
ARCHIVE_GET_STATISTICS CALL FUNCTION 'ARCHIVE_GET_STATISTICS' EXPORTING archive_handle = ferc-handle IMPORTING archive_document = ferc-admi_run TABLES statistics_data = arch_stati.
FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING arbgb = ferc0_arbgb msgty = 'S' txtnr = '121' msgv1 = ferc-admi_run zeile = ferc-zeile.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = ferc-handle.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = ferc-handle object_id = object_id.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = ferc-handle record_structure = statistic-tabname record = record.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = ferc-handle.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * i_bypassing_buffer = 'X' i_structure_name = 'FERC_SFT' CHANGING ct_fieldcat = rt_fieldcat.
RS_DD_FIEL_SHOW CALL FUNCTION 'RS_DD_FIEL_SHOW' EXPORTING eutype = 'T' objname = gt_outtab-tabname.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.