How To Fix DI840 - Namespaces EY and EZ are reserved for (customer) lock objects


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DI - Dictionary messages: Indexes

  • Message number: 840

  • Message text: Namespaces EY and EZ are reserved for (customer) lock objects

  • Show details Hide details
  • What causes this issue?

    Views and lock objects lie in the same namespace. Since EY and EZ are
    reserved as customer namespaces for lock objects in addition to the
    usual customer namespaces, views may not be created in this namespace.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Choose a different name.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DI840 - Namespaces EY and EZ are reserved for (customer) lock objects ?

    The SAP error message DI840 indicates that the namespaces EY and EZ are reserved for customer lock objects. This error typically arises when a developer or user attempts to create or use a lock object in these namespaces, which are reserved for specific purposes in the SAP system.

    Cause:

    1. Namespace Conflict: The namespaces EY and EZ are reserved for customer-specific lock objects. If you try to create a lock object in these namespaces, the system will throw this error.
    2. Incorrect Configuration: Sometimes, the error can occur due to incorrect configuration or attempts to use reserved namespaces for custom development.

    Solution:

    1. Use Different Namespace: Instead of using EY or EZ, you should use a different namespace for your custom lock objects. SAP recommends using your own namespace (e.g., Z or Y) for custom developments.
    2. Check Existing Lock Objects: If you are trying to modify or use an existing lock object, ensure that it is not in the reserved namespace. You can check the lock objects in transaction SE11 (Data Dictionary) or SE12 (Data Dictionary: Display).
    3. Review Development Guidelines: Follow SAP's guidelines for naming conventions and namespaces to avoid conflicts with reserved namespaces.
    4. Consult Documentation: If you are unsure about the namespaces and their usage, refer to the SAP documentation or consult with your SAP Basis or development team.

    Related Information:

    • Lock Objects: Lock objects in SAP are used to manage concurrent access to data in the database. They ensure data integrity by preventing multiple users from modifying the same data simultaneously.
    • Namespaces: In SAP, namespaces are used to organize and manage custom developments. The standard practice is to use Z or Y for customer-specific developments to avoid conflicts with SAP standard objects.
    • Transaction Codes:
      • SE11: Data Dictionary - to create or manage database objects, including lock objects.
      • SE12: Data Dictionary: Display - to view existing database objects.
      • SE80: Object Navigator - to manage various development objects, including lock objects.

    By following these guidelines and using the appropriate namespaces, you can avoid the DI840 error and ensure smooth development in your SAP environment.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author