MIG_OCCDIA_COP 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 MIG_OCCDIA_COP 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 MIG_OCCDIA_COP
INCLUDE: LSF00TOP.
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_HIERSTRUCT_READMULTIPLE CALL FUNCTION 'BAPI_HIERSTRUCT_READMULTIPLE' EXPORTING * CICOREQUESTNO = ' ' mode = 'SHOW' * NAMESONLY = language = sy-langu * LANGUAGEISO = * ADDON = * FROMTIMESTAMP = lastuser = space * ROOT = ' ' * WITH_OBJECT_NAMES = ' ' * VIEW = ' ' TABLES hierarchystructurestoread = p_i_hierarchystructurestoread * TYPESTOREAD = headers = p_i_headers nodes = p_i_nodes references = p_i_references * DOCUMENTATIONASSIGNMENTS = return = p_i_return .
BAPI_OBJID_GETLIST CALL FUNCTION 'BAPI_OBJID_GETLIST' EXPORTING quantity = 1 TABLES objectids = p_objectids.
SYSTEM_UUID_C_CREATE CALL FUNCTION 'SYSTEM_UUID_C_CREATE' IMPORTING uuid = p_uuid.
BAPI_DIAVAR_READMULTIPLE CALL FUNCTION 'BAPI_DIAVAR_READMULTIPLE' EXPORTING * CICOREQUESTNO = mode = 'SHOW' * FROMTIMESTAMP = lastuser = space TABLES diagramvariantstoread = p_i_diag_toread headers = p_i_dia_head activenodes = p_i_dia_active return = p_i_dia_return .
BAPI_DIAVAR_WRITEMULTIPLE CALL FUNCTION 'BAPI_DIAVAR_WRITEMULTIPLE' EXPORTING cicorequestno = p_cicorequ mode = c_mode_insert TABLES headers = p_fill_headers activenodes = p_fill_activenodes return = p_fill_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.