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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 DSEDX 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
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CONTENT_TYPE Instance attribute Protected Attribute reference (LIKE) 20120110
2 GC_COUNT Instance attribute Protected Attribute reference (LIKE) 20120110
3 GC_D Instance attribute Protected Attribute reference (LIKE) 20120110
4 GC_DEFERRED Instance attribute Protected Attribute reference (LIKE) 20120110
5 GC_EDIT_MEDIA Instance attribute Protected Attribute reference (LIKE) 20120110
6 GC_ENTITY_SETS Instance attribute Protected Attribute reference (LIKE) 20120110
7 GC_ETAG Instance attribute Protected Attribute reference (LIKE) 20120110
8 GC_FALSE Instance attribute Protected Attribute reference (LIKE) 20120110
9 GC_MEDIA_ETAG Instance attribute Protected Attribute reference (LIKE) 20120110
10 GC_MEDIA_SRC Instance attribute Protected Attribute reference (LIKE) 20120110
11 GC_METADATA Instance attribute Protected Attribute reference (LIKE) 20120110
12 GC_NULL Instance attribute Protected Attribute reference (LIKE) 20120110
13 GC_RESULTS Instance attribute Protected Attribute reference (LIKE) 20120110
14 GC_TRUE Instance attribute Protected Attribute reference (LIKE) 20120110
15 GC_TYPE Instance attribute Protected Attribute reference (LIKE) 20120110
16 GC_URI Instance attribute Protected Attribute reference (LIKE) 20120110
17 GV_ABAP_FORMAT Static Attribute Protected Type reference (TYPE) I 24 ABAP fromat 20120814
18 GV_CHAR_00 Static Attribute Protected See coding 20121029
19 GV_CHAR_00_ESCAPED Static Attribute Protected See coding 'u0000' 20121029
20 GV_CHAR_01 Static Attribute Protected See coding 20121029
21 GV_CHAR_01_ESCAPED Static Attribute Protected See coding 'u0001' 20121029
22 GV_CHAR_02 Static Attribute Protected See coding 20121029
23 GV_CHAR_02_ESCAPED Static Attribute Protected See coding 'u0002' 20121029
24 GV_CHAR_03 Static Attribute Protected See coding 20121029
25 GV_CHAR_03_ESCAPED Static Attribute Protected See coding 'u0003' 20121029
26 GV_CHAR_04 Static Attribute Protected See coding 20121029
27 GV_CHAR_04_ESCAPED Static Attribute Protected See coding 'u0004' 20121029
28 GV_CHAR_05 Static Attribute Protected See coding 20121029
29 GV_CHAR_05_ESCAPED Static Attribute Protected See coding 'u0005' 20121029
30 GV_CHAR_06 Static Attribute Protected See coding 20121029
31 GV_CHAR_06_ESCAPED Static Attribute Protected See coding 'u0006' 20121029
32 GV_CHAR_07 Static Attribute Protected See coding 20121029
33 GV_CHAR_07_ESCAPED Static Attribute Protected See coding 'u0007' 20121029
34 GV_CHAR_08 Static Attribute Protected See coding 20121029
35 GV_CHAR_08_ESCAPED Static Attribute Protected See coding '' 20121029
36 GV_CHAR_09 Static Attribute Protected See coding 20121029
37 GV_CHAR_09_ESCAPED Static Attribute Protected See coding ' ' 20121029
38 GV_CHAR_0A Static Attribute Protected See coding 20121029
39 GV_CHAR_0A_ESCAPED Static Attribute Protected See coding ' ' 20121029
40 GV_CHAR_0B Static Attribute Protected See coding 20121029
41 GV_CHAR_0B_ESCAPED Static Attribute Protected See coding 'u000B' 20121029
42 GV_CHAR_0C Static Attribute Protected See coding 20121029
43 GV_CHAR_0C_ESCAPED Static Attribute Protected See coding 'f' 20121029
44 GV_CHAR_0D Static Attribute Protected See coding 20121029
45 GV_CHAR_0D_ESCAPED Static Attribute Protected See coding ' ' 20121029
46 GV_CHAR_0E Static Attribute Protected See coding 20121029
47 GV_CHAR_0E_ESCAPED Static Attribute Protected See coding 'u000E' 20121029
48 GV_CHAR_0F Static Attribute Protected See coding 20121029
49 GV_CHAR_0F_ESCAPED Static Attribute Protected See coding 'u000F' 20121029
50 GV_CHAR_10 Static Attribute Protected See coding 20121029
51 GV_CHAR_10_ESCAPED Static Attribute Protected See coding 'u0010' 20121029
52 GV_CHAR_11 Static Attribute Protected See coding 20121029
53 GV_CHAR_11_ESCAPED Static Attribute Protected See coding 'u0011' 20121029
54 GV_CHAR_12 Static Attribute Protected See coding 20121029
55 GV_CHAR_12_ESCAPED Static Attribute Protected See coding 'u0012' 20121029
56 GV_CHAR_13 Static Attribute Protected See coding 20121029
57 GV_CHAR_13_ESCAPED Static Attribute Protected See coding 'u0013' 20121029
58 GV_CHAR_14 Static Attribute Protected See coding 20121029
59 GV_CHAR_14_ESCAPED Static Attribute Protected See coding 'u0014' 20121029
60 GV_CHAR_15 Static Attribute Protected See coding 20121029
61 GV_CHAR_15_ESCAPED Static Attribute Protected See coding 'u0015' 20121029
62 GV_CHAR_16 Static Attribute Protected See coding 20121029
63 GV_CHAR_16_ESCAPED Static Attribute Protected See coding 'u0016' 20121029
64 GV_CHAR_17 Static Attribute Protected See coding 20121029
65 GV_CHAR_17_ESCAPED Static Attribute Protected See coding 'u0017' 20121029
66 GV_CHAR_18 Static Attribute Protected See coding 20121029
67 GV_CHAR_18_ESCAPED Static Attribute Protected See coding 'u0018' 20121029
68 GV_CHAR_19 Static Attribute Protected See coding 20121029
69 GV_CHAR_19_ESCAPED Static Attribute Protected See coding 'u0019' 20121029
70 GV_CHAR_1A Static Attribute Protected See coding 20121029
71 GV_CHAR_1A_ESCAPED Static Attribute Protected See coding 'u001A' 20121029
72 GV_CHAR_1B Static Attribute Protected See coding 20121029
73 GV_CHAR_1B_ESCAPED Static Attribute Protected See coding 'u001B' 20121029
74 GV_CHAR_1C Static Attribute Protected See coding 20121029
75 GV_CHAR_1C_ESCAPED Static Attribute Protected See coding 'u001C' 20121029
76 GV_CHAR_1D Static Attribute Protected See coding 20121029
77 GV_CHAR_1D_ESCAPED Static Attribute Protected See coding 'u001D' 20121029
78 GV_CHAR_1E Static Attribute Protected See coding 20121029
79 GV_CHAR_1E_ESCAPED Static Attribute Protected See coding 'u001E' 20121029
80 GV_CHAR_1F Static Attribute Protected See coding 20121029
81 GV_CHAR_1F_ESCAPED Static Attribute Protected See coding 'u001F' 20121029
82 GV_CONTROL_CHARACTER Static Attribute Protected Type reference (TYPE) STRING 20121029
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20120814
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120110
3 CREATE Static method Public Method Create instance 20120110
4 GET_CANONICAL_URI Instance method Public Method Get canonical URI 20120411
5 GET_ETAG Instance method Public Method Get ETag for an OData Entity 20120110
6 MODIFY_ENTITY_INFO Instance method Protected Method Extend entity info 20120110
7 WRITE_COMPLEX_PROPERTIES Instance method Protected Method Write complex properties internal 20120110
8 WRITE_ENTITY_INTERNAL Instance method Protected Method Write entity internal 20120110
9 WRITE_ENTITY_PROPERTIES Instance method Protected Method Write entity properties internal 20120110
10 WRITE_SIMPLE_PROPERTY_VALUE 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 Returning 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 Importing IO_ENTITY_SET Call by reference Object reference (TYPE REF TO) /IWCOR/IF_DS_EDM_ENTITY_SET Entity set 20120411
2 Importing IS_DATA Call by reference Type reference (TYPE) DATA Data 20120411
3 Importing IV_SERVICE_ROOT Call by reference Type reference (TYPE) STRING Service root 20120411
4 Returning RV_URI Value transfer Type reference (TYPE) STRING URI 20120411
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120411

