SAP ABAP IMG Activity FRE_MD_BADI_001 (BAdI: Modify Values and Weight. Profiles for DIF Occurrences for Promotions)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA (Application Component) Cross-Application Components
     WFRE_PI (Package) Connectivity with F&R
IMG Activity
ID FRE_MD_BADI_001 BAdI: Modify Values and Weight. Profiles for DIF Occurrences for Promotions  
Transaction Code S_XC0_18000025   (empty) 
Created on 20050808    
Customizing Attributes FRE_BADI   Enhancements Using Business Add-Ins 
Customizing Activity FRE_MD_BADI_001   BAdI: Modify Values and Weight. Profiles for DIF Occurrences for Promotions 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FRE_MD_DIF_CHANGE    

Use

This BAdI is always run through after DIF occurrences are calculated in SAP R/3.

The method CHANGE_DIF_MENGE_WEIGHT is only responsible for changes of weight profile and value. Other adjustments are ignored. Especially no DIF occurences can be added.

For other changes than the mentioned ones BAdI FRE_MD_DIF_SEND has to be used.

Requirements

There are no preconditions.

Standard settings

Structure IS_WAKH contains the header data of the actual promotion, table IT_WAKP the related item data and table IT_WALE the material to plant assignments. Table IT_ABI_HEAD includes all resulting DIF occurences (in SAP R/3 form). It has to be taken into account that only relevant promotional data are handed over to the BAdI i. e. materials that are not relevant for SAP F&R are not!

If changes want to be handed over, only entries to ET_ABI_HEAD with the changed data (weight profile and/or value) must be appended. The corresponding original entry is found with the equality of material, plant, DIF identifier and validity intervall.

Activities

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  20070417 
SAP Release Created in 600