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

SAPMACOP SAP ABAP Report - Asynchronous matchcode handling for an MC object







SAPMACOP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use the SAPMACOP utility to generate or delete the function modules required for the program interface...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 SAPMACOP 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 SAPMACOP. "Basic submit
SUBMIT SAPMACOP AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMACOP 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: FUNKTION = Function (GEN,FBD)
Selection Text: MCONAME = Matchcode object name
Title: Asynchronous matchcode handling for an MC object
Text Symbol: 001 = Delete and create
Text Symbol: 002 = Delete
Text Symbol: 003 = Delete marked records from
Text Symbol: 004 = Restart at the
Text Symbol: 005 = Matchcode object
Text Symbol: 010 = MC IDs for matchcode object
Text Symbol: 020 = No active MC IDs exist for this MC object
Text Symbol: 021 = No active MC IDs with deletion indicator found for this MC object
Text Symbol: 022 = Caution: MC ID set-up can be continued with 'restart'
Text Symbol: 023 = Warning: no MC IDs available for 'restart'


INCLUDES used within this REPORT SAPMACOP

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_CREATE_ABAP_MCO CALL FUNCTION 'MC_CREATE_ABAP_MCO' EXPORTING MCONAME = MCONAME IMPORTING RC = RC EXCEPTIONS ERROR_MCO_DEFINITION = 1 MCO_NOT_FOUND = 1 MCO_NOT_ACTIVE = 1 * mco_no_mcid = 3 MCO_NO_LANG_FIELD = 1 MCO_NO_FOREIGN_KEY_FIELD = 1 MCO_MISSING_FIELD_DESC = 1 MCO_INTERNAL_ERROR = 1 TOO_MANY_FUNCTIONS = 2 FUNCTION_ALREADY_EXISTS = 2 INVALID_FUNCTION_POOL = 2 MCO_NO_MIPTYPE_FOUND = 3 ERROR_FUNCTION_CR = 4 MCO_DEF_ERROR = 5 NO_FUNCTION_GENERATED = 6 OTHERS = 7.

MC_DELETE_ABAP_MCO CALL FUNCTION 'MC_DELETE_ABAP_MCO' EXPORTING MCONAME = MCONAME EXCEPTIONS MCO_NOT_FOUND = 1 MCO_NOT_ACTIVE = 1 MCO_NO_MCID = 1 MCO_NO_LANG_FIELD = 1 MCO_NO_FOREIGN_KEY_FIELD = 1 MCO_MISSING_FIELD_DESC = 1 MCO_INTERNAL_ERROR = 1 OTHERS = 2.



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