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 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | 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 | Static method | Public | Method | Concatenate Properties p1,p2,... for security logging | 20120126 | |
| 2 | Static method | Public | Method | Encode a JSON / XML string for an http header field | 20140415 | |
| 3 | Static method | Public | Method | Get ABAP Type Info | 20120314 | |
| 4 | Static method | Public | Method | Get ABAP Name | 20120314 | |
| 5 | Static method | Public | Method | Write warnings / infos into http header "X-SAP-Message" | 20140306 | |
| 6 | Static method | Public | Method | Determines the content format from the request | 20140306 | |
| 7 | Static method | Public | Method | Put service version into base URL | 20120126 | |
| 8 | Static method | Public | Method | Set Meter Info | 20120214 | |
| 9 | 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 | IT_COMPONENTS | Call by reference | Type reference (TYPE) | CL_ABAP_STRUCTDESCR=>INCLUDED_VIEW | Description of a View | 20120126 | |||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | Path | 20120126 | |||
| 3 | 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 | IV_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | JSON / XML (See /iwcor/if_rest_media_type) | 20140415 | |||
| 2 | IV_ORIGINAL_TEXT | Call by reference | Type reference (TYPE) | STRING | Text to be encoded | 20140417 | |||
| 3 | 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 | EV_INTERNAL_TYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP data type (C,D,N,...) | 20120314 | |||
| 2 | EV_LENGTH_BYTE | Call by reference | Type reference (TYPE) | /IWFND/MED_MDL_INTERNAL_LENGTH | Internal length of the type | 20120314 | |||
| 3 | EV_LENGTH_CHAR | Call by reference | Type reference (TYPE) | I | Internal length of the type | 20120314 | |||
| 4 | IO_EDM_INSTANCE | Call by reference | Object reference (TYPE REF TO) | OBJECT | EDM property | 20120314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IO_EDM_INSTANCE | Call by reference | Object reference (TYPE REF TO) | OBJECT | EDM property | 20120314 | |||
| 2 | RV_TECH_NAME | Value transfer | Type reference (TYPE) | STRING | 20120314 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OData error | 20120314 |
Method HANDLE_WARNINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MSG_CONTAINER | Call by reference | Object reference (TYPE REF TO) | /IWFND/IF_MGW_MSG_CONTAINER | GW ODC Message Container Interface | 20140306 | |||
| 2 | IO_RESPONSE | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_RESPONSE | REST Response | 20140306 | |||
| 3 | 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 | IO_REQUEST | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_REQUEST | REST Request | 20140306 | |||
| 2 | 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 | IV_URL | Call by reference | Type reference (TYPE) | STRING | 20120126 | ||||
| 2 | IV_VERSION | Call by reference | Type reference (TYPE) | STRING | 20120126 | ||||
| 3 | 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 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_REST_CONTEXT | REST Context | 20120214 | |||
| 2 | IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20120214 | ||||
| 3 | IS_METER | Call by reference | Type reference (TYPE) | /IWFND/S_METERING_COL | Metering Collector (based on DB structure) | 20120214 | |||
| 4 | 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 | IT_KEY | Call by reference | Type reference (TYPE) | /IWFND/IF_MGW_CORE_TYPES=>NVP_T | 20120126 | ||||
| 2 | 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 |