SAP ABAP Class CL_REXC_PT_IMI_SERVICES (Service Class for IMI)
Hierarchy
EA-FIN (Software Component) EA-FIN
   FI-LOC (Application Component) Localization
     GLO_REFX_PT (Package) Localization Flexible Real Estate Portugal
Properties
Class CL_REXC_PT_IMI_SERVICES  
Short Description Service Class for IMI    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GLO_REFX_PT   Localization Flexible Real Estate Portugal 
Created 20070726   SAP 
Last change 20110908   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 RECA1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_REXC_PT_IMI_SERVICES has no interface implemented.
Friends
Class CL_REXC_PT_IMI_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MD_AMOUNT_MANUALLY Static Attribute Public Type reference (TYPE) RECABOOL General Yes/No Field 20070809
2 MS_BUFFER_HL Static Attribute Private Type reference (TYPE) MTYPE_S_BUFFER_HL Structure Buffer for Table Data 20070814
3 MT_ACC_PARTKEY_BUFFER Static Attribute Private Type reference (TYPE) MTYPE_T_ACC_PARTKEY_BUFFER Table Buffer for Partial Key Access 20070814
4 MT_BUFFER Static Attribute Private Type reference (TYPE) MTYPE_T_BUFFER Table Buffer for Table Data 20070814
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MONTH_TO_DATE Static method Public Method Add month to date 20070812
2 CALC_IMI_AMOUNT Static method Public Method Calculation of IMI amount of a particular IMI record 20070823
3 CALC_IMI_AMOUNT_YEAR Static method Public Method Returns the MI amount for the whole year 20070813
4 CALC_IMI_RATE Static method Private Method Calculate the IMI rate ? obsolete 20070802
5 CARRY_OVER Static method Public Method Carry over the last years data to actual year 20070726
6 CHECK_DATES Static method Public Method Check of the "date from" and "date to" of an IMI record 20070726
7 DEQUEUE Static method Public Method Resets Lock (Generic) 20070726
8 ENQUEUE Static method Public Method Sets Lock (Generic) 20070726
9 GET_ADDRESS_FOR_BUPA Static method Public Method Get address for business partner 20070804
10 GET_ASSIGNED_ACC_PARAMETERS Static method Public Method Determination of assigned rental object parameters 20070807
11 GET_ASSIGNED_OBJ_PARAMETERS Static method Public Method Determination of assigned rental object parameters 20070726
12 GET_CUSTDATA_BY_TAXCAT Static method Public Method Get customizing data to one tax category id 20070804
13 GET_EXEMPTION_YEARS Static method Public Method calculate the number of years until the end of exemption 20070831
14 GET_LIST_BY_YEAR_MUN Static method Public Method Supplies All Entries to First Partial Key Field 20070814
15 GET_LOCATION_DATA Static method Public Method Get country of parcel of land by location key 20070803
16 IMI_LOCKING Static method Public Method Locking first instalment 20070726
17 IS_AMOUNT_MANUALLY Static method Public Method Get "manual" flag for the IMI tax rate 20070823
18 RECALCULATE_IMI Static method Public Method Calculate actual IMI record with newest customizing data 20070823
19 RESET_BUFFER Static method Public Method Deletes All Entries in Table Buffer 20070814
20 SELECT_VILMPL_BY_KEY_RANGE Static method Public Method Database SELECT According to a List of Primary Keys 20070730
21 SET_AMOUNT_MANUALLY Static method Public Method Set "manual" flag for the IMI tax rate 20070809
22 _GET_ADDRESS_FOR_ADDRNUMBER Static method Private Method Get address for address number 20070804
23 _GET_ADDRESS_NR_FOR_BUPA Static method Private Method Get address number for business partner 20070804
Events
Class CL_REXC_PT_IMI_SERVICES has no event.
Types
Class CL_REXC_PT_IMI_SERVICES has no local type.
Method Signatures

Method ADD_MONTH_TO_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MONTHS Call by reference Type reference (TYPE) CHAR8 Character field, 8 characters long 20070812
2 Exporting NEWDATE Call by reference Attribute reference (LIKE) SY-DATUM Current Date of Application Server 20070812
3 Importing OLDDATE Call by reference Attribute reference (LIKE) SY-DATUM Current Date of Application Server 20070812

Method ADD_MONTH_TO_DATE on class CL_REXC_PT_IMI_SERVICES has no exception.

Method CALC_IMI_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DETAIL Call by reference Type reference (TYPE) REXCPTIMI ICI data 20070823
2 Exporting ET_DATESLICE Call by reference Type reference (TYPE) RE_T_PT_IMI_DATESLICE Dateslice content 20070823
3 Importing ID_ACTIVITY Call by reference Type reference (TYPE) BU_AKTYP RECA1_ACTIVITY-DISPLAY Activity Category 20070823
# Exception Resumable Description Created on
1 NOT_FOUND Not found 20070823
2 RECALC_ERROR Error during recalculation 20070823

