SAP ABAP IMG Activity WRF_BUDGET_BADI_0002 (BAdI: Determine Budget Type)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   MM-PUR (Application Component) Purchasing
     WRF_BUDGET (Package) Framework: Budget Processes
IMG Activity
ID WRF_BUDGET_BADI_0002 BAdI: Determine Budget Type  
Transaction Code S_XB4_60000071   (empty) 
Created on 20040401    
Customizing Attributes WRF_PRC_BADI   BAdI Enhancements for Seasonal Procurement 
Customizing Activity WRF_BUDGET_BADI_0002   BAdI: Determine Budget Type 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WRF_BUDG_X_TYPE_E    

Use

The budget bucket or the budget number have to be determined from the respective context in the operative applications (such as OTB check). To do so, the budget type has to be determined first. You can use this BAdI to control how a budget type is identified.

You assign an appropriate implementation to the budget type in Customizing. The implementation of method WRF_BUDG_TYPE_CHECK is used to check whether the budget type applies to the specified import parameters (alternately, the import parameters may not be sufficient to determine the budget type).

BAdI WRF_BUDG_X_ TYPE_E supports multiple use. The BAdI is defined filter-dependent to ensure that all implementations do not run all the time. The filter value is the implementation name of the budget type - which means only the appropriate implementation is called through the filter for a specific budget type.

An interface method is available; it is described in the long text documentation of class interface IF_EX_WRF_BUDG_X_ TYPE_E.

Requirements

Standard settings

Activities

The following active implementations exist for assignment to a budget type:

  • WRF_BUDG_TYPE_001 Budget Type: Seasonal Goods

    The implementation evaluates the season type of the material.
    If the field is blank, the budget type cannot be determined in this case.
    If the field is set to value SAISO = '0000' (no season), the budget type does not apply to this field.
    In all other cases, the budget type applies.
  • WRF_BUDG_TYPE_002 Budget Type: Store Purchase

    This implementation evaluates the plant type of the receiving plant.
    If field WERKS is not filled in the interface, the budget type cannot be determined.
    If the plant has type distribution center VLFKZ = "B", the budget type does not apply.
    If the plant has type store VLFKZ = "A", the budget type applies.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional 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  20050524 
SAP Release Created in 111