SAP ABAP Class /UI2/CL_ODATA_AUNIT_UTILS (Utilities for writing odata channel unit tests)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-INT-BE (Application Component) Backend Enablement
     /UI2/TEST (Package) UI BE: Unit Test and related objects (release independent)
Properties
Class /UI2/CL_ODATA_AUNIT_UTILS  
Short Description Utilities for writing odata channel unit tests    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 5   
Package /UI2/TEST   UI BE: Unit Test and related objects (release independent) 
Created 20110919   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWBEP/IF_MGW_MED_ODATA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 IF_AUNIT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class /UI2/CL_ODATA_AUNIT_UTILS has no interface implemented.
Friends
Class /UI2/CL_ODATA_AUNIT_UTILS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CS_FAILURE_REASON Constant Protected See coding 20110919
2 CV_MSG_NOT_AN_ERROR Constant Protected Type reference (TYPE) STRING `this is not an error but an artifact` 20110919
3 MO_CONTEXT Instance attribute Protected Object reference (TYPE REF TO) /IWBEP/IF_MGW_CONTEXT MGW Context 20110927
4 MO_DATA_PROVIDER Instance attribute Protected Object reference (TYPE REF TO) /IWBEP/CL_MGW_ABS_DATA Core gateway runtime interface for milestone 20110919
5 MT_DICT_ENTITY_KEY Instance attribute Protected Type reference (TYPE) YT_DICT_ENTITY_KEY dictionary: entity name -> key fields 20110919
6 MT_DICT_ENTITY_SETNAME Instance attribute Protected Type reference (TYPE) YT_DICT_ENTITY_SETNAME dictionary: entity name -> entity set name 20110919
7 MT_DICT_NAVIGATION_PROPERTY Instance attribute Protected Type reference (TYPE) YT_DICT_NAVIGATION_PROPERTY dictionary of navigation properties 20110919
8 MT_ENTITY_CREATED Instance attribute Protected Type reference (TYPE) YT_ENTITY_CREATED 20120125
9 MT_MESSAGES_OF_LAST_CALL Instance attribute Protected Type reference (TYPE) /IWBEP/T_MESSAGE_CONTAINER Message Container Data Table 20110927
10 MV_ASSERT_LEVEL Instance attribute Protected Type reference (TYPE) AUNIT_LEVEL IF_AUNIT_CONSTANTS=>CRITICAL Level of ABAP Unit Check Error 20110919
11 MV_ASSERT_QUIT Instance attribute Protected Type reference (TYPE) AUNIT_FLOWCTRL IF_AUNIT_CONSTANTS=>METHOD Flow Control in Case of Error 20110919
12 MV_FAILURE_IS_EXPECTED Instance attribute Protected Type reference (TYPE) ABAP_BOOL ABAP_FALSE for unit testing testing puposes 20110919
13 MV_NAMESPACE Instance attribute Protected Type reference (TYPE) STRING Service Document Namesapce 20110920
14 MV_SERVICE_DOCUMENT_NAME Instance attribute Protected Type reference (TYPE) STRING Service Document Name 20110919
15 MV_SERVICE_DOCUMENT_VERSION Instance attribute Protected Type reference (TYPE) NUMC4 Service Document Version 20120606
Methods
# Method Level Visibility Method type Description Created on
1 ASSERT_BOUND Instance method Protected Method 20110919
2 ASSERT_EQUALS Instance method Protected Method 20110919
3 ASSERT_NOT_INITIAL Instance method Protected Method 20110919
4 ASSERT_NO_MESSAGES Instance method Public Method asserts that the previous call did not create messages 20110927
5 CHANGESET_MODIFY_ENTITY Instance method Public Method Changeset modifying single entities 20130118
6 CLEANUP_CREATED_ENTITIES Instance method Public Method 20120125
7 CREATE_ENTITY Instance method Public Method call CREATE_ENTITY of DataProvider without navigation path 20111123
8 CREATE_ENTITY_BY_NAVIGATION Instance method Public Method call CREATE_ENTITY of DataProvider with navigation path 20121008
9 CREATE_ENTITY_KEY Instance method Protected Method 20110919
10 CREATE_KEYSTRING_FROM_ENTITY Instance method Protected Method 20120125
11 DEFINE_ENTITYSET_NAME Instance method Public Method define name of an entity set 20110919
12 DEFINE_ENTITY_KEY Instance method Public Method define key fields on an entity 20110919
13 DEFINE_NAVIGATION_PROPERTY Instance method Public Method define navigation property between entities 20110919
14 DELETE_ENTITY Instance method Public Method call DELETE_ENTITY of DataProvider 20111123
15 DELETE_ENTITY_BY_NAVIGATION Instance method Public Method call DELETE_ENTITY of DataProvider with navigation path 20121008
16 DELETE_ENTITY_INTERNAL Instance method Protected Method 20111123
17 EXECUTE_ACTION Instance method Public Method call EXECUTE_ACTION in IWBEP 20140131
18 FAIL Instance method Protected Method distinguish expected/unexpected failure 20110919
19 GET_ENTITYSET_BY_NAVIGATION Instance method Public Method call GET_ENTITY of data provider with navigation property 20110919
20 GET_ENTITYSET_SIMPLE Instance method Public Method call GET_ENTITYSET of data provider without navigation 20110919
21 GET_ENTITY_BY_NAVIGATION Instance method Public Method call GET_ENTITY of data provider with navigation property 20110919
22 GET_ENTITY_INTERNAL Instance method Protected Method common code for all public GET_ENTITY* methods 20110922
23 GET_ENTITY_NAME_FOR_SET Instance method Protected Method 20110919
24 GET_ENTITY_SET_NAME Instance method Protected Method 20110919
25 GET_ENTITY_SIMPLE Instance method Public Method call GET_ENTITY of data provider without navigation 20110919
26 GET_NAVPROP_INFO Instance method Protected Method 20110919
27 GET_REQUEST_CONTEXT Instance method Private Method 20140811
28 INIT Instance method Public Method initialize data provider 20110927
29 MODIFY_ENTITY_INTERNAL Instance method Protected Method calls CREATE_ENTITY and UPDATE_ENITY of GW DataProvider 20111123
30 PARSE_NAVIGATION_PATH Instance method Protected Method parse navigation path and provide path details 20110919
31 RFC_READ_ENTITYSET_SIMPLE Instance method Public Method read an entity by official RFC call 20140811
32 RFC_READ_ENTITY_EXPANDED Instance method Public Method read an entity by official RFC call 20120321
33 RFC_READ_ENTITY_SIMPLE Instance method Public Method read an entity by official RFC call 20110922
34 RFC_READ_EXP_ENTITY_STRING Instance method Public Method Read expanded entity string 20140514
35 SAVE_MESSAGES Instance method Protected Method stores messages of last call for later checking 20110927
36 SET_QUIT_FLOWCTRL Instance method Public Method set default value of the QUIT parameter of ASSERTs 20110919
37 SET_SEVERITY_LEVEL Instance method Public Method set default value of the LEVEL parameter of ASSERTs 20110919
38 TURN_FAILURES_INTO_EXCEPTIONS Instance method Protected Method for unit tests testing this class 20110919
39 UNIT_TEST_ERROR Instance method Protected Method reports an error in the unit test itself 20110919
40 UPDATE_ENTITY Instance method Public Method call CREATE_ENTITY of DataProvider without navigation path 20111123
41 UPDATE_ENTITY_BY_NAVIGATION Instance method Public Method call CREATE_ENTITY of DataProvider with navigation path 20121008
42 _REMOVE_TAG_FROM_XML Instance method Private Method Remove a tag from XML 20140516
Events
Class /UI2/CL_ODATA_AUNIT_UTILS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_ASSOC_ENTITY_KEY Protected See coding 20110919 begin of ys_assoc_entity_key, entity_name type string, key_components type string, end of ys_assoc_entity_key
2 YS_ASSOC_ENTITY_SETNAME Protected See coding 20110919 begin of ys_assoc_entity_setname, entity_name type string, entity_set_name type string, end of ys_assoc_entity_setname
3 YS_CHANGESET_MODIFY_ENTITY Public See coding 20130118 begin of ys_changeset_modify_entity, cs_index type i, cs_method type string, entity_name type string, entity type ref to data, end of ys_changeset_modify_entity
4 YS_CHANGESET_RESULT Public See coding 20130118 begin of ys_changeset_result, cs_index type i, entity type ref to data, is_null type abap_bool, END OF ys_changeset_result
5 YS_ENTITY_CREATED Protected See coding 20120125 begin of ys_entity_created, entity_name type string, key type string, end of ys_entity_created
6 YS_NAVIGATION_PROPERTY Protected See coding 20110919 begin of ys_navigation_property, source_entity_name type string, property_name type string, target_entity_name type string, cardinality type /iwbep/if_mgw_med_odata_types=>ty_e_med_cardinality, end of ys_navigation_property
7 YT_CHANGESET_MODIFY_ENTITY Public See coding 20130118 yt_changeset_modify_entity type hashed table of ys_changeset_modify_entity with unique key cs_index
8 YT_CHANGESET_RESULT Public See coding 20130118 yt_changeset_result type hashed table of ys_changeset_result with unique key cs_index
9 YT_DICT_ENTITY_KEY Protected See coding 20110919 yt_dict_entity_key type sorted table of ys_assoc_entity_key with unique key entity_name
10 YT_DICT_ENTITY_SETNAME Protected See coding 20110919 yt_dict_entity_setname type sorted table of ys_assoc_entity_setname with unique key entity_name
11 YT_DICT_NAVIGATION_PROPERTY Protected See coding 20110919 yt_dict_navigation_property type sorted table of ys_navigation_property with unique key source_entity_name property_name
12 YT_ENTITY_CREATED Protected See coding 20120125 yt_entity_created type standard table of ys_entity_created
Method Signatures

