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 | ![]() |
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 | ![]() |
Constant | Private | Type reference (TYPE) | I | 10 | Maximum cache size | 20080123 | |
2 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_FIP_CONST | Constants | 20080121 | ||
3 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_FIP_MATERIAL_RANGE_MANAGER | BO Material range Manager | 20080110 | ||
4 | ![]() |
Static Attribute | Private | Type reference (TYPE) | SWDTDD07V | Table of Fixed Values for Domains | 20080130 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | FIP_T_MR_CACHE | 20080123 | |||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | SWDTDD07V | Table of Fixed Values for Domains | 20080130 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Cache actual size | 20080123 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Chage the material range information | 20080121 |
2 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20080110 |
3 | ![]() |
Instance method | Public | Method | Emply the cache content. | 20080129 |
4 | ![]() |
Instance method | Private | Method | Delete an material range from the cache. | 20080123 |
5 | ![]() |
Instance method | Public | Method | Delete the materials passed in parameters. | 20080121 |
6 | ![]() |
Instance method | Public | Method | Delete the material range and its item. | 20080111 |
7 | ![]() |
Instance method | Private | Method | Delete the oldest entry in the cache. | 20080124 |
8 | ![]() |
Instance method | Private | Method | Try to find the material range in the cache | 20080110 |
9 | ![]() |
Instance method | Public | Method | Get the current material range | 20080110 |
10 | ![]() |
Instance method | Private | Method | Get the material range from the handler | 20080114 |
11 | ![]() |
Static method | Public | Method | Singleton return the instance of the class. | 20080110 |
12 | ![]() |
Instance method | Public | Method | Get the planned material range | 20080110 |
13 | ![]() |
Instance method | Private | Method | insert the cache information with new values. | 20080123 |
14 | ![]() |
Instance method | Public | Method | Insert a new material in the material range. | 20080117 |
15 | ![]() |
Instance method | Private | Method | If the cache is a shared object this could be useful (to do) | 20080129 |
16 | ![]() |
Instance method | Public | Method | Validation that the activation date is correct. | 20080123 |
17 | ![]() |
Instance method | Private | Method | Validate the last modified date | 20080326 |
18 | ![]() |
Instance method | Public | Method | Validate that the material range item value | 20080130 |
19 | ![]() |
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 | ![]() |
IT_MR_ITEM_EXTENDED | Call by reference | Type reference (TYPE) | FIP_T_MR_ITEM_EXTENDED | 20080129 | |||
2 | ![]() |
IV_ACTIVATION_DATE | Call by reference | Type reference (TYPE) | FIP_MR_ACTIVATION_DATE | Activation date of the materials | 20080121 | ||
3 | ![]() |
IV_LAST_MODIFIED | Call by reference | Type reference (TYPE) | FIP_LAST_MODIFIED | Last modified date. | 20080325 | ||
4 | ![]() |
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 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 | ||
6 | ![]() |
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 | ![]() |
Unique identifier exists | 20080201 | |
2 | ![]() |
Invalid data supplied | 20080128 | |
3 | ![]() |
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 | ![]() |
IV_MR_TYPE | Call by reference | Type reference (TYPE) | FIP_MR_MATERIAL_RANGE_TYPE | Type of material range (in procurement or planned) | 20080124 | ||
2 | ![]() |
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 | ![]() |
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 | ![]() |
IV_MR_TYPE | Call by reference | Type reference (TYPE) | FIP_MR_MATERIAL_RANGE_TYPE | Type of material range (in procurement or planned) | 20080123 | ||
2 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Invalid data supplied | 20080130 | |
2 | ![]() |
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 | ![]() |
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 | ![]() |
IV_MR_TYPE | Call by reference | Type reference (TYPE) | FIP_MR_MATERIAL_RANGE_TYPE | Type of material range (in procurement or planned) | 20080111 | ||
2 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 | ||
3 | ![]() |
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 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 | ||
2 | ![]() |
IV_WITH_EXTENDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | 20080403 | ||
3 | ![]() |
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 | ![]() |
IV_MR_TYPE | Call by reference | Type reference (TYPE) | FIP_MR_MATERIAL_RANGE_TYPE | Type of material range (in procurement or planned) | 20080114 | ||
2 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 | ||
3 | ![]() |
IV_WITH_EXTENDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | 20080403 | ||
4 | ![]() |
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 | ![]() |
Invalid data supplied | 20080130 |
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
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 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 | ||
2 | ![]() |
IV_WITH_EXTENDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | 20080403 | ||
3 | ![]() |
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 | ![]() |
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 | ![]() |
IT_MR_ITEM_EXTENDED | Call by reference | Type reference (TYPE) | FIP_T_MR_ITEM_EXTENDED | Table of material range ITEM. | 20080129 | ||
2 | ![]() |
IV_ACTIVATION_DATE | Call by reference | Type reference (TYPE) | FIP_MR_ACTIVATION_DATE | Activation date of the materials | 20080117 | ||
3 | ![]() |
IV_LAST_MODIFIED | Call by reference | Type reference (TYPE) | FIP_LAST_MODIFIED | Last modified date. | 20080325 | ||
4 | ![]() |
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 | ![]() |
IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | User Name | 20080327 | ||
6 | ![]() |
IV_WITH_EXTENDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | 20080403 | ||
7 | ![]() |
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 | ![]() |
Unique identifier exists | 20080201 | |
2 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
Invalid data supplied | 20080123 |
Method VALIDATE_LAST_MODIFIED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_LAST_MODIFIED | Call by reference | Type reference (TYPE) | FIP_LAST_MODIFIED | Last modified date. | 20080326 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
Invalid data supplied | 20080130 |
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 604 |