How To Fix MC728 - View must be deleted from the database and created again


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MC - Aggregate: views, matchcodes, lock objects

  • Message number: 728

  • Message text: View must be deleted from the database and created again

  • Show details Hide details
  • What causes this issue?

    The view to be activated must still be adjusted in the database to the
    new definition in the ABAP/4 Dictionary.

    System Response

    Pure information.

    How to fix this error?

    Generally the view is adjusted in the database system by the activating
    program itself (or in the release upgrade by a subsequent step of the
    upgrade process). If this is not successful, the view is not activated
    so that there are no inconsistencies between the ABAP/4 Dictionary and
    the database system.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MC728 - View must be deleted from the database and created again ?

    The SAP error message MC728 ("View must be deleted from the database and created again") typically occurs in the context of the Material Management (MM) module, particularly when dealing with views in the database that are not in sync with the underlying data structures. This error can arise due to various reasons, such as changes in the data model, inconsistencies in the database, or issues during the transport of changes.

    Cause:

    1. Database Inconsistency: The view in question may have become inconsistent due to changes in the underlying tables or structures.
    2. Transport Issues: If changes were transported from one system to another (e.g., from development to production), there may have been issues that caused the view to not be created or updated correctly.
    3. Manual Changes: Manual changes to the database or the data model that are not reflected in the view can lead to this error.
    4. Version Mismatch: If there are version mismatches between the database and the application layer, it can lead to inconsistencies.

    Solution:

    To resolve the MC728 error, you typically need to delete the problematic view and recreate it. Here are the steps to do this:

    1. Identify the View: Determine which view is causing the error. This information is usually provided in the error message or can be found in the transaction where the error occurred.

    2. Delete the View:

      • Use transaction code SE11 (Data Dictionary) to access the view.
      • Enter the name of the view and click on the "Display" button.
      • If the view is not active, you may need to delete it. You can do this by selecting the view and choosing the "Delete" option.
    3. Recreate the View:

      • After deleting the view, you can recreate it by using the same transaction (SE11).
      • Enter the view name and define the necessary fields and tables as per the original configuration.
      • Activate the view after creation.
    4. Check for Consistency: After recreating the view, check for any inconsistencies in the database. You can use transaction codes like SE14 (Database Utility) to check and adjust database objects.

    5. Transport Changes: If the changes were made in a development environment, ensure that they are properly transported to the quality and production environments.

    Related Information:

    • Backup: Always ensure you have a backup of your data and configurations before making changes to the database.
    • SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that may provide additional guidance or patches related to this error.
    • Testing: After making changes, conduct thorough testing to ensure that the issue is resolved and that there are no further inconsistencies.

    If the problem persists after following these steps, it may be necessary to consult with your SAP Basis team or SAP support for further assistance.

    • 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