Hierarchy
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_IVE_INVOICECRTRQ1_MAP_PP | Data preparation for call of fm MRM_INVOICE_CREATE | 20110720 |
Properties
| Class | CL_IVE_B2B_PREPROCESSOR_ABSTR | |
| Short Description | Data preparation for B2B inbound (abstract base class) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | OPS_SE_IV | Service Enabling for Invoice Verification |
| Created | 20110612 | 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) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_IVE_B2B_PREPROCESSOR_ABSTR has no interface implemented.
Friends
Class CL_IVE_B2B_PREPROCESSOR_ABSTR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20110704 | ||||
| 2 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20110704 | ||||
| 3 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20110704 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_OPS_SE_PROT | Prot | 20110612 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Abstract - BADI: Determination of PO number / item | 20110612 | |
| 2 | Instance method | Private | Method | Check for double PO items | 20110616 | |
| 3 | Instance method | Private | Method | Check if itemdata is consistent | 20110612 | |
| 4 | Instance method | Private | Method | Check if mandatory headerdata is filled | 20110612 | |
| 5 | Instance method | Private | Method | Chekc if mandatory itemdata is filled | 20110612 | |
| 6 | Instance method | Private | Method | Complete document data | 20110612 | |
| 7 | Instance method | Private | Method | Complete item data | 20110612 | |
| 8 | Instance method | Private | Method | Complete Item | 20110715 | |
| 9 | Instance method | Public | Constructor | Constructor | 20110612 | |
| 10 | Instance method | Private | Method | Assignment step for non-GR-based Invoice Verificiation | 20110612 | |
| 11 | Instance method | Private | Method | Assignment step for GR-based Invoice Verficiation | 20110612 | |
| 12 | Instance method | Private | Method | Enrich invoice item data with EKPO data | 20110612 | |
| 13 | Instance method | Private | Method | Determine Purchase Order from Delivery Note | 20110612 | |
| 14 | Instance method | Private | Method | Goods Receipt assignment | 20110616 | |
| 15 | Instance method | Private | Method | Cancel processing of current item and go to next item | 20110612 | |
| 16 | Instance method | Private | Method | Prefetch for PO data | 20110612 | |
| 17 | Instance method | Private | Method | Prepare processing (read customizing; prefetch) | 20110612 | |
| 18 | Instance method | Public | Method | Process input | 20110612 | |
| 19 | Instance method | Private | Method | Process single invoice item | 20110612 | |
| 20 | Instance method | Private | Method | Process all invoice items | 20110612 | |
| 21 | Static method | Private | Method | Fatal Error, immediat interupt | 20110612 | |
| 22 | Instance method | Private | Method | Read PO data | 20110612 | |
| 23 | Instance method | Private | Method | Read customizing table T076S | 20110612 |
Events
Class CL_IVE_B2B_PREPROCESSOR_ABSTR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_S_SUBITEMDATA | Private | See coding | 20110612 | BEGIN OF lty_s_subitemdata,
ebeln TYPE ek08r-ebeln,
ebelp TYPE ek08r-ebelp,
restkey(20) TYPE c,
lfbnr TYPE ek08r-lfbnr,
lfgja TYPE ek08r-lfgja,
lfpos TYPE ek08r-lfpos,
packno TYPE ek08rn-packno,
introw TYPE ek08rn-introw,
zekkn TYPE ek08r-zekkn,
menge TYPE ek08r-menge,
menge_f TYPE ek08r-wemng_f, "MAA EhP4
wrbtr TYPE ek08r-wrbtr,
END OF lty_s_subitemdata
|
||
| 2 | LTY_T_SUBITEMDATA | Private | See coding | 20110612 | lty_t_subitemdata TYPE STANDARD TABLE OF lty_s_subitemdata
|
Method Signatures
Method CALL_BADI_PO_DETERMINATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CHANGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110612 | ||||
| 2 | EV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20110612 | |||
| 3 | EV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20110612 | |||
| 4 | EV_LFSNR | Call by reference | Type reference (TYPE) | LFSNR1 | Number of External Delivery Note | 20110612 | |||
| 5 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 | ||||
| 6 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error in BAdI Processing in Proxy | 20110614 |
Method CHECK_DOUBLE_PO_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | 20110622 | ||||
| 2 | IT_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method CHECK_ITEM_CONSISTENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Header | 20110612 | |||
| 2 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110612 | |||
| 3 | IS_T076S | Call by reference | Type reference (TYPE) | T076S | EDI-INVOIC: Program Parameters | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method CHECK_MANDATORY_HEADERDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Temporarily tolerable error | 20110612 |
Method CHECK_MANDATORY_ITEMDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method COMPLETE_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_HEADER_OUT | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 | ||||
| 2 | CT_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 | ||||
| 3 | EV_PYMT_TERMS_FIX | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110614 | ||||
| 4 | IS_T076S | Call by reference | Type reference (TYPE) | T076S | EDI-INVOIC: Program Parameters | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal Error | 20110612 |
Method COMPLETE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ITEM_OUT | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | 20110622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal Error | 20110612 |
Method COMPLETE_ITEM_WEBRE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ITEM_OUT | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110715 | |||
| 2 | IS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20110715 | |||
| 3 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110715 |
Method COMPLETE_ITEM_WEBRE on class CL_IVE_B2B_PREPROCESSOR_ABSTR has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROT | Call by reference | Object reference (TYPE REF TO) | CL_OPS_SE_PROT | Prot | 20110612 |
Method CONSTRUCTOR on class CL_IVE_B2B_PREPROCESSOR_ABSTR has no exception.
Method DO_ASSIGNMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 | ||||
| 2 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal Error | 20110612 | ||
| 2 | 20110727 |
Method DO_ASSIGNMENT_WEBRE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 | ||||
| 2 | IS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20110612 | |||
| 3 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 | ||||
| 4 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal Error | 20110612 | ||
| 2 | 20110727 |
Method FILL_FROM_EKPO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ITEM_OUT | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | 20110622 | ||||
| 2 | IS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20110621 |
Method FILL_FROM_EKPO on class CL_IVE_B2B_PREPROCESSOR_ABSTR has no exception.
Method GET_PO_FROM_DELIVERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110612 | |||
| 2 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method GR_ASSIGN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SUBITEMDATA | Call by reference | Type reference (TYPE) | MMCR_T_SUBITEMDATA | 20110810 | ||||
| 2 | IS_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20110616 | |||
| 3 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | 20110622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method NEXT_ITEM Signature
Method NEXT_ITEM on class CL_IVE_B2B_PREPROCESSOR_ABSTR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method PREFETCH_PO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITEMS | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | Incoming Invoice: Item information (table) | 20110612 |
Method PREFETCH_PO_DATA on class CL_IVE_B2B_PREPROCESSOR_ABSTR has no exception.
Method PREPARE_PROCESSING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_T076S | Call by reference | Type reference (TYPE) | T076S | EDI-INVOIC: Program Parameters | 20110612 | |||
| 2 | IS_CTRL | Call by reference | Type reference (TYPE) | IVE_S_CTRL | EDI: Assign Name in the Invoice <-> Company Code | 20110712 | |||
| 3 | IT_ITEMS | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | Incoming Invoice: Item information (table) | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal Error | 20110612 |
Method PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 | ||||
| 2 | ET_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 | ||||
| 3 | EV_POSKORR | Call by reference | Type reference (TYPE) | MRMKORR | EDI: Indicator for Automatic Correction | 20110612 | |||
| 4 | EV_PYMT_TERMS_FIX | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110614 | ||||
| 5 | IS_CTRL | Call by reference | Type reference (TYPE) | IVE_S_CTRL | EDI: Conversion of External Tax Rate <-> Tax Code | 20110712 | |||
| 6 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | Incoming Invoice: Header information | 20110612 | |||
| 7 | IT_ITEMS | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | Incoming Invoice: Item information (table) | 20110612 | |||
| 8 | IT_TAX | Call by reference | Type reference (TYPE) | IVE_T_INCINV_TAX | Incoming Invoice: Tax information (table) | 20110620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with Message Data | 20110612 |
Method PROCESS_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 | ||||
| 2 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 | ||||
| 3 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information (table) | 20110612 | |||
| 4 | IS_T076S | Call by reference | Type reference (TYPE) | T076S | EDI-INVOIC: Program Parameters | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal Error | 20110612 | ||
| 2 | 20110727 |
Method PROCESS_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS_OUT | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | 20110622 | ||||
| 2 | IS_HEADER | Call by reference | Type reference (TYPE) | IVE_S_INCINV_HEADER | 20110622 | ||||
| 3 | IS_T076S | Call by reference | Type reference (TYPE) | T076S | EDI-INVOIC: Program Parameters | 20110612 | |||
| 4 | IT_ITEMS | Call by reference | Type reference (TYPE) | IVE_T_INCINV_ITEM | Incoming Invoice: Item information (table) | 20110620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with Message Data | 20110612 |
Method RAISE_FATAL_ERROR 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 | 20110621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with Message Data | 20110612 |
Method READ_PO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_EKPO | Call by reference | Type reference (TYPE) | EKPO | Purchasing Document Item | 20110612 | |||
| 2 | IS_ITEM | Call by reference | Type reference (TYPE) | IVE_S_INCINV_ITEM | Incoming Invoice: Item information | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110727 |
Method READ_T076S Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CTRL | Call by reference | Type reference (TYPE) | IVE_S_CTRL | EDI: Assign Name in the Invoice <-> Company Code | 20110712 | |||
| 2 | RS_T076S | Value transfer | Type reference (TYPE) | T076S | EDI-INVOIC: Program Parameters | 20110612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with Message Data | 20110612 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 606 |