SAP ABAP Class TC_ECH_PPO_INTEGRATION (Basis Class for Unit Tests for ECH/PPO Integration)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-FS-ECH (Application Component) Error and Conflict Handler
     FS_ECH_PPO_ADAPTER (Package) Connection to the Postprocessing Office
Properties
Class TC_ECH_PPO_INTEGRATION  
Short Description Basis Class for Unit Tests for ECH/PPO Integration    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status T  Test Program 
Category 5   
Package FS_ECH_PPO_ADAPTER   Connection to the Postprocessing Office 
Created 20100707   SAP 
Last change 20110908   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 TC_ECH_PPO_INTEGRATION Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class TC_ECH_PPO_INTEGRATION has no interface implemented.
Friends
Class TC_ECH_PPO_INTEGRATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ACTION_CLASS_DEFAULT Constant Protected Type reference (TYPE) SEOCLSNAME 'TD_ECH_ACTION_MOCK' Object Type Name 20100708
2 C_ECH_PPO_MAPPING Constant Protected See coding 20100714
3 C_ECH_PROCESS Constant Protected See coding 20100714
4 C_PPO_PROCESS Constant Protected See coding 20100714
5 LAST_TRX_END Static Attribute Private Type reference (TYPE) TRANS_END Type of Transaction End: COMMIT or ROLLBACK 20100714
6 MO_PROCESS_CONTEXT Instance attribute Private Object reference (TYPE REF TO) LCL_PROCESS_CONTEXT 20100708
7 MT_ERROR_OBJECT_ID Instance attribute Private Type reference (TYPE) TY_T_ERROR_OBJECT_ID Error Object ID / Postprocessing Order 20100708
8 NUMBER_OF_COMMIT_WORKS Static Attribute Private Type reference (TYPE) I 20100714
9 NUMBER_OF_ROLLBACKS Static Attribute Private Type reference (TYPE) I 20100714
Methods
# Method Level Visibility Method type Description Created on
1 ASSERT_FALSE Instance method Protected Method 20100707
2 ASSERT_LAST_TRANSACTION_END Instance method Protected Method 20100714
3 ASSERT_NUMBER_OF_COMMIT_WORKS Instance method Protected Method 20100714
4 ASSERT_NUMBER_OF_ROLLBACKS Instance method Protected Method 20100714
5 ASSERT_ORDERS_LOCK Instance method Protected Method 20100709
6 ASSERT_TRUE Instance method Protected Method 20100707
7 CHECK_CLASS_IMPLEMENTS_IF Instance method Private Method Check Whether Class Implements an Interface 20100707
8 CLEANUP_ECH_DB Instance method Protected Method 20100708
9 CLEANUP_ECH_PPO_DB Instance method Protected Method 20100708
10 CLEANUP_PPO_DB Instance method Protected Method 20100708
11 CLEANUP_TEST_CUSTOMIZING Instance method Protected Method Delete ECH and PPO Customizing for the Unit Test 20100708
12 CREATE_PPORDERS_FRM_BULK_MSG Instance method Protected Method Create PPO Orders Using ECH Error Processing 20100708
13 CREATE_PPORDER_FRM_SINGLE_MSG Instance method Protected Method Create a PPO Order Using ECH Error Processing 20100708
14 CREATE_TEST_CUSTOMIZING Instance method Protected Method Create ECH and PPO Customizing for the Unit Test 20100707
15 DEQUEUE_PP_ORDERS_XCLUSIVELY Instance method Protected Method 20100709
16 ENQUEUE_PP_ORDERS_XCLUSIVELY Instance method Protected Method 20100709
17 GET_COLLECTION_IDS Instance method Protected Method Gets Coll. IDs of all Payloads and PPO Orders Created so Far 20100708
18 GET_ERROR_OBJECT_IDS Instance method Protected Method Gets IDs of all Payloads and PPO Orders Created so Far 20100708
19 GET_PP_ORDER_HEADER Instance method Protected Method 20100708
20 ON_TRANSACTION_FINISHED Static method Private Event handling method 20100708
21 RESET_TRANSACTION Instance method Protected Method 20100708
22 SETUP Instance method Private Method 20100708
23 TEARDOWN Instance method Private Method 20100707
Events
Class TC_ECH_PPO_INTEGRATION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_ECH_PPO_MAPPING Public See coding 20100708 begin of ty_s_ech_ppo_mapping, client type mandt, component type ech_dte_component, process type ech_dte_process, pp_component type ech_dte_post_processor_cmpnt, pp_process type ech_dte_post_processor_process, end of ty_s_ech_ppo_mapping
2 TY_S_ECH_PROCESS Public See coding 20100708 begin of ty_s_ech_process, client type mandt, component type ech_dte_component, process type ech_dte_process, action_class type ech_dte_action_class, persistency type ech_dte_persistency, notification_cls type ech_dte_notification_class, end of ty_s_ech_process
3 TY_S_PPO_COMPONENT Public See coding 20100708 begin of ty_s_ppo_component. include type /sappo/c_cmpnt. types end of ty_s_ppo_component
4 TY_S_PPO_PROCESS Public See coding 20100708 begin of ty_s_ppo_process. include type /sappo/c_bproc. types end of ty_s_ppo_process
5 TY_T_ERROR_OBJECT_ID Public See coding 20100708 ty_t_error_object_id type sorted table of ech_dte_error_object_id with unique default key
Method Signatures

