Skip to Content
1
P D
Dec 06, 2022 at 02:06 PM

Dynamic Column Header Description using CDS

103 Views

Hello Experts,

I am developing a list report object page Fiori APP. My scnerario is like this. I have Quantity columns for which the column descriptions have to be like when some one , runs the report today(06.12.2022).

Dec 2022 Jan 2023 Feb 2023 March 2023

But when the user runs the report next month the header column description has to be like

Jan 2023 Feb 2023 March 2023 April 2023

which means the descriptions have to be dynamic . Is it possible to give dynamic header texts using CDS views ?

I have read about CDS

CDS Query with Text Variables - SAP NetWeaver Business Warehouse - Support Wiki

But it works only for the Bex queries( Analytical Queries ) I believe. Is there any other workaround ?

Is there any possibility to use @Consumption.dynamicLabel: intelligently in this context ?