/SAPAPO/OM_TS_CHANGE_TG - Create, Change, and Delete Pattern Chains

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Functionality

This function creates, changes, or deletes a time buckets profile iv_tg, depending on the mode iv_change_mode.

If a profile is created, it_stamps is a table of time stamps with weighting factors that define thetime buckets profile. The type parameter iv_type defines whether the profile is a storage buckets profile,a read/write profile, or a pattern profile. Both read/write profiles and pattern profiles require a non-initial reference iv_tg_ref to the storage buckets profile of the planning area.

The change mode allows the time stamp range to be rolled by specifying a new time stamp table, it_stamps.This roll action flags all dependent objects (pattern, key figure, time series) with an update flag. The dependent objects then need to be updated.

A delete action for a storage buckets profile is performed only if there are no longer any dependent objects.

Example

Notes

Further information


Parameters

ET_RC
IS_GEN_PARAMS
IT_STAMPS
IV_CHANGE_MODE
IV_CLIENT
IV_LCNAME
IV_TG
IV_TG_REF
IV_TYPE

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_TIMESERIES

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 1329 Date: 20120525 Time: 093316     triton ( 74 ms )