Ansicht
Dokumentation

/SAPAPO/OM_TS_AGGMULT_CREATE - Create Multiple Aggregated Nodes

/SAPAPO/OM_TS_AGGMULT_CREATE - Create Multiple Aggregated Nodes

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function creates multiple aggregates with the key figure assignment it_tskf. Both entry tables it_aggs and it_dets have to be expanded before being interpreted. Each row with the type /sapapo/om_ts_agg must be assigned </sapapo/om_ts_agg-detnum> consecutive rows of the table it_dets.

The parameter iv_rg defines a register. If the register ID is initial, the aggregates are defined as persistent. If a non-initial register ID is specified, an appropriate register object must be created first. In this case, all aggregates are flagged as temporary and are indicated in the register object. This enables these aggregates to be identified and cleaned up if errors occur and processes terminate.

The parameter iv_tg_range allows you to restrict the calculation period with respect to the total period of the base storage buckets profile. The initial restriction is the same as no restriction. You can make a non-trivial restriction for temporary aggregates only.

The parameter is_season_ctrl enables you to prepare the aggregates for seasonality data. If a pattern time buckets profile is specified in is_season_ctrl-pattern_tg, the data in this seasonality view is created for all key figures in it_tskf that have a connected flag. A precondition for the calculation of the seasonality data is that all aggregate details for an aggregate must have a pattern chain; this pattern chain codes a calculation rule for the pattern time buckets profile.

Example

Notes

Further information





Parameters

ET_RC
IS_GEN_PARAMS
IS_SEASON_CTRL
IT_AGGS
IT_DETS
IT_TSKF
IV_LCNAME
IV_RG
IV_TG_RANGE

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_TIMESERIES

BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2005 Date: 20240523 Time: 064002     sap01-206 ( 39 ms )