SAP Knowledge Base Article - Public

3418515 - Associated elements are not selectable when adding a calculation in a custom CDS view - SAP S/4HANA Cloud

Symptom

When adding a calculation in a custom CDS view, associated elements(for example, I_ManufacturingOrderOperation._MfgOrderOperationConf2.ConfYieldQtylnProductionUnit) are not selectable.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

1. Open a custom CDS view.

2. Navigate to Elements tab.

3. Edit and try to add a calculation.

4. Associated elements can not be selected.

Resolution

Write the whole path into the Expression editor for e.g. 

cast ( cast(I_ManufacturingOrderOperation._MfgOrderOperationConf2.ConfYieldQtylnProductionUnit as ABAP.FLTP ) * cast(_YY1_COST_PP.Field008_V as ABAP.FLTP ) as ABAP.DEC( 10, 0 )  )

Keywords

calculation, associated element, custom CDS view, select , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions