SAP ABAP Class CL_FIP_STAT_DATA_HANDLER (Retrieve Statistical Data from Buffer or BI)
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_STAT_DATA_HANDLER  
Short Description Retrieve Statistical Data from Buffer or BI    
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 20080512   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_STAT_DATA_HANDLER has no interface implemented.
Friends
Class CL_FIP_STAT_DATA_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_CO Instance attribute Public Object reference (TYPE REF TO) CL_FIP_CONST Constants 20080806
2 MO_BADI_MATERIAL Instance attribute Private Object reference (TYPE REF TO) FIP_BADI_MATERIAL_BAL Factory implementing and hiding backend access 20080702
3 MO_BAL_FACTORY Instance attribute Private Object reference (TYPE REF TO) CL_FIP_BAL_FACTORY Factory implementing and hiding backend access 20080512
4 MO_BAL_ROUNDING Instance attribute Private Object reference (TYPE REF TO) FIP_BADI_ROUNDING_BAL 20080817
5 MO_BUFFER_STAT_PERSIST Instance attribute Private Object reference (TYPE REF TO) CL_FIP_BUFFER_STAT_PERSIST Handle buffering the statistical data of PL 20080512
6 MO_LOGGER Instance attribute Private Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080512
7 MO_ORDER_HANDLER Instance attribute Private Object reference (TYPE REF TO) CL_FIP_ORDER_HANDLER Class for handling of transactional data 20080604
8 MO_SETTING_MANAGER Instance attribute Private Object reference (TYPE REF TO) CL_FIP_SETTINGS_MANAGER Buyer settings manager for Business Layer 20080814
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ORDER_QUANTITY Instance method Private Method Add Order Quantity in the correct UoM 20080702
2 CLEAN_BI_RESULTS Instance method Private Method Cleanup the BI Return Structure 20080523
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080512
4 DO_ROUNDING Instance method Public Method Perform unit rounding 20080817
5 DO_UOM_CONVERSION Instance method Public Method Perform UoM conversion 20080808
6 GET_BUFFERED_DATA Instance method Public Method Retrieve the buffered Statistical Data 20090612
7 GET_VENDORS_FROM_SETTINGS Instance method Public Method Retrieve the vendors from Settings 20080814
8 RETRIEVE_AGG_OPEN_ORDER_INFO Instance method Public Method Retrieve the aggregate open order data 20080812
9 RETRIEVE_KF_FROM_BI Instance method Private Method Retrieve Key Figure data from BI 20080512
10 RETRIEVE_OOQ_DATA Instance method Private Method Retrieve the Open Order Quantity data from backend 20080604
11 RETRIEVE_STAT_DATA Instance method Public Method Retrieve the buffered Statistical Data 20080523
Events
Class CL_FIP_STAT_DATA_HANDLER has no event.
Types
Class CL_FIP_STAT_DATA_HANDLER has no local type.
Method Signatures

Method ADD_ORDER_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080702
2 Changing CV_ORDER_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080702
3 Changing CV_ORDER_UOM Call by reference Type reference (TYPE) MEINS Base Unit of Measure 20080702
4 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080702
5 Importing IV_ORDER_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080702
6 Importing IV_ORDER_UOM Call by reference Type reference (TYPE) MEINS Base Unit of Measure 20080702

Method ADD_ORDER_QUANTITY on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method CLEAN_BI_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STAT_DQ Call by reference Type reference (TYPE) FIP_T_STAT_DQ Table Type for Delivery Quantity Statistical Data 20080523
2 Exporting ET_STAT_POQ Call by reference Type reference (TYPE) FIP_T_STAT_POQ Table Type for Purchase Order Quantity Statistical Data 20080523
3 Exporting ET_STAT_ROQ Call by reference Type reference (TYPE) FIP_T_STAT_ROQ Table Type for Recipient Order Quantity Statistical Data 20080523
4 Exporting ET_STAT_SQ Call by reference Type reference (TYPE) FIP_T_STAT_SQ Table Type for Sales Quantity Statistical Data 20080523
5 Importing IT_BI_RESULT Call by reference Type reference (TYPE) FIP_T_BI_WREX_DATA WREX_DATA Table Type 20080523

Method CLEAN_BI_RESULTS on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_FIP_STAT_DATA_HANDLER has no parameter.
Method CONSTRUCTOR on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method DO_ROUNDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080817
2 Importing IV_EKORG Call by reference Type reference (TYPE) EKORG Purchasing organization 20080817
3 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20080817
4 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080817
5 Importing IV_MEINS Call by reference Type reference (TYPE) FIP_DOC_UOM Document Unit 20080817
6 Importing IV_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080817
7 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20080817