Method ASSERT_FALSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACT Call by reference Type reference (TYPE) ABAP_BOOL 20100707

Method ASSERT_FALSE on class TC_ECH_PPO_INTEGRATION has no exception.

Method ASSERT_LAST_TRANSACTION_END Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXP Call by reference Type reference (TYPE) TRANS_END Art des Transaktionsendes: COMMIT oder ROLLBACK 20100714

Method ASSERT_LAST_TRANSACTION_END on class TC_ECH_PPO_INTEGRATION has no exception.

Method ASSERT_NUMBER_OF_COMMIT_WORKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXP Call by reference Type reference (TYPE) I 20100714

Method ASSERT_NUMBER_OF_COMMIT_WORKS on class TC_ECH_PPO_INTEGRATION has no exception.

Method ASSERT_NUMBER_OF_ROLLBACKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXP Call by reference Type reference (TYPE) I 20100714

Method ASSERT_NUMBER_OF_ROLLBACKS on class TC_ECH_PPO_INTEGRATION has no exception.

Method ASSERT_ORDERS_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PP_ORDER_ID Call by reference Type reference (TYPE) TC_ECH_PPO_INTEGRATION=>TY_T_ERROR_OBJECT_ID 20100709
2 Importing IV_LOCKED_EXP Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100709

Method ASSERT_ORDERS_LOCK on class TC_ECH_PPO_INTEGRATION has no exception.

Method ASSERT_TRUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACT Call by reference Type reference (TYPE) ABAP_BOOL 20100707

Method ASSERT_TRUE on class TC_ECH_PPO_INTEGRATION has no exception.

Method CHECK_CLASS_IMPLEMENTS_IF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) CSEQUENCE 20100707
2 Importing IV_INTERFACE_NAME Call by reference Type reference (TYPE) CSEQUENCE 20100707
3 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100707

Method CHECK_CLASS_IMPLEMENTS_IF on class TC_ECH_PPO_INTEGRATION has no exception.

Method CLEANUP_ECH_DB Signature

Method CLEANUP_ECH_DB on class TC_ECH_PPO_INTEGRATION has no parameter.
Method CLEANUP_ECH_DB on class TC_ECH_PPO_INTEGRATION has no exception.

Method CLEANUP_ECH_PPO_DB Signature

Method CLEANUP_ECH_PPO_DB on class TC_ECH_PPO_INTEGRATION has no parameter.
Method CLEANUP_ECH_PPO_DB on class TC_ECH_PPO_INTEGRATION has no exception.

Method CLEANUP_PPO_DB Signature

Method CLEANUP_PPO_DB on class TC_ECH_PPO_INTEGRATION has no parameter.
Method CLEANUP_PPO_DB on class TC_ECH_PPO_INTEGRATION has no exception.

Method CLEANUP_TEST_CUSTOMIZING Signature

Method CLEANUP_TEST_CUSTOMIZING on class TC_ECH_PPO_INTEGRATION has no parameter.
Method CLEANUP_TEST_CUSTOMIZING on class TC_ECH_PPO_INTEGRATION has no exception.

