ECM_GRAPH_WRITE 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_WRITE 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.
Title: Program ECM_GRAPH_WRITE
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = ' ' * CREATE_ARCHIVE_FILE = 'X' OBJECT = objtyp COMMENTS = l_comment * DO_NOT_DELETE_DATA = ' ' * OUTPUT_SEL_SCREEN_WHEN_DIALOG = 'X' * OUTPUT_SEL_SCREEN_WHEN_BATCH = ' ' IMPORTING ARCHIVE_HANDLE = l_archive_handle EXCEPTIONS INTERNAL_ERROR = 1 OBJECT_NOT_FOUND = 2 OPEN_ERROR = 3 NOT_AUTHORIZED = 4 OTHERS = 5.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = l_archive_handle OBJECT_ID = l_object_id EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = l_archive_handle * IMPORTING * OBJECT_OFFSET = * ARCHIVE_NAME = EXCEPTIONS FILE_IO_ERROR = 1 INTERNAL_ERROR = 2 OPEN_ERROR = 3 TERMINATION_REQUESTED = 4 WRONG_ACCESS_TO_ARCHIVE = 5 OTHERS = 6.
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.