Method CALC_IMI_AMOUNT_YEAR 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) REXCPTIMIAMOUNT Municipal Property Tax Amount 20070813
2 Exporting ED_LIABLE Call by reference Type reference (TYPE) REXCPTLIABLETAX Liable Property Tax Amount 20070814
3 Importing ID_INTRENO Call by reference Type reference (TYPE) RECAINTRENO Internal Key of Real Estate Object 20070813
4 Importing ID_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20070813

Method CALC_IMI_AMOUNT_YEAR on class CL_REXC_PT_IMI_SERVICES has no exception.

Method CALC_IMI_RATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_REXCPTIMI Call by reference Type reference (TYPE) REXCPTIMI IMI Data 20070802
2 Importing ID_ACTIVITY Call by reference Type reference (TYPE) BU_AKTYP Activity Category 20070810
3 Importing ID_LOCHIER Call by reference Type reference (TYPE) RELMPLLOCHIER Location Key of Parcel in Location Structure 20070808
# Exception Resumable Description Created on
1 ERROR Error. 20070806
2 NOTFOUND not found 20070806

Method CARRY_OVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LIST_NEW Call by reference Type reference (TYPE) RE_T_PT_IMI_L IMI data 20070726
2 Importing IS_LIST Call by reference Type reference (TYPE) REXCPTIMI_CP_L IMI Data 20070726
# Exception Resumable Description Created on
1 ADDITIONAL_RECORDS_CREATED Additional records will be created 20070726
2 CALCULATION_ERROR Error during IMI calculation 20070726
3 ERROR Error 20070726
4 RECORD_ALREADY_EXISTS Record already exists 20070726
5 RECORD_CAN_BE_CREATED Record can be created 20070726
6 RECORD_NOT_UNTIL_YEAR_END Previous record does not reach until year end 20070726

Method CHECK_DATES 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 20070726
2 Importing ID_DATETO Call by reference Type reference (TYPE) RECADATETO Date: Valid To 20070726
# Exception Resumable Description Created on
1 NOT_LAST_DAY Not the last of the year 20070905
2 NOT_WITHIN_YEAR Valid from and valid to date are not within the same year 20070726
3 VALIDTO_INVALID Valid To date is invalid 20070726

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_INTRENO Call by reference Type reference (TYPE) RECAINTRENO Internal Key of Real Estate Object 20070726
2 Importing ID_LOCHIER Call by reference Type reference (TYPE) RELMPLLOCHIER Location Key of Parcel in Location Structure 20070726
3 Importing ID_MODE Call by reference Type reference (TYPE) ENQMODE 'X' TECH: Lock Mode 20070726
4 Importing ID_PLNO Call by reference Type reference (TYPE) RELMPLNO Parcel Number 20070726
5 Importing ID_PLSUBDIVNO Call by reference Type reference (TYPE) RELMPLSUBDIVNO Tract Number 20070726
6 Importing ID_SCOPE Call by reference Type reference (TYPE) CHAR1 '3' TECH: Validity Period of Lock 20070726
7 Importing IF_COLLECT Call by reference Type reference (TYPE) DDENQCOLL ABAP_FALSE TECH: Should unlocks only be collected first? 20070726
8 Importing IF_SYNCHRON Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE TECH: Synchronized Unlocking? 20070726
9 Importing IF_X_PLNO Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 'X'=Check whether parameters match; ' '=Par. is generic 20070726

Method DEQUEUE on class CL_REXC_PT_IMI_SERVICES has no exception.

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_LOCHIER Call by reference Type reference (TYPE) REBDAOID Identification of Architectural Object 20070726
2 Importing ID_MODE Call by reference Type reference (TYPE) ENQMODE 'X' TECH: Lock Mode 20070726
3 Importing ID_PLNO Call by reference Type reference (TYPE) RELMPLNO Parcel Number 20070726
4 Importing ID_PLSUBDIVNO Call by reference Type reference (TYPE) RELMPLSUBDIVNO Tract Number 20070726
5 Importing ID_SCOPE Call by reference Type reference (TYPE) CHAR1 '2' TECH: Validity Period of Lock 20070726
6 Importing IF_COLLECT Call by reference Type reference (TYPE) DDENQCOLL ABAP_FALSE TECH: Should locks only be collected first? 20070726
7 Importing IF_WAIT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE TECH: Wait defined period before lock is removed 20070726
8 Importing IF_X_PLNO Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 'X'=Check whether parameters match; ' '=Par. is generic 20070726
# Exception Resumable Description Created on
1 ERROR Error 20070726

