SAP ABAP Class CL_FIP_WDC_STATISTICAL_DATA (Assistance Class for WDC_FIP_PROCUREMENT)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-FIP (Application Component) Perishables Procurement
     FIP_UI_MODEL (Package) User Interface Models for Fresh Item Procurement
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 20080404
Properties
Class CL_FIP_WDC_STATISTICAL_DATA  
Short Description Assistance Class for WDC_FIP_PROCUREMENT    
Super Class CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FIP_UI_MODEL   User Interface Models for Fresh Item Procurement 
Created 20080404   SAP 
Last change 20110908   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)
2 IF_FPM_MESSAGE_MANAGER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FIP_WDC_STATISTICAL_DATA has no interface implemented.
Friends
Class CL_FIP_WDC_STATISTICAL_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FPM_ACTION Constant Public See coding 20080404
2 GC_FUNCTION_ID Constant Public See coding 20080404
3 GC_NODE Constant Public See coding 20080404
4 GO_CO Instance attribute Public Object reference (TYPE REF TO) CL_FIP_CONST Constants 20080522
5 MO_COMP_CONTROLLER Instance attribute Public Object reference (TYPE REF TO) IWCI_WDC_FIP_STATISTICAL_DATA WebDynpro Interface COMPONENTCONTROLLER 20080604
6 MO_CONTEXT Instance attribute Private Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Web Dynpro: Interface for Context Nodes 20080404
7 MO_LOGGER Instance attribute Private Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080603
8 MO_STATISTICAL_DATA Instance attribute Private Object reference (TYPE REF TO) CL_FIP_STAT_DATA_HANDLER Retrieve Statistical Data from Buffer or BI 20080428
9 MT_BUFFER_OOQ Instance attribute Private Type reference (TYPE) FIP_T_BUFFER_OOQ Table Type for Open Order Quantity Buffered Data 20080703
10 MT_STAT_DQ Instance attribute Private Type reference (TYPE) FIP_T_STAT_DQ Table Type for Delivery Quantity Statistical Data 20080703
11 MT_STAT_POQ Instance attribute Private Type reference (TYPE) FIP_T_STAT_POQ Table Type for Purchase Order Quantity Statistical Data 20080703
12 MT_STAT_ROQ Instance attribute Private Type reference (TYPE) FIP_T_STAT_ROQ Table Type for Recipient Order Quantity Statistical Data 20080703
13 MT_STAT_SQ Instance attribute Private Type reference (TYPE) FIP_T_STAT_SQ Table Type for Sales Quantity Statistical Data 20080703
14 MV_INDEX Instance attribute Private Type reference (TYPE) I 20080804
15 MV_IS_PL Instance attribute Private Type reference (TYPE) WDY_BOOLEAN Supplement for True Boolean Type: 'X' == True '' == False 20080616
16 MV_MATNR Instance attribute Private Type reference (TYPE) MATNR Material Number 20080512
17 MV_PERIOD_TEXT Instance attribute Private Type reference (TYPE) STRING 20080730
18 MV_RESULT_TYPE Instance attribute Private Type reference (TYPE) STRING 20080730
19 MV_STAT_TYPE_ID Instance attribute Private Type reference (TYPE) FIP_STAT_TYPE_ID 1 Statistical Data Type ID 20080512
20 MV_WERKS Instance attribute Private Type reference (TYPE) WERKS_D Plant 20080512
Methods
# Method Level Visibility Method type Description Created on
1 ADD_PERIOD Instance method Public Method Add temporary Period, active for the session 20080508
2 CLEAR_INDEX Instance method Public Method Clear the selected row index 20080805
3 CLEAR_PERIOD_TEXT Instance method Public Method Clear the period text 20080805
4 CLEAR_RESULT_TYPE Instance method Public Method Clear the result type 20080805
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080404
6 CREATE_PERIOD_TEXT Instance method Private Method Create the respective period text to display in UI 20080805
7 DISPLAY_MESSAGE Instance method Public Method Publish existing error messages 20080616
8 EDIT_PERIOD Instance method Public Method Edit temporary Period, active for the session 20080508
9 ENHANCE_ORDER_LINE Instance method Private Method Enhance the order lines for UI display 20080814
10 GET_BUFFERED_DATA Instance method Public Method Get the buffered data for Recipient Data 20090612
11 GET_BUFFERED_STAT_PERIODS Instance method Public Method Get the buffered statistical periods 20090612
12 GET_DATE_RANGE Instance method Public Method Get the date range for a period 20080813
13 GET_PERIOD_TEXT Instance method Public Method Get the period text 20080805
14 GET_RESULT_TYPE Instance method Public Method Get the result type 20080805
15 GET_SELECTED_ROW_DATA Instance method Public Method Get the information of the selected row in the table 20080804
16 RETRIEVE_OPEN_ORDER_DATA Instance method Public Method Retrieve the Open Orders for a given period 20080813
17 SET_CONTEXT_NODE Instance method Public Method Set the Context Node 20080404
18 SET_CONTEXT_OPEN_ORDER_DATA Instance method Private Method Fill the context for Open Order Data 20080408
19 SET_CONTEXT_PAST_DELIVERY_DATA Instance method Private Method Fill the context for Past Delivery Data 20080506
20 SET_CONTEXT_PAST_ORDERED_DATA Instance method Private Method Fill the context for Past Ordered Data 20080506
21 SET_CONTEXT_PAST_SALES_DATA Instance method Private Method Fill the context for Past Sales Data 20080506
22 SET_CONTEXT_RECIPIENT_DATA Instance method Private Method Fill the context for Recipient Data 20080506
23 SET_INDEX Instance method Public Method Set the selected row index 20080804
24 SET_PERIOD_TEXT Instance method Public Method Set the period text 20080805
25 SET_RESULT_TYPE Instance method Public Method Set the result type 20080805
26 SET_STAT_TYPE_ID Instance method Public Method Set the active Statistical Data Type 20080512
Events
Class CL_FIP_WDC_STATISTICAL_DATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_RCPT_ORDER_DETAIL Public See coding 20080404 BEGIN OF s_rcpt_order_detail, recipient_type TYPE fip_wdrd_rtype, recipient_id TYPE fip_recipient_num, recipient_name TYPE fip_recipient_name, doc_type TYPE fip_doc_type, doc_nr TYPE fip_doc_number, doc_qty TYPE fip_doc_qty, meins TYPE meins, END OF s_rcpt_order_detail
2 T_RCPT_ORDER_DETAIL Public See coding 20080404 t_rcpt_order_detail TYPE STANDARD TABLE OF s_rcpt_order_detail
Method Signatures