Method ASSERT_BOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACT Call by reference Type reference (TYPE) ANY 20110919
2 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE 20110919

Method ASSERT_BOUND on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method ASSERT_EQUALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACT Call by reference Type reference (TYPE) ANY 20110919
2 Importing EXP Call by reference Type reference (TYPE) ANY 20110919
3 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE 20110919

Method ASSERT_EQUALS on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method ASSERT_NOT_INITIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACT Call by reference Type reference (TYPE) ANY 20110919
2 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE 20110919

Method ASSERT_NOT_INITIAL on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method ASSERT_NO_MESSAGES Signature

Method ASSERT_NO_MESSAGES on class /UI2/CL_ODATA_AUNIT_UTILS has no parameter.
Method ASSERT_NO_MESSAGES on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method CHANGESET_MODIFY_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHANGESET_TAB Call by reference Type reference (TYPE) YT_CHANGESET_MODIFY_ENTITY 20130118
2 Exporting RESULT Call by reference Type reference (TYPE) YT_CHANGESET_RESULT 20130118
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20130118
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20130118

Method CLEANUP_CREATED_ENTITIES Signature

Method CLEANUP_CREATED_ENTITIES on class /UI2/CL_ODATA_AUNIT_UTILS has no parameter.
Method CLEANUP_CREATED_ENTITIES on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method CREATE_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20111123
2 Exporting E_ENTITY Call by reference Type reference (TYPE) DATA 20111123
3 Exporting IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20111123
4 Importing I_ENTITY Call by reference Type reference (TYPE) DATA 20111123
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111123
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111123

