Do you have any question about this error?
Message type: E = Error
Message class: MC - Aggregate: views, matchcodes, lock objects
Message number: 066
Message text: Table &: (Switching not allowed)
For performance reasons, synchronous maintenance of matchcodes from the
database interface of the SAP System is subject to certain
restrictions which the system checks when update type 'S' is selected
for a matchcode ID. For example, only a directly dependent secondary
table may be used in a matchcode ID for the primary table that is to be
maintained synchronously. A directly dependent secondary table is one
where a foreign key relationship, in which the primary table is defined
as check table for the secondary table, was selected in the matchcode
object definition between the primary and secondary tables.
If you interpret the tables and the relationships between these tables
in the matchcode object definition as simple graphs, the tables being
the nodes and the relationships the links, then no branches may occur
in the parts of the graph determined by the matchcode ID tables.
Text tables, i.e. tables which are linked to the primary table by means
of a text relationship, are an exception to these restrictions.
These tables can always be included in the matchcode ID
even if this means that the matchcode ID contains more than one
directly dependent table.
<LS>Example</>:
( "A <- B" means a foreign key relationship from B to A, i.e. A is
check table for B)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
A <- B, A <- C is not allowed if B and C are not text tables forThe system checks the restrictions described here and issues an
appropriate error message.
Include only those matchcode object tables in the matchcode ID which
do not violate the restrictions or check your relationship definitions.
Error message extract from SAP system. Copyright SAP SE.
MC066
- Table &: (Switching not allowed) ?The SAP error message MC066, which states "Table &: (Switching not allowed)," typically occurs in the context of SAP's Material Management (MM) or Production Planning (PP) modules. This error is related to the configuration of the system, particularly concerning the settings for the material master or the configuration of the relevant tables.
Cause:
The error usually arises due to one of the following reasons:
- Incorrect Configuration: The system may not be configured to allow switching between certain types of data or views in the material master or other related tables.
- Data Inconsistency: There may be inconsistencies in the data that prevent the system from processing the request.
- Authorization Issues: The user may not have the necessary authorizations to perform the action that is being attempted.
- System Settings: Certain system settings or parameters may restrict the ability to switch between different views or types of data.
Solution:
To resolve the MC066 error, you can take the following steps:
Check Configuration:
- Review the configuration settings for the material master or the relevant tables in the SAP system. Ensure that the settings allow for the desired switching.
- Use transaction codes like
SPRO
to access the configuration settings and verify the relevant parameters.Data Consistency Check:
- Perform a consistency check on the data in the material master or related tables. You can use transaction codes like
MM02
to check the material master data.- Look for any inconsistencies or missing data that may be causing the issue.
User Authorizations:
- Verify that the user has the necessary authorizations to perform the action. Check the user roles and authorizations in transaction
SU01
orPFCG
.Consult Documentation:
- Refer to SAP documentation or notes related to the specific error message. You can search for SAP Notes in the SAP Support Portal for any known issues or patches.
Contact SAP Support:
- If the issue persists after checking the above points, consider reaching out to SAP Support for further assistance. Provide them with the error message details and any relevant context.
Related Information:
MM01
, MM02
, MM03
, and SPRO
for material master management and configuration.By following these steps, you should be able to identify the cause of the MC066 error and implement a suitable solution.
Get instant SAP help. Start your 7-day free trial now.
MC065
Table & cannot be accessed from primary table
What causes this issue? An aggregate (matchcode object, view, lock object) contains several tables which are linked together by foreign keys. The pri...
MC064
The domain of field &-& has changed
INCLUDE 'MC063' OBJECT DOKU ID NAError message extract from SAP system. Copyright SAP SE. ...
MC067
Foreign key & after & is not a key extension
What causes this issue? For performance reasons, synchronous maintenance of matchcodes from the database interface of the SAP System is subject to ce...
MC068
Table & is not transparent
What causes this issue? Transparent matchcode IDs (update type I) are implemented directly as a database view. Therefore they may only contain transp...
Click on this link to search all SAP messages.