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

RMCP6PGR SAP ABAP Report - Background Program to Calculate Proportional Factors







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


Text pool values


Selection Text: KZ_OPER = Operation
Selection Text: SL_DISPO = MRP controller
Selection Text: SL_DISPO = D MRP controller
Selection Text: SL_PRGRP = Material
Selection Text: SL_PRGRP = D Material
Selection Text: SL_WERKS = Plant
Selection Text: SL_WERKS = D Plant
Title: Background Program to Calculate Proportional Factors
Text Symbol: %FP = Program parameters
Text Symbol: %FS = Definition of proportional calculation
Text Symbol: 004 = Operation
Text Symbol: 029 = Characteristics------------------------------------------------------------
Text Symbol: 030 = Planning horizon-----------------------------------------------------------
Text Symbol: 031 = Current date---------------------------------------------------------------
Text Symbol: 032 = Control parameters for proportional calculation----------------------------
Text Symbol: 100 = Product group:
Text Symbol: 101 = Plant:
Text Symbol: 102 = User:


INCLUDES used within this REPORT RMCP6PGR

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:

MCP_PGPL_ANTEILE CALL FUNCTION 'MCP_PGPL_ANTEILE' EXPORTING BIS_DATUM = BIS_DATE I_DIALOG = ' ' I_FIXKZ = 'X' I_OPERATION = '2' I_PRGRP = INT_MCON-MATNR I_WERKS = INT_MCON-WERKS VON_DATUM = VON_DATE IMPORTING E_OK_CODE = OKCODE TABLES I_PGBAU = INT_PGBAU EXCEPTIONS NO_CONSUMPTION_FOUND = 01 NO_MATERIAL_FOUND = 02.

PRODUCTGROUP_CHANGE CALL FUNCTION 'PRODUCTGROUP_CHANGE' TABLES PGMI_I = PGMI_DUMMY PGMI_D = PGMI_DUMMY PGMI_U = PGMI_U PGZU_I = PGZU_DUMMY PGZU_D = PGZU_DUMMY PGZU_U = PGZU_DUMMY EXCEPTIONS "Insert 3.0E

MC_PG_SPERREN CALL FUNCTION 'MC_PG_SPERREN' EXPORTING I_AKTION = CON_AS I_RMCP2S = I_RMCP2S IMPORTING COLLISION_UNAME = SS_UNAME ENQUEUE_SUBRC = SS_SUBRC EXCEPTIONS SYSTEM_FAILURE = 01 INVALID_ENQ_ACTION = 02.

ENQUEUE_EMMARCE CALL FUNCTION 'ENQUEUE_EMMARCE' EXPORTING MATNR = PRODUKTGRUPPE WERKS = WERK EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

MC_PG_ENTSPERREN CALL FUNCTION 'MC_PG_ENTSPERREN' EXPORTING I_AKTION = CON_AS I_RMCP2S = I_RMCP2S EXCEPTIONS FOREIGN_LOCK = 01 INVALID_ENQ_ACTION = 02 SYSTEM_FAILURE = 03.

DEQUEUE_EMMARCE CALL FUNCTION 'DEQUEUE_EMMARCE' EXPORTING MATNR = PRODUKTGRUPPE WERKS = WERK.



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