ECM_GRAPH_DELETE 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 ECM_GRAPH_DELETE 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 = D Productive Mode
Selection Text: P_DELTST = D Test Mode
Selection Text: P_PROT = D Detail Log
Title: Report ECM_GRAPH_DELETE
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = lc_object IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = l_commit_size * MAINTAIN_INDEX = EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING * ARCHIVE_NAME = ' ' OBJECT = lc_object TEST_MODE = p_deltst * AINDFLAG = 'X' * NO_STATISTICS = ' ' * OUTPUT_SEL_SCREEN_WHEN_DIALOG = ' ' * OUTPUT_SEL_SCREEN_WHEN_BATCH = ' ' IMPORTING ARCHIVE_HANDLE = l_archive_handle * TABLES * SELECTED_FILES = EXCEPTIONS FILE_ALREADY_OPEN = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 NO_FILES_AVAILABLE = 4 OBJECT_NOT_FOUND = 5 OPEN_ERROR = 6 NOT_AUTHORIZED = 7 OTHERS = 8.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = l_archive_handle * IMPORTING * OBJECT_ID = * OBJECT_OFFSET = * ARCHIVE_NAME = * COMPR_OBJECT_LENGTH = * SESSION = EXCEPTIONS END_OF_FILE = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 OPEN_ERROR = 4 WRONG_ACCESS_TO_ARCHIVE = 5 OTHERS = 6.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = l_archive_handle EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = l_archive_handle * GET_REAL_STRUCTURE_NAME = 'X' * AUTOMATIC_CONVERSION = 'X' IMPORTING * RECORD = * RECORD_CURSOR = * RECORD_FLAGS = RECORD_STRUCTURE = l_record_structure * RECORD_LENGTH = RECORD_REF = l_record_reference EXCEPTIONS END_OF_OBJECT = 1 INTERNAL_ERROR = 2 WRONG_ACCESS_TO_ARCHIVE = 3 OTHERS = 4.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = l_archive_handle EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.