Method GET_ADDRESS_FOR_BUPA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADRC Call by reference Type reference (TYPE) RE_T_PT_ADRC Address table 20070804
2 Importing ID_BUPA Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20070804
# Exception Resumable Description Created on
1 BP_NOT_VALID Business partner is not valid 20070804
2 ERROR Error while reading the address 20070804
3 ERROR_ADRC_NR Error while looking for address number 20070804
4 NO_ADDRESS_FOR_ADDR_NU No address exist for address number 20070804
5 NO_ADDRESS_FOR_BP No valid address for business partner 20070804

Method GET_ASSIGNED_ACC_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_CURRENCY Call by reference Type reference (TYPE) WAERS Currency Key 20070807
2 Exporting ED_TYPE Call by reference Type reference (TYPE) OBJTYPE Object type 20070815
3 Importing ID_ACCTASSIGOBJNR Call by reference Type reference (TYPE) RECAOBJNR Account Assignment: Object Number 20070822
# Exception Resumable Description Created on
1 NOT_FOUND Not found 20070807

Method GET_ASSIGNED_OBJ_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_ASSIGINTRENO Call by reference Type reference (TYPE) REXCPTASSIGINTRENO Internal Key of Real Estate Object 20070726
2 Exporting ED_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20070726
3 Exporting ED_CURRENCY Call by reference Type reference (TYPE) WAERS Currency Key 20070726
4 Importing ID_ASSIGOBJNR Call by reference Type reference (TYPE) RECAOBJNR Account Assignment: Object Number 20070726
# Exception Resumable Description Created on
1 NOT_FOUND Not found 20070726

Method GET_CUSTDATA_BY_TAXCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_IMIRATE Call by reference Type reference (TYPE) REXCPTIMIRATE Municipal Property Tax Rate (%) 20070804
2 Importing ID_CITY Call by reference Type reference (TYPE) REXCPTMUNICIPALITY Hierarchical Location 20070804
3 Importing ID_TAXCATID Call by reference Type reference (TYPE) REXCPTTAXCAT Property Tax Category 20070804
4 Importing ID_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20070804
# Exception Resumable Description Created on
1 ERROR No customizing found for this tax category 20070831
2 NOT_FOUND tax rate not found 20070831

Method GET_EXEMPTION_YEARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DETAIL Call by reference Type reference (TYPE) REXCPTIMI IMI Data for the detailed view in the BDT 20070831
2 Exporting ED_EXEMPTSTATUS Call by reference Type reference (TYPE) RECABOOL General Yes/No Field 20070831
3 Exporting ED_EXPERYEAR Call by reference Type reference (TYPE) REXCPTEXPER Exemption Period 20070831
4 Exporting ED_OK Call by reference Type reference (TYPE) RECABOOL General Yes/No Field 20070911
5 Exporting ET_LIST Call by reference Type reference (TYPE) RE_T_MSG Message List 20070831
# Exception Resumable Description Created on
1 ERROR General error 20070831
2 MORE_THAN_ONE More than one object has been assigned 20070911
3 NOT_FOUND Intreno not found, or customizing error 20070831

Method GET_LIST_BY_YEAR_MUN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LIST Call by reference Type reference (TYPE) RE_T_VIXCPTIMIDATA IMI master data 20070814
2 Importing ID_CITY Call by reference Type reference (TYPE) VIXCPTIMIDATA-CITY Internal Key of Real Estate Object 20070814
3 Importing ID_MAX_BUFFER_SIZE Call by reference Type reference (TYPE) I 1000 Tech: Max. No. of Entries in Buffer (0=Unlimited) 20070814
4 Importing ID_YEAR Call by reference Type reference (TYPE) GJAHR Date: Valid From 20070823
5 Importing IF_BYPASSING_BUFFER Call by reference Type reference (TYPE) ABAP_BOOL Tech: DB Read Without Using Buffer 20070814
6 Importing IF_RESET_BUFFER Call by reference Type reference (TYPE) ABAP_BOOL Tech: Reset Buffer 20070814

Method GET_LIST_BY_YEAR_MUN on class CL_REXC_PT_IMI_SERVICES has no exception.

Method GET_LOCATION_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_DISTRICT Call by reference Type reference (TYPE) REXCPTDISTRICT Code of the District 20070803
2 Exporting ED_LOCHIER Call by reference Type reference (TYPE) REBDLOCHIER Location Key in Location Structure 20070803
3 Exporting ED_MUNICIPALITY Call by reference Type reference (TYPE) REXCPTMUNICIPALITY Code of the Municipality 20070803
4 Exporting ED_PARISH Call by reference Type reference (TYPE) REXCPTPARISH Code of the freguesia 20070822
5 Exporting ED_XDISTRICT Call by reference Type reference (TYPE) REXCPTXDISTRICT Name of Hierarchical Location 20070803
6 Exporting ED_XMUNICIPALITY Call by reference Type reference (TYPE) REXCPTXMUNICIPALITY Name of Hierarchical Location 20070803
7 Exporting ED_XPARISH Call by reference Type reference (TYPE) REXCPTXPARISH Name of the Freguesia 20070822
8 Exporting EF_PORTUGAL Call by reference Type reference (TYPE) RECABOOL Location key is in Portugal 20070803
9 Importing IO_LOC_HIER_MNGR Call by reference Object reference (TYPE REF TO) IF_REBD_LOC_HIER_MNGR Hierarchical Location Structures - Manager 20070803

