RMCP6BCH 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 RMCP6BCH into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MC8D - Mass Processing: Create Planning
MC8E - Mass Processing: Change Planning
MC8F - Delete Entry in Planning File
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.
Title: Background Job: Planning
Text Symbol: 001 = CONFIRM DELETION
Text Symbol: 002 = Are you sure you want to delete the
Text Symbol: 003 = planning job(s)?
INCLUDE RMCP6TOP.
INCLUDE RMCP6F01.
INCLUDE RMCP6O10.
INCLUDE RMCP6I10.
No SAP DATABASE tables are accessed within this REPORT code!
MCP_GET_PLANTYP CALL FUNCTION 'MCP_GET_PLANTYP' EXPORTING I_MCINF = RMCP2-MCINF IMPORTING E_SCTYP = LISPL-SCTYP E_GSTRU = SAV_GSTRU EXCEPTIONS NO_PLANTYPES_FOUND = 01.
MCS_INFO_FEATURES_GENER CALL FUNCTION 'MCS_INFO_FEATURES_GENER' EXPORTING I_GSTRU = SAV_GSTRU I_TYPE = CON_P IMPORTING E_REPORTNAME = lv_repid1 EXCEPTIONS GENERATION_FAILED = 01.
RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING REPORT = SAV_REPID NEW_TITLE = ' ' * DYNNR = * INTERNAL_CALL = ' ' * MASKED = 'X' * VARIANT = ' ' * POP_UP = ' ' IMPORTING SEL_VARIANT = SAV_SELSET * SEL_VARIANT_TEXT = * TABLES * BELONGING_DYNNR = EXCEPTIONS NO_REPORT = 1 REPORT_NOT_EXISTENT = 2 REPORT_NOT_SUPPLIED = 3 NO_VARIANTS = 4 OTHERS = 5.
RS_VARIANT_ADD CALL FUNCTION 'RS_VARIANT_ADD' EXPORTING REPORT = SAV_REPID VARIANT = SAV_SELSET * SCREENNUMBER = ' ' IMPORTING VARIANT = SAV_SELSET * TABLES * SCREENS = EXCEPTIONS ILLEGAL_VARIANT_NAME = 1 NOT_AUTHORIZED = 2 NOT_EXECUTED = 3 NO_REPORT = 4 REPORT_NOT_EXISTENT = 5 REPORT_NOT_SUPPLIED = 6 VARIANT_EXISTS = 7 VARIANT_LOCKED = 8 VARIANT_NOT_SUPPLIED = 9 OTHERS = 10.
RS_VARIANT_ADD * call function 'RS_VARIANT_ADD' * exporting * report = sav_repid * variant = sav_selset * importing * variant = sav_selset * exceptions * illegal_variant_name = 01 * not_authorized = 02 * not_executed = 03 * no_report = 04 * report_not_existent = 05 * report_not_supplied = 06 * variant_exists = 07 * variant_locked = 08 * variant_not_supplied = 09.
RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING REPORT = SAV_REPID VARIANT = SAV_SELSET IMPORTING * R_C = SY-SUBRC R_C = LV_SUBRC "UC026072 EXCEPTIONS NOT_AUTHORIZED = 01 NO_REPORT = 02 REPORT_NOT_EXISTENT = 03 REPORT_NOT_SUPPLIED = 04.
MCS_INFO_FEATURES_GENER CALL FUNCTION 'MCS_INFO_FEATURES_GENER' EXPORTING I_GSTRU = LISPL-GSTRU I_TYPE = CON_P IMPORTING E_REPORTNAME = SAV_REPID EXCEPTIONS GENERATION_FAILED = 01.
RS_VARIANT_CHANGE CALL FUNCTION 'RS_VARIANT_CHANGE' EXPORTING REPORT = INT_LISPL-REPID VARIANT = INT_LISPL-SELSET IMPORTING VARIANT = INT_LISPL-SELSET EXCEPTIONS NOT_AUTHORIZED = 01 NOT_EXECUTED = 02 NO_REPORT = 03 REPORT_NOT_EXISTENT = 04 REPORT_NOT_SUPPLIED = 05 VARIANT_LOCKED = 06 VARIANT_NOT_EXISTENT = 07 VARIANT_PROTECTED = 08.
RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING REPORT = INT_LISPL-REPID VARIANT = INT_LISPL-SELSET IMPORTING * R_C = SY-SUBRC R_C = LV_SUBRC "UC026072 EXCEPTIONS NOT_AUTHORIZED = 01 NO_REPORT = 02 REPORT_NOT_EXISTENT = 03 REPORT_NOT_SUPPLIED = 04.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMCP6BCH - Background Job: Planning RMCP6BCH - Background Job: Planning RMCP6BAB - Schedule Background Job to Maintain Opening Stock Levels RMCP6BAB - Schedule Background Job to Maintain Opening Stock Levels RMCP6AKO - Program for Aggregate Copy Between Info Structures RMCP6AKO - Program for Aggregate Copy Between Info Structures