on 2024 Aug 29 2:21 PM
Hi Experts,
In thread Reuse of Calculated Columns in CDS View, a solution was posted:
select
vbeln,
netwr,
mwsbk,
netwr + mwsbk as total,
( netwr + mwsbk ) * 1000 as total1000
from vbrk
Note that there is redundancy here: the expression "netwr + mwsbk" occurs twice. This is OK for such a simple case. However, my calculated fields are much more complex and I would like to reuse existing expressions (already created calculated fields), as:
select
vbeln,
netwr,
mwsbk,
netwr + mwsbk as total,
total * 1000 as total1000
from vbrk
I tried:
Are there any ideas?
Thanks!
Igor
Request clarification before answering.
User | Count |
---|---|
15 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.