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

RMCP6AKO SAP ABAP Report - Program for Aggregate Copy Between Info Structures







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


Text pool values


Title: Program for Aggregate Copy Between Info Structures


INCLUDES used within this REPORT RMCP6AKO

INCLUDE MMCP6TO1.
INCLUDE MMCP6TP1.
INCLUDE RMCP6F02.


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

MC_PERIODE_ZUM_DATUM CALL FUNCTION 'MC_PERIODE_ZUM_DATUM' " INSERT 3.1g

MC_PERIO_GET_FIRST_AND_LASTDAY CALL FUNCTION 'MC_PERIO_GET_FIRST_AND_LASTDAY' " INSERT 3.1g

MC_GSTRU_PRUEFEN CALL FUNCTION 'MC_GSTRU_PRUEFEN' EXPORTING I_GSTRU = INT_KZAZU-QSTRU IMPORTING * O_DATFCNT = O_KEYCNT = KEYCNT_Q * O_SUBRC = * O_UNITCNT = TABLES T_DATF = DATENFELDER_Q T_KEYS = KEYFELDER_Q T_UNITS = IP_EINH_Q.

MC_PERIODE_ZUM_DATUM CALL FUNCTION 'MC_PERIODE_ZUM_DATUM' " INSERT 3.1g

MC_PERIO_GET_FIRST_AND_LASTDAY CALL FUNCTION 'MC_PERIO_GET_FIRST_AND_LASTDAY' " INSERT 3.1g

MC_PERIODE_ZUM_DATUM CALL FUNCTION 'MC_PERIODE_ZUM_DATUM' EXPORTING IDATE = PGABV-ERTAG IPERKZ = PGABV-PERKZ IPERIV = PGABV-PERIV IMPORTING EPERID = PGABV-PERID.

MC_UEBERNAHME_ALLGEMEIN CALL FUNCTION 'MC_UEBERNAHME_ALLGEMEIN' EXPORTING IBISTG = BIS_DAT IGSTRU_Z = GSTRU_Z IGSTRU_Q = GSTRU_Q IVERSI = VRSIO_Q IVONTG = VON_DAT IFABKL = SAV_T445A-FABKL IFLG_DIALOG = FLG_DIALOG IFLG_AGGREG = 'X' * importing * eflg_quellpl = TABLES IKENNZAHLEN = KENNZAHLEN_UEBERG IKEYFELDER_Z = KEYFELDER_COPY IKEYFELDER_Q = KEYFELDER_Q IPGABV = PGABV IPGABV_ALLG = INT_PGABV_ALLG EXCEPTIONS DATE_INVALID_FOR_WEEK_CALC = 1 FACTORY_CAL_READ_NOT_POSSIBLE = 2 PERIOD_READ_NOT_POSSIBLE = 3 PG_FOR_MATERIAL_NOT_FOUND = 4 PG_STRUCTURE_NOT_POSSIBLE = 5 PLANTCODE_NOT_IN_T001W = 6 WEEK_INVALID_FOR_DATE_CALC = 7 IPGABV_FALSCH_GEFUELLT = 8 ABBRECHEN_GEDRUECKT = 9 SELECTION_NOT_IN_SOURCE_IS = 10 "ins H 891059 OTHERS = 11. "cha H 891059

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