Do you have any question about this error?
Message type: E = Error
Message class: MC - Aggregate: views, matchcodes, lock objects
Message number: 021
Message text: No authorization for matchcode object &
Error message extract from SAP system. Copyright SAP SE.
MC021
- No authorization for matchcode object & ?The SAP error message MC021, which states "No authorization for matchcode object &", typically occurs when a user attempts to access a matchcode object for which they do not have the necessary authorizations. Matchcode objects are used in SAP to facilitate searches for data in various tables.
Cause:
The primary cause of this error is a lack of authorization for the specific matchcode object that the user is trying to access. This can happen due to:
- Missing Authorization Roles: The user’s role does not include the necessary authorizations for the matchcode object.
- Incorrectly Configured Authorization Profiles: The authorization profiles assigned to the user may not be set up correctly to include the required matchcode objects.
- Changes in Authorization Settings: Changes made to the authorization settings or roles that affect the matchcode object may lead to this error.
Solution:
To resolve the MC021 error, you can follow these steps:
Check User Authorizations:
- Use transaction code
SU53
immediately after the error occurs to check the authorization check that failed. This will provide insight into which specific authorization is missing.- Alternatively, you can use transaction
SU01
to view the user’s roles and authorizations.Review Matchcode Object:
- Identify the matchcode object that is causing the issue. This is usually indicated in the error message (the
&
will be replaced with the actual matchcode object name).- Check the authorization requirements for that specific matchcode object.
Modify User Roles:
- If the user lacks the necessary authorization, you may need to modify their roles or create a new role that includes the required authorizations for the matchcode object.
- Use transaction
PFCG
to manage roles and authorizations.Consult with Security Team:
- If you do not have the necessary permissions to change roles or authorizations, contact your SAP security team or administrator to request the required access.
Testing:
- After making changes to the user’s authorizations, have the user log out and log back in to test if the issue is resolved.
Related Information:
SU01
(User Maintenance), PFCG
(Role Maintenance), and SU53
(Display Authorization Check).By following these steps, you should be able to identify and resolve the authorization issue related to the MC021 error message.
Get instant SAP help. Start your 7-day free trial now.
MC020
Matchcode object & is locked by user &
What causes this issue? A user is just processing the matchcode object. For reasons of consistency, this object is locked for other users for the dur...
MC019
Name clashes with that of another Dictionary object
What causes this issue? An ABAP/4 Dictionary object with this name already exists.System Response The system issues an error message and will not al...
MC022
Matchcode ID &-& locked by user &
What causes this issue? A user is just processing the matchcode ID. For reasons of consistency, it is locked for other users for the duration of the ...
MC023
No authorization for matchcode ID &-&
INCLUDE DD_AUTH_CHECKError message extract from SAP system. Copyright SAP SE. ...
Click on this link to search all SAP messages.