Do you have any question about this error?
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
The view to be activated must still be adjusted in the database to the
new definition in the ABAP/4 Dictionary.
Pure information.
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.
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:
- Database Inconsistency: The view in question may have become inconsistent due to changes in the underlying tables or structures.
- 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.
- Manual Changes: Manual changes to the database or the data model that are not reflected in the view can lead to this error.
- 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:
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.
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.
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.
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.
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:
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.
Get instant SAP help. Start your 7-day free trial now.
MC727
View must be deleted in the database
What causes this issue? A view definition in the database still exists for the view although it is not a database view.System Response Activation is...
MC726
View must be created in the database
What causes this issue? The activated view was not yet created in the database.System Response Pure information.How to fix this error? Generally th...
MC729
Key field &-& missing. Specify maintenance status 'read only'.
What causes this issue? A key field of the base table was not included in a view which is not marked as 'read only'. Views with which data ...
MC730
Join from & to & not defined with foreign key
What causes this issue? Two tables which are not linked with a foreign key were included in a view. Therefore no join condition is defined between th...
Click on this link to search all SAP messages.