SAP ABAP IMG Activity BW_BCT_RT_FREF (Reference Application in Forecast)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-PLA-RAP (Application Component) Retail Assortment Planning
     RS_BCT_RETAIL_MAP (Package) BW: Content MAP
IMG Activity
ID BW_BCT_RT_FREF Reference Application in Forecast  
Transaction Code S_B72_29000010   (empty) 
Created on 20050315    
Customizing Attributes BW_BCT_RT_FREF   Reference Application in Forecast 
Customizing Activity BW_BCT_RT_FREF   Reference Application in Forecast 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MAP/F_REFERENCES    

Use

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.

Requirements

  • 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.

Standard settings

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.

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050315 
SAP Release Created in 702