Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

CDS VIEW Concatenation Fuction

$
0
0

Hello Folks,

 

I have some problem which is  creating HANA CDS View using concatenate Function.

 

HANA Develpoer Guide(SPS7& SPS8) was described that the concatente Function would be worked.But it does not work. there is a syntax error.

Error message is very short. just syntax errors [ABAP Syntax Check Problem]

 

VIEW MyView AS SELECT FROM Employee 
  {  a + b  AS theSum, 
      a - b  AS theDifference,
      a * b  AS theProduct,
      a / b  AS theQuotient, 
       -a     AS theUnaryMinus,
       c || d AS theConcatenation  }; 

 

[TEST CDS VIEW Example] ==> Error

 

@AbapCatalog.sqlViewName: 'ZCDS_TEST01'

define view ZCDS_VIEW01 as select from DD03L {

       key TABNAME as NAME,

           FIELDNAME,

           ROLLNAME || ROLLNAME AS TEXT

};   

 

   

We have already checked work around in this community.https://scn.sap.com/message/15148892#15148892

 

But our customer want to know that this is a bug or does not  know how to handle.

If if is a bug, when will be fixed.

 

Our system info: HANA 1.00.74.03.392810 (NewDB100_REL) & Netweaver 7.4 SP7

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 831


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>