SAP Reports / Programs | Cross-Application Components | General Application Functions | Document Builder(CA-GTF-DOB) SAP CA

/IPRO/DOCB_DEL SAP ABAP Report - Delete Document Builder Documents







/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


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


Text pool values


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


INCLUDES used within this REPORT /IPRO/DOCB_DEL

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



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 /IPRO/DOCB_DEL or its description.