Method GET_ETAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY_SET Call by reference Object reference (TYPE REF TO) /IWCOR/IF_DS_EDM_ENTITY_SET EDM entity set 20120110
2 Importing IS_DATA Call by reference Type reference (TYPE) DATA Entry data 20120110
3 Returning RV_ETAG Value transfer Type reference (TYPE) STRING ETag 20120110
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120110

Method MODIFY_ENTITY_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing 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 Exporting EV_DATA Call by reference Type reference (TYPE) STRING Data 20120110
2 Importing IS_COMPLEX_TYPE Call by reference Type reference (TYPE) TYPE_COMPLEX_S Complex type info 20120110
3 Importing IS_DATA Call by reference Type reference (TYPE) DATA Complex property data 20120110
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR OData error 20120110

Method WRITE_ENTITY_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ENTRY Call by reference Type reference (TYPE) STRING Entry string data 20120110
2 Exporting EV_ETAG Call by reference Type reference (TYPE) STRING Etag 20120110
3 Importing IS_DATA Call by reference Type reference (TYPE) DATA Entry data 20120110
4 Importing IS_ENTITY_INFO Call by reference Type reference (TYPE) ENTITY_INFO_S EDM Entity information 20120110
5 Importing IV_SEPARATOR Call by reference Type reference (TYPE) C Separator 20130321
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120110

Method WRITE_ENTITY_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATA Call by reference Type reference (TYPE) STRING Properties as xml string 20120110
2 Exporting EV_ETAG Call by reference Type reference (TYPE) STRING ETag 20120110
3 Exporting EV_KEY Call by reference Type reference (TYPE) STRING Property key 20120110
4 Importing IS_DATA Call by reference Type reference (TYPE) DATA Entry data 20120110
5 Importing IT_PROPERTY Call by reference Type reference (TYPE) ENTITY_PROPERTY_T List of EDM entity properties 20120110
6 Importing IV_KEYS Call by reference Type reference (TYPE) I 0 Number of keys 20120110
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR OData error 20120110

Method WRITE_SIMPLE_PROPERTY_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATA Call by reference Type reference (TYPE) STRING Data 20120110
2 Importing IS_SIMPLE_TYPE Call by reference Type reference (TYPE) TYPE_SIMPLE_S Simple type info 20120110
3 Importing IV_VALUE Call by reference Type reference (TYPE) DATA Simple property value 20120110
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR OData error 20120110
History
Last changed by/on SAP  20131127 
SAP Release Created in 200