Method ADD_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PERIOD Call by reference Type reference (TYPE) FIP_S_STAT_PERIODS Period Data for Statistical Information 20080508
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080625

Method CLEAR_INDEX Signature

Method CLEAR_INDEX on class CL_FIP_WDC_STATISTICAL_DATA has no parameter.
Method CLEAR_INDEX on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method CLEAR_PERIOD_TEXT Signature

Method CLEAR_PERIOD_TEXT on class CL_FIP_WDC_STATISTICAL_DATA has no parameter.
Method CLEAR_PERIOD_TEXT on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method CLEAR_RESULT_TYPE Signature

Method CLEAR_RESULT_TYPE on class CL_FIP_WDC_STATISTICAL_DATA has no parameter.
Method CLEAR_RESULT_TYPE on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method CONSTRUCTOR Signature

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

Method CREATE_PERIOD_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PERIOD_OFFSET Call by reference Type reference (TYPE) FIP_PERIOD_OFFSET Amount of Period Type 20080805
2 Importing IV_PERIOD_TYPE Call by reference Type reference (TYPE) FIP_PERIOD_TYPE Period Type 20080805
3 Importing IV_REFERENCE_DATE Call by reference Type reference (TYPE) DATUM Date 20080805
4 Importing IV_STAT_TYPE_ID Call by reference Type reference (TYPE) FIP_STAT_TYPE_ID Statistical Data Type ID 20080805
5 Returning RV_PERIOD_TEXT Value transfer Type reference (TYPE) FIP_DESCRIPTION Description 20080805
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080805

