SAP Reports / Programs

RMCP6BRU SAP ABAP Report - Schedule Background Run for Selected Planning Objects







RMCP6BRU 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 RMCP6BRU 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

MC8G - Schedule Mass Processing


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 RMCP6BRU. "Basic submit
SUBMIT RMCP6BRU AND RETURN. "Return to original report after report execution complete
SUBMIT RMCP6BRU 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: JOBNR = D Background job number
Selection Text: JOBNR = D Background job number
Title: Schedule Background Run for Selected Planning Objects
Text Symbol: %FP = Definition for mass processing
Text Symbol: %FS = Definition for mass processing
Text Symbol: 001 = CONFIRM DELETION
Text Symbol: 002 = Delete planning jobs?
Text Symbol: 003 = Job number


INCLUDES used within this REPORT RMCP6BRU

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 = STARTTIME-CALENDARID EVENT_ID = STARTTIME-EVENTID EVENT_PARAM = STARTTIME-EVENTPARM EVENT_PERIODIC = STARTTIME-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 = STARTTIME-CHECKSTAT PRED_JOBCOUNT = STARTTIME-PREDJOBCNT PRED_JOBNAME = STARTTIME-PREDJOB SDLSTRTDT = STARTTIME-SDLSTRTDT SDLSTRTTM = STARTTIME-SDLSTRTTM STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS STRTIMMED = STARTIMMEDIATE TARGETSYSTEM = ' ' START_ON_WORKDAY_NOT_BEFORE = STARTTIME-NOTBEFORE "127242 START_ON_WORKDAY_NR = STARTTIME-WDAYNO "127242 WORKDAY_COUNT_DIRECTION = STARTTIME-WDAYCDIR "127242 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 RMCP6BRU or its description.