INSP_ARCH_ARCHIVE_ILM_F01 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 INSP_ARCH_ARCHIVE_ILM_F01 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!
ISU_DB_EWMINSPHEAD_SINGLE CALL FUNCTION 'ISU_DB_EWMINSPHEAD_SINGLE' EXPORTING x_campaign = campaign IMPORTING y_ewminsphead = ewminsphead EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot i_protocol_output = p_prot_o.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING object = co_arc_objinspec create_archive_file = p_wriprd comments = p_coment call_delete_job_in_test_mode = p_writst do_not_delete_data = l_not_delete destroy = l_destroy IMPORTING archive_handle = arch_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = arch_handle IMPORTING archive_name = arch_name EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = arch_handle object_id = object_id EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = arch_handle record = ewminsphead * RECORD_FLAGS = '' record_structure = 'EWMINSPHEAD' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ISU_DB_EWMINSPDETAIL_SELECT CALL FUNCTION 'ISU_DB_EWMINSPDETAIL_SELECT' EXPORTING x_campaign = campaign * X_OBJNR = * X_MAXCOUNT = 0 * IMPORTING * Y_COUNT = * Y_OVERFLOW = * Y_EWMINSPDETAIL = TABLES t_ewminspdetail = t_ewminspdetail EXCEPTIONS not_found = 1 system_error = 2 not_qualified = 3 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = arch_handle * RECORD_FLAGS = ' ' record_structure = 'EWMINSPDETAIL' TABLES table = t_ewminspdetail EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = arch_handle * IMPORTING * OBJECT_OFFSET = * ARCHIVE_NAME = EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 data_object_not_saved = 6 OTHERS = 7.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = campaign i_msgtype = '2' i_msgid = 'EARC' i_msgno = '205'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = campaign i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = campaign i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = campaign i_msgtype = '1' i_msgid = 'EARC' i_msgno = '505' i_msgv1 = campaign.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = campaign i_msgtype = '1' i_msgid = 'EARC' i_msgno = '601'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = campaign i_msgtype = '1' i_msgid = 'EARC' i_msgno = '602'.
ENQUEUE_E_EWMINSP CALL FUNCTION 'ENQUEUE_E_EWMINSP' EXPORTING mode_ewminsphead = 'E' mode_ewminspdetail = 'E' mandt = sy-mandt campaign = campaign * OBJNR = * X_CAMPAIGN = ' ' * X_OBJNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ISU_OPENING_DATA_UPDATE CALL FUNCTION 'ISU_OPENING_DATA_UPDATE' EXPORTING x_erdat = ewminsphead-erdat x_ernam = ewminsphead-ernam x_upd_mode = co_upd_modify IMPORTING y_erdat = ewminsphead-erdat y_ernam = ewminsphead-ernam y_aedat = ewminsphead-aedat y_aenam = ewminsphead-aenam.
CALL FUNCTION 'ISU_DB_EWMINSPHEAD_UPDATE' EXPORTING x_ewminsphead = ewminsphead x_upd_mode = co_upd_modify.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = arch_handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = arch_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '3' i_msgid = 'EARC' i_msgno = '504' i_msgv1 = total_counter.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '3' i_msgid = 'EARC' i_msgno = '501' i_msgv1 = init_counter.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '3' i_msgid = 'EARC' i_msgno = '502' i_msgv1 = process_counter.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '3' i_msgid = 'EARC' i_msgno = '503' i_msgv1 = comp_counter.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'E9' i_msgno = '899' i_msgv1 = t_error-msg.
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 INSP_ARCH_ARCHIVE_ILM_F01 or its description.
INSP_ARCH_ARCHIVE_ILM_F01 - INSPARCHARCHIVEILMF01 INSP_ARCH_ARCHIVE_F01 - Form Include INSERT_TEXT_AFTER_COMMIT======FT - INSERTTEXTAFTERCOMMIT======FT INSERT_IMPL_RFC - Subsequent storage in table GBADI_IMPL on system GTS INSERT_IMPL_RFC - Subsequent storage in table GBADI_IMPL on system GTS INSERT_CPCFDOCTYPETOP - INSERTCPCFDOCTYPETOP