Do you have any question about this error?
Message type: E = Error
Message class: CDS_VIEW_ABAP_USE - PFCDS - For Check of static use of CDS views from ABAP
Message number: 021
Message text: Access via SQL view name &4 (DDLS name &1, serviceQuality A/B)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
INCLUDE S_PERF_CDS_ABAP_USAGE OBJECT DOKU ID TXError message extract from SAP system. Copyright SAP SE.
CDS_VIEW_ABAP_USE021
- Access via SQL view name &4 (DDLS name &1, serviceQuality A/B) ?The SAP error message
CDS_VIEW_ABAP_USE021
typically indicates an issue related to the access of a Core Data Services (CDS) view in ABAP. This error occurs when there is an attempt to access a CDS view using its SQL view name, but the access is not allowed due to the service quality settings.Cause:
The error message can be triggered by the following reasons:
- Service Quality Settings: The CDS view is defined with a specific service quality (A or B). If the access method does not match the defined service quality, this error will occur.
- Access Method: The access method used to query the CDS view may not be compatible with the view's definition or its intended use.
- SQL View Name: The SQL view name being used may not be correctly defined or may not exist in the system.
Solution:
To resolve the
CDS_VIEW_ABAP_USE021
error, consider the following steps:
Check Service Quality: Review the service quality settings of the CDS view. Ensure that the access method you are using is compatible with the defined service quality (A or B).
- Service Quality A: Typically allows for more complex queries and is intended for analytical purposes.
- Service Quality B: Generally intended for simpler queries and may have restrictions.
Use the Correct Access Method: Ensure that you are using the appropriate access method for the CDS view. If the view is designed for analytical queries, use the appropriate ABAP syntax or tools that support this.
Verify SQL View Name: Check if the SQL view name you are trying to access is correct and exists in the system. You can do this by navigating to the relevant transaction (e.g., SE11) and checking the definition of the SQL view.
Adjust CDS View Definition: If necessary, you may need to adjust the definition of the CDS view to ensure it aligns with the intended access methods and service quality settings.
Consult Documentation: Refer to the SAP documentation for more details on CDS views and their access methods. This can provide insights into best practices and common pitfalls.
Check Authorization: Ensure that the user has the necessary authorizations to access the CDS view.
Related Information:
If the issue persists after following these steps, consider reaching out to your SAP support team or consulting the SAP Community for further assistance.
Get instant SAP help. Start your 7-day free trial now.
CDS_VIEW_ABAP_USE015
Access via CDS view name &2 (DDLS name &1, serviceQuality P/-)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved. INCLUDE S_PERF_CDS_ABAP_USA...
CDS_VIEW_ABAP_USE014
Access via CDS view name &2 (DDLS name &1, serviceQuality X)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved. INCLUDE S_PERF_CDS_ABAP_USA...
CDS_VIEW_ABAP_USE022
Access via SQL view name &4 (DDLS name &1, serviceQuality C)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved. INCLUDE S_PERF_CDS_ABAP_USA...
CDS_VIEW_ABAP_USE023
Access via SQL view name &4 (DDLS name &1, serviceQuality D)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved. INCLUDE S_PERF_CDS_ABAP_USA...
Click on this link to search all SAP messages.