/ISDFPS/CDOC_ARCHIV_WRI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used as a write program when change documents are archived (archiving object /ISDFPS/CD)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter /ISDFPS/CDOC_ARCHIV_WRI 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: P_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: OBJECTID = D .
Selection Text: OBJECT = D .
Selection Text: LOGSYS = D .
Selection Text: TIME_TO = To Time (HH:MM:SS)
Selection Text: TIMEFROM = From Time (HH:MM:SS)
Selection Text: DATE_TO = To Date
Selection Text: DATEFROM = From date
Title: Archiving Change Documents: Write Program
Text Symbol: 015 = Time to:
Text Symbol: 014 = Time from:
Text Symbol: 013 = Date to:
Text Symbol: 012 = Date from:
Text Symbol: 011 = Incorrect Date Entries:
Text Symbol: 004 = &1% &2 of &3 objects processed
Text Symbol: 003 = Change document archived
Text Symbol: 002 = Restrictions
Text Symbol: 001 = Change Documents
Text Symbol: 000 = System
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = v_prot.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = v_deltst create_archive_file = v_wriprd object = '/ISDFPS/CD' comments = v_coment output_sel_screen_when_dialog = space IMPORTING archive_handle = l_handle EXCEPTIONS open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = l_handle.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = l_handle record_structure = '/ISDFPS/CDLOGSYS' TABLES TABLE = lt_cdlogsys.
CHANGEDOCU_ARCHIVE_OBJECT CALL FUNCTION 'CHANGEDOCU_ARCHIVE_OBJECT' EXPORTING archive_handle = l_handle objectclass =
-objectclas objectid = -objectid.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = l_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = l_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = l_handle.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = l_handle record_structure = '/ISDFPS/CDLOGSYS' TABLES TABLE = lt_cdlogsys.
CHANGEDOCU_ARCHIVE_OBJECT * CALL FUNCTION 'CHANGEDOCU_ARCHIVE_OBJECT' * EXPORTING * archive_handle = l_handle * objectclass =
-objectclas * objectid = -objectid.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = l_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = l_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = l_handle.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_handle.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-004 i_processed = v_cnt i_total = v_sum i_output_immediately = v_immediately IMPORTING e_progress_sent = v_progress_sent.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = l_objtext "objectclas/objectid i_text = text-003 i_msgtype = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/ISDFPS/CDOC_ARCHIV_WRI - Archiving Change Documents: Write Program /ISDFPS/CDOC_ARCHIV_WRI - Archiving Change Documents: Write Program /ISDFPS/CDOC_ARCHIV_REL - Archive Change Documents: Reload Program /ISDFPS/CDOC_ARCHIV_REL - Archive Change Documents: Reload Program /ISDFPS/CDOC_ARCHIV_REA - Archiving /ISDFPS/CD: Sequential Archiving Read Program /ISDFPS/CDOC_ARCHIV_REA - Archiving /ISDFPS/CD: Sequential Archiving Read Program