SAP ABAP Class CL_CMM_INV_ANTICIPATION_MM (Final Invoice Anticipation in Materials Management.)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-CMM (Application Component) Commodity Management in Logistics
⤷
LOG_CMM_MM (Package) Material Management enhancements for Commodity Management
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CMM_INV_ANTICIPATION_MM | Anticipated invoice calculation in material management | 20121022 |
Properties
| Class | CL_CMM_INV_ANTICIPATION_MM | |
| Short Description | Final Invoice Anticipation in Materials Management. | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | LOG_CMM_MM | Material Management enhancements for Commodity Management |
| Created | 20120726 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CMM_INV_ANTICIPATION_MM | Anticipated invoice calculation in material management | 20121022 |
Friends
Class CL_CMM_INV_ANTICIPATION_MM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_CMM_MM_DB_ACCESS | Period-end valuation: Utility class for db access | 20120921 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_CMM_IDX_UTIL | Index: Utilities | 20121010 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_CMM_PRICING_CALL | Pricing call | 20130211 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | KNUMV | Pricing Communications-Condition Record | 20121129 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | KPOSN | Condition item number | 20121129 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CMM_LOG | Commodity Management: Message log | 20120920 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | CMM_S_OBJ_K | Commodity Management: Object key (without Client) | 20121129 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | CMM_T_INV_ANTCP_IMP | 20121008 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | BLART | Document Type | 20120924 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | DATUM | Date | 20121025 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | KURST | Exchange Rate Type | 20120924 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | X_FXR_RATEX | Indicator: Market Data Exchange Rate | 20120924 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Anticipate item amount | 20120921 | |
| 2 | Instance method | Public | Method | 20120726 | ||
| 3 | Instance method | Private | Method | Derive quantity | 20130211 | |
| 4 | Instance method | Private | Method | Prior item check | 20121010 | |
| 5 | Instance method | Private | Method | Dervice Condition Number and Condition Item Number | 20130304 | |
| 6 | Instance method | Private | Method | Check purchase order document | 20121010 | |
| 7 | Static method | Public | Constructor | Constructor | 20121010 | |
| 8 | Instance method | Private | Method | Complete anticipated item | 20121113 | |
| 9 | Instance method | Public | Constructor | Constructor | 20120925 | |
| 10 | Instance method | Private | Method | Check currency | 20121017 | |
| 11 | Instance method | Private | Method | Read purchase order history data | 20120921 | |
| 12 | Static method | Public | Method | Check KNUMV is a temporary number | 20121029 | |
| 13 | Instance method | Private | Method | Cancel processing of current item and go to next item | 20120921 | |
| 14 | Instance method | Private | Method | Prefetch purchase order data | 20120920 | |
| 15 | Static method | Private | Method | Prefetch purchase order data | 20120920 | |
| 16 | Static method | Private | Method | Prefetch purchase order history data | 20120920 | |
| 17 | Instance method | Private | Method | Prepare anticipated item | 20121113 | |
| 18 | Instance method | Private | Method | General check | 20120920 | |
| 19 | Instance method | Private | Method | Process item | 20120921 | |
| 20 | Instance method | Private | Method | Read purchase order from buffer | 20120921 | |
| 21 | Instance method | Private | Method | Set attributes | 20120926 | |
| 22 | Instance method | Private | Method | Set index object key | 20130304 | |
| 23 | Instance method | Private | Method | Set valuation Date | 20121026 |
Events
Class CL_CMM_INV_ANTICIPATION_MM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_T_EKBE_KEY | Private | Type reference (TYPE) | MMPUR_T_PURDOC_ITEM_KEY | 20120920 | |
|
| 2 | LTY_T_EKKO_KEY | Private | Type reference (TYPE) | CMM_T_INV_ANTCP_EKKO_KEY | 20120920 | |
|
| 3 | LTY_T_EKPO_KEY | Private | Type reference (TYPE) | MMPUR_T_PURDOC_ITEM_KEY | 20120920 | |
Method Signatures
Method ANTICIPATE_AMOUNT 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_TTY | Table Type: Pricing communications-condition record | 20120921 | |||
| 2 | EV_KNUMV_OLD | Call by reference | Type reference (TYPE) | KNUMV | Number of the document condition | 20130304 | |||
| 3 | EV_KPOSN_OLD | Call by reference | Type reference (TYPE) | KPOSN | Number of the document condition | 20130304 | |||
| 4 | EV_NETWR | Call by reference | Type reference (TYPE) | NETWR | Net Value in Document Currency | 20120921 | |||
| 5 | IS_XEK08RN | Call by reference | Type reference (TYPE) | EK08RN | PO Item Data for Invoice Verification (New) | 20120921 | |||
| 6 | IV_BPMNG | Call by reference | Type reference (TYPE) | BPMNG | Quantity in Purchase Order Price Unit | 20120921 | |||
| 7 | IV_CC_WAERS | Call by reference | Type reference (TYPE) | WAERS | Currency Key | 20120921 | |||
| 8 | IV_KNUMV_IMP | Call by reference | Type reference (TYPE) | KNUMV | Number of the document condition | 20121031 | |||
| 9 | IV_KPOSN_IMP | Call by reference | Type reference (TYPE) | KPOSN | Material document item number | 20121008 | |||
| 10 | IV_KURSF | Call by reference | Type reference (TYPE) | KURSF | Exchange rate | 20120921 | |||
| 11 | IV_KURST | Call by reference | Type reference (TYPE) | KURST | Exchange Rate Type | 20120921 | |||
| 12 | IV_PO_WAERS | Call by reference | Type reference (TYPE) | WAERS | Currency Key | 20120921 | |||
| 13 | IV_VAL_DATE | Call by reference | Type reference (TYPE) | DATUM | 20121025 | ||||
| 14 | IV_WWERT | Call by reference | Type reference (TYPE) | WWERT_D | Translation Date | 20120921 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120921 |
Method CALCULATE Signature
Method CALCULATE on class CL_CMM_INV_ANTICIPATION_MM has no parameter.
Method CALCULATE on class CL_CMM_INV_ANTICIPATION_MM has no exception.
Method CALCULATE_QUANTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_XEK08RN | Call by reference | Type reference (TYPE) | EK08RN | PO Item Data for Invoice Verification (New) | 20130211 | |||
| 2 | EV_BPMNG | Call by reference | Type reference (TYPE) | BPMNG | Quantity in Purchase Order Price Unit | 20130211 | |||
| 3 | EV_MENGE | Call by reference | Type reference (TYPE) | MENGE_D | Quantity | 20130211 | |||
| 4 | IT_XEK08RN | Call by reference | Type reference (TYPE) | EK08RN_T | PO Item Data for Invoice Verification (New) | 20130211 | |||
| 5 | IV_KEY_DATE | Call by reference | Type reference (TYPE) | DATUM | Key Date | 20130211 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20130211 |
Method CHECK_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | Importing data for final invoice anticipation | 20121010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20121010 |
Method CHECK_KNUMV_KPOSN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KNUMV_IMP | Call by reference | Type reference (TYPE) | KNUMV | Number of the document condition | 20130304 | |||
| 2 | EV_KPOSN_IMP | Call by reference | Type reference (TYPE) | KPOSN | Condition item number | 20130304 | |||
| 3 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | Importing data for final invoice anticipation | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20130304 |
Method CHECK_PO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EKKO | Call by reference | Type reference (TYPE) | EKKO | Purchasing Document Header | 20121010 | |||
| 2 | IS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20121010 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20121010 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_CMM_INV_ANTICIPATION_MM has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CMM_INV_ANTICIPATION_MM has no exception.
Method COMPLETE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_INV_ANTCP_ITM | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_ITM_RESULT | Anticipated item | 20130304 | |||
| 2 | IS_XEK08RN | Call by reference | Type reference (TYPE) | EK08RN | PO Item data for invoice verification (New) | 20121113 | |||
| 3 | IT_KOMV | Call by reference | Type reference (TYPE) | KOMV_TTY | Table type: Pricing communications-condition record | 20121113 | |||
| 4 | IV_BPMNG | Call by reference | Type reference (TYPE) | BPMNG | Quantity in purchase order price unit | 20121113 | |||
| 5 | IV_KNUMV_OLD | Call by reference | Type reference (TYPE) | KNUMV | Condition item number | 20130304 | |||
| 6 | IV_KNUMV_TARGET | Call by reference | Type reference (TYPE) | KNUMV | Number of the document condition | 20131023 | |||
| 7 | IV_KPOSN_OLD | Call by reference | Type reference (TYPE) | KPOSN | Condition item number | 20130304 | |||
| 8 | IV_KPOSN_TARGET | Call by reference | Type reference (TYPE) | KPOSN | Number of the document condition | 20131023 | |||
| 9 | IV_KUFIX | Call by reference | Type reference (TYPE) | KUFIX | Indicator: Fixing of Exchange Rate | 20130422 | |||
| 10 | IV_KURSF | Call by reference | Type reference (TYPE) | KURSF | Exchange rate | 20130304 | |||
| 11 | IV_KURST | Call by reference | Type reference (TYPE) | KURST_003 | Exch.Rate Type for Determining the Proposed Rate | 20130304 | |||
| 12 | IV_LIFNR | Call by reference | Type reference (TYPE) | ELIFN | Vendor Account Number | 20121113 | |||
| 13 | IV_MENGE | Call by reference | Type reference (TYPE) | MENGE_D | Quantity | 20121113 | |||
| 14 | IV_NETWR | Call by reference | Type reference (TYPE) | NETWR | Net value in document currency | 20121113 | |||
| 15 | IV_WWERT | Call by reference | Type reference (TYPE) | WWERT_D | Translation Date | 20130304 |
Method COMPLETE_ITEM on class CL_CMM_INV_ANTICIPATION_MM has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_CMM_INV_ANTICIPATION_MM has no parameter.
Method CONSTRUCTOR on class CL_CMM_INV_ANTICIPATION_MM has no exception.
Method DERIVE_TRANSLATION_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KURSF | Call by reference | Type reference (TYPE) | KURSF | Exchange rate | 20130417 | |||
| 2 | EV_WWERT | Call by reference | Type reference (TYPE) | WWERT_D | Translation Date | 20130417 | |||
| 3 | IS_EKKO | Call by reference | Type reference (TYPE) | EKKO | Purchasing Document Header | 20121017 | |||
| 4 | IV_VAL_DATE | Call by reference | Type reference (TYPE) | DATUM | 20130130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20121017 |
Method GET_INV_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_XEK08RN | Call by reference | Type reference (TYPE) | EK08RN_T | PO Item Data for Invoice Verification (New) | 20121107 | |||
| 2 | IS_EKKO | Call by reference | Type reference (TYPE) | EKKO | Purchasing Document Header | 20121001 | |||
| 3 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | 20121008 | ||||
| 4 | IV_WWERT | Call by reference | Type reference (TYPE) | WWERT_D | Translation Date | 20120921 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120921 |
Method IS_TEMPORARY_KNUMV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_KNUMV | Call by reference | Type reference (TYPE) | KNUMV | Number of the document condition | 20121029 | |||
| 2 | RV_TEMPORARY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121029 |
Method IS_TEMPORARY_KNUMV on class CL_CMM_INV_ANTICIPATION_MM has no exception.
Method NEXT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PREVIOUS | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20130304 | |||
| 2 | IV_FROM_PREVIOUS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120921 |
Method PREFETCH_DATA Signature
Method PREFETCH_DATA on class CL_CMM_INV_ANTICIPATION_MM has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120920 |
Method PREFETCH_PO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EKKO_KEYS | Call by reference | Type reference (TYPE) | LTY_T_EKKO_KEY | Table Type for PO Key - EBELN | 20120924 | |||
| 2 | IT_EKPO_KEYS | Call by reference | Type reference (TYPE) | LTY_T_EKPO_KEY | Table Type for PO Keys - EBELN EBELP | 20120924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120925 |
Method PREFETCH_PO_HISTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EKBE_KEYS | Call by reference | Type reference (TYPE) | LTY_T_EKBE_KEY | Table Type for Array Fetch: Table EKBE | 20120925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120925 |
Method PREPARE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_INV_ANTCP_ITM | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_ITM_RESULT | Anticipated item | 20121113 | |||
| 2 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | 20121113 |
Method PREPARE_ITEM on class CL_CMM_INV_ANTICIPATION_MM has no exception.
Method PRIOR_CHECKS Signature
Method PRIOR_CHECKS on class CL_CMM_INV_ANTICIPATION_MM has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120920 |
Method PROCESS_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_INV_ANTCP_ITM | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_ITM_RESULT | Anticipated invoice item result in material management | 20120921 | |||
| 2 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | 20121008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120921 |
Method READ_PO_FROM_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_EKKO | Call by reference | Type reference (TYPE) | EKKO | Purchasing Document Header | 20121001 | |||
| 2 | CS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20121001 | |||
| 3 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20120921 | |||
| 4 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20120921 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20120921 |
Method SET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_T_INV_ANTCP_IMP | Position item | 20121008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20121001 |
Method SET_OBJECT_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Commodity Management: Error in invoice anticipation | 20130304 |
Method SET_VALUATION_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | Importing data for final invoice anticipation | 20121026 | |||
| 2 | IS_INV_ANTCP_IMP | Call by reference | Type reference (TYPE) | CMM_S_INV_ANTCP_IMP | Importing data for final invoice anticipation | 20121026 |
Method SET_VALUATION_DATE on class CL_CMM_INV_ANTICIPATION_MM has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 617 |