AFX_TMPL_INCL_WRITE_PARTIAL 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 AFX_TMPL_INCL_WRITE_PARTIAL 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.
Title: Process Flow Routines for Method 1300 in Write Run
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 call_delete_job_in_test_mode = l_call_delete_job_in_test_mode create_archive_file = l_create_archive_file object = g_con_object_\l_str_write_pp_detail-object\ do_not_delete_data = l_do_not_delete_data IMPORTING archive_handle = g_archive_handle EXCEPTIONS internal_error = g_con_adk_internal_error object_not_found = g_con_adk_object_not_found open_error = g_con_adk_open_error not_authorized = g_con_adk_not_authorized OTHERS = g_con_adk_others.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = g_archive_handle IMPORTING archive_document = g_archive_document EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.
AFX_ACTVTLOG_DOCLIST_CREATE CALL FUNCTION 'AFX_ACTVTLOG_DOCLIST_CREATE' EXPORTING i_actvt_id = l_actvt_id i_str_jobkey = g_str_jobkey i_document = g_archive_document i_jobtype = g_con_adk_jobtype_write i_log_object_exc = g_log_object_exc.
ARCHIVE_GET_STATISTICS CALL FUNCTION 'ARCHIVE_GET_STATISTICS' EXPORTING archive_handle = g_archive_handle * IMPORTING * archive_document = g_archive_document TABLES statistics_data = l_tab_arch_stat EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.
ARCHIVE_GET_ARCHIVE_FILES CALL FUNCTION 'ARCHIVE_GET_ARCHIVE_FILES' EXPORTING archive_handle = g_archive_handle TABLES archive_files = g_tab_archive_files EXCEPTIONS wrong_access_to_archive = g_con_adk_wrong_access_to_arch internal_error = g_con_adk_internal_error OTHERS = g_con_adk_others.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_archive_handle EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = g_archive_handle EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_archive_handle record = \l_lead_pg_stru\ * record_flags = ' ' record_structure = '\l_str_lead_tab\' EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch invalid_record_structure = g_con_adk_invalid_record_struc OTHERS = g_con_adk_others.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_archive_handle record = \l_str_archobj_strucdef_x-pg_stru\ * record_flags = ' ' record_structure = '\l_str_archobj_strucdef_x-son\' EXCEPTIONS internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch invalid_record_structure = g_con_adk_invalid_record_struc OTHERS = g_con_adk_others.
\l_str_arch_class-arch_class\_ARCHIVE_OBJECT * CALL FUNCTION '\l_str_arch_class-arch_class\_ARCHIVE_OBJECT' * EXPORTING * archive_handle = g_archive_handle * object_delete_flag = l_object_delete_flag * ... PLEASE FILL IN YOURSELF!!!
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = g_archive_handle * IMPORTING * object_offset = * archive_name = EXCEPTIONS file_io_error = g_con_adk_file_io_error internal_error = g_con_adk_internal_error open_error = g_con_adk_open_error termination_requested = g_con_adk_termination_req wrong_access_to_archive = g_con_adk_wrong_access_to_arch OTHERS = g_con_adk_others.
AFX_ACTVTLOG_PACLIST_UPDATE CALL FUNCTION 'AFX_ACTVTLOG_PACLIST_UPDATE' EXPORTING i_actvt_id = l_actvt_id i_package_no = g_package_no * i_status = i_object_cnt = g_cnt_processed * i_str_job = i_log_object_exc = g_log_object_exc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
AFX_TMPL_INCL_WRITE_PARTIAL - Process Flow Routines for Method 1300 in Write Run AFX_TMPL_INCL_GLOBAL_DATA_STP5 - Template for Global Include - Step 5 AFX_TMPL_INCL_GLOBAL_DATA_STP4 - Template for Global Include - Step 4 AFX_TMPL_INCL_GLOBAL_DATA_STP3 - Template for Global Include - Step 3 AFX_TMPL_INCL_GLOBAL_DATA_STP2 - Template for Global Include - Step 2 AFX_TMPL_INCL_GLOBAL_DATA_STP1 - Template for Global Include - Step 1