SAP ABAP Class CL_REXC_ES_CD_SERVICE (Service class for security deposit)
Hierarchy
EA-FIN (Software Component) EA-FIN
   FI-LOC (Application Component) Localization
     GLO_REFX_ES_RA (Package) Localization Flexible Real Estate Spain
Properties
Class CL_REXC_ES_CD_SERVICE  
Short Description Service class for security deposit    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class REXCES    
Program status     
Category 0   
Package GLO_REFX_ES_RA   Localization Flexible Real Estate Spain 
Created 20120324   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_REXC_ES_CD_SERVICE has no forward declaration.
Interfaces
Class CL_REXC_ES_CD_SERVICE has no interface implemented.
Friends
Class CL_REXC_ES_CD_SERVICE has no friend class.
Attributes
Class CL_REXC_ES_CD_SERVICE has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CALC_CD_POSTING_BALANCE Static method Public Method Calculate the cash deposit amount 20120328
2 DETERMINE_POSTING_TERM Static method Public Method Determine posting term number 20120816
3 FIND_SECURED_CONTRACT Static method Public Method Returns the related security deposit contract 20120327
4 FIND_SECURITY_CONTRACT Static method Public Method Returns the related security deposit contract 20120404
5 GET_AGREEDDEPOSIT_AMOUNT Static method Public Method Calculate the agreed deposit amount 20120503
6 GET_AUTCOM_AMOUNT Static method Public Method Calculate the aut.com. cash flow 20120426
7 GET_BUPA_FOR_AC Static method Public Method Determine the business partner 20120402
8 GET_DATE_RANGES_FOR_AC Static method Public Method Determine the time slices for a contract and aut. community 20120324
9 GET_DELTA_CASHFLOW Static method Public Method Determines condition update details 20120514
10 GET_DELTA_CONDITION Static method Public Method Determines condition update details 20120509
11 GET_DELTA_TERM_PARTNER Static method Public Method Determines partners and posting terms update details 20120516
12 GET_POSTING_TERM Static method Public Method Returns posting term number 20120514
13 GET_TENANT_AMOUNT Static method Public Method Calculate the tenant cash flow 20120427
14 GET_TENANT_PENALTY Static method Public Method Obsolete: Determine the penalty that is deducted... 20120926
15 GET_TENANT_ROLE Static method Public Method Read Role of Master Tenant 20120822
16 HAS_AGREEMENT Static method Public Method Checks if the company has an agreemnt with the AC 20120608
17 IS_CD_CONTRACT Static method Public Method Checks if security deposit contract 20120328
18 IS_CD_REL_CONTRACT Static method Public Method Checks if security deposit relevant contract 20120829
19 READ_SETTINGS Static method Public Method Generate the deposit conditions to be posted 20120822
20 _GET_CD_AMOUNT Static method Protected Method Calculate the cash deposit amount 20120426
21 _GET_MEAS_CHG_DATES Static method Protected Method Determine the next date when changes on contract allowed 20120427
22 _GET_NEXT_DATE Static method Protected Method Determine the next date when changes on contract allowed 20120427
23 _GET_PERIODS Static method Protected Method Determine date ranges for a calculation rule 20120324
24 _IS_INFL_ADJUSTMENT Static method Protected Method Inflational adjustment? 20121026
Events
Class CL_REXC_ES_CD_SERVICE has no event.
Types
Class CL_REXC_ES_CD_SERVICE has no local type.
Method Signatures

Method CALC_CD_POSTING_BALANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_AMOUNT Call by reference Type reference (TYPE) REXCESCDAMOUNT Cash deposit amount 20120608
2 Exporting ET_AMNTRANGES Call by reference Type reference (TYPE) RE_T_ES_CD_AMNTRANGES Cash deposit: posting amounts 20120608
3 Importing ID_AUTCOMISO Call by reference Type reference (TYPE) REXCESAUTCOMISO Autonomous Community 20120328
4 Importing ID_DATEFROM Call by reference Type reference (TYPE) DATUM Date 20120328
5 Importing ID_DATETO Call by reference Type reference (TYPE) DATUM Date 20120328
6 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120426
# Exception Resumable Description Created on
1 ERROR 20120328

Method DETERMINE_POSTING_TERM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_BP_ROLE Call by reference Type reference (TYPE) REBPROLE Business Partner: Role 20120816
2 Importing IF_GENERATE Call by reference Type reference (TYPE) RECABOOL Generate term if does not exist 20120819
3 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120816
4 Returning RD_POSTINGTERM Value transfer Type reference (TYPE) RETMTERMNO Term Number 20120819
# Exception Resumable Description Created on
1 MISSING_TERM Term does not extist 20120819
2 MULTIPLE_TERM Multiple term exists for the same role 20120819

