SAP ABAP Class CL_FIP_MATERIAL_RANGE_HANDLER (BO Material range Handler)
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_HANDLER  
Short Description BO Material range Handler    
Super Class    
Instantiability of a Class 0  Private 
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_HANDLER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_FIP_MATERIAL_RANGE_MANAGER 20080122 BO Material range Manager
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_BAL_MATERIAL Static Attribute Private Object reference (TYPE REF TO) FIP_BADI_MATERIAL_BAL Factory implementing and hiding backend access 20080131
2 GO_LOGGER Static Attribute Private Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080211
3 GO_MR_PERSISTENCE Static Attribute Private Object reference (TYPE REF TO) CL_FIP_MATERIAL_RANGE_PERSIST 20080115
4 GT_USER_NAME_LIST Static Attribute Private Type reference (TYPE) HRBAS_BAPIUSNAME_TABLE Table Type for Structure BAPIUSNAME 20080115
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080114
2 DELETE_MATERIAL_RANGE Static method Public Method Delete ITEM Wiht MATNR/buyer 20080110
3 DELETE_MATERIAL_RANGE_ITEMS Static method Public Method Delete the material range for the Buyer/material range type 20080116
4 DELETE_MR_ITEMS_BY_ID Static method Public Method Delete with material range ID. 20080116
5 GET_MATERIAL_FROM_BAL Static method Private Method Retreive the information for the mateiral from the BAL 20080131
6 GET_MATERIAL_RANGE Static method Public Method Retreives the materail range information 20080110
7 GET_MATERIAL_RANGE_ITEMS Static method Public Method Retreive the material range items for a material range ID 20080114
8 INSERT_MATERIAL_RANGE Static method Public Method Insert a new material range 20080115
9 INSERT_MATERIAL_RANGE_ITEMS Static method Public Method insert material range Item for a material range ID 20080116
10 SWITCH_MATERIAL_RANGE Static method Private Method Swich the material range depending of the activation date 20080326
11 SWITCH_OTHER_BUYER_MR Static method Private Method Call the switch mr for all the other buyer procuring for 20080326
12 UPDATE_MATERIAL_RANGE Static method Public Method Update the information of the material range. 20080115
13 UPDATE_MATERIAL_RANGE_ITEMS Static method Public Method updates the passed material range for the material range id. 20080116
Events
Class CL_FIP_MATERIAL_RANGE_HANDLER has no event.
Types
Class CL_FIP_MATERIAL_RANGE_HANDLER has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_FIP_MATERIAL_RANGE_HANDLER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FIP_MATERIAL_RANGE_HANDLER 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) 20080116
2 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080123

Method DELETE_MATERIAL_RANGE_ITEMS 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 Material basic information 20080129

Method DELETE_MATERIAL_RANGE_ITEMS on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method DELETE_MR_ITEMS_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAT_RANGE_ID Call by reference Type reference (TYPE) FIP_MATERIAL_RANGE_ID Material range ID 20080116

Method DELETE_MR_ITEMS_BY_ID on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method GET_MATERIAL_FROM_BAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MR_ITEM_BASIC Call by reference Type reference (TYPE) FIP_T_MR_ITEM_BASIC Table of material range ITEM. 20080131
2 Returning RTR_BAL_MATERIAL Value transfer Object reference (TYPE REF TO) FIP_T_MATERIAL All data for BO material required by FIP 20080201

Method GET_MATERIAL_FROM_BAL on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method GET_MATERIAL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ACTIVATION_DATE Call by reference Type reference (TYPE) FIP_MR_ACTIVATION_DATE Activation date of the materials 20080114
2 Exporting EV_LAST_MODIFIED Call by reference Type reference (TYPE) FIP_LAST_MODIFIED Last modified date. 20080325
3 Exporting EV_MAT_RANGE_ID Call by reference Type reference (TYPE) FIP_MATERIAL_RANGE_ID Material range ID 20080114
4 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080114
5 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME FIP BO - Material Range 20080327
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080122

Method GET_MATERIAL_RANGE_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAT_RANGE_ID Call by reference Type reference (TYPE) FIP_MATERIAL_RANGE_ID Material range ID 20080114
2 Importing IV_WITH_EXTENDED Call by reference Type reference (TYPE) ABAP_BOOL 'X' 20080403
3 Returning RTR_MATERIAL_RANGE_ITEM Value transfer Object reference (TYPE REF TO) FIP_T_MR_ITEM_EXTENDED Table of material range ITEM. 20080114

Method GET_MATERIAL_RANGE_ITEMS on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method INSERT_MATERIAL_RANGE 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 20080116
2 Importing IV_LAST_MODIFIED Call by reference Type reference (TYPE) FIP_LAST_MODIFIED Last modified date. 20080325
3 Importing IV_MR_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080116
4 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327
5 Returning RV_MAT_RANGE_ID Value transfer Type reference (TYPE) FIP_MATERIAL_RANGE_ID Material range ID 20080116
# Exception Resumable Description Created on
1 CX_FIP_DATA_EXISTS Unique identifier exists 20080201

Method INSERT_MATERIAL_RANGE_ITEMS 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_MAT_RANGE_ID Call by reference Type reference (TYPE) FIP_MATERIAL_RANGE_ID Material range ID 20080116
# Exception Resumable Description Created on
1 CX_FIP_DATA_EXISTS Unique identifier exists 20080201

Method SWITCH_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 20080326

Method SWITCH_MATERIAL_RANGE on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method SWITCH_OTHER_BUYER_MR 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 of the MR items buyer that is retreived 20080326

Method SWITCH_OTHER_BUYER_MR on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method UPDATE_MATERIAL_RANGE 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 20080116
2 Importing IV_LAST_MODIFIED Call by reference Type reference (TYPE) FIP_LAST_MODIFIED Last modified date. 20080325
3 Importing IV_MAT_RANGE_TYPE Call by reference Type reference (TYPE) FIP_MR_MATERIAL_RANGE_TYPE Type of material range (in procurement or planned) 20080116
4 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20080327

Method UPDATE_MATERIAL_RANGE on class CL_FIP_MATERIAL_RANGE_HANDLER has no exception.

Method UPDATE_MATERIAL_RANGE_ITEMS 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_MAT_RANGE_ID Call by reference Type reference (TYPE) FIP_MATERIAL_RANGE_ID Material range ID 20080121
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080201
History
Last changed by/on SAP  20100310 
SAP Release Created in 604