SAP Reports / Programs

RMCP6VIS SAP ABAP Report - Set Up Planning Hierarchy/Master Data Based on Planned/Actual Version







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


Text pool values


Title: Set Up Planning Hierarchy/Master Data Based on Planned/Actual Version
Text Symbol: 001 = Info structure
Text Symbol: 002 = Version
Text Symbol: 003 = Key figure for calculation of proportional factors
Text Symbol: 030 = Time range on which calculation is based----------------------------------------
Text Symbol: 031 = Period
Text Symbol: 033 = To
Text Symbol: 034 = From
Text Symbol: 035 = Simulation indicator
Text Symbol: 036 = Self-defined method
Text Symbol: 042 = This is the slow version of master data generation!
Text Symbol: 043 = Report RMCP6FLS is recommended
Text Symbol: 044 = The report can also be called up using the flexible planning menu
Text Symbol: 045 = under 'Master data' -> 'Generate master data'
Text Symbol: 100 = Number of master records that would be created:
Text Symbol: 820 = Key figure
Text Symbol: 821 = Key figures
Text Symbol: 822 = Select Key Figure(s)


INCLUDES used within this REPORT RMCP6VIS

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

MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.

MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.

MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.

MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.

MC_GSTRU_PRUEFEN CALL FUNCTION 'MC_GSTRU_PRUEFEN' EXPORTING I_GSTRU = SAV_GSTRU IMPORTING * O_DATFCNT = O_KEYCNT = START_INDEX * O_SUBRC = O_UNITCNT = SAV_ANZ_UNIT_FIELDS TABLES T_DATF = DATENFELDER T_KEYS = KEYFELDER T_UNITS = IP_EINH.

MCS_STRUC_TABLE_GENER CALL FUNCTION 'MCS_STRUC_TABLE_GENER' EXPORTING I_FLG_WITH_PROT = ' ' " Mit Protokoll I_GSTRU = SAV_GSTRU I_MCINF = TMC4-MCINF EXCEPTIONS ACTIVATION_FAILED = 01 DICTIONARY_LOCKED = 02 GENERATION_FAILED = 03 MCINF_NOT_FOUND = 04 WRITING_FAILED = 05.

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

MC_PERIODE_ZUM_DATUM CALL FUNCTION 'MC_PERIODE_ZUM_DATUM' EXPORTING IDATE = HLP_VON_DATUM IPERKZ = SAV_PERKZ IPERIV = ' ' IMPORTING EPERID = TAB_PERID-PERID.

MC_PERIODE_ZUM_DATUM CALL FUNCTION 'MC_PERIODE_ZUM_DATUM' EXPORTING IDATE = HLP_VON_DATUM IPERKZ = PER_P IPERIV = SAV_PERIV IMPORTING EPERID = TAB_PERID-PERID.

MC_PERIO_GET_FIRST_AND_LASTDAY CALL FUNCTION 'MC_PERIO_GET_FIRST_AND_LASTDAY' EXPORTING IFABKL = ' ' IWERKS = ' ' IPERKZ = SAV_PERKZ IPERIV = SAV_PERIV IPERID = TAB_PERID-PERID IMPORTING EFIRSTDAY = TAB_PERID-ERTAG ELASTDAY = TAB_PERID-LASTTAG EXCEPTIONS PERID_INVALID = 01.

MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT' EXPORTING I_PLOBJ = ' ' I_XAUSN = 'X'.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = DYNAME DYNUMB = DYNUMB TRANSLATE_TO_UPPER = 'X' TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 01 INVALID_DYNPROFIELD = 02 INVALID_DYNPRONAME = 03 INVALID_DYNPRONUMMER = 04 INVALID_REQUEST = 05 NO_FIELDDESCRIPTION = 06 UNDEFIND_ERROR = 07.



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