Method DO_ROUNDING on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method DO_UOM_CONVERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080808
2 Exporting EV_QUANTITY Call by reference Type reference (TYPE) FIP_BSTMG Purchase Order Quantity 20080808
3 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080808
4 Importing IV_QUANTITY Call by reference Type reference (TYPE) FIP_BSTMG Purchase Order Quantity 20080808
5 Importing IV_UNIT_IN Call by reference Type reference (TYPE) MEINS Base Unit of Measure 20080808
6 Importing IV_UNIT_OUT Call by reference Type reference (TYPE) MEINS Base Unit of Measure 20080808

Method DO_UOM_CONVERSION on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method GET_BUFFERED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20090612
2 Exporting ET_BUFFER_OOQ Call by reference Type reference (TYPE) FIP_T_BUFFER_OOQ Table Type for Open Order Quantity Buffered Data 20090612
3 Exporting ET_STAT_DQ Call by reference Type reference (TYPE) FIP_T_STAT_DQ Table Type for Delivery Quantity Statistical Data 20090612
4 Exporting ET_STAT_POQ Call by reference Type reference (TYPE) FIP_T_STAT_POQ Table Type for Purchase Order Quantity Statistical Data 20090612
5 Exporting ET_STAT_ROQ Call by reference Type reference (TYPE) FIP_T_STAT_ROQ Table Type for Recipient Order Quantity Statistical Data 20090612
6 Exporting ET_STAT_SQ Call by reference Type reference (TYPE) FIP_T_STAT_SQ Table Type for Sales Quantity Statistical Data 20090612
7 Importing IT_STATISTICAL_DATA Call by reference Type reference (TYPE) FIP_T_STATISTICAL_DATA Table Type for Statistical Data 20090612
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20090612

Method GET_VENDORS_FROM_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SETTING_VENDOR Call by reference Type reference (TYPE) FIP_T_VENDOR_ALL_INFO All information for Vendor 20080814
2 Importing IT_VENDOR_BUYER Call by reference Type reference (TYPE) FIP_T_BUYER_VENDOR Table of Vendor-Buyer Ids 20080814
3 Importing IV_ACTIVE_ONLY Call by reference Type reference (TYPE) ABAP_BOOL 20080814
4 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20080814

Method GET_VENDORS_FROM_SETTINGS on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method RETRIEVE_AGG_OPEN_ORDER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PO_ORDER_LINE Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20080812
2 Importing IV_DATFROM_INTERNAL Call by reference Type reference (TYPE) DATS Field of type DATS 20080812
3 Importing IV_DATTO_INTERNAL Call by reference Type reference (TYPE) DATS Field of type DATS 20080812
4 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080812
5 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20080812

Method RETRIEVE_AGG_OPEN_ORDER_INFO on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method RETRIEVE_KF_FROM_BI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080522
2 Exporting ET_BI_RESULT Call by reference Type reference (TYPE) FIP_T_BI_WREX_DATA WREX_DATA Table Type 20080521
3 Importing IT_STATISTICAL_DATA Call by reference Type reference (TYPE) FIP_T_STATISTICAL_DATA Table Type for Statistical Data 20080512

Method RETRIEVE_KF_FROM_BI on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method RETRIEVE_OOQ_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080604
2 Exporting ET_BUFFER_OOQ Call by reference Type reference (TYPE) FIP_T_BUFFER_OOQ Table Type for Open Order Quantity Buffered Data 20080604
3 Importing IT_STATISTICAL_DATA Call by reference Type reference (TYPE) FIP_T_STATISTICAL_DATA Table Type for Statistical Data 20080604

Method RETRIEVE_OOQ_DATA on class CL_FIP_STAT_DATA_HANDLER has no exception.

Method RETRIEVE_STAT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080523
2 Exporting ET_BUFFER_OOQ Call by reference Type reference (TYPE) FIP_T_BUFFER_OOQ Table Type for Open Order Quantity Buffered Data 20080523
3 Exporting ET_STAT_DQ Call by reference Type reference (TYPE) FIP_T_STAT_DQ Table Type for Delivery Quantity Statistical Data 20080523
4 Exporting ET_STAT_POQ Call by reference Type reference (TYPE) FIP_T_STAT_POQ Table Type for Purchase Order Quantity Statistical Data 20080523
5 Exporting ET_STAT_ROQ Call by reference Type reference (TYPE) FIP_T_STAT_ROQ Table Type for Recipient Order Quantity Statistical Data 20080523
6 Exporting ET_STAT_SQ Call by reference Type reference (TYPE) FIP_T_STAT_SQ Table Type for Sales Quantity Statistical Data 20080523
7 Importing IT_STATISTICAL_DATA Call by reference Type reference (TYPE) FIP_T_STATISTICAL_DATA Table Type for Statistical Data 20080523
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080523
History
Last changed by/on SAP  20100310 
SAP Release Created in 604