SAP ABAP Class /IWFND/CL_SODATA_UTILS (OData Channel - Utilities)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
     /IWFND/COC_SDP_LIB_10 (Package) GW Framework - COC - SAP Data Protocol - Library 1.0
Properties
Class /IWFND/CL_SODATA_UTILS  
Short Description OData Channel - Utilities    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWFND/COC_SDP_LIB_10   GW Framework - COC - SAP Data Protocol - Library 1.0 
Created 20120126   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWCOR/IF_ODATA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 /IWFND/IF_MGW_CORE_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 CL_ABAP_STRUCTDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class /IWFND/CL_SODATA_UTILS has no interface implemented.
Friends
Class /IWFND/CL_SODATA_UTILS has no friend class.
Attributes
Class /IWFND/CL_SODATA_UTILS has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CONCATENATE_PROPERTIES Static method Public Method Concatenate Properties p1,p2,... for security logging 20120126
2 ENCODE_FOR_HTTP_HEADER Static method Public Method Encode a JSON / XML string for an http header field 20140415
3 GET_EDM_TYPE_ABAP_INFO Static method Public Method Get ABAP Type Info 20120314
4 GET_EDM_TYPE_ABAP_NAME Static method Public Method Get ABAP Name 20120314
5 HANDLE_WARNINGS Static method Public Method Write warnings / infos into http header "X-SAP-Message" 20140306
6 NEGOTIATE_CONTENT_FORMAT Static method Public Method Determines the content format from the request 20140306
7 PUT_VERSION_INTO_URL Static method Public Method Put service version into base URL 20120126
8 SET_METER_INFO Static method Public Method Set Meter Info 20120214
9 WRITE_KEY Static method Public Method Write key for security message incl. entity type name 20120126
Events
Class /IWFND/CL_SODATA_UTILS has no event.
Types
Class /IWFND/CL_SODATA_UTILS has no local type.
Method Signatures

Method CONCATENATE_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COMPONENTS Call by reference Type reference (TYPE) CL_ABAP_STRUCTDESCR=>INCLUDED_VIEW Description of a View 20120126
2 Importing IV_PATH Call by reference Type reference (TYPE) STRING Path 20120126
3 Returning RV_PROPERTIES Value transfer Type reference (TYPE) STRING Concatenated Properties 20120126

Method CONCATENATE_PROPERTIES on class /IWFND/CL_SODATA_UTILS has no exception.

Method ENCODE_FOR_HTTP_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONTENT_TYPE Call by reference Type reference (TYPE) STRING JSON / XML (See /iwcor/if_rest_media_type) 20140415
2 Importing IV_ORIGINAL_TEXT Call by reference Type reference (TYPE) STRING Text to be encoded 20140417
3 Returning RV_ENCODED_TEXT Value transfer Type reference (TYPE) STRING Text after encoding 20140417

Method ENCODE_FOR_HTTP_HEADER on class /IWFND/CL_SODATA_UTILS has no exception.

Method GET_EDM_TYPE_ABAP_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_INTERNAL_TYPE Call by reference Type reference (TYPE) INTTYPE ABAP data type (C,D,N,...) 20120314
2 Exporting EV_LENGTH_BYTE Call by reference Type reference (TYPE) /IWFND/MED_MDL_INTERNAL_LENGTH Internal length of the type 20120314
3 Exporting EV_LENGTH_CHAR Call by reference Type reference (TYPE) I Internal length of the type 20120314
4 Importing IO_EDM_INSTANCE Call by reference Object reference (TYPE REF TO) OBJECT EDM property 20120314
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR OData error 20120314

Method GET_EDM_TYPE_ABAP_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_EDM_INSTANCE Call by reference Object reference (TYPE REF TO) OBJECT EDM property 20120314
2 Returning RV_TECH_NAME Value transfer Type reference (TYPE) STRING 20120314
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR OData error 20120314

Method HANDLE_WARNINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MSG_CONTAINER Call by reference Object reference (TYPE REF TO) /IWFND/IF_MGW_MSG_CONTAINER GW ODC Message Container Interface 20140306
2 Importing IO_RESPONSE Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_RESPONSE REST Response 20140306
3 Importing IV_CONTENT_TYPE Call by reference Type reference (TYPE) STRING 20140306

Method HANDLE_WARNINGS on class /IWFND/CL_SODATA_UTILS has no exception.

Method NEGOTIATE_CONTENT_FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_REQUEST Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_REQUEST REST Request 20140306
2 Returning RV_CONTENT_FORMAT Value transfer Type reference (TYPE) STRING 20140306

Method NEGOTIATE_CONTENT_FORMAT on class /IWFND/CL_SODATA_UTILS has no exception.

Method PUT_VERSION_INTO_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_URL Call by reference Type reference (TYPE) STRING 20120126
2 Importing IV_VERSION Call by reference Type reference (TYPE) STRING 20120126
3 Returning RV_NEW_URL Value transfer Type reference (TYPE) STRING 20120126

Method PUT_VERSION_INTO_URL on class /IWFND/CL_SODATA_UTILS has no exception.

Method SET_METER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) /IWCOR/IF_REST_CONTEXT REST Context 20120214
2 Importing IR_DATA Call by reference Object reference (TYPE REF TO) DATA 20120214
3 Importing IS_METER Call by reference Type reference (TYPE) /IWFND/S_METERING_COL Metering Collector (based on DB structure) 20120214
4 Importing IS_REQUEST Call by reference Type reference (TYPE) /IWFND/IF_MGW_CORE_TYPES=>REQUEST_S 20120214

Method SET_METER_INFO on class /IWFND/CL_SODATA_UTILS has no exception.

Method WRITE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KEY Call by reference Type reference (TYPE) /IWFND/IF_MGW_CORE_TYPES=>NVP_T 20120126
2 Returning RV_KEY_PREDICATE Value transfer Type reference (TYPE) STRING 20120126

Method WRITE_KEY on class /IWFND/CL_SODATA_UTILS has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 250