FKK_ARCH_BASE_WRITE 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_WRITE 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING object = c_object call_delete_job_in_test_mode = iv_deltst create_archive_file = iv_wriprd comments = iv_coment output_sel_screen_when_dialog = ' ' do_not_delete_data = gv_xsnap destroy = gv_xdest
IMPORTING archive_handle = gs_archive-handle.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = iv_prot.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_processed = gv_objects_processed i_total = gv_objects_processed i_msgid = '>A' i_msgno = 518 i_output_immediately = 'X'.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gs_archive-handle.
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_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = gs_archive-handle object_id =
-objid.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gs_archive-handle EXCEPTIONS termination_requested = 1 data_object_not_saved = 6 OTHERS = 7.
FKK_ARCH_DETAIL_INIT CALL FUNCTION 'FKK_ARCH_DETAIL_INIT' IMPORTING e_callback_parameter = v_callback.
FKK_ARCH_DETAIL_SUPPLY CALL FUNCTION 'FKK_ARCH_DETAIL_SUPPLY' EXPORTING i_objectid =
-objid i_info = t_arch_stat IMPORTING e_callback_parameter = v_callback-t_par.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 161 i_callback_parameter = v_callback.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 163 i_callback_parameter = v_callback.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 162 i_callback_parameter = v_callback.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 164 i_callback_parameter = v_callback.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 500 i_callback_parameter = v_callback.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgtype = 1 i_msgid = '>A' i_msgno = 499 i_callback_parameter = v_callback.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_processed = gv_objects_processed i_total = gv_total i_msgid = '>A' i_msgno = 518 IMPORTING e_progress_sent = lv_progress_send.
CALL FUNCTION 'DB_COMMIT'. "otherwise messag will not appear in the job-log
FKK_ARCH_DETAIL_INIT CALL FUNCTION 'FKK_ARCH_DETAIL_INIT' IMPORTING e_callback_parameter = v_callback.
FKK_ARCH_DETAIL_SUPPLY CALL FUNCTION 'FKK_ARCH_DETAIL_SUPPLY' EXPORTING i_objectid =
-objid i_info = t_arch_stat IMPORTING e_callback_parameter = v_callback-t_par.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-objid i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 i_msgtype = 2 i_callback_parameter = v_callback.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = gs_archive-handle record_flags = c_archive_flags record_structure = iv_name TABLES table = it_table.
FKK_DOC_EXISTS CALL FUNCTION 'FKK_DOC_EXISTS' EXPORTING i_opbel = iv_opbel i_buffer_check = 'X' EXCEPTIONS notfound = 1 nocriteria = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = iv_obj i_msgtype = 2 i_msgid = '>A' i_msgno = 040 i_msgv1 = iv_opbel.
FKK_ARCH_STAT_READ CALL FUNCTION 'FKK_ARCH_STAT_READ' EXPORTING i_table = iv_table i_number = v_number.
FKK_ARCH_STAT_USED CALL FUNCTION 'FKK_ARCH_STAT_USED' EXPORTING i_table = iv_table i_number = iv_number.
FKK_ARCH_STAT_INIT CALL FUNCTION 'FKK_ARCH_STAT_INIT' EXPORTING i_tables = t_tab.
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_WRITE or its description.