/BA1/F4_SEC_ARCH_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 /BA1/F4_SEC_ARCH_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: O_EXTNO = D External Number
Selection Text: P_COMENT = D Archiving Run Comment
Selection Text: P_DELTST = D Deletion with Test Variant
Selection Text: P_MDCODE = D Market Data Area
Selection Text: P_VALDAT = D Date
Selection Text: P_WRIPRD = D Production Mode
Selection Text: P_WRITST = D Test Mode
Title: Write Program for Archiving
Text Symbol: 002 = Archiving of Security Prices
Text Symbol: 003 = Select Market Data Area
INCLUDE ARCH_WRITE_PRG_STANDARD1.
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 = lv_delete_testmode create_archive_file = lv_files_create object = con_archive_object comments = p_coment * do_not_delete_data = IMPORTING archive_handle = g_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_handle record = l_str_sec_clas_year record_flags = ' ' "disable delete record_structure = con_struc_sec_clas EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_handle record =
record_flags = 'X' "delete record_structure = con_struc_sec_rate EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
F4TOOL_CHECKTABLE_HELP CALL FUNCTION 'F4TOOL_CHECKTABLE_HELP' EXPORTING checktable = '/BA1/TF4_MDC' retfield = 'MDCODE' window_title = text-003 * VALUE = * MULTIPLE_CHOICE = * DISPLAY = * TABLES * DYNPFLD_MAPPING = * RETURN_TAB = EXCEPTIONS tabl_not_exists = 1 field_not_exists = 2 illegal_call = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/BA1/F4_SEC_ARCH_WRITE - Write Program for Archiving /BA1/F4_SEC_ARCH_WRITE - Write Program for Archiving /BA1/F4_SEC_ARCH_RELOAD - Reload Program for Archiving /BA1/F4_SEC_ARCH_RELOAD - Reload Program for Archiving /BA1/F4_SEC_ARCH_READ - Read Program for Archiving /BA1/F4_SEC_ARCH_READ - Read Program for Archiving