SAP ABAP Class CL_IFW_FORECAST (Invoice forecasting run)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB-IFW (Application Component) Invoice Forecasting
     CIWB (Package) Invoice Forecasting Worklist: Core objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_IFW_CON Constants for invoice forecasting worklist 20100819
Properties
Class CL_IFW_FORECAST  
Short Description Invoice forecasting run    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class IFW    
Program status     
Category 0   
Package CIWB   Invoice Forecasting Worklist: Core objects 
Created 20100818   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_IFW_FORECAST has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_IFW_CON Constants for invoice forecasting worklist 20100819
Friends
Class CL_IFW_FORECAST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FC_DONE Instance attribute Private Attribute reference (LIKE) 20100820
2 C_FC_ERR Instance attribute Private Attribute reference (LIKE) 20100820
3 C_FC_OLD Instance attribute Private Attribute reference (LIKE) 20100820
4 C_INVDD_DET_CPE Instance attribute Private Attribute reference (LIKE) 20101123
5 C_INVDD_DET_PPE Instance attribute Private Attribute reference (LIKE) 20110201
6 C_INV_DL Instance attribute Private Attribute reference (LIKE) 20100819
7 C_INV_DL_D Instance attribute Private Attribute reference (LIKE) 20100819
8 C_INV_GR Instance attribute Private Attribute reference (LIKE) 20100819
9 C_INV_GR_D Instance attribute Private Attribute reference (LIKE) 20100819
10 C_PAYDD_DET_PPE Instance attribute Private Attribute reference (LIKE) 20101123
11 C_TC Instance attribute Private Attribute reference (LIKE) 20100819
12 C_UPDATE Instance attribute Private Attribute reference (LIKE) 20100820
13 MC_COMMIT Constant Private Type reference (TYPE) I 100 Number of source document after which COMMIT WORK is execut. 20100820
Methods
# Method Level Visibility Method type Description Created on
1 FORECAST Static method Public Method Invoice forecasting for a set of source documents 20100818
2 GET_DEFAULT_VALUES Static method Public Method Get default values for parameters on selection screen 20100823
3 LOG Static method Public Method Process IFW application log 20100820
4 _CHECK_RUNTIME Static method Private Method Check whether runtime limit was exceeded 20100820
5 _MAP_INVDATA_TO_DB Static method Private Method Map results of invoice forecast to IFW tables 20100820
6 _PREFETCH Static method Private Method Prefetch all invoice records for set of source documents 20100819
7 _UPDATE_DOC Static method Private Method Write forecast results to DB 20100820
8 _X_TO_LOG Static method Private Method Move exception message to application log 20100820
Events
Class CL_IFW_FORECAST has no event.
Types
Class CL_IFW_FORECAST has no local type.
Method Signatures

Method FORECAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_LOG Call by reference Object reference (TYPE REF TO) CL_IFW_LOG IFW application log 20100819
2 Importing IS_LOG_CTRL Call by reference Type reference (TYPE) IFW_S_LOG_CTRL Log control of invoice forecasting run 20100820
3 Importing IS_RUNTIME_CTRL Call by reference Type reference (TYPE) IFW_S_RUNTIME_CTRL Runtime control of Invoice Forecasting Run 20100819
4 Importing IT_BUKRS_RA Call by reference Type reference (TYPE) IFW_UI_TT_BUKRS_RA Company Code table type for UI 20110127
5 Importing IT_EKGRP_RA Call by reference Type reference (TYPE) IFW_UI_TT_EKGRP_RA Purchasing Group table type for UI 20110127
6 Importing IT_EKORG_RA Call by reference Type reference (TYPE) IFW_UI_TT_EKORG_RA Purchasing Organization table type for UI 20110127
7 Importing IT_INV_TYPE_RA Call by reference Type reference (TYPE) IFW_TT_INV_TYPE_RA Ranges of invoice type (table) 20100819
8 Importing IT_ROOT_DOC_RA Call by reference Type reference (TYPE) IFW_UI_TT_ROOT_DOC_RA Source document table type for UI 20100819
9 Importing IT_SPART_RA Call by reference Type reference (TYPE) IFW_UI_TT_SPART_RA Division table type for UI 20110127
10 Importing IT_VKORG_RA Call by reference Type reference (TYPE) IFW_UI_TT_VKORG_RA Sales Organization table type for UI 20110127
11 Importing IT_VTWEG_RA Call by reference Type reference (TYPE) IFW_UI_TT_VTWEG_RA Distribution Channel table type for UI 20110127
12 Importing I_LAST_CALC Value transfer Type reference (TYPE) IFW_DE_LAST_CALC Date of Last Invoice Forecast 20100820
13 Importing I_ROOT_DOC_TYPE Value transfer Type reference (TYPE) CIWB_DE_ROOT_DOC_TYPE Source Document Type 20100819
14 Importing I_TEST_RUN Value transfer Type reference (TYPE) IFW_DE_TEST Test run 20100820
# Exception Resumable Description Created on
1 CX_IFW_ROOT Exception class for CL_IFW_DB 20100819

Method GET_DEFAULT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RUNTIME_CTRL Value transfer Type reference (TYPE) IFW_S_RUNTIME_CTRL Runtime control of Invoice Forecasting Run 20100823
2 Exporting E_LAST_CALC Value transfer Type reference (TYPE) IFW_DE_LAST_CALC Date of Last Invoice Forecast 20100823
3 Exporting E_ROOT_DOC_TYPE Value transfer Type reference (TYPE) CIWB_DE_ROOT_DOC_TYPE Source Document Type 20100823

