CDS views cannot be analytical and transactional at the same time.

Message type: E = Error

Message class: SADL_GW_DT_CDS - Messages CDS Checks

Message number: 054

Message text: CDS views cannot be analytical and transactional at the same time.



What causes this issue?

The CDS view is marked as transactional and Analytics.query.
Example:
@Analytics.query: true
@ObjectModel.transactionalProcessingEnabled: true

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

or
@Analytics.query: true
@ObjectModel.transactionalProcessingDelegated: true
This combination is not allowed in CDS views.


System Response



How to fix this error?

Use only one of the annotations.


Procedure for System Administrators

Contact the corresponding developer of the CDS view to correct the
error.

Error message extract from SAP system. Copyright SAP SE.