Method DISPLAY_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_COMPONENT Call by reference Object reference (TYPE REF TO) OBJECT 20080616
2 Importing IO_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT Web Dynpro: Interface for Node Element 20080616
3 Importing IT_MESSAGE Call by reference Type reference (TYPE) FIP_T_BAL_MSG FIP Application Message Table 20080616
4 Importing IV_ATTRIBUTE_NAME Call by reference Type reference (TYPE) STRING 20080616
5 Importing IV_LIFETIME Call by reference Type reference (TYPE) FPM_MSG_LIFETIME_VISIBILITY IF_FPM_MESSAGE_MANAGER=>GC_LIFE_VISIBILITY_AUTOMATIC Life time and visibility of Messages in FPM 20080616

Method DISPLAY_MESSAGE on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method EDIT_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PERIOD Call by reference Type reference (TYPE) FIP_S_STAT_PERIODS Period Data for Statistical Information 20080508
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080627

Method ENHANCE_ORDER_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UI_ORDER_LINE Call by reference Type reference (TYPE) FIP_T_UI_ORDER_LINE Table type of FIP_S_UI_ORDER_LINE 20080814
2 Importing IT_ORDER_LINE Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20080814

Method ENHANCE_ORDER_LINE on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method GET_BUFFERED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_STAT_INPUT Call by reference Type reference (TYPE) FIP_T_STATISTICAL_DATA 20100128

Method GET_BUFFERED_DATA on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method GET_BUFFERED_STAT_PERIODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STAT_INPUT Call by reference Type reference (TYPE) FIP_T_STATISTICAL_DATA Table Type for Statistical Data 20090612

Method GET_BUFFERED_STAT_PERIODS on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method GET_DATE_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE_FROM Call by reference Type reference (TYPE) DATS Field of type DATS 20080813
2 Exporting EV_DATE_TO Call by reference Type reference (TYPE) DATS Field of type DATS 20080813
3 Importing IV_PERIOD_OFFSET Call by reference Type reference (TYPE) FIP_PERIOD_OFFSET Amount of Period Type 20080813
4 Importing IV_PERIOD_TYPE Call by reference Type reference (TYPE) FIP_PERIOD_TYPE Period Type 20080813
5 Importing IV_REFERENCE_DATE Call by reference Type reference (TYPE) DATUM Date 20080813
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080813

Method GET_PERIOD_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PERIOD_TEXT Value transfer Type reference (TYPE) FIP_DESCRIPTION Result: Total or Average 20080805

Method GET_PERIOD_TEXT on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method GET_RESULT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESULT_TYPE Value transfer Type reference (TYPE) FIP_RESULT Result: Total or Average 20080805

Method GET_RESULT_TYPE on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method GET_SELECTED_ROW_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PERIOD_TYPE Call by reference Type reference (TYPE) FIP_PERIOD_TYPE Period Type 20080804
2 Exporting EV_REFERENCE_DATE Call by reference Type reference (TYPE) DATUM Date 20080804

Method GET_SELECTED_ROW_DATA on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method RETRIEVE_OPEN_ORDER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OPEN_ORDER_DATA Call by reference Type reference (TYPE) FIP_T_UI_ORDER_LINE Table type of FIP_S_UI_ORDER_LINE 20080813
2 Importing IV_PERIOD_OFFSET Call by reference Type reference (TYPE) FIP_PERIOD_OFFSET Amount of Period Type 20080813
3 Importing IV_PERIOD_TYPE Call by reference Type reference (TYPE) FIP_PERIOD_TYPE Period Type 20080813
4 Importing IV_REFERENCE_DATE Call by reference Type reference (TYPE) DATUM Date 20080813

