Ansicht
Dokumentation

BW_BCT_RT_FREF - Reference Application in Forecast

BW_BCT_RT_FREF - Reference Application in Forecast

CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the component BW-BCT-PLA-RMP ("Retail Merchandise Planning").

You can use this BAdI to transfer reference information to the aggregated long-term forecast.

This reference information is processed for each forecast model and can be used in the following forecast steps:

  • Reduction of the explicable element of the historical data.
  • Enrichment of the explicable element of the forecast data.

The following cases are supported:

  1. Source data, influencing factors and regression coefficients exist for the characteristic combination to be processed. This is the normal case, in which the reference usage (usage of this BAdI) is not necessary.
  2. Source data and influencing factors, but no regression coefficients exist for the characteristic combination to be processed. In this case, the regression coefficients of the corresponding reference are used.
  3. Regression coefficients, but no source data or influencing factors exist for the characteristic combination to be processed. In this case, you must decide in the BAdI implementation whether or not to use the reference information for source data and influencing factors (see documentation for the method /MAP/IF_EX_F_REFERENCES~REF_DECIDE).
  4. Neither source data, influencing fators, nor regression coefficients exist for the characteristic combination to be processed. In this case, the data from the corresponding reference is used.

Bear the following in mind:

  • Responsibility for processing or storing references lies exclusively with the user of the BAdI. The object of the BAdI is exclusively to transfer reference information to the forecast.
  • You can use the function (planning function, BAdI /MAP/F_REFERENCES) when historical data and (all) influencing factors for a characteristic combination exist together or do not exist. Cases in which the data only exists in part or separately are not supported.
  • Those cases in which no source data and no influencing factors exist are only dealt with in the forecast step "Reduction of Explicable Element".
  • No recursive usage of reference information takes place. In other words, if no data (source data with influencing factors or regression coefficients) exists even after usage of references, the system terminates processing of characteristic combinations. In the case of a concatenation of references A -> B -> C, the reference information B -> C would not be taken into account in the processing of the object A.

The execution time of the various methods of this BAdI is described in its method documentation.

  • The usage of reference information in the forecast is only possible if you set the exit parameter 5USEREF to the value 'X'.
  • You can define the choice of "reference-bearing characteristic", that is to say, the characteristic for which you can store reference relationships in the implementation. The following restrictions apply:
  • Source characteristic of the planning function (exit parameter 2SRCCHA / 2SRCVAL) cannot be a reference-bearing characteristic.

  • Reference-bearing characteristics must be a part of the forecast level of the relevant forecast model.

The BAdI is filter-dependent and cannot be reused. In other words, there can only be a maximum of one active implementation for a filter value. If no active customer implementation exists, no SAP default implementation is executed.

The key for the underlying forecast model is used as a filter.

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.






BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 6116 Date: 20240524 Time: 001302     sap01-206 ( 100 ms )