SAP Knowledge Base Article - Public

3581891 - Use of annotation OBJECTMODEL.VIRTUALELEMENTCALCULATEDBY is not allowed - SAP S/4HANA Cloud Public Edition

Symptom

  • Encountered an issue while trying to release the TR using the Transport Organizer in ABAP Cloud.
  • The error message "Use of annotation OBJECTMODEL.VIRTUALELEMENTCALCULATEDBY is not allowed" was displayed.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use Virtual Data Element (VDE) in Projection View to calculate the value of preceding rows.
  2. Attempt to release the TR using the Transport Organize.

Cause

Resolution

Note that in ABAP Cloud, the annotation @ObjectModel.virtualElementCalculatedBy cannot be used in CDS extensions.

See Also

SAP Help Portal | Using Virtual Elements in CDS Projection Views

Keywords

ABAP Cloud, Virtual Data Element, VDE, Projection View, Transport Organizer view, OBJECTMODEL.VIRTUALELEMENTCALCULATEDBY, annotation, CDS extensions. , KBA , BC-DWB-DIC , ABAP Dictionary and ABAP CDS , Problem

Product

SAP S/4HANA Cloud Public Edition all versions