SAP Reports / Programs

RMCP6ACO SAP ABAP Report - Schedule Background Job for High-Level Copying Between Info Structures







RMCP6ACO 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 RMCP6ACO into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MC8Q - Aggregate Copy


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 RMCP6ACO. "Basic submit
SUBMIT RMCP6ACO AND RETURN. "Return to original report after report execution complete
SUBMIT RMCP6ACO 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: VRSIO_Z = Target version
Selection Text: VRSIO_Q = Source version
Selection Text: VON_DAT = From date
Selection Text: SCTYP_Z = Planning type
Selection Text: MCINF_Z = Target info structure
Selection Text: MCINF_Q = Source info structure
Selection Text: KZAZUKEY = Key figure assignment profile
Selection Text: BIS_DAT = To date
Title: Schedule Background Job for High-Level Copying Between Info Structures
Text Symbol: 021 = Copy version
Text Symbol: 020 = Delete version
Text Symbol: 017 = To date
Text Symbol: 016 = From date
Text Symbol: 015 = Version to delete
Text Symbol: 014 = Deletion ind.
Text Symbol: 013 = Target version text
Text Symbol: 012 = Target version
Text Symbol: 011 = Source version
Text Symbol: 010 = Info structures
Text Symbol: 005 = Aggregate copy between information structures
Text Symbol: 004 = Copy/delete version
Text Symbol: 003 = Job number
Text Symbol: %FS = Definition for mass processing
Text Symbol: %FP = Definition for mass processing


INCLUDES used within this REPORT RMCP6ACO

INCLUDE RMCP6TOP.
INCLUDE LBTCHDEF.


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:

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING DELANFREP = ' ' JOBGROUP = ' ' JOBNAME = JOBNAME IMPORTING JOBCOUNT = JOBNUMMER EXCEPTIONS CANT_CREATE_JOB = 01 INVALID_JOB_DATA = 02 JOBNAME_MISSING = 03.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING STDT_DIALOG = BTC_YES STDT_INPUT = STARTTIME STDT_OPCODE = BTC_EDIT_STARTDATE IMPORTING STDT_MODIFY_TYPE = START_MODIFY_FLAG STDT_OUTPUT = STARTTIME EXCEPTIONS FCAL_ID_NOT_DEFINED = 01 INCOMPLETE_LAST_STARTDATE = 02 INCOMPLETE_STARTDATE = 03 INVALID_DIALOG_TYPE = 04 INVALID_EVENTID = 05 INVALID_OPCODE = 06 INVALID_OPMODE_NAME = 07 INVALID_PERIODBEHAVIOUR = 08 INVALID_PREDECESSOR_JOBNAME = 09 LAST_STARTDATE_IN_THE_PAST = 10 NO_PERIOD_DATA_GIVEN = 11 NO_STARTDATE_GIVEN = 12 PERIOD_AND_PREDJOB_NO_WAY = 13 PERIOD_TOO_SMALL_FOR_LIMIT = 14 PREDECESSOR_JOBNAME_NOT_UNIQUE = 15 STARTDATE_INTERVAL_TOO_LARGE = 16 STARTDATE_IN_THE_PAST = 17 STARTDATE_IS_A_HOLIDAY = 18 STARTDATE_OUT_OF_FCAL_RANGE = 19 STDT_BEFORE_HOLIDAY_IN_PAST = 20 UNKNOWN_FCAL_ERROR_OCCURED = 21.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = JOBNUMMER JOBNAME = JOBNAME.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = JOBNUMMER JOBNAME = JOBNAME.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = JOBNUMMER JOBNAME = JOBNAME.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING AT_OPMODE = ' ' AT_OPMODE_PERIODIC = ' ' CALENDAR_ID = ' ' EVENT_ID = STARTTIME-EVENTID EVENT_PARAM = STARTTIME-EVENTPARM EVENT_PERIODIC = ' ' JOBCOUNT = JOBNUMMER JOBNAME = JOBNAME LASTSTRTDT = STARTTIME-LASTSTRTDT LASTSTRTTM = STARTTIME-LASTSTRTTM PRDDAYS = STARTTIME-PRDDAYS PRDHOURS = STARTTIME-PRDHOURS PRDMINS = STARTTIME-PRDMINS PRDMONTHS = STARTTIME-PRDMONTHS PRDWEEKS = STARTTIME-PRDWEEKS PREDJOB_CHECKSTAT = ' ' PRED_JOBCOUNT = ' ' PRED_JOBNAME = ' ' SDLSTRTDT = STARTTIME-SDLSTRTDT SDLSTRTTM = STARTTIME-SDLSTRTTM STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS STRTIMMED = STARTIMMEDIATE TARGETSYSTEM = ' ' IMPORTING JOB_WAS_RELEASED = JOB_ALREADY_RELEASED EXCEPTIONS CANT_START_IMMEDIATE = 01 INVALID_STARTDATE = 02 JOBNAME_MISSING = 03 JOB_CLOSE_FAILED = 04 JOB_NOSTEPS = 05 JOB_NOTEX = 06 LOCK_FAILED = 07.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = JOBNUMMER JOBNAME = JOBNAME.



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