/IPRO/DOCB_DEL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Run this report to delete archived Document Builder documents...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 /IPRO/DOCB_DEL 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_DELPRD = Productive Mode
Selection Text: P_DELTST = Test Mode
Selection Text: P_PROT = Detailed List
Selection Text: P_PROT_O = Output Type
Title: Delete Document Builder Documents
Text Symbol: 001 = ARCHIVE_GIVE_STATISTICS
Text Symbol: 091 = &1% (&2 of &3) of the objects processed
Text Symbol: 100 = Object Deleted
Text Symbol: 101 = Object has already been deleted
Text Symbol: 110 = Error; object status not defined
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = iv_detail_prot.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = iv_arch_obj test_mode = iv_testrun IMPORTING archive_handle = ev_archive_handle TABLES selected_files = lt_files.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = iv_archive_handle EXCEPTIONS end_of_file = 1.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = iv_archive_handle record_structure = '/IPRO/TDOCMNT' all_records_of_object = 'X' TABLES table = lt_table_docmnt.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = iv_archive_handle record_structure = '/IPRO/TDOCDATA' all_records_of_object = 'X' TABLES table = lt_table_docdata.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = iv_archive_handle record_structure = '/IPRO/TATTACH' all_records_of_object = 'X' TABLES table = lt_table_attach.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = iv_archive_handle record_structure = '/IPRO/TCUSTELM' all_records_of_object = 'X' TABLES table = lt_table_custelm.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = iv_archive_handle record_structure = '/IPRO/TLOCAL_TXT' all_records_of_object = 'X' TABLES table = lt_table_localtxt.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = iv_archive_handle record_structure = '/IPRO/TELMLIST' all_records_of_object = 'X' TABLES table = lt_table_elmlist.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' "(001) EXPORTING archive_handle = iv_archive_handle TABLES table = lt_arch_stat.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = iv_obj_id i_text = lv_text i_msgtype = lv_msgtype.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-091 * &% of data objects processed (& of &) i_processed = iv_cnt_pro i_total = iv_cnt_tot i_output_immediately = iv_immediately IMPORTING e_progress_sent = lv_message_sent.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.