cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA CDS TABLE/ENTITY Calculated field not able to use in Calculation View

former_member290321
Participant
0 Kudos

I have created X.hdbdd entity which has following fields

namespace ABC.LANDING.XYZ;
@Schema: 'CUSTOM'
@Catalog.tableType: #COLUMN
entity XYZ_DL_NW  {
	KEY A : String(3) not null;
	KEY B : Integer64 not null;
	KEY C : UTCTimestamp not null;
	KEY D : String(5) not null;
	Y : Integer;
	Z : Integer;
    YZ : Integer = "Y" - "Z";
	
	};

In Calculation view when I use calculated field YZ (which is YZ : Integer = "Y" - "Z" from X.hdbdd entity), I am getting following error

As of now the workaround which I have done is creating Table Function and then utilizing it in calculation view.

Is there any solution or any reason why I am not able to use aforesaid calculated field directly in Calculation view??

Accepted Solutions (0)

Answers (1)

Answers (1)

HakanHaslaman
Product and Topic Expert
Product and Topic Expert

There was some known bug regarding this error. If it should not be fixed in the latest revision, full system info dump can provide more information to deeper analyzing this issue.