SAP ABAP IMG Activity BON_ENH_BADI_SETTLE (Extensions for Accounting of Rebate Agreements)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   SD-BIL-RB-ENH (Application Component) Extended Rebate
     RBT_ENH (Package) Extended Rebate
IMG Activity
ID BON_ENH_BADI_SETTLE Extensions for Accounting of Rebate Agreements  
Transaction Code S_ABV_91000203   IMG Activity: BON_ENH_BADI_SETTLE 
Created on 20020322    
Customizing Attributes BON_ENH_BADI_SETTLE   Extensions for Accounting of Rebate Agreements 
Customizing Activity BON_ENH_BADI_SETTLE   Extensions for Accounting of Rebate Agreements 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name RBT_ENH_BADI_SETTLE    

The BAdI RBT_ENH_BADI_SETTLE offers the possibility to adjust the rebate settlement in the extended rebate processing to your specific requirements. The following four methods are available.

The method BONUS_METHOD_SELECT can be used to control how the rebate basis is treated and the fixed values assigned. When the settlement is made via the extended rebate processing, several credit memo items can be created for each condition record. As a rule the scale basis is used to determine the conditon amount for the whole condition.
The parameter E_SCALE_ON_VAKEY_LEVEL is used to define that only the scale basis of the respective credit memo item is used to determine the condition amount.
The parameter E_FIXED_AMOUNT_ON_VAKEY controls whether the conditions with fixed amounts are assigned proportionally to the credit memo items (standard setting) when they are being settled, or whether each credit memo item contains the condition amount. The data determined from the info structure for the extended rebate processing (S469) in the structure CS_TURNOVER and the table CT_TURNOVER_ VAKEY, are transferred to the method.

The method BONUS_VALUES_MODIFY makes it possible to adjust the payment values for the settlement. The relevant values of the table CT_BONUS_RECORDS can be changed.

The method BONUS_DATA_MODIFY can be used to copy additional data into the rebate credit memo.The structures CS_KOMFKGN and CS_KOMFKKO used to create the credit memo, are made available. The data is transferred to KOMFKGN when the BAdI has been called, because it must be guaranteed that the data saved in the variable key of the info structure S469 is copied into the credit note. Thus fields potentially set can be overwritten in the structure.

Example

Requirements

The methods of the BAdI cannot be used unless the extended rebate processing has been activated in Customizing.

Standard settings

Recommendation

Activities

Further notes

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  20030409 
SAP Release Created in 46C