SAP ABAP Class CL_IFW_SERVICES (General helper methods for IFW)
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 | 20100827 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MRM_CONSTANTS | Invoice Verification Constants | 20100827 |
Properties
| Class | CL_IFW_SERVICES | |
| Short Description | General helper methods for IFW | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CIWB | Invoice Forecasting Worklist: Core objects |
| Created | 20100812 | SAP |
| Last change | 20130531 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_IFW_CON | Constants for invoice forecasting worklist | 20100827 | ||
| 2 | IF_MRM_CONSTANTS | Invoice Verification Constants | 20100827 |
Friends
Class CL_IFW_SERVICES has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert source document to application specific document | 20100812 | |
| 2 | Static method | Public | Method | Convert application specific document to source document | 20100812 | |
| 3 | Static method | Public | Method | Decide whether a goods movement is CPE pricing relevant | 20101011 | |
| 4 | Static method | Private | Method | Derive Blocking Reason at item level from CPE results | 20110801 | |
| 5 | Static method | Public | Method | Fill CPE information on IFW item level from KOMV | 20101001 | |
| 6 | Static method | Private | Method | Derive CPE status at item level from all formula status | 20101001 | |
| 7 | Static method | Private | Method | Fill document fields for CPE API | 20101001 | |
| 8 | Static method | Public | Method | Fill payment due date from payment terms | 20101122 | |
| 9 | Static method | Public | Method | Get pair item workarea (differential invoicing) | 20100827 | |
| 10 | Static method | Public | Method | Get ABAP Classes for UI | 20101028 | |
| 11 | Static method | Public | Method | Replace temporary KOMV-KNUMV by final one from doc. header | 20101019 | |
| 12 | Static method | Private | Method | Check whether CPE contains quotations | 20101213 |
Events
Class CL_IFW_SERVICES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MTY_EBELN | Public | See coding | Table of purchasing document numbers | 20101011 | mty_ebeln TYPE TABLE OF ebeln
|
|
| 2 | MTY_KOMV_ITEM_KEY | Private | See coding | Item key of condition records | 20101001 | BEGIN OF mty_komv_item_key,
knumv TYPE knumv,
kposn TYPE kposn,
END OF mty_komv_item_key
|
|
| 3 | MTY_LIPSVB | Public | See coding | Table of delivery items | 20101011 | mty_lipsvb TYPE TABLE OF lipsvb
|
|
| 4 | MTY_MSEG | Public | See coding | Table of goods receipt items | 20101011 | mty_mseg TYPE TABLE OF mseg
|
|
| 5 | MTY_T683S | Public | See coding | Table of pricing procedure steps | 20101011 | mty_t683s TYPE TABLE OF t683s
|
|
| 6 | MTY_VBELN | Public | See coding | Table of sales document numbers | 20101011 | mty_vbeln TYPE TABLE OF vbeln
|
Method Signatures
Method CONVERT_FROM_RD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_APPL_DOC | Value transfer | Type reference (TYPE) | CLIKE | Application specific document | 20100818 | |||
| 2 | I_ROOT_DOC | Value transfer | Type reference (TYPE) | IFW_DE_ROOT_DOC | Source Document | 20100812 |
Method CONVERT_FROM_RD on class CL_IFW_SERVICES has no exception.
Method CONVERT_TO_RD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ROOT_DOC | Value transfer | Type reference (TYPE) | IFW_DE_ROOT_DOC | Source Document | 20100818 | |||
| 2 | I_APPL_DOC | Value transfer | Type reference (TYPE) | CLIKE | Application specific document | 20100812 |
Method CONVERT_TO_RD on class CL_IFW_SERVICES has no exception.
Method DETERMINE_CPE_RELEVANCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IS_CPE_RELEVANT | Value transfer | Type reference (TYPE) | XFELD | Flag: CPE-relevant yes/no | 20101011 | |||
| 2 | IS_DOC_HEADER | Call by reference | Type reference (TYPE) | ANY | Logistics document header | 20101011 | |||
| 3 | IT_DOC_ITEM | Call by reference | Type reference (TYPE) | STANDARD TABLE | Logistics document line items (table) | 20101011 | |||
| 4 | I_INV_TYPE | Value transfer | Type reference (TYPE) | IFW_DE_INV_TYPE | Invoice Type | 20101011 |
Method DETERMINE_CPE_RELEVANCY on class CL_IFW_SERVICES has no exception.
Method FILL_BILL_BLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ITEM_UPD | Call by reference | Type reference (TYPE) | IFW_S_ITEM_UPD | Communication structure for IFW item update | 20110801 | |||
| 2 | IS_DOC_HEADER | Call by reference | Type reference (TYPE) | ANY | Logistics document header | 20110801 | |||
| 3 | IT_CPE_TERM | Call by reference | Type reference (TYPE) | CPET_ERP_CPEDOC_TERM_OUT_TAB | CPE terms | 20110808 |
Method FILL_BILL_BLOCK on class CL_IFW_SERVICES has no exception.
Method FILL_CPE_ITEMDATA_FROM_KOMV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ITEM_UPD | Call by reference | Type reference (TYPE) | IFW_S_ITEM_UPD | Communication structure for IFW item update | 20101001 | |||
| 2 | E_QUOTATIONS_FOUND | Value transfer | Type reference (TYPE) | XFELD | Flag: Quotations found | 20101213 | |||
| 3 | IS_DOC_HEADER | Call by reference | Type reference (TYPE) | ANY | Logistics document header | 20101001 | |||
| 4 | IS_DOC_ITEM | Call by reference | Type reference (TYPE) | ANY | Logistics document item | 20101001 | |||
| 5 | IS_WORKLIST | Call by reference | Type reference (TYPE) | IFW_WORKLIST | Invoice forecasting worklist | 20101001 | |||
| 6 | IT_KOMV | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table type komv/konv | 20101021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for errors in IFW from CPE interface | 20101001 |
Method FILL_CPE_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_ITEM_STATUS | Value transfer | Type reference (TYPE) | IFW_DE_PR_STATUS | Status of Evaluation for Pricing | 20101001 | |||
| 2 | I_FORMSTATUS | Value transfer | Type reference (TYPE) | CPET_FORMSTATUS | CPE Formula - Status of Evaluation | 20101001 |
Method FILL_CPE_STATUS on class CL_IFW_SERVICES has no exception.
Method FILL_DOCUMENT_COM_FOR_CPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DOCUMENT_COM | Call by reference | Type reference (TYPE) | CPET_ERP_DOCUMENT_COM | CPE in ERP: Communication Structure with Document Fields | 20101001 | |||
| 2 | ES_KOMV_ITEM_KEY | Call by reference | Type reference (TYPE) | MTY_KOMV_ITEM_KEY | Item key of condition records | 20101001 | |||
| 3 | IS_DOC_HEADER | Call by reference | Type reference (TYPE) | ANY | Logistics document header | 20101001 | |||
| 4 | IS_DOC_ITEM | Call by reference | Type reference (TYPE) | ANY | Logistics document item | 20101001 | |||
| 5 | IS_ITEM_UPD | Call by reference | Type reference (TYPE) | IFW_S_ITEM_UPD | Communication structure for IFW item update | 20101001 | |||
| 6 | IS_WORKLIST | Call by reference | Type reference (TYPE) | IFW_WORKLIST | Invoice forecasting worklist | 20101001 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CPE not active for application | 20101001 |
Method FILL_PAYDD_FROM_PAYMENT_TERMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_PAYDD | Value transfer | Type reference (TYPE) | IFW_DE_PAY_DATE | Payment Due Date | 20101122 | |||
| 2 | IS_DOC_HEADER | Call by reference | Type reference (TYPE) | ANY | Document header | 20101122 | |||
| 3 | I_INV_TYPE | Value transfer | Type reference (TYPE) | IFW_DE_INV_TYPE | Invoice Reference Type | 20101122 |
Method FILL_PAYDD_FROM_PAYMENT_TERMS on class CL_IFW_SERVICES has no exception.
Method GET_DINV_PAIR_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DOC_PAIR_ITEM | Call by reference | Type reference (TYPE) | ANY | Pair line item (workarea) | 20100827 | |||
| 2 | E_IS_NEGATIVE | Call by reference | Type reference (TYPE) | XFELD | IS_DOC_ITEM is a "negative" item | 20101006 | |||
| 3 | IS_DOC_ITEM | Call by reference | Type reference (TYPE) | ANY | Line item (workarea) | 20100827 | |||
| 4 | IT_DOC_ITEM | Call by reference | Type reference (TYPE) | STANDARD TABLE | All line items (table) | 20100827 | |||
| 5 | I_INV_CAT | Value transfer | Type reference (TYPE) | IFW_DE_INV_CAT | Invoice Category | 20100827 | |||
| 6 | I_INV_TYPE | Value transfer | Type reference (TYPE) | IFW_DE_INV_TYPE | Invoice Type | 20100827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invoice type or invoice category not supported | 20100827 |
Method GET_UI_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_UI_CLASS | Call by reference | Type reference (TYPE) | IFW_S_UI_CUST | IFW UI: Customizing Classes for IFW Report | 20101028 | |||
| 2 | I_ROOT_DOC_TYPE | Value transfer | Type reference (TYPE) | CIWB_DE_ROOT_DOC_TYPE | Source Document Type | 20101028 |
Method GET_UI_CLASS on class CL_IFW_SERVICES has no exception.
Method REPLACE_TEMP_SD_KNUMV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_KOMV | Call by reference | Type reference (TYPE) | KOMV_TAB | KOMV with final KNUMV | 20101019 | |||
| 2 | IS_VBRK | Call by reference | Type reference (TYPE) | VBRK | Document header with final KNUMV | 20101019 | |||
| 3 | IS_VBRP | Call by reference | Type reference (TYPE) | VBRPVB | Billing Document: Item Data | 20101025 | |||
| 4 | IT_KOMV | Call by reference | Type reference (TYPE) | KOMV_TAB | KOMV with temporary KNUMV | 20101019 |
Method REPLACE_TEMP_SD_KNUMV on class CL_IFW_SERVICES has no exception.
Method SEARCH_FOR_CPE_QUOTATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FOUND | Value transfer | Type reference (TYPE) | XFELD | flag: quotations found | 20101213 | |||
| 2 | IS_CPE_COM | Call by reference | Type reference (TYPE) | CPET_ERP_CPEDOC_COM_OUT | CPE in ERP: Communication Structure for Doc. Formula Result | 20101213 |
Method SEARCH_FOR_CPE_QUOTATIONS on class CL_IFW_SERVICES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 606 |