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
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Invoice forecasting for a set of source documents | 20100818 | |
| 2 | Static method | Public | Method | Get default values for parameters on selection screen | 20100823 | |
| 3 | Static method | Public | Method | Process IFW application log | 20100820 | |
| 4 | Static method | Private | Method | Check whether runtime limit was exceeded | 20100820 | |
| 5 | Static method | Private | Method | Map results of invoice forecast to IFW tables | 20100820 | |
| 6 | Static method | Private | Method | Prefetch all invoice records for set of source documents | 20100819 | |
| 7 | Static method | Private | Method | Write forecast results to DB | 20100820 | |
| 8 | 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 | ER_LOG | Call by reference | Object reference (TYPE REF TO) | CL_IFW_LOG | IFW application log | 20100819 | |||
| 2 | IS_LOG_CTRL | Call by reference | Type reference (TYPE) | IFW_S_LOG_CTRL | Log control of invoice forecasting run | 20100820 | |||
| 3 | IS_RUNTIME_CTRL | Call by reference | Type reference (TYPE) | IFW_S_RUNTIME_CTRL | Runtime control of Invoice Forecasting Run | 20100819 | |||
| 4 | IT_BUKRS_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_BUKRS_RA | Company Code table type for UI | 20110127 | |||
| 5 | IT_EKGRP_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_EKGRP_RA | Purchasing Group table type for UI | 20110127 | |||
| 6 | IT_EKORG_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_EKORG_RA | Purchasing Organization table type for UI | 20110127 | |||
| 7 | IT_INV_TYPE_RA | Call by reference | Type reference (TYPE) | IFW_TT_INV_TYPE_RA | Ranges of invoice type (table) | 20100819 | |||
| 8 | IT_ROOT_DOC_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_ROOT_DOC_RA | Source document table type for UI | 20100819 | |||
| 9 | IT_SPART_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_SPART_RA | Division table type for UI | 20110127 | |||
| 10 | IT_VKORG_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_VKORG_RA | Sales Organization table type for UI | 20110127 | |||
| 11 | IT_VTWEG_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_VTWEG_RA | Distribution Channel table type for UI | 20110127 | |||
| 12 | I_LAST_CALC | Value transfer | Type reference (TYPE) | IFW_DE_LAST_CALC | Date of Last Invoice Forecast | 20100820 | |||
| 13 | I_ROOT_DOC_TYPE | Value transfer | Type reference (TYPE) | CIWB_DE_ROOT_DOC_TYPE | Source Document Type | 20100819 | |||
| 14 | I_TEST_RUN | Value transfer | Type reference (TYPE) | IFW_DE_TEST | Test run | 20100820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ES_RUNTIME_CTRL | Value transfer | Type reference (TYPE) | IFW_S_RUNTIME_CTRL | Runtime control of Invoice Forecasting Run | 20100823 | |||
| 2 | E_LAST_CALC | Value transfer | Type reference (TYPE) | IFW_DE_LAST_CALC | Date of Last Invoice Forecast | 20100823 | |||
| 3 | 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 | 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 | CR_LOG | Call by reference | Object reference (TYPE REF TO) | CL_IFW_LOG | IFW application log | 20100820 | |||
| 2 | CS_WORKLIST | Call by reference | Type reference (TYPE) | IFW_S_WORKLIST_UPD | Invoice forecasting worklist | 20100820 | |||
| 3 | CT_HEADER | Call by reference | Type reference (TYPE) | IFW_TT_HEADER_UPD | Communication structure for IFW header update (table) | 20100820 | |||
| 4 | CT_ITEM | Call by reference | Type reference (TYPE) | IFW_TT_ITEM_UPD | Communication structure for IFW item update (table) | 20100820 | |||
| 5 | E_STOP | Value transfer | Type reference (TYPE) | XFELD | Runtime limit exceeded | 20100820 | |||
| 6 | IS_RUNTIME_CTRL | Call by reference | Type reference (TYPE) | IFW_S_RUNTIME_CTRL | Runtime control of Invoice Forecasting Run | 20100820 | |||
| 7 | 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 | CT_HEADER_UPD | Call by reference | Type reference (TYPE) | IFW_TT_HEADER_UPD | Communication structure for IFW header update (table) | 20100820 | |||
| 2 | CT_ITEM_UPD | Call by reference | Type reference (TYPE) | IFW_TT_ITEM_UPD | Communication structure for IFW item update (table) | 20100820 | |||
| 3 | IS_INV_SIM_REQ | Call by reference | Type reference (TYPE) | IFW_S_INVOICE_SIM_REQUEST | Complete invoice simulation request | 20100823 | |||
| 4 | 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 | CT_MESSAGES | Call by reference | Type reference (TYPE) | IFW_TT_MESSAGE | Message output (table) | 20101014 | |||
| 2 | ET_INV_SIM_REQ | Call by reference | Type reference (TYPE) | IFW_TT_INVOICE_SIM_REQUEST | Complete invoice forecasting request (table) | 20100819 | |||
| 3 | ET_WORKLIST | Call by reference | Type reference (TYPE) | IFW_TT_WL_STD | Invoice forecasting worklist (standard table) | 20100819 | |||
| 4 | IT_BUKRS_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_BUKRS_RA | Company Code table type for UI | 20110127 | |||
| 5 | IT_EKGRP_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_EKGRP_RA | Purchasing Group table type for UI | 20110127 | |||
| 6 | IT_EKORG_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_EKORG_RA | Purchasing Organization table type for UI | 20110127 | |||
| 7 | IT_INV_TYPE_RA | Call by reference | Type reference (TYPE) | IFW_TT_INV_TYPE_RA | Ranges of invoice type (table) | 20100819 | |||
| 8 | IT_ROOT_DOC_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_ROOT_DOC_RA | Source document table type for UI | 20100819 | |||
| 9 | IT_SPART_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_SPART_RA | Division table type for UI | 20110127 | |||
| 10 | IT_VKORG_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_VKORG_RA | Sales Organization table type for UI | 20110127 | |||
| 11 | IT_VTWEG_RA | Call by reference | Type reference (TYPE) | IFW_UI_TT_VTWEG_RA | Distribution Channel table type for UI | 20110127 | |||
| 12 | I_LAST_CALC | Value transfer | Type reference (TYPE) | IFW_DE_LAST_CALC | Date of Last Invoice Forecast | 20100820 | |||
| 13 | I_ROOT_DOC_TYPE | Value transfer | Type reference (TYPE) | CIWB_DE_ROOT_DOC_TYPE | Source Document Type | 20100819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | C_COMMIT | Call by reference | Type reference (TYPE) | I | Counter for controlling commit work | 20100820 | |||
| 2 | IS_WORKLIST | Call by reference | Type reference (TYPE) | IFW_S_WORKLIST_UPD | Communication structure IFW worklist update | 20100820 | |||
| 3 | IT_HEADER | Call by reference | Type reference (TYPE) | IFW_TT_HEADER_UPD | Communication structure for IFW header update (table) | 20100820 | |||
| 4 | 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 | CR_LOG | Call by reference | Object reference (TYPE REF TO) | CL_IFW_LOG | IFW application log | 20100820 | |||
| 2 | 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 |