GRFNMW_ARCHIVE_WRITE is a standard Executable ABAP Report 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 GRFNMW_ARCHIVE_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.
Selection Text: PTR_INST = D .
Selection Text: PTR_PRCS = D .
Selection Text: P_AR_ILM = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_SNAP = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: S_DATE = MSMP Instance Finished Date
Title: Program GRFNMW_ARCHIVE_WRITE
Text Symbol: 001 = Archiving MSMP instances (&1 of &2, package no. &3) ...
Text Symbol: 002 = Select date range for archiving
Text Symbol: 003 = Archiving preparation (compressing finished instances) ...
INCLUDE GRFNMW_ARCHIVE_COMMON.
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
GET_SYSTEM_TIMEZONE * CALL FUNCTION 'GET_SYSTEM_TIMEZONE' * IMPORTING * timezone = lv_sys_timezone.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = 'Archiving preparation (compressing finished instances) ...'(003)
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = 'X' i_protocol_output = p_prot_o * I_CALLBACK_PARAMETER = i_context = ls_arch_protocol_context * I_FATHER_PROTOCOL_HANDLE = IMPORTING e_protocol_handle = ls_current_run-log_handle.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot i_protocol_output = p_prot_o * I_CALLBACK_PARAMETER = i_context = ls_arch_protocol_context i_father_protocol_handle = ls_current_run-log_handle IMPORTING e_protocol_handle = ls_current_run-detaillog_handle.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_deltst create_archive_file = p_wriprd object = grfnw_msmp_c_archiving-object * output_sel_screen_when_dialog = 'X' obsolete * output_sel_screen_when_batch = 'X' obsolete comments = p_coment do_not_delete_data = lv_snap destroy = lv_destroy IMPORTING archive_handle = ls_current_run-arch_handle EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = ls_current_run-arch_handle object_id = l_arch_obj_id EXCEPTIONS error_message = 1 OTHERS = 1.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = ls_current_run-arch_handle record_structure = grfnw_msmp_c_archiving-tables-grfnmwrtinst record_flags = ' ' record = ls_msmp_instance EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = ls_current_run-arch_handle * RECORD_FLAGS = ' ' record_structure = grfnw_msmp_c_archiving-tables-grfnmwrtinstappl TABLES table = lt_grfnmwrtinstappl * RECORD_FLAGS_TABLE = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 error_message = 4 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = ls_current_run-arch_handle * RECORD_FLAGS = ' ' record_structure = grfnw_msmp_c_archiving-tables-grfnmwrtmsglg TABLES table = lt_grfnmwrtmsglg * RECORD_FLAGS_TABLE = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 error_message = 4 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = ls_current_run-arch_handle record_structure = grfnw_msmp_c_archiving-tables-grfnmwrtarchconf record_flags = ' ' record = ls_inst_conf EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = ls_current_run-arch_handle EXCEPTIONS termination_requested = 1 error_message = 2 OTHERS = 3.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = l_progress i_processed = l_current_object_nr i_total = ls_current_run-count_to_archive i_output_immediately = 'X'.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING statistics_only_per_run = 'X' archive_handle = ls_current_run-arch_handle EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE' EXPORTING i_protocol_handle = ls_current_run-log_handle EXCEPTIONS error_message = 1 OTHERS = 1.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE' EXPORTING i_protocol_handle = ls_current_run-detaillog_handle EXCEPTIONS error_message = 1 OTHERS = 1.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = ls_current_run-arch_handle EXCEPTIONS internal_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
GRFNMW_ARCHIVE_WRITE - Program GRFNMW_ARCHIVE_WRITE GRFNMW_ARCHIVE_WRITE - Program GRFNMW_ARCHIVE_WRITE GRFNMW_ARCHIVE_RELOAD - GRFNMWARCHIVERELOAD GRFNMW_ARCHIVE_RELOAD - GRFNMWARCHIVERELOAD GRFNMW_ARCHIVE_READ_USER_COI07 - Include GRFNMW_ARCHIVE_READ_USER_COI07 GRFNMW_ARCHIVE_READ_USER_COI06 - Include GRFNMW_ARCHIVE_READ_USER_COI06