SAP ABAP Class CL_IVE_B2B_PREPROCESSOR_ABSTR (Data preparation for B2B inbound (abstract base class))
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-IV-GF-ES (Application Component) Enterprise Services in Invoice Verification
     OPS_SE_IV (Package) Service Enabling for Invoice Verification
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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 MMCR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 MRM 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 GV_NODE_PO_ITEM Instance attribute Protected Type reference (TYPE) STRING 20110704
2 GV_NODE_PO_NUMBER Instance attribute Protected Type reference (TYPE) STRING 20110704
3 GV_NODE_QUANTITY Instance attribute Protected Type reference (TYPE) STRING 20110704
4 MO_PROT Instance attribute Private Object reference (TYPE REF TO) CL_OPS_SE_PROT Prot 20110612
Methods
# Method Level Visibility Method type Description Created on
1 CALL_BADI_PO_DETERMINATION Instance method Protected Method Abstract - BADI: Determination of PO number / item 20110612
2 CHECK_DOUBLE_PO_ITEM Instance method Private Method Check for double PO items 20110616
3 CHECK_ITEM_CONSISTENCY Instance method Private Method Check if itemdata is consistent 20110612
4 CHECK_MANDATORY_HEADERDATA Instance method Private Method Check if mandatory headerdata is filled 20110612
5 CHECK_MANDATORY_ITEMDATA Instance method Private Method Chekc if mandatory itemdata is filled 20110612
6 COMPLETE_DOCUMENT Instance method Private Method Complete document data 20110612
7 COMPLETE_ITEM Instance method Private Method Complete item data 20110612
8 COMPLETE_ITEM_WEBRE Instance method Private Method Complete Item 20110715
9 CONSTRUCTOR Instance method Public Constructor Constructor 20110612
10 DO_ASSIGNMENT Instance method Private Method Assignment step for non-GR-based Invoice Verificiation 20110612
11 DO_ASSIGNMENT_WEBRE Instance method Private Method Assignment step for GR-based Invoice Verficiation 20110612
12 FILL_FROM_EKPO Instance method Private Method Enrich invoice item data with EKPO data 20110612
13 GET_PO_FROM_DELIVERY Instance method Private Method Determine Purchase Order from Delivery Note 20110612
14 GR_ASSIGN Instance method Private Method Goods Receipt assignment 20110616
15 NEXT_ITEM Instance method Private Method Cancel processing of current item and go to next item 20110612
16 PREFETCH_PO_DATA Instance method Private Method Prefetch for PO data 20110612
17 PREPARE_PROCESSING Instance method Private Method Prepare processing (read customizing; prefetch) 20110612
18 PROCESS Instance method Public Method Process input 20110612
19 PROCESS_ITEM Instance method Private Method Process single invoice item 20110612
20 PROCESS_ITEMS Instance method Private Method Process all invoice items 20110612
21 RAISE_FATAL_ERROR Static method Private Method Fatal Error, immediat interupt 20110612
22 READ_PO_DATA Instance method Private Method Read PO data 20110612
23 READ_T076S 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 Exporting EV_CHANGE Call by reference Type reference (TYPE) ABAP_BOOL 20110612
2 Exporting EV_EBELN Call by reference Type reference (TYPE) EBELN Purchasing Document Number 20110612
3 Exporting EV_EBELP Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20110612
4 Exporting EV_LFSNR Call by reference Type reference (TYPE) LFSNR1 Number of External Delivery Note 20110612
5 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
6 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110612
# Exception Resumable Description Created on
1 CX_APPL_PROXY_BADI_PROCESSING 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 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM 20110622
2 Importing IT_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method CHECK_ITEM_CONSISTENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EKPO Call by reference Type reference (TYPE) EKPO Purchasing Document Header 20110612
2 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110612
3 Importing IS_T076S Call by reference Type reference (TYPE) T076S EDI-INVOIC: Program Parameters 20110612
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method CHECK_MANDATORY_HEADERDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Temporarily tolerable error 20110612

Method CHECK_MANDATORY_ITEMDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110612
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method COMPLETE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_HEADER_OUT Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
2 Changing CT_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
3 Exporting EV_PYMT_TERMS_FIX Call by reference Type reference (TYPE) ABAP_BOOL 20110614
4 Importing IS_T076S Call by reference Type reference (TYPE) T076S EDI-INVOIC: Program Parameters 20110612
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Fatal Error 20110612

