Skip to Content
-2

Calculated Columns in CDS

Apr 21, 2017 at 02:35 PM

658

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Horst Keller
Apr 21, 2017 at 03:00 PM
1

You can do that in ABAP CDS.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 24, 2017 at 07:09 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded