Skip to Content
0

condition on individual cell of a crosstab

Feb 02 at 05:03 PM

47

avatar image

crosstabpercent.jpg

Dear Experts,

Is this possible to set a CSS class for individual cells of a crosstab in SAP Design studio 16.5.0 with BEX query as a backend data source?

In my crosstab I have a column which has a number and %sign with the number. The %sign was set through CSS script. Some values in the column are zero for which blank was set via BEX query.

The Problem is %sign is shown with the blank value as well.

The requirement is to show % sign with the number and where there is a blank don’t show the %sign.

Please see the attachment. The highlighted cell shouldn’t show %sign as the value is blank.

Can we set CSS class for individual cell of a crosstab or in design studio through looping? I can get the value from the data source and can verify it is blank or not but how to access the individual cell where the value is blank?

Any idea will be appreciated.

Thanks!!!!

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

1 Answer

Mustafa Bensan Feb 02 at 11:47 PM
0

Hi Afreen,

The technique applied in the Crosstab use case in the following post may assist with your requirement: https://blogs.sap.com/2016/07/05/generate-css-code-dymanically-in-design-studio-with-the-community-package/

Regards,

Mustafa.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Mustafa!!

But our client isn't interested in using community package.

Regards.

0