SAP ABAP Class /IWCOR/CL_DS_EP_WRITER_JSON (Writer for JSON format)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
⤷
/IWCOR/SODATA_EP (Package) Entity Provider (request / response)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /IWCOR/CL_DS_EP_HELPER | Reader and writer base class | 20120110 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWCOR/IF_DS_EP_FORMAT_JSON | Common types for JSON format | 20120110 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWCOR/IF_DS_EP_WRITER | Entity writer | 20120110 |
Properties
| Class | /IWCOR/CL_DS_EP_WRITER_JSON | |
| Short Description | Writer for JSON format | |
| Super Class | /IWCOR/CL_DS_EP_HELPER | Reader and writer base class |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | /IWCOR/SODATA_EP | Entity Provider (request / response) |
| Created | 20111227 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /IWCOR/IF_DS_EP_FORMAT_JSON | Common types for JSON format | 20120110 | ||
| 2 | /IWCOR/IF_DS_EP_WRITER | Entity writer | 20120110 |
Friends
Class /IWCOR/CL_DS_EP_WRITER_JSON has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120814 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20120110 | |
| 3 | Static method | Public | Method | Create instance | 20120110 | |
| 4 | Instance method | Public | Method | Get canonical URI | 20120411 | |
| 5 | Instance method | Public | Method | Get ETag for an OData Entity | 20120110 | |
| 6 | Instance method | Protected | Method | Extend entity info | 20120110 | |
| 7 | Instance method | Protected | Method | Write complex properties internal | 20120110 | |
| 8 | Instance method | Protected | Method | Write entity internal | 20120110 | |
| 9 | Instance method | Protected | Method | Write entity properties internal | 20120110 | |
| 10 | Instance method | Protected | Method | Write simple property value | 20120110 |
Events
Class /IWCOR/CL_DS_EP_WRITER_JSON has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | X_CALLBACK_INFO_S | Protected | See coding | 20120206 | begin of x_callback_info_s,
write_link_uri TYPE ref to /IWCOR/if_DS_ep_write_link_uri,
write_link_cnt TYPE ref to /IWCOR/if_DS_ep_write_link_cnt,
navigation_property TYPE ref to /IWCOR/if_DS_edm_nav_property,
entity_set type ref to /IWCOR/if_DS_edm_entity_set,
expand_select type ref to /IWCOR/if_DS_uri_expand_select,
uri1 TYPE string,
uri2 TYPE string,
end of x_callback_info_s
|
||
| 2 | X_ENTITY_INFO_S | Protected | See coding | 20120110 | BEGIN OF x_entity_info_s,
type TYPE string,
uri TYPE x_uri_info_s,
media type ref to x_media_info_s,
first_link TYPE ref to x_link_info_s,
END OF x_entity_info_s
|
||
| 3 | X_LINK_INFO_S | Protected | See coding | 20120110 | BEGIN OF x_link_info_s,
uri type x_uri_info_s, " boxed,
callback type ref to x_callback_info_s,
next_link TYPE REF TO data,
END OF x_link_info_s
|
||
| 4 | X_MEDIA_INFO_S | Protected | See coding | 20120110 | begin of x_media_info_s,
src type x_uri_info_s, " boxed,
edit type x_uri_info_s, " boxed,
mime_type type string,
end of x_media_info_s
|
||
| 5 | X_URI_INFO_S | Protected | See coding | 20120110 | begin of x_uri_info_s,
before TYPE string,
after TYPE string,
end of x_uri_info_s
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /IWCOR/CL_DS_EP_WRITER_JSON has no parameter.
Method CLASS_CONSTRUCTOR on class /IWCOR/CL_DS_EP_WRITER_JSON has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class /IWCOR/CL_DS_EP_WRITER_JSON has no parameter.
Method CONSTRUCTOR on class /IWCOR/CL_DS_EP_WRITER_JSON has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_WRITER | Value transfer | Object reference (TYPE REF TO) | /IWCOR/CL_DS_EP_WRITER_JSON | Writer | 20120110 |
Method CREATE on class /IWCOR/CL_DS_EP_WRITER_JSON has no exception.
Method GET_CANONICAL_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY_SET | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_DS_EDM_ENTITY_SET | Entity set | 20120411 | |||
| 2 | IS_DATA | Call by reference | Type reference (TYPE) | DATA | Data | 20120411 | |||
| 3 | IV_SERVICE_ROOT | Call by reference | Type reference (TYPE) | STRING | Service root | 20120411 | |||
| 4 | RV_URI | Value transfer | Type reference (TYPE) | STRING | URI | 20120411 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120411 |
Method GET_ETAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY_SET | Call by reference | Object reference (TYPE REF TO) | /IWCOR/IF_DS_EDM_ENTITY_SET | EDM entity set | 20120110 | |||
| 2 | IS_DATA | Call by reference | Type reference (TYPE) | DATA | Entry data | 20120110 | |||
| 3 | RV_ETAG | Value transfer | Type reference (TYPE) | STRING | ETag | 20120110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120110 |
Method MODIFY_ENTITY_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ENTITY_INFO | Call by reference | Type reference (TYPE) | ENTITY_INFO_S | Entity info | 20120110 |
Method MODIFY_ENTITY_INFO on class /IWCOR/CL_DS_EP_WRITER_JSON has no exception.
Method WRITE_COMPLEX_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATA | Call by reference | Type reference (TYPE) | STRING | Data | 20120110 | |||
| 2 | IS_COMPLEX_TYPE | Call by reference | Type reference (TYPE) | TYPE_COMPLEX_S | Complex type info | 20120110 | |||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | DATA | Complex property data | 20120110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OData error | 20120110 |
Method WRITE_ENTITY_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ENTRY | Call by reference | Type reference (TYPE) | STRING | Entry string data | 20120110 | |||
| 2 | EV_ETAG | Call by reference | Type reference (TYPE) | STRING | Etag | 20120110 | |||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | DATA | Entry data | 20120110 | |||
| 4 | IS_ENTITY_INFO | Call by reference | Type reference (TYPE) | ENTITY_INFO_S | EDM Entity information | 20120110 | |||
| 5 | IV_SEPARATOR | Call by reference | Type reference (TYPE) | C | Separator | 20130321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120110 |
Method WRITE_ENTITY_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATA | Call by reference | Type reference (TYPE) | STRING | Properties as xml string | 20120110 | |||
| 2 | EV_ETAG | Call by reference | Type reference (TYPE) | STRING | ETag | 20120110 | |||
| 3 | EV_KEY | Call by reference | Type reference (TYPE) | STRING | Property key | 20120110 | |||
| 4 | IS_DATA | Call by reference | Type reference (TYPE) | DATA | Entry data | 20120110 | |||
| 5 | IT_PROPERTY | Call by reference | Type reference (TYPE) | ENTITY_PROPERTY_T | List of EDM entity properties | 20120110 | |||
| 6 | IV_KEYS | Call by reference | Type reference (TYPE) | I | 0 | Number of keys | 20120110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OData error | 20120110 |
Method WRITE_SIMPLE_PROPERTY_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATA | Call by reference | Type reference (TYPE) | STRING | Data | 20120110 | |||
| 2 | IS_SIMPLE_TYPE | Call by reference | Type reference (TYPE) | TYPE_SIMPLE_S | Simple type info | 20120110 | |||
| 3 | IV_VALUE | Call by reference | Type reference (TYPE) | DATA | Simple property value | 20120110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | OData error | 20120110 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 200 |