Method CREATE_ENTITY_BY_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ENTITY Call by reference Type reference (TYPE) DATA 20121008
2 Exporting IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20121008
3 Importing I_ENTITY Call by reference Type reference (TYPE) DATA 20121008
4 Importing PATH Call by reference Type reference (TYPE) STRING 20121008
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION 20121008
2 /IWBEP/CX_MGW_TECH_EXCEPTION 20121008

Method CREATE_ENTITY_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
2 Importing KEY_STRING Call by reference Type reference (TYPE) STRING 20110919
3 Exporting KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20110919

Method CREATE_ENTITY_KEY on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method CREATE_KEYSTRING_FROM_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ENTITY Call by reference Type reference (TYPE) DATA 20120125
2 Importing I_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20120125
3 Returning R_KEY Value transfer Type reference (TYPE) STRING 20120125

Method CREATE_KEYSTRING_FROM_ENTITY on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method DEFINE_ENTITYSET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
2 Importing ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20110919

Method DEFINE_ENTITYSET_NAME on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method DEFINE_ENTITY_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
2 Importing KEY_COMPONENTS Call by reference Type reference (TYPE) STRING separated by space 20110919

Method DEFINE_ENTITY_KEY on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method DEFINE_NAVIGATION_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CARDINALITY Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY 20110919
2 Importing NAVIGATION_PROPERTY Call by reference Type reference (TYPE) STRING 20110919
3 Importing SOURCE_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
4 Importing TARGET_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919

