SAP ABAP Class CL_EXM_IM_RECN_CONTRACT_FAS13 (Example BAdI: Mapping of FAS 13 Requirements)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-CN (Application Component) Real Estate Contract
     RE_CN_CN (Package) RE: Contract
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20060111
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_RECN_CONTRACT BAdI Interface IF_EX_RECN_CONTRACT 20060111
Properties
Class CL_EXM_IM_RECN_CONTRACT_FAS13  
Short Description Example BAdI: Mapping of FAS 13 Requirements    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RE_CN_CN   RE: Contract 
Created 20060111   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RECA0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RECA1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RECD1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RECD2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RECN1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 TRFF Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20060111
2 IF_EX_RECN_CONTRACT BAdI Interface IF_EX_RECN_CONTRACT 20060111
Friends
Class CL_EXM_IM_RECN_CONTRACT_FAS13 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CALCBEG_FAS13 Constant Private Type reference (TYPE) STRING '' Value for Defining Calculation Start Field in Contract 20060111
2 MC_CALCMETHPER Constant Private Type reference (TYPE) RECDCALCMETHPER '0' Calculation Method: 30 Days per Month or To-the-Day (0.1) 20060505
3 MC_CALCRULE_FIXED Constant Private Type reference (TYPE) RECDCALCRULE 'AX' Calculation Formula of FAS13 Condition 20060111
4 MC_CALCULATION_BASE Constant Private Type reference (TYPE) XFELD '3' FAS13 Calculation Method (1, 2, 3) 20060502
5 MC_CONDPURPOSE_BOOKING Constant Private Type reference (TYPE) RECDCONDPURPOSEEXT 'A' Condition Purpose of FAS13 Condition 20060111
6 MC_CONDTABLE_FAS13 Constant Private Type reference (TYPE) STRING 'ZTIVCDCONDTYPE' Value for Defining Straight-Line Conditions 20060428
7 MC_DISTRULE_MEAS Constant Private Type reference (TYPE) RECDDISTRULE 'MX' Distribution Formula of FAS13 Condition 20080114
8 MC_DISTRULE_MEAS_PAR_1 Constant Private Type reference (TYPE) RECDDISTRULEPARA 'A001' Parameter 1 - Distribution Formula of FAS13 Condition 20080114
9 MC_DISTRULE_MEAS_PAR_2 Constant Private Type reference (TYPE) RECDDISTRULEPARA 'M2' Parameter 2 - Distribution Formula of FAS13 Condition 20080114
10 MC_TAXGROUP Constant Private Type reference (TYPE) RERATAXGROUP 'NONE' Tax Group 20060126
11 MC_TAXTYPE_CUSTOMER Constant Private Type reference (TYPE) RERATAXTYPE 'MWST' Tax Type of Customers 20060126
12 MC_TAXTYPE_VENDOR Constant Private Type reference (TYPE) RERATAXTYPE 'MVST' Tax Type of Vendors 20060126
13 MC_TERMNO_FAS13 Constant Private Type reference (TYPE) RETMTERMNO '1000' Number of Posting and Frequency Term of FAS13 Condition 20060111
14 MC_TERMNO_FAS13_2 Constant Private Type reference (TYPE) RETMTERMNO '1010' Number of Frequency Term of FAS13 Correction Condition 20060214
15 MC_UNITPRICE_MARGIN Constant Private Type reference (TYPE) RECDUNITPRICE '0.60' Margin for Change of Straight-Line Value 20060214
16 MF_CREATE_TEMPLATE_DONE Instance attribute Private Type reference (TYPE) RECABOOL ABAP_FALSE Internal - Handling of Create with Template Completed? 20080117
17 MO_OBJECT Instance attribute Private Object reference (TYPE REF TO) OBJECT Internal - Object That Possesses the Conditions 20060505
18 MO_OBJECT_TEMPLATE Instance attribute Private Object reference (TYPE REF TO) OBJECT Internal - Object That Possesses the Conditions 20080129
19 MT_CONDITION Instance attribute Private Type reference (TYPE) BAPI_RE_T_CONDITION_INT Internal - Conditions 20060505
20 MT_TIVCONDFAS13 Instance attribute Private Type reference (TYPE) TT_ZTIVCDCONDTYPE Internal - FAS13 Condition Types 20060428
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060223
2 _CALCULATE_SL_VALUE Instance method Private Method Calculate Straight-Line Value 20060425
3 _CONDITION_MNGR_AFTER_CHANGE Instance method Private Event handling method Condition Manager: After Change 20080228
4 _GET_CASH_FLOW Instance method Private Method Read Cash Flow 20060424
5 _GET_CONDTABLE_FAS13 Instance method Private Method Read FAS13 Conditions 20060428
6 _IS_PAYMENT_FLOWTYPE Instance method Private Method Is the Flow Type Relevant for Payments 20060601
7 _MONTHS_BETWEEN_TWO_DATES Instance method Private Method Calculate Difference Betw. Two Date Fields in No. of Months 20060111
8 _SUBSTITUTE_CONDITIONS_FAS13 Instance method Private Method Update of FAS13 Conditions (2nd edition) 20060203
Events
Class CL_EXM_IM_RECN_CONTRACT_FAS13 has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TD_MONTHS Private See coding 20060627 td_months TYPE p LENGTH 16 DECIMALS 8
2 TS_ZTIVCDCONDTYPE Private See coding FAS13 Condition 20060428 BEGIN OF ts_ztivcdcondtype, condtype TYPE recdcondtype, refcond TYPE recdcondtype, slcond TYPE xfeld, END OF ts_ztivcdcondtype
3 TT_ZTIVCDCONDTYPE Private See coding Table of FAS13-Relevant Condition Types 20060428 tt_ztivcdcondtype TYPE STANDARD TABLE OF ts_ztivcdcondtype WITH KEY condtype
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no parameter.
Method CONSTRUCTOR on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.

