SAP ABAP IMG Activity REFXMI_BADI_CALCSUBS (Define Calculation Formula for Migration of Subsidies)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-MI (Application Component) Migration
     RE_MI_CL (Package) RE: Migration RE Classic => RE-FX
IMG Activity
ID REFXMI_BADI_CALCSUBS Define Calculation Formula for Migration of Subsidies  
Transaction Code S_PRN_53000253   (empty) 
Created on 20061114    
Customizing Attributes REFXMI_BADI_CALCSUBS   Define Calculation Formula for Migration of Subsidies 
Customizing Activity REFXMI_BADI_CALCSUBS   Define Calculation Formula for Migration of Subsidies 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name REFXMI_BADI_CALCSUBS    

Use

In Classic RE, you could specify separately for each condition that a part of the rent was not paid by the master tenant but by another party, called a subsidizer. The part of the rent paid by the subsidizer was specified either as a percentage or by a specific amount. The remaining amount of the condition was then charged to the master tenant.

During the migration, the system migrates conditions, for which there is or was a subsidy agreement, as follows:

  1. The system creates a condition with condition purpose I - Statistical. The amount of this condition is the same as the amount of the condition being migrated.
  2. A second condition is created, this time with the condition purpose SUBS -Subsidy, Share of Subsidizer. This condition either relates to the first condition (percentage of the first condition, calculation formula E1 - % Share of Condition), or it has a fixed amount.
  3. A third condition is created with condition purpose A - Actual Rent. The amount of this condition is the difference between the first and second conditions. This condition amount is invoiced to the master tenant. The calculation formula for this condition is ZSUB Subsidy (BAdI).

    You have to implement the calculation formula using a BAdI. SAP provides an example implementation (class CL_EXM_IM_RECD_CALC_RULE_SUBS). You have to create an implementation of the BADI_RECD_CALC_RULE BAdI that is identical to the example implementation, and then activate your copy. Otherwise, after the migration, the system does not calculate the share of the master tenant for contracts that are subsidized. For information on implementing the BAdI, see SAP Note 996300. Also refer to the documentation for the example implementation.

Requirements

Standard settings

Activities

If you have at least one contract for which a subsidy was agreed, and you migrate this contract automatically, then proceed as described above. If you have at least one contract with such a subsidy agreement in Classic RE, then the system issues a warning in the log of the step Analyze Dataset.

Example

Business Attributes
ASAP Roadmap ID 152   Design data acquisition 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG REFXMI_BADI_CALCSUBS 0 ALN0000041 Migration 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20061114 
SAP Release Created in 700