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 | 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 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_FIP_CONST | Constants | 20080806 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | FIP_BADI_MATERIAL_BAL | Factory implementing and hiding backend access | 20080702 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_BAL_FACTORY | Factory implementing and hiding backend access | 20080512 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | FIP_BADI_ROUNDING_BAL | 20080817 | ||||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_BUFFER_STAT_PERSIST | Handle buffering the statistical data of PL | 20080512 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080512 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_ORDER_HANDLER | Class for handling of transactional data | 20080604 | |||
| 8 | 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 | Instance method | Private | Method | Add Order Quantity in the correct UoM | 20080702 | |
| 2 | Instance method | Private | Method | Cleanup the BI Return Structure | 20080523 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20080512 | |
| 4 | Instance method | Public | Method | Perform unit rounding | 20080817 | |
| 5 | Instance method | Public | Method | Perform UoM conversion | 20080808 | |
| 6 | Instance method | Public | Method | Retrieve the buffered Statistical Data | 20090612 | |
| 7 | Instance method | Public | Method | Retrieve the vendors from Settings | 20080814 | |
| 8 | Instance method | Public | Method | Retrieve the aggregate open order data | 20080812 | |
| 9 | Instance method | Private | Method | Retrieve Key Figure data from BI | 20080512 | |
| 10 | Instance method | Private | Method | Retrieve the Open Order Quantity data from backend | 20080604 | |
| 11 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080702 | |||
| 2 | CV_ORDER_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080702 | |||
| 3 | CV_ORDER_UOM | Call by reference | Type reference (TYPE) | MEINS | Base Unit of Measure | 20080702 | |||
| 4 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080702 | |||
| 5 | IV_ORDER_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080702 | |||
| 6 | 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 | ET_STAT_DQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_DQ | Table Type for Delivery Quantity Statistical Data | 20080523 | |||
| 2 | ET_STAT_POQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_POQ | Table Type for Purchase Order Quantity Statistical Data | 20080523 | |||
| 3 | ET_STAT_ROQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_ROQ | Table Type for Recipient Order Quantity Statistical Data | 20080523 | |||
| 4 | ET_STAT_SQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_SQ | Table Type for Sales Quantity Statistical Data | 20080523 | |||
| 5 | 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 | EV_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080817 | |||
| 2 | IV_EKORG | Call by reference | Type reference (TYPE) | EKORG | Purchasing organization | 20080817 | |||
| 3 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20080817 | |||
| 4 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080817 | |||
| 5 | IV_MEINS | Call by reference | Type reference (TYPE) | FIP_DOC_UOM | Document Unit | 20080817 | |||
| 6 | IV_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080817 | |||
| 7 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080808 | |||
| 2 | EV_QUANTITY | Call by reference | Type reference (TYPE) | FIP_BSTMG | Purchase Order Quantity | 20080808 | |||
| 3 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080808 | |||
| 4 | IV_QUANTITY | Call by reference | Type reference (TYPE) | FIP_BSTMG | Purchase Order Quantity | 20080808 | |||
| 5 | IV_UNIT_IN | Call by reference | Type reference (TYPE) | MEINS | Base Unit of Measure | 20080808 | |||
| 6 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20090612 | |||
| 2 | ET_BUFFER_OOQ | Call by reference | Type reference (TYPE) | FIP_T_BUFFER_OOQ | Table Type for Open Order Quantity Buffered Data | 20090612 | |||
| 3 | ET_STAT_DQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_DQ | Table Type for Delivery Quantity Statistical Data | 20090612 | |||
| 4 | ET_STAT_POQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_POQ | Table Type for Purchase Order Quantity Statistical Data | 20090612 | |||
| 5 | ET_STAT_ROQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_ROQ | Table Type for Recipient Order Quantity Statistical Data | 20090612 | |||
| 6 | ET_STAT_SQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_SQ | Table Type for Sales Quantity Statistical Data | 20090612 | |||
| 7 | 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 | 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 | ET_SETTING_VENDOR | Call by reference | Type reference (TYPE) | FIP_T_VENDOR_ALL_INFO | All information for Vendor | 20080814 | |||
| 2 | IT_VENDOR_BUYER | Call by reference | Type reference (TYPE) | FIP_T_BUYER_VENDOR | Table of Vendor-Buyer Ids | 20080814 | |||
| 3 | IV_ACTIVE_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080814 | ||||
| 4 | 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 | ET_PO_ORDER_LINE | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20080812 | |||
| 2 | IV_DATFROM_INTERNAL | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20080812 | |||
| 3 | IV_DATTO_INTERNAL | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20080812 | |||
| 4 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080812 | |||
| 5 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080522 | |||
| 2 | ET_BI_RESULT | Call by reference | Type reference (TYPE) | FIP_T_BI_WREX_DATA | WREX_DATA Table Type | 20080521 | |||
| 3 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080604 | |||
| 2 | ET_BUFFER_OOQ | Call by reference | Type reference (TYPE) | FIP_T_BUFFER_OOQ | Table Type for Open Order Quantity Buffered Data | 20080604 | |||
| 3 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080523 | |||
| 2 | ET_BUFFER_OOQ | Call by reference | Type reference (TYPE) | FIP_T_BUFFER_OOQ | Table Type for Open Order Quantity Buffered Data | 20080523 | |||
| 3 | ET_STAT_DQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_DQ | Table Type for Delivery Quantity Statistical Data | 20080523 | |||
| 4 | ET_STAT_POQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_POQ | Table Type for Purchase Order Quantity Statistical Data | 20080523 | |||
| 5 | ET_STAT_ROQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_ROQ | Table Type for Recipient Order Quantity Statistical Data | 20080523 | |||
| 6 | ET_STAT_SQ | Call by reference | Type reference (TYPE) | FIP_T_STAT_SQ | Table Type for Sales Quantity Statistical Data | 20080523 | |||
| 7 | 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 | Invalid data supplied | 20080523 |
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 604 |