Method _CALCULATE_SL_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CASHFLOW Call by reference Type reference (TYPE) BAPI_RE_T_CASHFLOW_PAY_INT Zahlungsfinanzstrom 20060503
2 Exporting ED_CALCFROM Call by reference Type reference (TYPE) REBDVALIDFROM Datum: Gültig ab 20060427
3 Exporting ED_CALCTO Call by reference Type reference (TYPE) REBDVALIDTO Datum: Gültig bis 20060427
4 Exporting ED_OBJECT_VALIDFROM Call by reference Type reference (TYPE) REBDVALIDFROM Datum: Gültig ab 20060512
5 Exporting ED_OBJECT_VALIDTO Call by reference Type reference (TYPE) REBDVALIDTO Datum: Gültig bis 20060512
6 Exporting ED_SL_MONTHLY Call by reference Type reference (TYPE) RECDCFVALUENET Nettobetrag pro Monat 20060425
7 Exporting ED_SL_MONTHLY_LAST Call by reference Type reference (TYPE) RECDCFVALUENET Nettobetrag letzter Monat 20080115
8 Exporting ED_SL_MONTHLY_REST Call by reference Type reference (TYPE) RECDCFVALUENET Nettobetrag Rest 20080115
9 Importing ID_CURRENCY Call by reference Type reference (TYPE) RECDCONDCURR Währung der Konditionsposition 20110420
10 Importing ID_OBJNRCALC Call by reference Type reference (TYPE) RECDOBJNRCALC Vollständige Objektidentifikation, z.B. WE 1000/123 20060503
11 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT Generische Objektreferenz 20080114
12 Importing IS_CI_DATA Call by reference Type reference (TYPE) RECN_CONTRACT_CI Immobilienvertrag: CI-Include 20060425
13 Importing IS_CONTRACT Call by reference Type reference (TYPE) BAPI_RE_CONTRACT_INT Immobilienvertrag - Intern 20060425
14 Importing IT_OBJECT_REL Call by reference Type reference (TYPE) BAPI_RE_T_OBJECT_REL_INT Objekte eines Immobilienvertrags - Intern 20060503
15 Importing IT_TERM_PAYMENT Call by reference Type reference (TYPE) BAPI_RE_T_TERM_PY_INT Buchungsklauseln eines RE Objekts - Intern 20060425

Method _CALCULATE_SL_VALUE on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.

Method _CONDITION_MNGR_AFTER_CHANGE Signature

Method _CONDITION_MNGR_AFTER_CHANGE on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no parameter.
Method _CONDITION_MNGR_AFTER_CHANGE on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.

Method _GET_CASH_FLOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CASHFLOW Call by reference Type reference (TYPE) BAPI_RE_T_CASHFLOW_PAY_INT Zahlungsfinanzstrom 20060424
2 Importing ID_POSSDATETO_OBJ_MAX Call by reference Type reference (TYPE) SYDATUM Grösstes PossDateTo der Objekte 20080228
3 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT Generische Objektreferenz 20060424
# Exception Resumable Description Created on
1 ERROR Das Lesen war nicht erfolgreich 20060424

Method _GET_CONDTABLE_FAS13 Signature

Method _GET_CONDTABLE_FAS13 on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no parameter.
Method _GET_CONDTABLE_FAS13 on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.

Method _IS_PAYMENT_FLOWTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ACCDETKEY Call by reference Type reference (TYPE) RERAACCDETKEY Kontenfindungswert 20060601
2 Importing ID_FLOWTYPE Call by reference Type reference (TYPE) RECDFLOWTYPE Bewegungsart 20060601
3 Returning RF_PAYMENT Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20060601

Method _IS_PAYMENT_FLOWTYPE on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.

Method _MONTHS_BETWEEN_TWO_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_CALCMETHPER Call by reference Type reference (TYPE) RECDCALCMETHPER Berechnungsmethode für zeitabhängige Perioden 20061206
2 Importing ID_DATE_FROM Call by reference Type reference (TYPE) SY-DATUM Date and Time, Current (Application Server) Date 20060111
3 Importing ID_DATE_TO Call by reference Type reference (TYPE) SY-DATUM Date and Time, Current (Application Server) Date 20060111
4 Returning RD_MONTHS Value transfer Type reference (TYPE) TD_MONTHS Anzahl der Monate 20060111

Method _MONTHS_BETWEEN_TWO_DATES on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.

Method _SUBSTITUTE_CONDITIONS_FAS13 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_ACTIVITY Call by reference Type reference (TYPE) RECAACTIVITY Aktivität: '01' = Anlegen, '02' = Ändern, '03' = Anzeigen 20060203
2 Importing ID_EVENT_TYPE Call by reference Type reference (TYPE) RECAEVENTTYPESUBST Zeitpunkt des Ereignisses "SUBSTITUTE" 20080221
3 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT Generische Objektreferenz 20060203

Method _SUBSTITUTE_CONDITIONS_FAS13 on class CL_EXM_IM_RECN_CONTRACT_FAS13 has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700