Method FIND_SECURED_CONTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DEP_INTRENO Call by reference Type reference (TYPE) RECAINTRENO Internal Key of Real Estate Object 20120327
2 Importing IF_ALLOW_INACTIVE Call by reference Type reference (TYPE) RECABOOL ' ' General Yes/No Field 20120404
3 Returning RO_SECURED_CN Value transfer Object reference (TYPE REF TO) IF_RECN_CONTRACT Internal Key of Real Estate Object 20120327
# Exception Resumable Description Created on
1 NOT_SECDEP_RELEVANT The contract is not security deposit related 20120327

Method FIND_SECURITY_CONTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Internal Key of Real Estate Object 20120404
2 Returning RO_DEPOSIT_CN Value transfer Object reference (TYPE REF TO) IF_RECN_CONTRACT Internal Key of Real Estate Object 20120404
# Exception Resumable Description Created on
1 NOT_ASSIGNED No security deposit contract assigned 20120519
2 NOT_SECDEP_RELEVANT The contract is not security deposit related 20120404

Method GET_AGREEDDEPOSIT_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120503
2 Returning RT_CDAMNTRANGES Value transfer Type reference (TYPE) RE_T_ES_CD_AMNTRANGES Cash deposit: posting amounts 20120503

Method GET_AGREEDDEPOSIT_AMOUNT on class CL_REXC_ES_CD_SERVICE has no exception.

Method GET_AUTCOM_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CDAMNTRANGES Call by reference Type reference (TYPE) RE_T_ES_CD_AMNTRANGES Cash deposit: posting amounts 20120426
2 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120511
3 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120426
# Exception Resumable Description Created on
1 DIFFERENT_AUTCOM The contract objects are assigned to multiple aut.comm. 20120426
2 ERROR 20120426
3 MISSING_AC_CUST 20120426
4 MISSING_REGION_CUST 20120426

Method GET_BUPA_FOR_AC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_AUTCOMISO Call by reference Type reference (TYPE) REXCESAUTCOMISO Autonomous Community ISO code 20120402
2 Importing ID_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120402
3 Importing ID_KEYDATE Call by reference Type reference (TYPE) DATUM Date 20120402
4 Returning RD_BUPA Value transfer Type reference (TYPE) BU_PARTNER Company Code 20120402
# Exception Resumable Description Created on
1 NOT_FOUND 20120402

Method GET_DATE_RANGES_FOR_AC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_AUTCOM Call by reference Type reference (TYPE) REXCESAUTCOM Name of Autonomous Community 20120324
2 Exporting ED_AUTCOMISO Call by reference Type reference (TYPE) REXCESAUTCOMISO Autonomous Community ISO code 20120406
3 Exporting ET_CDDATERANGES Call by reference Type reference (TYPE) RE_T_ES_CD_DATERANGES 20120326
4 Importing ID_DATEFROM Call by reference Type reference (TYPE) DATUM Date 20120324
5 Importing ID_DATETO Call by reference Type reference (TYPE) DATUM Date 20120324
6 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120426
# Exception Resumable Description Created on
1 DIFFERENT_AUTCOM The contract objects are assigned to multiple aut.comm. 20120324
2 ERROR 20120324
3 MISSING_AC_CUST 20120324
4 MISSING_REGION_CUST 20120324

Method GET_DELTA_CASHFLOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CASHFLOW_DEL Call by reference Type reference (TYPE) RE_T_CASHFLOW_PAY Conditions - RECD_CONDITION 20120514
2 Exporting ET_CASHFLOW_INS Call by reference Type reference (TYPE) RE_T_CASHFLOW_PAY Conditions - RECD_CONDITION 20120514
3 Exporting ET_CASHFLOW_UPD Call by reference Type reference (TYPE) RE_T_CASHFLOW_PAY Conditions - RECD_CONDITION 20120514
4 Importing IO_CONDITION Call by reference Object reference (TYPE REF TO) IF_RECD_CONDITION Contract (VICNCN) 20120514
5 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120514
6 Importing IT_CASHFLOW Call by reference Type reference (TYPE) RE_T_CASHFLOW_PAY REXCES_CD_DATERANGES 20120514

Method GET_DELTA_CASHFLOW on class CL_REXC_ES_CD_SERVICE has no exception.

