SAP ABAP Class CL_EPM_PI_FACTORY (Factory Class for PI Interfaces)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-NWD (Application Component) NetWeaver Demonstration
     S_EPM_PI (Package) EPM: Process Integration
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_EPM_BO_LISTENER Abstract BO listener class 20090817
Properties
Class CL_EPM_PI_FACTORY  
Short Description Factory Class for PI Interfaces    
Super Class CL_EPM_BO_LISTENER Abstract BO listener class 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_EPM_PI   EPM: Process Integration 
Created 20090311   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 CL_EPM_PI_FACTORY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_EPM_BO Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_EPM_PO_HEADER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_EPM_PO_ITEM Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_EPM_PO_SL Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
7 IF_EPM_PRODUCT_HEADER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_EPM_PI_FACTORY has no interface implemented.
Friends
Class CL_EPM_PI_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_SENDER_MS_NET Constant Public Type reference (TYPE) EPM_PARTY_INTERNAL_ID_CONTENT 'NET' ID for Sender Party Microsoft NET 20110210
2 M_PI_HUB Static Attribute Private Object reference (TYPE REF TO) CL_EPM_PI_HUB Hub for all Sales Order PI Communication 20090311
3 M_PI_HUB_MOCKUP Static Attribute Private Object reference (TYPE REF TO) CL_EPM_PI_HUB_MOCKUP Hub for all PurchaseOrder PI Communication 20090311
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_MESSAGE Static method Public Method simple consistency check of PO message 20091019
2 CHECK_PD_AVAIL Static method Public Method Execute synchronous availibility check for producs at stock 20101117
3 CHECK_PD_AVAILABILITY Static method Public Method dot not use!!! 20100812
4 GET_PO_HUB Static method Public Method Returns Purchase Order Hub 20090311
5 GET_PO_HUB_MOCKUP Static method Public Method Returns Purchase Order Hub 20090311
6 GET_SO_HUB Static method Public Method Returns Sales Order Hub 20090311
7 GET_SO_HUB_MOCKUP Static method Public Method Returns Sales Order Hub 20090311
8 SEND_MESSAGE_SYNC Static method Public Method send sync message - workaround - do not use - to be deleted 20090313
9 SEND_PO_REQ_MESSAGE_ASYNC Static method Public Method send sync message - workaround - do not use - to be deleted 20090427
Events
Class CL_EPM_PI_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_PRODUCT_AVAILABILITY Public See coding 20100812 tt_product_availability TYPE STANDARD TABLE OF ty_product_availability WITH DEFAULT KEY
2 TT_UNIQUE_NODE_KEYS Public See coding 20101028 TT_UNIQUE_NODE_KEYS TYPE HASHED TABLE OF if_epm_bo=>ty_node_key WITH UNIQUE DEFAULT KEY
3 TY_PRODUCT_AVAILABILITY Public See coding 20100812 BEGIN OF ty_product_availability, node_key TYPE if_epm_bo=>ty_node_key, quantity TYPE if_epm_storage_bin_header=>ty_node_data-quantity , quantity_unit TYPE if_epm_storage_bin_header=>ty_node_data-quantity_unit , END OF ty_product_availability
Method Signatures

Method CHECK_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MESSAGE Call by reference Type reference (TYPE) EPM_PURCHASE_ORDER_MESSAGE Proxy Structure (generated) 20091019
2 Returning RE_SUCCESS Value transfer Type reference (TYPE) ABAP_BOOL 20100217
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20091019

Method CHECK_PD_AVAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ITEMS Call by reference Type reference (TYPE) SNWD_ITEM_AVAILABILITIES Table of PO availability data 20101122
2 Importing II_MESSAGE_BUFFER Call by reference Object reference (TYPE REF TO) IF_EPM_MESSAGE_BUFFER EPM: Message buffer interface 20101117
3 Importing IT_ITEMS Call by reference Type reference (TYPE) SNWD_ITEM_AVAILABILITIES Item tab for ATP check 20101122
4 Importing IV_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20101122
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20101118

Method CHECK_PD_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_AVAILABILITY Call by reference Type reference (TYPE) CL_EPM_PI_FACTORY=>TT_PRODUCT_AVAILABILITY Table of PO availability data 20100812
2 Exporting ET_NODE_KEY_INFO Call by reference Type reference (TYPE) IF_EPM_BO=>TT_NODE_KEY_INFO Set of node element specific operation information 20100812
3 Importing II_MESSAGE_BUFFER Call by reference Object reference (TYPE REF TO) IF_EPM_MESSAGE_BUFFER EPM: Message buffer interface 20100812
4 Importing IT_PRODUCT_KEYS Call by reference Type reference (TYPE) IF_EPM_BO=>TT_NODE_KEYS Set of generic node element keys 20100812
# Exception Resumable Description Created on
1 CX_EPM_API_EXCEPTION EPM: API exception class 20100812
2 CX_EPM_SYSTEM_EXCEPTION EPM: System exception class 20100812

Method GET_PO_HUB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_PO_HUB Value transfer Object reference (TYPE REF TO) IF_EPM_PI_PO_HUB Hub for all PurchaseOrder PI Communication 20090311
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20090311

Method GET_PO_HUB_MOCKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_PO_HUB Value transfer Object reference (TYPE REF TO) IF_EPM_PI_PO_HUB Hub for all PurchaseOrder PI Communication 20090311
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20090311

Method GET_SO_HUB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_SO_HUB Value transfer Object reference (TYPE REF TO) IF_EPM_PI_SO_HUB Hub for all Sales Order PI Communication 20090311
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20090311

Method GET_SO_HUB_MOCKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_SO_HUB Value transfer Object reference (TYPE REF TO) IF_EPM_PI_SO_HUB Hub for all Sales Order PI Communication 20090311
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20090311

Method SEND_MESSAGE_SYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_HEADER Call by reference Type reference (TYPE) IF_EPM_PO_HEADER=>TT_NODE_DATA Table of PO headers 20090313
2 Importing IT_ITEM Call by reference Type reference (TYPE) IF_EPM_PO_ITEM=>TT_NODE_DATA Set of item node element data 20090313
3 Importing IT_SCHEDULE_LINE Call by reference Type reference (TYPE) IF_EPM_PO_SL=>TT_NODE_DATA Set of schedule line node element data 20090313
4 Returning RV_CONFIRMATION Value transfer Type reference (TYPE) EPM_PURCHASE_ORDER_CONFIRMATIO PurchaseOrderConfirmation Message Type 20090506

Method SEND_MESSAGE_SYNC on class CL_EPM_PI_FACTORY has no exception.

Method SEND_PO_REQ_MESSAGE_ASYNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_HEADER Call by reference Type reference (TYPE) IF_EPM_PO_HEADER=>TT_NODE_DATA Table of PO headers 20090427
2 Importing IT_ITEM Call by reference Type reference (TYPE) IF_EPM_PO_ITEM=>TT_NODE_DATA Set of item node element data 20090427
3 Importing IT_SCHEDULE_LINE Call by reference Type reference (TYPE) IF_EPM_PO_SL=>TT_NODE_DATA Set of schedule line node element data 20090427
4 Importing IV_TEST Call by reference Type reference (TYPE) ABAP_BOOL 20090427
# Exception Resumable Description Created on
1 CX_EPM_COMPONENT_EXCEPTION EPM: Component exception class 20090427
History
Last changed by/on SAP  20130531 
SAP Release Created in 720