Method GET_LOCATION_DATA on class CL_REXC_PT_IMI_SERVICES has no exception.

Method IMI_LOCKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DETAIL Call by reference Type reference (TYPE) REXCPTIMI IMI data 20070726
2 Importing ID_INSTR_LOCK Call by reference Type reference (TYPE) RECABOOL Flag if downpayment was clicked 20070726
3 Importing IF_LOCKTOUNLOCK Call by reference Type reference (TYPE) RECABOOL General Yes/No Field 20070726
# Exception Resumable Description Created on
1 ALREADY_LOCKED record already locked 20070726
2 ALREADY_UNLOCKED record already unlocked 20070726

Method IS_AMOUNT_MANUALLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_AMOUNT_MANUALLY Call by reference Type reference (TYPE) RECABOOL General Yes/No Field 20070823

Method IS_AMOUNT_MANUALLY on class CL_REXC_PT_IMI_SERVICES has no exception.

Method RECALCULATE_IMI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DETAIL Call by reference Type reference (TYPE) REXCPTIMI IMI data 20070823
2 Changing CT_MESSAGE Call by reference Type reference (TYPE) RE_T_MSG Message List 20070823
3 Exporting ET_DATESLICE Call by reference Type reference (TYPE) RE_T_PT_IMI_DATESLICE Time dependent rates for IMI objects 20070823
# Exception Resumable Description Created on
1 ERROR Error due recalculation 20070823
2 LOCKED_FOR_RECALCULATION Record is locked for recalculation 20070823
3 RATE_NOT_FOUND Error at taxrate determination (not unique) 20070831

Method RESET_BUFFER Signature

Method RESET_BUFFER on class CL_REXC_PT_IMI_SERVICES has no parameter.
Method RESET_BUFFER on class CL_REXC_PT_IMI_SERVICES has no exception.

Method SELECT_VILMPL_BY_KEY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LIST Call by reference Type reference (TYPE) RE_T_VILMPL_KEY Key for Parcel of Land (VILMPL) 20070730
2 Importing IT_LOCHIER_SELPAR Call by reference Type reference (TYPE) RE_T_PT_SELECTIONCRITERIA Struct for selection criteria 20070730
3 Importing IT_PLNO_SELPAR Call by reference Type reference (TYPE) RE_T_PT_SELECTIONCRITERIA Struct for selection criteria 20070730
4 Importing IT_PLSUBDIVNO_SELPAR Call by reference Type reference (TYPE) RE_T_PT_SELECTIONCRITERIA Struct for selection criteria 20070730

Method SELECT_VILMPL_BY_KEY_RANGE on class CL_REXC_PT_IMI_SERVICES has no exception.

Method SET_AMOUNT_MANUALLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_CHANGE Call by reference Type reference (TYPE) RECABOOL General Yes/No Field 20070815
2 Importing IF_AMOUNT_MANUALLY Call by reference Type reference (TYPE) RECABOOL General Yes/No Field 20070809

Method SET_AMOUNT_MANUALLY on class CL_REXC_PT_IMI_SERVICES has no exception.

Method _GET_ADDRESS_FOR_ADDRNUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADRC Call by reference Type reference (TYPE) RE_T_PT_ADRC Address table 20070823
2 Importing ID_BP_ADDRESS Call by reference Type reference (TYPE) BAPIBUS1006_ADDRESSES_INT-ADDRNUMBER Address number 20070804
# Exception Resumable Description Created on
1 ERROR Error while readind the address 20070804
2 NO_ADDRESS_FOR_ADDR_NU No address exist for address number 20070804

Method _GET_ADDRESS_NR_FOR_BUPA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CD_BP_ADDRESS Call by reference Type reference (TYPE) BAPIBUS1006_ADDRESSES_INT-ADDRNUMBER Address number 20070804
2 Importing ID_BUPA Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20070804
# Exception Resumable Description Created on
1 BP_NOT_VALID Business partner is not valid 20070804
2 ERROR Error while looking for address number 20070804
3 NO_ADDRESS_FOR_BP No valid address for business partner 20070804
History
Last changed by/on SAP  20110908 
SAP Release Created in 603