Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Calculated Columns in CDS

Former Member
0 Kudos

Hi,

I am looking to create multiple calculated columns in a CDS view.

Can I not create multiple calculated columns in one CDS view (like we do in a single node in HANA Modeling)?

Code Below:

CONCAT( kna1.name1, kna1.name2 ) as full_name,

UPPER( full_name ) as full_name_up

Thanks,
Remya

2 REPLIES 2

horst_keller
Product and Topic Expert
Product and Topic Expert

You can do that in ABAP CDS.

Former Member
0 Kudos

Hi Horst,

I am creating ABAP CDS view only.

It is not letting me use the calculated column 'full_name' in another calculation within same view - Below is the error;

"Column full_name is not known Z_A_CUSTOMER_AA (Data Definition) ABAP Syntax Check Problem"

Could you please let me know.

Regards,
Remya