Method COMPLETE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ITEM_OUT Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM 20110622
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Fatal Error 20110612

Method COMPLETE_ITEM_WEBRE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ITEM_OUT Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110715
2 Importing IS_EKPO Call by reference Type reference (TYPE) EKPO Purchasing Document Item 20110715
3 Importing 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 Importing 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 Changing CT_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
2 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110620
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Fatal Error 20110612
2 CX_IVE_ITEM_PROC_ERROR 20110727

Method DO_ASSIGNMENT_WEBRE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
2 Importing IS_EKPO Call by reference Type reference (TYPE) EKPO Purchasing Document Item 20110612
3 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
4 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110621
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Fatal Error 20110612
2 CX_IVE_ITEM_PROC_ERROR 20110727

Method FILL_FROM_EKPO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ITEM_OUT Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM 20110622
2 Importing 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 Changing CS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110612
2 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method GR_ASSIGN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SUBITEMDATA Call by reference Type reference (TYPE) MMCR_T_SUBITEMDATA 20110810
2 Importing IS_EKPO Call by reference Type reference (TYPE) EKPO Purchasing Document Item 20110616
3 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM 20110622
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method NEXT_ITEM Signature

Method NEXT_ITEM on class CL_IVE_B2B_PREPROCESSOR_ABSTR has no parameter.
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method PREFETCH_PO_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Exporting ES_T076S Call by reference Type reference (TYPE) T076S EDI-INVOIC: Program Parameters 20110612
2 Importing IS_CTRL Call by reference Type reference (TYPE) IVE_S_CTRL EDI: Assign Name in the Invoice <-> Company Code 20110712
3 Importing IT_ITEMS Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM Incoming Invoice: Item information (table) 20110612
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Fatal Error 20110612

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
2 Exporting ET_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
3 Exporting EV_POSKORR Call by reference Type reference (TYPE) MRMKORR EDI: Indicator for Automatic Correction 20110612
4 Exporting EV_PYMT_TERMS_FIX Call by reference Type reference (TYPE) ABAP_BOOL 20110614
5 Importing IS_CTRL Call by reference Type reference (TYPE) IVE_S_CTRL EDI: Conversion of External Tax Rate <-> Tax Code 20110712
6 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER Incoming Invoice: Header information 20110612
7 Importing IT_ITEMS Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM Incoming Invoice: Item information (table) 20110612
8 Importing IT_TAX Call by reference Type reference (TYPE) IVE_T_INCINV_TAX Incoming Invoice: Tax information (table) 20110620
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Exception with Message Data 20110612

Method PROCESS_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
2 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
3 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information (table) 20110612
4 Importing IS_T076S Call by reference Type reference (TYPE) T076S EDI-INVOIC: Program Parameters 20110612
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Fatal Error 20110612
2 CX_IVE_ITEM_PROC_ERROR 20110727

Method PROCESS_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ITEMS_OUT Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM 20110622
2 Importing IS_HEADER Call by reference Type reference (TYPE) IVE_S_INCINV_HEADER 20110622
3 Importing IS_T076S Call by reference Type reference (TYPE) T076S EDI-INVOIC: Program Parameters 20110612
4 Importing IT_ITEMS Call by reference Type reference (TYPE) IVE_T_INCINV_ITEM Incoming Invoice: Item information (table) 20110620
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR 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 Importing 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 CX_IVE_FATAL_ERROR 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 Exporting ES_EKPO Call by reference Type reference (TYPE) EKPO Purchasing Document Item 20110612
2 Importing IS_ITEM Call by reference Type reference (TYPE) IVE_S_INCINV_ITEM Incoming Invoice: Item information 20110612
# Exception Resumable Description Created on
1 CX_IVE_ITEM_PROC_ERROR 20110727

Method READ_T076S Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CTRL Call by reference Type reference (TYPE) IVE_S_CTRL EDI: Assign Name in the Invoice <-> Company Code 20110712
2 Returning RS_T076S Value transfer Type reference (TYPE) T076S EDI-INVOIC: Program Parameters 20110612
# Exception Resumable Description Created on
1 CX_IVE_FATAL_ERROR Exception with Message Data 20110612
History
Last changed by/on SAP  20130531 
SAP Release Created in 606