Defining Attributes of Matchcode IDs

Procedure

  1. Goto ® Matchcode IDs.

    A list of all existing IDs for the object is displayed.

  2. Choose Create to define a new ID.

    A dialog box appears in which you can enter any alphanumeric character as identifier for the matchcode ID. The digits 0 to 9 are reserved for customers.

  3. Choose Continue.

    The maintenance screen for the attributes of a matchcode ID appears.

  4. Enter an explanatory short text in the field Short text.
  5. Choose an update type for the Matchcode ID.

    Update type I (transparent ID) is entered as default value. If you want to select another update type, simply overwrite this entry. However, in general you should create all IDs as transparent IDs.

  6. Save your entries if you do not want to make any of the optional settings described below.

Other Options

System Matchcode

The SAP software uses this matchcode if this indicator is set. The customer may not change it.

Auth. check

If this indicator 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>&, where <obj> is the name of the matchcode object.

Additional Information Depending on the Update Type

Update Types A, S and P (Physical Matchcodes):

  • MC pooled table: If the matchcode ID was already 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. The corresponding name is therefore M_TEST1 for ID 1 of matchcode object TEST.
  • 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 base 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.

Update Type I:

  • 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.

Update Type K:

  • Function: For matchcode IDs of update type K the search is via a function module that 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 a Matchcode:

Select the secondary tables of matchcode IDs