Method GET_DELTA_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONDITION_DEL Call by reference Type reference (TYPE) RE_T_RECD_CONDITION Conditions - RECD_CONDITION 20120509
2 Exporting ET_CONDITION_INS Call by reference Type reference (TYPE) RE_T_RECD_CONDITION Conditions - RECD_CONDITION 20120509
3 Exporting ET_CONDITION_UPD Call by reference Type reference (TYPE) RE_T_RECD_CONDITION Conditions - RECD_CONDITION 20120511
4 Importing ID_CONDTYPE Call by reference Type reference (TYPE) RECDCONDTYPE Condition Type 20120509
5 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120509
6 Importing IT_CONDITION Call by reference Type reference (TYPE) RE_T_RECD_CONDITION REXCES_CD_DATERANGES 20120511

Method GET_DELTA_CONDITION on class CL_REXC_ES_CD_SERVICE has no exception.

Method GET_DELTA_TERM_PARTNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PARTNER_DEL Call by reference Type reference (TYPE) RE_T_BP_OBJREL Business Partner-Object Relationship (VIBPOBJREL) 20120516
2 Exporting ET_PARTNER_INS Call by reference Type reference (TYPE) RE_T_BP_OBJREL Business Partner-Object Relationship (VIBPOBJREL) 20120516
3 Exporting ET_PARTNER_UPD Call by reference Type reference (TYPE) RE_T_BP_OBJREL Business Partner-Object Relationship (VIBPOBJREL) 20120516
4 Importing ID_BP_ROLE Call by reference Type reference (TYPE) REBPROLE Business Partner: Role 20120619
5 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120516
6 Importing IT_BP_AC Call by reference Type reference (TYPE) RE_T_BP_OBJREL Business Partners (TIVXCESBUPA) 20120528
7 Importing IT_BP_RENT Call by reference Type reference (TYPE) RE_T_BP_OBJREL Business Partner-Object Relationship (VIBPOBJREL) 20120516

Method GET_DELTA_TERM_PARTNER on class CL_REXC_ES_CD_SERVICE has no exception.

Method GET_POSTING_TERM 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) REXCESPOSTACTIV Posting Activity 01 - Tenant posting, 02 - AC posting 20120514
2 Importing ID_KEYDATE Call by reference Type reference (TYPE) DATUM Key Date 20120514
3 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120514
4 Returning RD_POSTINGTERM Value transfer Type reference (TYPE) RETMTERMNO Term Number 20120514
# Exception Resumable Description Created on
1 DUPLICITY_TERM Term duplicity for one Security Contract, BP and Time slice 20120515
2 NOT_FOUND Term Number not found 20120515

Method GET_TENANT_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CDAMNTRANGES Call by reference Type reference (TYPE) RE_T_ES_CD_AMNTRANGES Cash deposit: posting amounts 20120427
2 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120515
3 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120427
# Exception Resumable Description Created on
1 DIFFERENT_AUTCOM The contract objects are assigned to multiple aut.comm. 20120427
2 ERROR 20120427
3 MISSING_AC_CUST 20120427
4 MISSING_REGION_CUST 20120427

Method GET_TENANT_PENALTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DUEDATE Call by reference Type reference (TYPE) DFAELL Due date 20120926
2 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120926
3 Returning RD_DEDUCTION Value transfer Type reference (TYPE) REXCESCDAMOUNT Security Deposit Amount 20120926

Method GET_TENANT_PENALTY on class CL_REXC_ES_CD_SERVICE has no exception.

Method GET_TENANT_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DATEFROM Call by reference Type reference (TYPE) RECADATEFROM Date: Valid From 20120822
2 Importing IO_CONTRACT Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract 20120822
3 Returning RD_TENANT_ROLE Value transfer Type reference (TYPE) REBPROLE Business Partner: Role 20120822

Method GET_TENANT_ROLE on class CL_REXC_ES_CD_SERVICE has no exception.

Method HAS_AGREEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_AUTCOMISO Call by reference Type reference (TYPE) REXCESAUTCOMISO ISO Code of Autonomous Community 20120608
2 Importing ID_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120608
3 Importing ID_KEYDATE Call by reference Type reference (TYPE) DATUM Date 20120608
4 Returning RF_HASAGREEMENT Value transfer Type reference (TYPE) RECABOOL General Yes/No Field 20120608

Method HAS_AGREEMENT on class CL_REXC_ES_CD_SERVICE has no exception.

Method IS_CD_CONTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RECN_CONTRACT Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Internal Key of Real Estate Object 20120328
2 Returning RF_CD_CONTRACT Value transfer Type reference (TYPE) RECABOOL Internal Key of Real Estate Object 20120328

Method IS_CD_CONTRACT on class CL_REXC_ES_CD_SERVICE has no exception.

