Ansicht
Dokumentation

LR_UPX_KPI_KF_PLEVEL_READ2 - Kennzahl aus anderer Planungsebene lesen

LR_UPX_KPI_KF_PLEVEL_READ2 - Kennzahl aus anderer Planungsebene lesen

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

Functionality

You can use this function module as a replacement for UPX_KPI_KF_PLEVEL_READ. It provides better performance when you have high-aggregated selections in layouts with many data records. You can also define offsets to time characteristics in order to shift the selection on the time dimensions, for example to select historical data.This function module also allows you to make the key figure non-aggregable.

The following is a description of the parameters supported by this function module which you can use to define the key figure schema:

Name Value Description
AREA The data will be selected from the planning level contained in the area specified here.
PLEVEL This planning level contains the selection criteria for the data to be read, together with the key figures that will be read. If there is more than one key figure specified in the planning level, the values will be aggregated. The selection will be calculated according to the following rules: "Relevant for the selection are only those characteristics that are contained in the selection of this planning level. All these selections including selection per variables are taken into account. "Characteristics having the flag "Selection in Package" checked will inherit their selection value from the planning level of the planning layout.
OFFSET<n> : For example, 0FISCPER:-24
  Use this parameter to shift the selection value of the planning layout's planning level by the specified offset. The data will be selected according to the shifted value. Note that this parameter will not affect the column descriptions of the planning layout. In order to achieve this, you have to use parameter KFSCOL (see below) together with the BAdIUPX_ACP_TIME_OFFSET to change the column descriptions accordingly, BAdI UPX_ACP_TIME_OFFSET is called. This BAdI is coded specifically for the time characteristics 0FISCPER and 0FISCYEAR. For other timecharacteristics, you will have to change thisimplementation accordingly.
NON-AGGREGABLE Use this parameter to indicate that the resulting key figure is non-aggregable (default: aggregable).
CHARACTERISTIC_NAME Parameter can be repeated for more characteristics. If the characteristic name and values are specified, all its values are excluded from the selection of the planning layout's planning level. For example, if we specifiedcharacteristic 0PERIOD_TYP and values #, 30 and 70 and we have in InfoCube entries with #30, 50 and 70 period types, only records with period type 50 will be considered.
_DEBUG = Use this parameter to verify the correctness of your planning environment. If a value is specified,execution of your planning layout will stopwhenever the function module is called and the request contains an entry for the characteristic/value combination you specify. If no value is specified, execution will stop each time the function module is called. You then have the possibility to analyze further with the ABAPdebugger. Note that the break point is notuser-specific. You should use this parameter only in a non-productive environment, or you should specify a characteristic/value combination that is only relevant for your test and will not interfere with other users.
CONVERT_TO_BASE_UOM X Use this parameter when you have a sales unit of measure in the planning level and a base unit of measure in the level defined by the parameter PLEVEL. Base UoM is retrieved from the CRM side for every product, a selection is done againstAREA / PLEVEL with base UoM and then all values are converted into sales units of measure. Conversion factor between Base UoM and Sales UoM is also retrieved from the CRM side. The next parameter RFCDEST defines the destination of the CRM System.
RFCDEST Defines the RFC destination of the CRM system. See parameter CONVERT_TO_BASE_UNIT.  

Example

Notes

Further information





Parameters

ET_RESPONSE
ET_RETURN
IT_PARAM
IT_REQUEST
I_AREA

Exceptions

Function Group

KPI_KF_PLEVEL_READ

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5545 Date: 20240523 Time: 042622     sap01-206 ( 122 ms )