Show TOC

Procedure documentationUsing a Function Module as Data Source

 

In the Dashboard Builder, a tile is a part of a dashboard. It usually visualizes one KPI in one chart. There are three technical ways to supply data for the tile:

  • Function module

  • BW query

  • Business Process Analytics

This procedure contains the information you need to create a function module to feed data to a dashboard tile.

Procedure

To develop a function module as a data souce for the Dashboard Builder, it must meet the following specifications (see function module DSH_SAMPLE_FM_DATASET, as a referrence):

  • The function module must have a TABLES parameter which contains data sets.

  • The TABLES parameter must contain no more than 30 character-like type fields which are to be mapped to characteristics, and no more than 3 P (packed) type fields, as key figures. The fields to be mapped to key figures must be the last several columns.

  • The component type of each field should be based on a data element with a meaningful field label.

  • You can use the importing parameter I_T_SEL_OPTIONS in your function module, to transfer data selection criteria from the Dashboard Builder side. Implement your own logic in the function module, based on inbound data selection criteria. See function module DSH_SAMPLE_FM_DATASET as a reference.

Result

The function module is created, and can feed data to a dashboard.