Do you have any question about this error?
Message type: E = Error
Message class: MC - Aggregate: views, matchcodes, lock objects
Message number: 765
Message text: Field specification with * and - only allowed for DB views
Including all the fields of a base table by specifying * is only
allowed for database views.
As a result, excluding fields by entering '-' in the view field name
is only allowed for database views.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Enter the fields explicitly for all other view types.
Error message extract from SAP system. Copyright SAP SE.
MC765
- Field specification with * and - only allowed for DB views ?The SAP error message MC765, which states "Field specification with * and - only allowed for DB views," typically occurs in the context of data extraction or reporting when you are trying to use a field specification that is not valid for the type of data source you are working with. This error is often encountered in the context of SAP's data extraction tools, such as InfoSets or queries.
Cause:
The error is triggered when you attempt to use a wildcard character (
*
or-
) in a field specification for a data source that does not support it. Specifically, this is common when you are working with database views (DB views) or other types of data sources that have strict field selection criteria.Solution:
To resolve this error, you can take the following steps:
Check the Data Source: Ensure that you are using a database view or another appropriate data source that allows for wildcard specifications. If you are using a different type of data source (like a table or a structure), you may need to adjust your approach.
Modify Field Specifications: Instead of using
*
(which selects all fields) or-
(which may be used to exclude fields), specify the exact fields you want to include in your query or report. This means listing out the field names explicitly.Review Query/InfoSet Design: If you are using an InfoSet or a query, review the design to ensure that it adheres to the requirements of the data source. Make sure that the fields you are trying to select are compatible with the data source.
Consult Documentation: Refer to SAP documentation or help resources for guidance on the specific data source you are using. This can provide insights into the limitations and requirements for field specifications.
Testing: After making changes, test the query or report again to ensure that the error is resolved.
Related Information:
By following these steps, you should be able to resolve the MC765 error and successfully execute your queries or reports in SAP.
Get instant SAP help. Start your 7-day free trial now.
MC764
Type conflict in join &-& = &-&
What causes this issue? Two fields with different data types or lengths are elements of a join. Such conditions normally do not make sense. The syste...
MC763
Key field &1-&2 missing
INCLUDE MC732 OBJECT DOKU ID NAError message extract from SAP system. Copyright SAP SE. ...
MC766
Key field & of primary table & missing
What causes this issue? Not all of the key fields of the primary table (other than clients) were included in a help view.System Response The system ...
MC767
Specify at least one base table
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.