Method IS_CD_REL_CONTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RECN_CONTRACT Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Internal Key of Real Estate Object 20120829
2 Returning RF_CD_CONTRACT Value transfer Type reference (TYPE) RECABOOL Internal Key of Real Estate Object 20120829

Method IS_CD_REL_CONTRACT on class CL_REXC_ES_CD_SERVICE has no exception.

Method READ_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CONTRACTTYPE Call by reference Type reference (TYPE) RECNC_CONTRACT_TYPE Contract Type (TIV26) + Enhancements 20120822
2 Exporting ES_PARAM Call by reference Type reference (TYPE) REXCC_ES_PARAM Companies to Autonomous community (TIVXCESCO) 20120822
3 Exporting ET_BUPA_AC Call by reference Type reference (TYPE) RE_T_ES_BUPA Business Partners (TIVXCESBUPA) 20120822
4 Exporting ET_POSTING Call by reference Type reference (TYPE) RE_T_ES_POSTING Posting Deposits Setting (TIVXCESPOSTING) 20120822
5 Importing ID_AUTCOMISO Call by reference Type reference (TYPE) REXCESAUTCOMISO ISO Code of Autonomous Community 20120822
6 Importing IO_CONTRACT Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Conditions - RECD_CONDITION 20120822
# Exception Resumable Description Created on
1 MISSING_AC_BUPA Business Parters for AC is not found 20120822
2 MISSING_COMPANY Company is not assigned to the poper AC 20120822
3 MISSING_CONTRACT Contract settings are missing 20120822
4 MISSING_POSTING Posting settings are not maintained 20120822

Method _GET_CD_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_AMOUNT Value transfer Type reference (TYPE) REXCESCDAMOUNT Cash deposit amount 20120608
2 Exporting ET_AMNTRANGES Value transfer Type reference (TYPE) RE_T_ES_CD_AMNTRANGES Cash deposit: posting amounts 20120608
3 Importing ID_DATEFROM Call by reference Type reference (TYPE) DATUM Date 20120426
4 Importing ID_DATETO Call by reference Type reference (TYPE) DATUM Date 20120426
5 Importing ID_RULE Call by reference Type reference (TYPE) RECDCALCRULE Calculation Formula 20120426
6 Importing IO_SECURITY_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120426

Method _GET_CD_AMOUNT on class CL_REXC_ES_CD_SERVICE has no exception.

Method _GET_MEAS_CHG_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_KEYDATE Call by reference Type reference (TYPE) DATUM Date 20120427
2 Importing IO_HAS_MEAS Call by reference Object reference (TYPE REF TO) IF_REBD_HAS_MEAS Contract (VICNCN) 20120427
3 Importing IO_HAS_MEASCN Call by reference Object reference (TYPE REF TO) IF_RECN_HAS_MEASCN Object with Measurements 20120427
4 Returning RT_DATE_RANGES Value transfer Type reference (TYPE) RE_T_RECADATERANGE Date 20120427

Method _GET_MEAS_CHG_DATES on class CL_REXC_ES_CD_SERVICE has no exception.

Method _GET_NEXT_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_KEYDATE Call by reference Type reference (TYPE) DATUM Date 20120427
2 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20120515
3 Returning RD_NEXTDATE Value transfer Type reference (TYPE) DATUM Date 20120427

Method _GET_NEXT_DATE on class CL_REXC_ES_CD_SERVICE has no exception.

Method _GET_PERIODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATERANGES Call by reference Type reference (TYPE) RE_T_RECADATERANGE Table From Time Periods 20120324
2 Importing ID_DATEFROM Call by reference Type reference (TYPE) DATUM Date 20120324
3 Importing ID_DATETO Call by reference Type reference (TYPE) DATUM Date 20120324
4 Importing ID_FREQUENCY Call by reference Type reference (TYPE) RECDFREQUENCY Number of Frequency Units of Period 20120324
5 Importing ID_FREQ_UNIT Call by reference Type reference (TYPE) RECDFREQUENCYUNIT Frequency Unit 20120324

Method _GET_PERIODS on class CL_REXC_ES_CD_SERVICE has no exception.

Method _IS_INFL_ADJUSTMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_KEYDATE Call by reference Type reference (TYPE) DATUM Date 20121026
2 Importing IO_SECURED_CN Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Contract (VICNCN) 20121026
3 Returning RD_INFL_ADJUSTMENT Value transfer Type reference (TYPE) RECABOOL Date 20121026

Method _IS_INFL_ADJUSTMENT on class CL_REXC_ES_CD_SERVICE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607