Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

Write result of CrossTab into Text

$
0
0

Dear Guru's,

 

I'm creating a kind of dashboard in Design Studio. This dashboard should display aggregated values for several reports in the main screen and allows 'drilldown' to other pages, containing the details.

 

In order to achieve displaying the aggregated value, I created a Crosstab, to which I assigned a DS. This DS is based on a BEx query which contains a condition and exception aggragation (to count the unique number of creditors with turnover > 30.000). The result row of this report shows the value I want to display in the dashboard. Is there any way to get the value of a specific cell in a query (the result value of the counter) written into a text field, which then can be displayed in the dashboard?

 

The question above is a simplified version of what I'm actually trying to achieve. As a matter of fact, I'm using the Design Studio Utility Pack, which is available in the following thread: Design Studio SDK (1.3) - Fiori-like LaunchPad (aka sap.m.TileContainer). From this Utility Pack, I'm using the Launchpad tool. The result from the Crosstab should be written into the numbers field of one of the tiles of the Launchpad.

 

Within the 'On startup' script, I've succeeding in overwriting the fixed value I entered within the tile with another fixed value:

var tileConfig = LAUNCHPAD_1.getTileProperty("Omzet > € 30.000");

LAUNCHPAD_1.addTile(tileConfig.title, tileConfig.info, tileConfig.icon, "456", tileConfig.numberUnit, tileConfig.valueState);

The script above replaces the initial value on the tile ("123") with the value "456". However, this value should be derived from the resultfield in the DS.

 

If somebody knows how to replace the number value in the Tile, I would be very thankful, but I would already be pleased to get an answer on the simplified version...


Viewing all articles
Browse latest Browse all 7999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>