SAP Reports / Programs

RMCAMUS7 SAP ABAP Report - Calculate Proportions for Planning Hierarchy







RMCAMUS7 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 RMCAMUS7 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 RMCAMUS7. "Basic submit
SUBMIT RMCAMUS7 AND RETURN. "Return to original report after report execution complete
SUBMIT RMCAMUS7 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: SL_WERKS = D Plant
Selection Text: SL_VTWEG = D Distribution channel
Selection Text: SL_VKORG = D Sales organization
Selection Text: SL_PRGRP = D Material
Title: Calculate Proportions for Planning Hierarchy
Text Symbol: 034 = 1 = single-level, 2 = multilevel
Text Symbol: 033 = To
Text Symbol: 032 = Control parameters for proportional calculation----------------------------
Text Symbol: 031 = Date
Text Symbol: 030 = Planning horizon-----------------------------------------------------------
Text Symbol: 029 = Characteristics------------------------------------------------------------
Text Symbol: 006 = Info structure
Text Symbol: 005 = Version
Text Symbol: 004 = Operation
Text Symbol: 003 = Key figures
Text Symbol: 002 = Key figure
Text Symbol: 001 = Select Key Figure(s)
Text Symbol: %FS = Definition of proportional calculation
Text Symbol: %FP = Program parameters


INCLUDES used within this REPORT RMCAMUS7

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:

MC_GE_STRUKTUR *+ CALL FUNCTION 'MC_GE_STRUKTUR' *+ EXPORTING *+ IDATUB = BIS_DATE *+ IDATUV = VON_DATE *+ IOPERATION = '3' "Lesen der Blätter *+ IPLOBJ = INT_MCPGAN-PLOBO *+ TABLES *+ IPGMIT = INT_PGMIT *+ EXCEPTIONS *+ NO_MEMBERS_FOUND = 01.

MC_PG_ANTEILE *+ CALL FUNCTION 'MC_PG_ANTEILE' *+ EXPORTING *+ BIS_DATUM = BIS_DATE *+ I_DIALOG = ' ' *+ I_FIXKZ = 'X' *+ I_OPERATION = KZ_OPER *+ I_PLOBO = INT_MCPGAN-PLOBO *+ I_VRSIO = I_VRSIO *+ SAV_GSTRU = GSTRU *+ SAV_KENNZAHL = KENNZAHL **+ SAV_KEYVA = ' ' "del H 650225 *+ VON_DATUM = VON_DATE *+ IMPORTING *+ E_OK_CODE = OKCODE *+ TABLES *+ T_MCPGAN = I_MCPGAN *+ EXCEPTIONS *+ ALL_SHARES_ZERO = 01 *+ NO_ACTIVE_VERSION = 02 *+ NO_MEMBER_FOUND = 03 *+ NO_PLOB_FOUND = 04.

PGAN_UPDATE *+ CALL FUNCTION 'PGAN_UPDATE' "nicht IN UPDATE TASK *+ EXPORTING *+ I_VBSCHR = 'U' "UPDATE *+ TABLES *+ E_PGAN = INT_PGAN.

PGAN_TO_PGMI_ANTEI *+ call function 'PGAN_TO_PGMI_ANTEI' *+ tables *+ i_pgan = int_pgan *+ exceptions *+ others = 1.



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