DMC_EXCHANGE_DOCUMNT_LINK_COPY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for When documented MWB objects are copied, it is necessary to change references to other objects in the documents accordingly...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 DMC_EXCHANGE_DOCUMNT_LINK_COPY 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_PROJCT = D Project
Selection Text: P_SPROJ = D Subproject
Title: Replace document link: replace original with copy
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DOCU_READ CALL FUNCTION 'DOCU_READ' EXPORTING id = gc_doc_id_text langu = ls_dokil-langu object = ls_docref-copy_doc typ = ls_dokil-typ version = ls_dokil-version IMPORTING head = ls_thead TABLES line = lt_line.
DOCU_UPDATE_SAVE CALL FUNCTION 'DOCU_UPDATE_SAVE' EXPORTING head = ls_thead state = ls_dokil-dokstate typ = ls_dokil-typ version = ls_dokil-version TABLES line = lt_line.
DOCU_ACTIVATE CALL FUNCTION 'DOCU_ACTIVATE' EXPORTING head = ls_thead state = ls_dokil-dokstate typ = ls_dokil-typ version = ls_dokil-version.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DMC_EXCHANGE_DOCUMNT_LINK_COPY - Replace document link: replace original with copy DMC_EXCHANGE_DOCUMNT_LINK_COPY - Replace document link: replace original with copy DMC_DYNPRO_CODES_APP - DMCDYNPROCODESAPP DMC_DYNPRO_CODES - DMCDYNPROCODES DMC_DUMMY_PROCS - DMCDUMMYPROCS DMC_DOWNLOAD_ORIG_CPY_LNK - MWB: Download of table DMC_ORIG_CPY_LNK