Method DEFINE_NAVIGATION_PROPERTY on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method DELETE_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20111123
2 Importing KEY Call by reference Type reference (TYPE) STRING 20111123
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111123
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111123

Method DELETE_ENTITY_BY_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KEY Call by reference Type reference (TYPE) STRING 20121008
2 Importing PATH Call by reference Type reference (TYPE) STRING 20121008
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20121008
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20121008

Method DELETE_ENTITY_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20111123
2 Importing IT_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20111123
3 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20111123
4 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20111123
5 Importing IV_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20111123
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111123
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111123

Method EXECUTE_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20140131
2 Exporting E_DATA Call by reference Type reference (TYPE) DATA 20140131
3 Importing IT_PARAMETER Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20140131
4 Importing IV_ACTION_NAME Call by reference Type reference (TYPE) STRING 20140131
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20140131
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20140131

Method FAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Call by reference Type reference (TYPE) CSEQUENCE 20110919
2 Importing DETAIL Call by reference Type reference (TYPE) CSEQUENCE 20110919
3 Importing LEVEL Call by reference Type reference (TYPE) AUNIT_LEVEL 20110920
4 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE 20110919

Method FAIL on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method GET_ENTITYSET_BY_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ENTITY_SET Call by reference Type reference (TYPE) ANY TABLE 20110919
2 Importing FILTER_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20120315
3 Importing PAGING Call by reference Type reference (TYPE) /IWBEP/S_MGW_PAGING paging structure 20120410
4 Importing PATH Call by reference Type reference (TYPE) STRING URL-part defining navigation 20110919
5 Importing SORT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20120410
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION business exception 20110919
2 /IWBEP/CX_MGW_TECH_EXCEPTION technical exception 20110919

Method GET_ENTITYSET_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
2 Exporting ENTITY_SET Call by reference Type reference (TYPE) ANY TABLE the sorting order 20110919
3 Importing FILTER_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20120315
4 Importing PAGING Call by reference Type reference (TYPE) /IWBEP/S_MGW_PAGING paging structure 20120410
5 Importing SORT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20120410
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION business exception 20110919
2 /IWBEP/CX_MGW_TECH_EXCEPTION technical exception 20110919

Method GET_ENTITY_BY_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ENTITY Call by reference Type reference (TYPE) DATA 20110919
2 Exporting IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20110919
3 Importing PATH Call by reference Type reference (TYPE) STRING URL-part defining navigation 20110919
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION business exception 20110919
2 /IWBEP/CX_MGW_TECH_EXCEPTION technical exception 20110919

Method GET_ENTITY_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ENTITY Call by reference Type reference (TYPE) DATA 20110922
2 Exporting EV_IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20110922
3 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20110922
4 Importing IT_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20110922
5 Importing IV_ENTITY_IS_SUPPLIED Call by reference Type reference (TYPE) ABAP_BOOL 20110927
6 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110922
7 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20110922
8 Importing IV_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20110922
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111122
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111122

Method GET_ENTITY_NAME_FOR_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ENTITY_NAME Value transfer Type reference (TYPE) STRING 20110919
2 Importing ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20110919

Method GET_ENTITY_NAME_FOR_SET on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method GET_ENTITY_SET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
2 Returning ENTITY_SET_NAME Value transfer Type reference (TYPE) STRING 20110919

