EBRDOCDE 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 EBRDOCDE 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: TEST = Test Mode
Selection Text: DOKAR = Document Type
Title: Program for Deleting Documents with Deletion Indicator
Text Symbol: SUC = Deleted Documents:
Text Symbol: ERR = Non-Deleted Documents (Error):
Text Symbol: 018 = Status
Text Symbol: 017 = Document not deleted
Text Symbol: 016 = Document is assigned to a change master record
Text Symbol: 015 = Test Mode
Text Symbol: 014 = System locking error
Text Symbol: 013 = Document already locked
Text Symbol: 012 = Deleted
Text Symbol: 011 = Remarks
Text Symbol: 010 = Ver
Text Symbol: 009 = Part
Text Symbol: 008 = Document
Text Symbol: 007 = Ty.
Text Symbol: 006 = Deleted Documents
Text Symbol: 005 = Non-Deleted Documents
Text Symbol: 004 = Used as document item in bill of material
Text Symbol: 003 = Used as PRT in task list
Text Symbol: 002 = Used as PRT in work order
Text Symbol: 001 = Used as quality assurance agreement or technical delivery term
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING query = 'WS' IMPORTING return = string EXCEPTIONS inv_query = 4.
CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING archive_handle = 0 objectclass = 'DOK_AUDIT' * objectid = objectid username = ' ' TABLES i_cdhdr = aend EXCEPTIONS no_position_found = 01 wrong_access_to_archive = 02.
CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING archive_handle = 0 changenumber = aend-changenr TABLES editpos = shw EXCEPTIONS no_position_found = 01 wrong_access_to_archive = 02.
ENQUEUE_EMCVDOK CALL FUNCTION 'ENQUEUE_EMCVDOK' EXPORTING dokar = deltab-dokar doknr = deltab-doknr dokvr = deltab-dokvr doktl = deltab-doktl EXCEPTIONS foreign_lock = 8 system_failure = 12.
CCCN_ECO_FOR_DOCUMENT_DELETE CALL FUNCTION 'CCCN_ECO_FOR_DOCUMENT_DELETE' EXPORTING eaennr = deltab-aennr edokar = deltab-dokar edoknr = deltab-doknr edoktl = deltab-doktl edokvr = deltab-dokvr flg_del_direct = 'X' EXCEPTIONS OTHERS = 1.
CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING objectclass = objectclas objectid = objectid up_to_date = sy-datum disable_authority_check = 'X' EXCEPTIONS no_authority = 01 no_changes_found = 02.
CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING objectclass = objectclas objectid = objectid up_to_date = sy-datum disable_authority_check = 'X' EXCEPTIONS no_authority = 01 no_changes_found = 02.
ARCHIV_DELETE_META CALL FUNCTION 'ARCHIV_DELETE_META' EXPORTING delete_flag = '3' object_id = objectidd sap_object = sapobject * IMPORTING * ALL_CONNECTIONS_DELETED = I01 EXCEPTIONS error_connectiontable = 01 error_parameter = 02.
CLFM_DELETE_CLASSIFICATION CALL FUNCTION 'CLFM_DELETE_CLASSIFICATION' EXPORTING echt_lauf = 'X' object = objkt table = 'DRAW' type = 'X' i_no_lock = 'X' * IMPORTING * ANZ_AUSP = * ANZ_KSSK = EXCEPTIONS foreign_lock = 01 not_deleted = 02 system_failure = 03 table_not_found = 04.
CLFM_DELETE_CLASSIFICATION CALL FUNCTION 'CLFM_DELETE_CLASSIFICATION' EXPORTING echt_lauf = 'X' object = objkt table = 'DRAD' type = 'X' i_no_lock = 'X' * IMPORTING * ANZ_AUSP = * ANZ_KSSK = EXCEPTIONS foreign_lock = 01 not_deleted = 02 system_failure = 03 table_not_found = 04.
DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = 'LTXT' language = '*' name = ltexnam object = 'DRAD' savemode_direct = 'X' EXCEPTIONS not_found = 1 OTHERS = 2.
DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = 'LTXT' language = '*' name = ltexnam object = 'DRAD' savemode_direct = 'X' EXCEPTIONS not_found = 1 OTHERS = 2.
DOCUMENTS_DELETE CALL FUNCTION 'DOCUMENTS_DELETE' TABLES documents = dtab.
DOCUMENT_FILE_DELETE_DVA CALL FUNCTION 'DOCUMENT_FILE_DELETE_DVA' EXPORTING server = files_to_delete-dttrg file = files_to_delete-filep EXCEPTIONS OTHERS = 1.
DOCUMENTS_DELETE CALL FUNCTION 'DOCUMENTS_DELETE' TABLES documents = dtab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EBRDOCDE - Program for Deleting Documents with Deletion Indicator EBRDOCDE - Program for Deleting Documents with Deletion Indicator EBP_GET_STATUS_TOP - EBPGETSTATUSTOP EBP_GET_BACKEND_PRICES_TOP - EBPGETBACKENDPRICESTOP EBP_GET_BACKEND_PRICES_PAR - EBPGETBACKENDPRICESPAR EBP_GET_BACKEND_PRICES_FORMS - EBPGETBACKENDPRICESFORMS