Defining Attributes of a Matchcode ID
You must make the following entries in the maintenance screen for the attributes of a matchcode ID:
Optional Settings
If this flag is set, the SAP software uses this matchcode and it may not be changed by the customer.
If this flag is set, authorization checks are made, which may be linked to individual matchcode records. In the matchcode display, a user exit in which an application-specific authorization check can be programmed is called before a matchcode record which has been read is output.
The user exit is called CHECK_AUTHORITY_<mcid> and is located in the include MC_<obj>&, <obj> being the name of the matchcode object.
Further fields are displayed, depending on the update type selected:
MC pooled table
:If the matchcode ID has already been activated, the corresponding pooled table is listed here. The name of the pooled table contains the prefix M_, the name of the matchcode object and the matchcode ID. For ID 1 of matchcode object TEST, the name is M_TEST1.
Deletion flag:
Set this flag if the relevant matchcode records are to be assigned a deletion flag but are not actually to be physically deleted when a record of a Basis table is deleted. All the records flagged in this way are physically deleted at a later time during a mass deletion process. Records assigned a deletion flag still appear in the matchcode display until the end of this deletion process.
The deletion flag cannot be set for matchcode IDs of update type P.
MC view name:
If the matchcode ID has already been activated, the corresponding view name is listed here. The view name contains the prefix M_, the name of the matchcode object and the matchcode ID. The corresponding name is therefore M_TEST1 for ID 1 of matchcode object TEST.
Table name, Index ID:
You can define the table and index ID here for the index you created to support view selection. These fields have a purely documentary function at present.
Function:
For matchcode IDs of update type K the search is via a function module which is triggered when the ID is selected. This entry shows the name of the function module used if such a module was already created.
Next Action when Creating Matchcodes:
Selecting Secondary Tables of a Matchcode ID