SAP ABAP Class CL_FIP_MATERIAL_RANGE_MANAGER (BO Material range Manager)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-FIP (Application Component) Perishables Procurement
     FIP_BUSINESS_LOGIC (Package) Business Logic for Fresh Item Procurement
Properties
Class CL_FIP_MATERIAL_RANGE_MANAGER  
Short Description BO Material range Manager    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FIP_BUSINESS_LOGIC   Business Logic for Fresh Item Procurement 
Created 20080109   SAP 
Last change 20100310   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)
Interfaces
Class CL_FIP_MATERIAL_RANGE_MANAGER has no interface implemented.
Friends
Class CL_FIP_MATERIAL_RANGE_MANAGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_MAX_CACHE Constant Private Type reference (TYPE) I 10 Maximum cache size 20080123
2 GO_CO Static Attribute Private Object reference (TYPE REF TO) CL_FIP_CONST Constants 20080121
3 GO_ME Static Attribute Private Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE_MANAGER BO Material range Manager 20080110
4 MT_MAT_STATUS_DOM Static Attribute Private Type reference (TYPE) SWDTDD07V Table of Fixed Values for Domains 20080130
5 MT_MR_CACHE Instance attribute Private Type reference (TYPE) FIP_T_MR_CACHE 20080123
6 MT_MR_TYPE_DOM Static Attribute Private Type reference (TYPE) SWDTDD07V Table of Fixed Values for Domains 20080130
7 MV_CACHE_SIZE Instance attribute Private Type reference (TYPE) I Cache actual size 20080123
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_MATERIAL_RANGE Instance method Public Method Chage the material range information 20080121
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080110
3 CLEAR_CACHE Instance method Public Method Emply the cache content. 20080129
4 DELETE_FROM_CACHE Instance method Private Method Delete an material range from the cache. 20080123
5 DELETE_MATERIALS Instance method Public Method Delete the materials passed in parameters. 20080121
6 DELETE_MATERIAL_RANGE Instance method Public Method Delete the material range and its item. 20080111
7 DELETE_OLDEST_FROM_CACHE Instance method Private Method Delete the oldest entry in the cache. 20080124
8 FIND_IN_CACHE Instance method Private Method Try to find the material range in the cache 20080110
9 GET_CURRENT_MATERIAL_RANGE Instance method Public Method Get the current material range 20080110
10 GET_FROM_HANDLER Instance method Private Method Get the material range from the handler 20080114
11 GET_INSTANCE Static method Public Method Singleton return the instance of the class. 20080110
12 GET_PLANNED_MATERIAL_RANGE Instance method Public Method Get the planned material range 20080110
13 INSERT_IN_CACHE Instance method Private Method insert the cache information with new values. 20080123
14 INSERT_NEW_MATERIAL_RANGE Instance method Public Method Insert a new material in the material range. 20080117
15 REMOVE_MATERIALS_FROM_CACHE Instance method Private Method If the cache is a shared object this could be useful (to do) 20080129
16 VALIDATE_ACTIVATION_DATE Instance method Public Method Validation that the activation date is correct. 20080123
17 VALIDATE_LAST_MODIFIED Instance method Private Method Validate the last modified date 20080326
18 VALIDATE_MR_ITEM_VAL Instance method Public Method Validate that the material range item value 20080130
19 VALIDATE_MR_TYPE_DOM_VAL Instance method Public Method Validate that the material range type value is in the domain 20080130
Events
Class CL_FIP_MATERIAL_RANGE_MANAGER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 FIP_S_MR_CACHE Public See coding 20080123 BEGIN OF FIP_S_MR_CACHE, uname type uname, material_range_type type fip_mr_material_range_type, timestp type timestampl, mr_object type ref to cl_fip_material_range, END OF FIP_S_MR_CACHE
2 FIP_T_MR_CACHE Public See coding 20080123 FIP_T_MR_CACHE type SORTED TABLE OF FIP_S_MR_CACHE WITH UNIQUE KEY uname material_range_type
Method Signatures

