Hierarchy
⤷ RE-FX (Application Component) Flexible Real Estate Management
⤷ RE_XC_AJ_AT (Package) RE: XC - Adjustment for Austria
IMG Activity
ID | REXC_AJ_AT_001 | Adjustment by Fifteenths |
Transaction Code | S_AEN_10000900 | (empty) |
Created on | 20050405 | |
Customizing Attributes | REXC_AJ_AT_001 | Adjustment by Fifteenths |
Customizing Activity |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | REXC_AJ_AT_001 |
Use
In this section, you make the necessary settings for adjustment by fifteenths The calculations for adjustment by fifteenths are made within the BAdI for rent adjustment.
Requirements
Standard settings
Activities
Follow these steps:
1. Create adjustment rule
Create an adjustment rule and in the Method field, choose BADI (Custom with BadI).
2. Create BAdI implementation
Create a BAdI implementation for the BADI_REAJ_ADJUSTMENT BAdI and implement the CALCULATE method. Call the CALC_NEW_UNITPRICE_15 method of class CL_REXC_AT_AJ_CALC. Then activate the BAdI implementation.
Example
The current rent of 100 EUR should reach 1,600 EUR in 15 years. This is the target rent (reasonable rent). The increase should take effect on January 1, 2006.
The conditions have the parameters listed below. If you want guarantee stable values for the target rent, you also have to define an index adjustment term and assign it.
Condition: Current Rent Target Rent Stable Value Guarantee (Original Rent)
Condition Purpose: Actual rent (A) Statistical (I) One-time statistical (J)
Amount: 100.00 EUR 1600.00 EUR 100.00 EUR
Valid from: 1/1/2005 to 12/31/2019 (15 years)
The first adjustment, to 200.00 EUR, takes place on January 1, 2006.
The condition purposes you set up for this procedure can also be used in the BAdI implementation.
You create the BADI15
adjustment rule and assign the BADI procedure to it.
METHOD if_ex_reaj_adjustment~adjustment.
DATA: ld_cp_static TYPE recdcondpurposeext,
ld_cp_static_once TYPE recdcondpurposeext,
ld_cp_rent_rec TYPE recdcondpurposeext.
CHECK id_adjmrule = 'BADI15'.
* set external condition purposes
ld_cp_static = 'I'.
ld_cp_static_once = 'J'.
ld_cp_rent_rec = 'A'.
* call calculation method
CALL METHOD cl_rexc_at_aj_calc=>calc_new_unitprice_15
EXPORTING
io_contract = io_contract
io_rental_object = io_rental_object
is_condition = is_condition
is_rhythm = is_rhythm
id_adjmrule = id_adjmrule
id_adjmsubrule = id_adjmsubrule
id_condpurp_static = ld_cp_static
id_condpurp_static_once = ld_cp_static_once
id_condpurp_rent_rec = ld_cp_rent_rec
changing
cd_validfrom_new = cd_validfrom_new
cd_unitprice_new = cd_unitprice_new
cd_methrefguid = cd_methrefguid
ct_message = ct_message
cf_error = cf_error
cf_no_adjustment = cf_no_adjustment
cf_exit_processed = cf_exit_processed.
ENDMETHOD.
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | I | Valid for countries specified |
Customizing Attributes | Country Key | Country Name |
---|---|---|
REXC_AJ_AT_001 | AT | Austria |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | REXC_AJ_AT_001 | 0 | ALN0000032 | Rent Adjustment |
Maintenance Objects
Maintenance object type |
History
Last changed by/on | SAP | 20050420 |
SAP Release Created in | 600 |