Method CREATE_PPORDERS_FRM_BULK_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20100708
2 Returning RT_ERROR_OBJECT_ID Value transfer Type reference (TYPE) TC_ECH_PPO_INTEGRATION=>TY_T_ERROR_OBJECT_ID ID's Payload / Fehlerobjekt / Nachbearbeitungsauftrag 20100708
# Exception Resumable Description Created on
1 CX_AI_SYSTEM_FAULT Application Integration: Technischer Fehler 20100708

Method CREATE_PPORDER_FRM_SINGLE_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATA Call by reference Type reference (TYPE) ANY 20100708
2 Returning RV_ERROR_OBJECT_ID Value transfer Type reference (TYPE) ECH_DTE_ERROR_OBJECT_ID ID Payload / Fehlerobjekt / Nachbearbeitungsauftrag 20100708
# Exception Resumable Description Created on
1 CX_AI_SYSTEM_FAULT Application Integration: Technischer Fehler 20100708

Method CREATE_TEST_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTION_CLASS Call by reference Type reference (TYPE) CSEQUENCE Aktionklasse 20100707
2 Importing IV_NOTIFICATION_CLASS Call by reference Type reference (TYPE) CSEQUENCE 'CL_FEH_REGISTRATION' Notifikation 20100714
3 Importing IV_PERSISTENCY_CLASS Call by reference Type reference (TYPE) CSEQUENCE 'CL_FEH_MESSAGE_PERSISTENCY' Persistenz 20100707

Method CREATE_TEST_CUSTOMIZING on class TC_ECH_PPO_INTEGRATION has no exception.

Method DEQUEUE_PP_ORDERS_XCLUSIVELY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PP_ORDER_ID Call by reference Type reference (TYPE) TC_ECH_PPO_INTEGRATION=>TY_T_ERROR_OBJECT_ID 20100709

Method DEQUEUE_PP_ORDERS_XCLUSIVELY on class TC_ECH_PPO_INTEGRATION has no exception.

Method ENQUEUE_PP_ORDERS_XCLUSIVELY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PP_ORDER_ID Call by reference Type reference (TYPE) TC_ECH_PPO_INTEGRATION=>TY_T_ERROR_OBJECT_ID 20100709

Method ENQUEUE_PP_ORDERS_XCLUSIVELY on class TC_ECH_PPO_INTEGRATION has no exception.

Method GET_COLLECTION_IDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_COLLECTION_ID Value transfer Type reference (TYPE) TY_T_ERROR_OBJECT_ID Collection ID Payload/Fehlerobjekt/Nachbearbeitungsauftrag 20100708

Method GET_COLLECTION_IDS on class TC_ECH_PPO_INTEGRATION has no exception.

Method GET_ERROR_OBJECT_IDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_OBJECT_ID Value transfer Type reference (TYPE) TY_T_ERROR_OBJECT_ID ID Payload / Fehlerobjekt / Nachbearbeitungsauftrag 20100708

Method GET_ERROR_OBJECT_IDS on class TC_ECH_PPO_INTEGRATION has no exception.

Method GET_PP_ORDER_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PP_ORDER_ID Call by reference Type reference (TYPE) ECH_DTE_ERROR_OBJECT_ID ID Fehlerobjekt / Nachbearbeitungsauftrag 20100708
2 Returning RS_ORDER_DETAILS Value transfer Type reference (TYPE) /SAPPO/BAPI_STR_ORDER_DETAIL Detail eines Auftrags 20100708

Method GET_PP_ORDER_HEADER on class TC_ECH_PPO_INTEGRATION has no exception.

Method ON_TRANSACTION_FINISHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KIND Value transfer Attribute reference (LIKE) 20100708

Method ON_TRANSACTION_FINISHED on class TC_ECH_PPO_INTEGRATION has no exception.

Method RESET_TRANSACTION Signature

Method RESET_TRANSACTION on class TC_ECH_PPO_INTEGRATION has no parameter.
Method RESET_TRANSACTION on class TC_ECH_PPO_INTEGRATION has no exception.

Method SETUP Signature

Method SETUP on class TC_ECH_PPO_INTEGRATION has no parameter.
Method SETUP on class TC_ECH_PPO_INTEGRATION has no exception.

Method TEARDOWN Signature

Method TEARDOWN on class TC_ECH_PPO_INTEGRATION has no parameter.
Method TEARDOWN on class TC_ECH_PPO_INTEGRATION has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730