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

RMCPMANU SAP ABAP Report - Create IDOCs for Forecast History







RMCPMANU 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 RMCPMANU 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 RMCPMANU. "Basic submit
SUBMIT RMCPMANU AND RETURN. "Return to original report after report execution complete
SUBMIT RMCPMANU VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Create IDOCs for Forecast History
Text Symbol: 001 = No interested partner system exists
Text Symbol: 002 = Faulty source code generation for info structure S125
Text Symbol: 003 = Info structure
Text Symbol: 004 = History's start date
Text Symbol: 005 = History's finish date
Text Symbol: 006 = Version
Text Symbol: 007 = Max. no. records per IDOC
Text Symbol: 100 = Info structure does not exist
Text Symbol: 101 = Message type
Text Symbol: 102 = not yet generated


INCLUDES used within this REPORT RMCPMANU

No INCLUDES are used within this REPORT code!


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:

AUTHORITY_CHECK CALL FUNCTION 'AUTHORITY_CHECK' EXPORTING FIELD1 = 'MCAPP' FIELD2 = 'MCINF' FIELD3 = 'ACTVT' OBJECT = 'M_INFO_ANL' USER = SY-UNAME VALUE1 = HLP_VALUE1 VALUE2 = HLP_VALUE2 VALUE3 = '59' EXCEPTIONS USER_DONT_EXIST = 1 USER_IS_AUTHORIZED = 2 USER_NOT_AUTHORIZED = 3 OTHERS = 4.

ALE_MODEL_DETERMINE_IF_TO_SEND CALL FUNCTION 'ALE_MODEL_DETERMINE_IF_TO_SEND' EXPORTING MESSAGE_TYPE = CON_MSGTYP IMPORTING IDOC_MUST_BE_SENT = FLAG_SEND_IDOC EXCEPTIONS OWN_SYSTEM_NOT_DEFINED = 01.

MCS_CODING_PLAN2_GENER CALL FUNCTION 'MCS_CODING_PLAN2_GENER' EXPORTING I_GSTRU_GEN = TMC4-GSTRU * I_MCINF_GEN = ' ' I_MUSTERREPORT = 'MMCP6SO2' IMPORTING E_REPORTNAME = SAV_GEN_REPID EXCEPTIONS GENERATION_FAILED = 1 GSTRU_NOT_EXISTS = 2 OTHERS = 3.



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 RMCPMANU or its description.