SAP Reports / Programs | Cross-Application Components | General Application Functions | Generating, Monitoring for Mass Data Archiving Solutions(CA-GTF-TS-GMA) SAP CA

AFX_TMPL_INCL_WRITE_PARTIAL SAP ABAP INCLUDE - Process Flow Routines for Method 1300 in Write Run







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


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 AFX_TMPL_INCL_WRITE_PARTIAL. "Basic submit
SUBMIT AFX_TMPL_INCL_WRITE_PARTIAL AND RETURN. "Return to original report after report execution complete
SUBMIT AFX_TMPL_INCL_WRITE_PARTIAL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Process Flow Routines for Method 1300 in Write Run


INCLUDES used within this REPORT AFX_TMPL_INCL_WRITE_PARTIAL

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_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.



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