SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Activation Program, Conversion Program, DB Utility, MC, SPDD(BC-DWB-DIC-AC) SAP BC

RDDMCOG0 SAP ABAP INCLUDE - Mass Activation Program for Matchcode Objects and Matchcode IDs







RDDMCOG0 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for This Include executes the mass activation for matchcode objects and matchcode IDs...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RDDMCOG0 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 RDDMCOG0. "Basic submit
SUBMIT RDDMCOG0 AND RETURN. "Return to original report after report execution complete
SUBMIT RDDMCOG0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Mass Activation Program for Matchcode Objects and Matchcode IDs


INCLUDES used within this REPORT RDDMCOG0

No INCLUDES are used within this REPORT code!


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:

MC_ACT_MCO CALL FUNCTION 'MC_ACT_MCO' EXPORTING ACT_CONTROL = ACT_CONTROL ACT_MCONAME = MCONAME PRID = PRID IMPORTING RC = RC TABLES MCTBAT_TAB = MCTBAT_TAB EXCEPTIONS OTHERS = 1.

MC_ACT_MCO CALL FUNCTION 'MC_ACT_MCO' EXPORTING ACT_CONTROL = 'AD' ACT_MCONAME = MCONAME PRID = PRID IMPORTING RC = RC TABLES MCTBAT_TAB = MCTBAT_TAB EXCEPTIONS OTHERS = 1.

MC_ACT_MCID CALL FUNCTION 'MC_ACT_MCID' EXPORTING ACT_CONTROL = ACT_CONTROL ACT_MCID = ACT_MCID ACT_MCONAME = MCONAME PRID = PRID IMPORTING RC = RC TABLES MCTBAT_TAB = MCTBAT_TAB EXCEPTIONS OTHERS = 1.

DD_INSERT_BATCH_REQUEST CALL FUNCTION 'DD_INSERT_BATCH_REQUEST' EXPORTING FUNCTION = MCTBAT_TAB-FUNC ID_NAME = MCTBAT_TAB-OBJNAME2 MODEFLAG = ACT_MODEFLAG OBJ_NAME = OBJNAME OBJ_TYPE = MCTBAT_TAB-OBJECT USER = SY-UNAME IMPORTING SUBRC = RC EXCEPTIONS DELETE_FAILED = 01 FUNCTION_NOT_SUPPORTED = 02 INSERT_FAILED = 03 OBJECT_TYPE_NOT_SUPPORTED = 04.

MC_ACT_MCID CALL FUNCTION 'MC_ACT_MCID' EXPORTING ACT_CONTROL = ACT_CONTROL ACT_MCID = MCID_TAB-MCID ACT_MCONAME = MCONAME PRID = PRID IMPORTING RC = RC TABLES MCTBAT_TAB = MCTBAT_TAB EXCEPTIONS OTHERS = 1.

DD_INSERT_BATCH_REQUEST CALL FUNCTION 'DD_INSERT_BATCH_REQUEST' EXPORTING FUNCTION = FUNK1 "DROP + CREATE ID_NAME = ' ' MODEFLAG = ACT_MODEFLAG OBJ_NAME = POOLN_HELP OBJ_TYPE = 'SQLT' USER = SY-UNAME IMPORTING SUBRC = RC EXCEPTIONS DELETE_FAILED = 01 FUNCTION_NOT_SUPPORTED = 02 INSERT_FAILED = 03 OBJECT_TYPE_NOT_SUPPORTED = 04.

SUBST_GET_UPGRADE_INFO CALL FUNCTION 'SUBST_GET_UPGRADE_INFO' IMPORTING EV_TYPE = UPGRADE_TYPE EV_STATUS = UPGRADE_STATUS EXCEPTIONS UNDEFINED_RELEASE = 01.



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