SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable(FI-CA) SAP FI

FKK_ARCH_BASE_READ SAP ABAP INCLUDE - FKKARCHBASEREAD







FKK_ARCH_BASE_READ is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FKK_ARCH_BASE_READ 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 FKK_ARCH_BASE_READ. "Basic submit
SUBMIT FKK_ARCH_BASE_READ AND RETURN. "Return to original report after report execution complete
SUBMIT FKK_ARCH_BASE_READ VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FKK_ARCH_BASE_READ

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:

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = c_object test_mode = p_deltst output_sel_screen_when_dialog = ' ' output_sel_screen_when_batch = ' ' IMPORTING archive_handle = gs_archive-handle.

FKK_ARCH_STAT_MODE CALL FUNCTION 'FKK_ARCH_STAT_MODE' EXPORTING i_mode = 'D'.

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = c_object test_mode = p_deltst IMPORTING archive_read_handle = gs_archive-handle archive_write_handle = gs_archive-handle_rewrite.

FKK_ARCH_STAT_MODE CALL FUNCTION 'FKK_ARCH_STAT_MODE' EXPORTING i_mode = 'R'.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = gs_archive-handle IMPORTING object_number_in_file = gv_objects_to_delete.

ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = c_object IMPORTING commit_count_for_delete_prg = gs_archive-commit_count.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_msgid = '>A' i_msgno = 519 i_processed = gv_objects_processed i_total = gv_objects_to_delete i_output_immediately = 'X'.

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

FKK_ARCH_STAT_WRITE CALL FUNCTION 'FKK_ARCH_STAT_WRITE'.

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.

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

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = gs_archive-handle IMPORTING object_id = s_buffer-objid EXCEPTIONS end_of_file = 1.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = gs_archive-handle.

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING archive_handle = gs_archive-handle.

FKK_ARCH_DETAIL_INIT CALL FUNCTION 'FKK_ARCH_DETAIL_INIT' IMPORTING e_callback_parameter = v_callback.

FKK_ARCH_DETAIL_SUPPLY_FINISH CALL FUNCTION 'FKK_ARCH_DETAIL_SUPPLY_FINISH' EXPORTING i_objectid = s_buffer-objid IMPORTING e_callback_parameter = v_callback-t_par.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = s_buffer-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 501 i_callback_parameter = v_callback.

ARCHIVE_PROTOCOL_COLLECT





CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = s_buffer-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 512 i_callback_parameter = v_callback.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_msgid = '>A' i_msgno = 519 i_processed = gv_objects_processed i_total = gv_objects_to_delete.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = gs_archive-handle IMPORTING object_id = s_buffer-objid EXCEPTIONS end_of_file = 1.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = gs_archive-handle record_structure = iv_tabname all_records_of_object = 'X' TABLES table = ot_table.

FKK_ARCH_STAT_READ CALL FUNCTION 'FKK_ARCH_STAT_READ' EXPORTING i_table = iv_tabname i_number = v_number.

FKK_ARCH_DETAIL_SUPPLY_SINGLE CALL FUNCTION 'FKK_ARCH_DETAIL_SUPPLY_SINGLE' EXPORTING i_table = iv_tabname i_number = v_number.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = gs_archive-handle TABLES table = t_stat.

FKK_ARCH_STAT_USED CALL FUNCTION 'FKK_ARCH_STAT_USED' EXPORTING i_table = iv_name i_number = iv_number.

FKK_ARCH_STAT_INIT CALL FUNCTION 'FKK_ARCH_STAT_INIT' EXPORTING i_tables = t_tab.



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