Message type: E = Error
Message class: MC - Aggregate: views, matchcodes, lock objects
Message number: 595
Message text: Table & is not contained in lock object &
A table which does not belong to the base tables of the lock object was
specified in lock mode of lock object &V1&.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Enter a table of lock object &V1& in lock mode or include table &V2& in
the lock object (with the <LS>Tables</> pushbutton or in the menu
<LS>Goto</>).
Error message extract from SAP system. Copyright SAP SE.
MC595
- Table & is not contained in lock object & ?The SAP error message MC595 indicates that a specific table is not included in the lock object that is being used in a transaction. This typically occurs when there is an attempt to access or modify a table that is not properly defined in the lock mechanism, leading to potential data inconsistencies or conflicts.
Cause: Missing Table in Lock Object: The table mentioned in the error message is not included in the lock object definition. Lock objects are used in SAP to manage concurrent access to database records. Incorrect Lock Object Usage: The program or transaction may be trying to lock a table that is not intended to be locked, or the lock object may not be correctly defined in the ABAP code. Custom Development Issues: If the error arises from custom ABAP programs, it may be due to incorrect coding practices or oversight in defining the lock objects.
Solution: Check Lock Object Definition: Go to transaction
Get instant SAP help. Sign up for our Free Essentials Plan.
MC594
Start the lock object names with the prefix 'E'
What causes this issue? You want to create a lock object whose name does not start with the prefix E. Lock objects can start with the prefix E but th...
MC593
Assign a name to the lock argument
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MC596
Name & for lock objects not allowed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MC597
View & cannot be used as a base object simultaneously
What causes this issue? This error message can occur in the following scenario: A CDS view defines an association that uses the CDS view itself as an...
Click on this link to search all SAP messages.