SAP Reports / Programs | Production Planning and Control | Sales and Operations Planning | Sales Plan(PP-SOP-SP) SAP PP

RMCPSOP SAP ABAP Report - SOP: Create Planning Objects







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RMCPSOP. "Basic submit
SUBMIT RMCPSOP AND RETURN. "Return to original report after report execution complete
SUBMIT RMCPSOP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: SOP: Create Planning Objects


INCLUDES used within this REPORT RMCPSOP

INCLUDE MMCP6TO1.
INCLUDE MMCP6TP1.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RMCPSOP or its description.