Application Development and Automation 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: 
Read only

Calculated Columns in CDS

Former Member
0 Likes
2,471

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
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
588

You can do that in ABAP CDS.

Read only

Former Member
0 Likes
588

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