MIG_PROCDIA_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_PROCDIA_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_PROCDIA_COP
INCLUDE: LSF00TOP.
No SAP DATABASE tables are accessed within this REPORT code!
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.
RPY_BMEP_READ_31 CALL FUNCTION 'RPY_BMEP_READ_31' EXPORTING object_id = p_object_id language = sy-langu TABLES nodes = p_nodes lines = p_lines errors = p_errors.
BAPI_HIERSTRUCT_READMULTIPLE CALL FUNCTION 'BAPI_HIERSTRUCT_READMULTIPLE' EXPORTING mode = 'SHOW' language = sy-langu lastuser = space TABLES hierarchystructurestoread = p_i_hierarchystructurestoread headers = p_i_headers nodes = p_i_nodes references = p_i_references.
BAPI_PROCDIA_WRITEMULTIPLE CALL FUNCTION 'BAPI_PROCDIA_WRITEMULTIPLE' EXPORTING cicorequestno = cicorequ mode = c_mode_insert TABLES headers = p_fill_header nodes = p_fill_nodes lines = p_fill_lines 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.