Skip to Content
2

Dynamic field label in CDS view

May 19, 2017 at 04:23 PM

514

avatar image

How can I create a dynamic field label in ABAP CDS? The @EnduserText.label annotation appears to be for translatable text and doesn't seem to have the ability to have dynamic elements like a BW text variable.

The user will enter a fiscal year/period, then from that the current period and previous 11 periods will be shown as columns, with additional calculated columns at the end for difference ($) for the chosen and prior period, and diference (%) for the chosen and prior period. Because of the requirement to have the additional calculated columns at the end we can't simply use a crosstab and drill down by period in the columns.

For example:

5/2016   6/2016   ...   4/2017   5/2017   Difference ($)   Difference (%)
$1       $2       ...   $3       $4       $1               25%

We're using S4/HANA version 1610 and will be displaying in WebI 4.2 SP3 patch 3.

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

3 Answers

avatar image
Former Member
Jun 22, 2017 at 03:15 PM
0

Hi,

I have the same problem, did you find a solution for that?

Thanks in advance

Thorsten

Share
10 |10000 characters needed characters left characters exceeded
Kapil Karwa Aug 09, 2017 at 05:39 AM
0

I too have same issue, Is there any solution to it

Share
10 |10000 characters needed characters left characters exceeded
Jason Muzzy Aug 18, 2017 at 04:38 PM
0

I still haven't found a solution for this and so we're doing clunky work-arounds with formulas in WebI. This doesn't help in other BI client tools like Analysis or Fiori tiles themselves.

Share
10 |10000 characters needed characters left characters exceeded