Method GET_ENTITY_SET_NAME on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method GET_ENTITY_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ENTITY Call by reference Type reference (TYPE) DATA 20110919
2 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
3 Exporting IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20110919
4 Importing KEY Call by reference Type reference (TYPE) STRING 20110919
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION business exception 20110919
2 /IWBEP/CX_MGW_TECH_EXCEPTION technical exception 20110919

Method GET_NAVPROP_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CARDINALITY Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY 20110919
2 Exporting EV_TARGET_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
3 Importing IV_NAVIGATION_PROPERTY Call by reference Type reference (TYPE) STRING 20110919
4 Importing IV_SOURCE_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919

Method GET_NAVPROP_INFO on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method GET_REQUEST_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20140811
2 Importing EXPAND_STRING Call by reference Type reference (TYPE) STRING 20140811
3 Importing KEY Call by reference Type reference (TYPE) STRING 20140811
4 Returning RV_CONTEXT Value transfer Type reference (TYPE) XSTRING 20140811
5 Importing URL_QUERY_PARAMETERS Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20140811

Method GET_REQUEST_CONTEXT on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA_PROVIDER Call by reference Object reference (TYPE REF TO) /IWBEP/CL_MGW_ABS_DATA 20110927
2 Importing NAMESPACE Call by reference Type reference (TYPE) STRING `/SAP/` Service Document Namesapce 20110927
3 Importing SERVICE_DOCUMENT_NAME Call by reference Type reference (TYPE) STRING Service Document Name 20110927
4 Importing SERVICE_DOCUMENT_VERSION Call by reference Type reference (TYPE) NUMC4 '0001' Service Document Version 20120606

Method INIT on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method MODIFY_ENTITY_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ENTITY Value transfer Type reference (TYPE) DATA 20111123
2 Exporting EV_IS_NULL Value transfer Type reference (TYPE) ABAP_BOOL 20111123
3 Importing IO_DATA_PROVIDER Call by reference Object reference (TYPE REF TO) /IWBEP/IF_MGW_ENTRY_PROVIDER MGW Entry Data Provider 20111123
4 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20111123
5 Importing IT_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20111123
6 Importing IV_ENTITY_IS_SUPPLIED Call by reference Type reference (TYPE) ABAP_BOOL 20111123
7 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20111123
8 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20111123
9 Importing IV_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20111123
10 Importing I_UPDATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20111123
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111123
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111123

Method PARSE_NAVIGATION_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20110919
2 Exporting ET_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20110919
3 Exporting EV_CARDINALITY Call by reference Type reference (TYPE) /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_CARDINALITY 20110919
4 Exporting EV_SOURCE_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20110919
5 Exporting EV_TARGET_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110919
6 Importing IV_PATH Call by reference Type reference (TYPE) STRING 20110919

Method PARSE_NAVIGATION_PATH on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method RFC_READ_ENTITYSET_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20140811
2 Exporting ENTITY_SET Call by reference Type reference (TYPE) DATA 20140811
3 Exporting EXCEPTION_CATEGORY Call by reference Type reference (TYPE) /IWBEP/S_MESSAGE_CONTAINER_H-EXCEPTION_CATEGORY values: /iwbep/if_message_container=>gcs_exception_category 20140811
4 Exporting EXCEPTION_OCCURRED Call by reference Type reference (TYPE) ABAP_BOOL a simple flag for the caller's convenience 20140811
5 Importing URL_QUERY_PARAMETERS Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20140811

Method RFC_READ_ENTITYSET_SIMPLE on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method RFC_READ_ENTITY_EXPANDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ENTITY Call by reference Type reference (TYPE) DATA 20120321
2 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20120321
3 Exporting EXCEPTION_CATEGORY Call by reference Type reference (TYPE) /IWBEP/S_MESSAGE_CONTAINER_H-EXCEPTION_CATEGORY values: /iwbep/if_message_container=>gcs_exception_category 20120321
4 Exporting EXCEPTION_OCCURRED Call by reference Type reference (TYPE) ABAP_BOOL a simple flag for the caller's convenience 20120321
5 Importing EXPAND_STRING Call by reference Type reference (TYPE) STRING 20120321
6 Importing KEY Call by reference Type reference (TYPE) STRING 20120321
7 Importing URL_QUERY_PARAMETERS Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20140811

