SAP Reports / Programs

FERC_DEL SAP ABAP Report - Program FERC_DEL1







FERC_DEL 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 deleting archived regulatory data from the database 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 FERC_DEL 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 FERC_DEL. "Basic submit
SUBMIT FERC_DEL AND RETURN. "Return to original report after report execution complete
SUBMIT FERC_DEL 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: P_DELPRD = D .
Selection Text: P_DELTST = D .
Title: Program FERC_DEL1


INCLUDES used within this REPORT FERC_DEL

INCLUDE ARCH_DELETE_PRG_STANDARD1.


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:

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = ferc0_object test_mode = ferc-test IMPORTING archive_handle = ferc-handle TABLES selected_files = lt_files.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = ferc0_object IMPORTING commit_count_for_delete_prg = commcnt maintain_index = flg_index EXCEPTIONS object_not_found = 1.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = ferc-handle IMPORTING object_id = arch_idx-object_id object_offset = arch_idx-offset archive_name = arch_idx-archivekey EXCEPTIONS end_of_file = 1.

ARCHIVE_ADMIN_SAVE_INDEX CALL FUNCTION 'ARCHIVE_ADMIN_SAVE_INDEX' EXPORTING object = ferc0_object object_id = arch_idx-object_id archivekey = arch_idx-archivekey object_offset = arch_idx-offset.

ARCHIVE_READ_OBJECT_BY_HANDLE CALL FUNCTION 'ARCHIVE_READ_OBJECT_BY_HANDLE' EXPORTING iv_handle = ferc-handle CHANGING ct_obj_data = lt_data_object.

ARCHIVE_DELETE_TABLE CALL FUNCTION 'ARCHIVE_DELETE_TABLE' EXPORTING iv_tabname = ls_object_data-tabname it_records = iv_deltst = p_deltst iv_handle = ferc-handle.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = ferc-handle TABLES table = obj_statistic.

FERC_MESSAGE_STORE CALL FUNCTION 'FERC_MESSAGE_STORE' EXPORTING arbgb = ferc0_arbgb msgty = 'S' txtnr = ferc-txtnr.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = ferc-handle statistics_only_per_file = 'X'.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = ferc-handle.

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 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.



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