RMCPSOP 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 RMCPSOP 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: SOP: Create Planning Objects
INCLUDE MMCP6TO1.
INCLUDE MMCP6TP1.
No SAP DATABASE tables are accessed within this REPORT code!
MCP_MESSAGE_INIT CALL FUNCTION 'MCP_MESSAGE_INIT'.
MCS_CODING_PLAN2_GENER CALL FUNCTION 'MCS_CODING_PLAN2_GENER' EXPORTING I_GSTRU_GEN = SAV_GSTRU I_MCINF_GEN = MCINF I_MUSTERREPORT = 'MMCP6SO2' IMPORTING E_REPORTNAME = SAV_GEN_REPID EXCEPTIONS GENERATION_FAILED = 01.
MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.
MATERIAL_READ_MAPR CALL FUNCTION 'MATERIAL_READ_MAPR' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MPRO2 RETURN = MTCOR TABLES SEQMAT01 = DUMMY_MAT_TAB EXCEPTIONS MATERIAL_NOT_FOUND = 01 PLANT_NOT_FOUND = 01.
STRUCTURE_UPDATE CALL FUNCTION 'STRUCTURE_UPDATE' EXPORTING I_GSTRU = 'S076' I_VBSCHR = 'I' TABLES T_DATA = INDX_ITAB_GEN1. "eug 16.12.99
MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.