Method GET_DEFAULT_VALUES on class CL_IFW_FORECAST has no exception.

Method LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOG Call by reference Object reference (TYPE REF TO) CL_IFW_LOG IFW application log 20100820

Method LOG on class CL_IFW_FORECAST has no exception.

Method _CHECK_RUNTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_LOG Call by reference Object reference (TYPE REF TO) CL_IFW_LOG IFW application log 20100820
2 Changing CS_WORKLIST Call by reference Type reference (TYPE) IFW_S_WORKLIST_UPD Invoice forecasting worklist 20100820
3 Changing CT_HEADER Call by reference Type reference (TYPE) IFW_TT_HEADER_UPD Communication structure for IFW header update (table) 20100820
4 Changing CT_ITEM Call by reference Type reference (TYPE) IFW_TT_ITEM_UPD Communication structure for IFW item update (table) 20100820
5 Exporting E_STOP Value transfer Type reference (TYPE) XFELD Runtime limit exceeded 20100820
6 Importing IS_RUNTIME_CTRL Call by reference Type reference (TYPE) IFW_S_RUNTIME_CTRL Runtime control of Invoice Forecasting Run 20100820
7 Importing I_TEST_RUN Call by reference Type reference (TYPE) IFW_DE_TEST Test run 20100820

Method _CHECK_RUNTIME on class CL_IFW_FORECAST has no exception.

Method _MAP_INVDATA_TO_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_HEADER_UPD Call by reference Type reference (TYPE) IFW_TT_HEADER_UPD Communication structure for IFW header update (table) 20100820
2 Changing CT_ITEM_UPD Call by reference Type reference (TYPE) IFW_TT_ITEM_UPD Communication structure for IFW item update (table) 20100820
3 Importing IS_INV_SIM_REQ Call by reference Type reference (TYPE) IFW_S_INVOICE_SIM_REQUEST Complete invoice simulation request 20100823
4 Importing IT_INVDATA Call by reference Type reference (TYPE) IFW_TT_INVDATA Result data of invoice forecasting request (table) 20100820

Method _MAP_INVDATA_TO_DB on class CL_IFW_FORECAST has no exception.

Method _PREFETCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) IFW_TT_MESSAGE Message output (table) 20101014
2 Exporting ET_INV_SIM_REQ Call by reference Type reference (TYPE) IFW_TT_INVOICE_SIM_REQUEST Complete invoice forecasting request (table) 20100819
3 Exporting ET_WORKLIST Call by reference Type reference (TYPE) IFW_TT_WL_STD Invoice forecasting worklist (standard table) 20100819
4 Importing IT_BUKRS_RA Call by reference Type reference (TYPE) IFW_UI_TT_BUKRS_RA Company Code table type for UI 20110127
5 Importing IT_EKGRP_RA Call by reference Type reference (TYPE) IFW_UI_TT_EKGRP_RA Purchasing Group table type for UI 20110127
6 Importing IT_EKORG_RA Call by reference Type reference (TYPE) IFW_UI_TT_EKORG_RA Purchasing Organization table type for UI 20110127
7 Importing IT_INV_TYPE_RA Call by reference Type reference (TYPE) IFW_TT_INV_TYPE_RA Ranges of invoice type (table) 20100819
8 Importing IT_ROOT_DOC_RA Call by reference Type reference (TYPE) IFW_UI_TT_ROOT_DOC_RA Source document table type for UI 20100819
9 Importing IT_SPART_RA Call by reference Type reference (TYPE) IFW_UI_TT_SPART_RA Division table type for UI 20110127
10 Importing IT_VKORG_RA Call by reference Type reference (TYPE) IFW_UI_TT_VKORG_RA Sales Organization table type for UI 20110127
11 Importing IT_VTWEG_RA Call by reference Type reference (TYPE) IFW_UI_TT_VTWEG_RA Distribution Channel table type for UI 20110127
12 Importing I_LAST_CALC Value transfer Type reference (TYPE) IFW_DE_LAST_CALC Date of Last Invoice Forecast 20100820
13 Importing I_ROOT_DOC_TYPE Value transfer Type reference (TYPE) CIWB_DE_ROOT_DOC_TYPE Source Document Type 20100819
# Exception Resumable Description Created on
1 CX_IFW_ROOT Root exception class for IFW 20100819

Method _UPDATE_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_COMMIT Call by reference Type reference (TYPE) I Counter for controlling commit work 20100820
2 Importing IS_WORKLIST Call by reference Type reference (TYPE) IFW_S_WORKLIST_UPD Communication structure IFW worklist update 20100820
3 Importing IT_HEADER Call by reference Type reference (TYPE) IFW_TT_HEADER_UPD Communication structure for IFW header update (table) 20100820
4 Importing IT_ITEM Call by reference Type reference (TYPE) IFW_TT_ITEM_UPD Communication structure for IFW item update (table) 20100820

Method _UPDATE_DOC on class CL_IFW_FORECAST has no exception.

Method _X_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_LOG Call by reference Object reference (TYPE REF TO) CL_IFW_LOG IFW application log 20100820
2 Importing IR_X Call by reference Object reference (TYPE REF TO) CX_IFW_ROOT Root exception class for IFW 20100820

Method _X_TO_LOG on class CL_IFW_FORECAST has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 606