Method RETRIEVE_OPEN_ORDER_DATA on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method SET_CONTEXT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_COMP_CONTROLLER Call by reference Object reference (TYPE REF TO) IWCI_WDC_FIP_STATISTICAL_DATA WebDynpro Interface COMPONENTCONTROLLER 20080616
2 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Web Dynpro: Interface for Context Nodes 20080404

Method SET_CONTEXT_NODE on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method SET_CONTEXT_OPEN_ORDER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DEFAULT_PERIOD Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_TRUE Supplement for True Boolean Type: 'X' == True '' == False 20080625
2 Importing IS_EDIT_MODE Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_FALSE Supplement for True Boolean Type: 'X' == True '' == False 20080806
3 Importing IT_BUFFER_OOQ Call by reference Type reference (TYPE) FIP_T_BUFFER_OOQ Table Type for Open Order Quantity Buffered Data 20080625
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080514

Method SET_CONTEXT_PAST_DELIVERY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DEFAULT_PERIOD Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_TRUE Supplement for True Boolean Type: 'X' == True '' == False 20080625
2 Importing IS_EDIT_MODE Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_FALSE Supplement for True Boolean Type: 'X' == True '' == False 20080806
3 Importing IT_STAT_DQ Call by reference Type reference (TYPE) FIP_T_STAT_DQ Table Type for Delivery Quantity Statistical Data 20080625
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080514

Method SET_CONTEXT_PAST_ORDERED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DEFAULT_PERIOD Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_TRUE Supplement for True Boolean Type: 'X' == True '' == False 20080625
2 Importing IS_EDIT_MODE Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_FALSE Supplement for True Boolean Type: 'X' == True '' == False 20080806
3 Importing IT_STAT_POQ Call by reference Type reference (TYPE) FIP_T_STAT_POQ Table Type for Purchase Order Quantity Statistical Data 20080625
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080514

Method SET_CONTEXT_PAST_SALES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DEFAULT_PERIOD Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_TRUE Supplement for True Boolean Type: 'X' == True '' == False 20080625
2 Importing IS_EDIT_MODE Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_FALSE Supplement for True Boolean Type: 'X' == True '' == False 20080806
3 Importing IT_STAT_SQ Call by reference Type reference (TYPE) FIP_T_STAT_SQ Table Type for Sales Quantity Statistical Data 20080625
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080514

Method SET_CONTEXT_RECIPIENT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DEFAULT_PERIOD Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_TRUE Supplement for True Boolean Type: 'X' == True '' == False 20080625
2 Importing IS_EDIT_MODE Call by reference Type reference (TYPE) WDY_BOOLEAN ABAP_FALSE Supplement for True Boolean Type: 'X' == True '' == False 20080806
3 Importing IT_STAT_ROQ Call by reference Type reference (TYPE) FIP_T_STAT_ROQ Table Type for Recipient Order Quantity Statistical Data 20080625
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080514

Method SET_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INDEX Call by reference Type reference (TYPE) I 20080804

Method SET_INDEX on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method SET_PERIOD_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PERIOD_TEXT Call by reference Type reference (TYPE) FIP_DESCRIPTION Description 20080805

Method SET_PERIOD_TEXT on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method SET_RESULT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESULT_TYPE Call by reference Type reference (TYPE) FIP_RESULT Result: Total or Average 20080805

Method SET_RESULT_TYPE on class CL_FIP_WDC_STATISTICAL_DATA has no exception.

Method SET_STAT_TYPE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STAT_TYPE_ID Call by reference Type reference (TYPE) FIP_STAT_TYPE_ID Statistical Data Type ID 20080512

Method SET_STAT_TYPE_ID on class CL_FIP_WDC_STATISTICAL_DATA has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 604