Method CHANGE_MATERIAL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MR_ITEM_EXTENDED Call by reference Type reference (TYPE) FIP_T_MR_ITEM_EXTENDED 20080129
2 Importing IV_ACTIVATION_DATE Call by reference Type reference (TYPE) FIP_MR_ACTIVATION_DATE Activation date of the materials 20080121
3 Importing IV_LAST_MODIFIED Call by reference Type reference (TYPE) FIP_LAST_MODIFIED Last modified date. 20080325
4 Importing IV_MAT_RANGE_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080121
5 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
6 Returning RO_MATERIAL_RANGE Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080121
# Exception Resumable Description Created on
1 CX_FIP_DATA_EXISTS Unique identifier exists 20080201
2 CX_FIP_DATA_INVALID Invalid data supplied 20080128
3 CX_FIP_DATA_NOT_FOUND Value does not exist 20080128

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_FIP_MATERIAL_RANGE_MANAGER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method CLEAR_CACHE Signature

Method CLEAR_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no parameter.
Method CLEAR_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method DELETE_FROM_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080124
2 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327

Method DELETE_FROM_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method DELETE_MATERIALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BUYER_MATERIAL Call by reference Type reference (TYPE) FIP_T_BUYER_MATERIAL 20080129

Method DELETE_MATERIALS on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method DELETE_MATERIAL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080123
2 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080130
2 CX_FIP_DATA_NOT_FOUND Value does not exist 20080123

Method DELETE_OLDEST_FROM_CACHE Signature

Method DELETE_OLDEST_FROM_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no parameter.
# Exception Resumable Description Created on
1 CX_FIP_UNEXPECTED Value does not exist 20080124

Method FIND_IN_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080111
2 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
3 Returning RO_MATERIAL_RANGE Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080111

Method FIND_IN_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method GET_CURRENT_MATERIAL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
2 Importing IV_WITH_EXTENDED Call by reference Type reference (TYPE) ABAP_BOOL 'X' 20080403
3 Returning RO_MATERIAL_RANGE Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080111

Method GET_CURRENT_MATERIAL_RANGE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method GET_FROM_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080114
2 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
3 Importing IV_WITH_EXTENDED Call by reference Type reference (TYPE) ABAP_BOOL 'X' 20080403
4 Returning RO_MATERIAL_RANGE Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080114
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080130

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_MR_MANAGER Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE_MANAGER BO Material range Manager 20080110

Method GET_INSTANCE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method GET_PLANNED_MATERIAL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
2 Importing IV_WITH_EXTENDED Call by reference Type reference (TYPE) ABAP_BOOL 'X' 20080403
3 Returning RO_MATERIAL_RANGE Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080114

Method GET_PLANNED_MATERIAL_RANGE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method INSERT_IN_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MATERIAL_RANGE Call by reference Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080123

Method INSERT_IN_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method INSERT_NEW_MATERIAL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MR_ITEM_EXTENDED Call by reference Type reference (TYPE) FIP_T_MR_ITEM_EXTENDED Table of material range ITEM. 20080129
2 Importing IV_ACTIVATION_DATE Call by reference Type reference (TYPE) FIP_MR_ACTIVATION_DATE Activation date of the materials 20080117
3 Importing IV_LAST_MODIFIED Call by reference Type reference (TYPE) FIP_LAST_MODIFIED Last modified date. 20080325
4 Importing IV_MAT_RANGE_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080117
5 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
6 Importing IV_WITH_EXTENDED Call by reference Type reference (TYPE) ABAP_BOOL 'X' 20080403
7 Returning RO_MATERIAL_RANGE Value transfer Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE FIP BO - Material Range 20080117
# Exception Resumable Description Created on
1 CX_FIP_DATA_EXISTS Unique identifier exists 20080201
2 CX_FIP_DATA_INVALID Invalid data supplied 20080128

Method REMOVE_MATERIALS_FROM_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BUYER_MATERIAL Call by reference Type reference (TYPE) FIP_T_BUYER_MATERIAL Table of buyer materials 20080129

Method REMOVE_MATERIALS_FROM_CACHE on class CL_FIP_MATERIAL_RANGE_MANAGER has no exception.

Method VALIDATE_ACTIVATION_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVATION_DATE Call by reference Type reference (TYPE) FIP_MR_ACTIVATION_DATE Activation date of the materials 20080123
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080123

Method VALIDATE_LAST_MODIFIED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LAST_MODIFIED Call by reference Type reference (TYPE) FIP_LAST_MODIFIED Last modified date. 20080326
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080326

Method VALIDATE_MR_ITEM_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MR_ITEM_EXTENDED Call by reference Type reference (TYPE) FIP_T_MR_ITEM_EXTENDED Data element for material status. 20080130
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080130

Method VALIDATE_MR_TYPE_DOM_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080130
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080130
History
Last changed by/on SAP  20100310 
SAP Release Created in 604