Method RFC_READ_ENTITY_EXPANDED on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method RFC_READ_ENTITY_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ENTITY Call by reference Type reference (TYPE) DATA 20110922
2 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110922
3 Exporting EXCEPTION_CATEGORY Call by reference Type reference (TYPE) /IWBEP/S_MESSAGE_CONTAINER_H-EXCEPTION_CATEGORY values: /iwbep/if_message_container=>gcs_exception_category 20110922
4 Exporting EXCEPTION_OCCURRED Call by reference Type reference (TYPE) ABAP_BOOL a simple flag for the caller's convenience 20110922
5 Importing KEY Call by reference Type reference (TYPE) STRING 20110922
6 Importing URL_QUERY_PARAMETERS Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20140811

Method RFC_READ_ENTITY_SIMPLE on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method RFC_READ_EXP_ENTITY_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_XML_RESULT Call by reference Type reference (TYPE) XSTRING XML result 20140514
2 Importing IT_KEY Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20140514
3 Importing IV_EXPAND_STRING Call by reference Type reference (TYPE) STRING The string after $expand= 20140514
4 Importing IV_SOURCE_ENTITY Call by reference Type reference (TYPE) STRING Source entity 20140514
5 Importing IV_TARGET_ENTITY Call by reference Type reference (TYPE) STRING Target entity 20140514
6 Importing IV_TARGET_ENTITY_SET Call by reference Type reference (TYPE) STRING Target entity set 20140514

Method RFC_READ_EXP_ENTITY_STRING on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method SAVE_MESSAGES Signature

Method SAVE_MESSAGES on class /UI2/CL_ODATA_AUNIT_UTILS has no parameter.
Method SAVE_MESSAGES on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method SET_QUIT_FLOWCTRL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QUIT Call by reference Type reference (TYPE) AUNIT_FLOWCTRL Flow Control in Case of Error 20110919

Method SET_QUIT_FLOWCTRL on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method SET_SEVERITY_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LEVEL Call by reference Type reference (TYPE) AUNIT_LEVEL Level of ABAP Unit Check Error 20110919

Method SET_SEVERITY_LEVEL on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method TURN_FAILURES_INTO_EXCEPTIONS Signature

Method TURN_FAILURES_INTO_EXCEPTIONS on class /UI2/CL_ODATA_AUNIT_UTILS has no parameter.
Method TURN_FAILURES_INTO_EXCEPTIONS on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method UNIT_TEST_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DETAIL Call by reference Type reference (TYPE) STRING 20110919
2 Importing MSG Call by reference Type reference (TYPE) STRING 20110919

Method UNIT_TEST_ERROR on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.

Method UPDATE_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTITY_NAME Call by reference Type reference (TYPE) STRING 20111123
2 Exporting E_ENTITY Call by reference Type reference (TYPE) DATA 20111123
3 Exporting IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20111123
4 Importing I_ENTITY Call by reference Type reference (TYPE) DATA 20111123
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111123
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111123

Method UPDATE_ENTITY_BY_NAVIGATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ENTITY Call by reference Type reference (TYPE) DATA 20121008
2 Exporting IS_NULL Call by reference Type reference (TYPE) ABAP_BOOL 20121008
3 Importing I_ENTITY Call by reference Type reference (TYPE) DATA 20121008
4 Importing PATH Call by reference Type reference (TYPE) STRING 20121008
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION 20121008
2 /IWBEP/CX_MGW_TECH_EXCEPTION 20121008

Method _REMOVE_TAG_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TAG Call by reference Type reference (TYPE) STRING Tag to be removed from XML 20140516
2 Importing IV_XML Call by reference Type reference (TYPE) XSTRING Input XML 20140516
3 Returning RV_RESULT Value transfer Type reference (TYPE) XSTRING XML result 20140516

Method _REMOVE_TAG_FROM_XML on class /UI2/CL_ODATA_AUNIT_UTILS has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 120