on 07-19-2018 12:46 PM
Hi,
I am very new to CDS views. am facing ONE problem in CDS views in ABAP on HANA module. Here I have only one table. The table having 5 columns. Suppose in the 4 th column some time i have a data, some times don't have data to displaY.
If i dont have a data to display in 4 th column , i need to get the data from 5th columns and display the same data in 4 th columns.
like
if 4th column is initial.
--> get the data from 5th column and display same data in 4th coulmn..
we can use case conditions for that. i dont want to use case conditions to achive this functionality..
--> One concept is there in CDS views to achiving this func tionality ??what is that?/
Thanking you all.
you can define a CDS view to read the data from your table, you will have a new column name which will have a logic either to take the data from column 4 or column 5 based on NULL value as you described in the SELECT statement of CDS view definition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.