Data Transfer to Planning Functions
In this section you learn how SEM-BPS executes the data transfer to this function internally when executing a planning function. The following information is valid for planning functions of all types, and is normally of no importance for the execution. However, especially for the use of
Exit Functions and Formula Functions, it is important that you are aware of the type of internal data preparation, which depends on which data you can access when executing such functions, and which data you cannot access.
SEM-BPS forms internal data objects which are transferred to this function for processing when a planning function is called up. The number of these data objects depends on whether or how many characteristics you have included in the list of fields to be changed for the function. The following processing logic arises from this:
A planning function is actually called up as often internally with one-off execution (from the user’s view) as corresponds the number of formed data objects. The selection of characteristics to be changed has the following consequences:
- If you do not select a characteristic, then every data object contains exactly one data record that contains the values of all key figures for an internally defined unique combination of characteristic values. Therefore, to execute changes to all data records, the function is called up as often as data records exist in the data basis. In addition in this case, no internal processes can be made independent of data in other data records, since at the runtime of the function, access only exists to one data record.
- If you select all characteristics, exactly one data object is formed that contains all the data records of the data basis (corresponding to the selection conditions in the planning package and level). Therefore, you have access simultaneously to the values of all key figures for all entered combinations of characteristic values.
- If you select a selection from the characteristics available, each data object contains as many data records as result from the characteristic value combinations, that are formed from these characteristics and for which data is already entered. At the same time for every data record of the data object, an internally defined unique combination of values is generated, for those characteristics that you have not selected. The number of times that the function has to be called up, then corresponds to the number of data objects formed by SEM-BPS. If you produce internal references to other data records, then you must make sure that these data records are in the current data object at the runtime of the function.
See also:
Exit Function
Formula