SAP ABAP Class /IWCOR/CL_DS_EP_WRITER_XML (Writer for ATOM and XML 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_XML Common types for ATOM and XML format 20120110
3 Interface implementation (CLASS c. INTERFACES i_ref)  /IWCOR/IF_DS_EP_WRITER Entity writer 20120110
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /IWCOR/CL_DS_EXT_EP_WRITER_XML Extended XML Writer 20130325
Properties
Class /IWCOR/CL_DS_EP_WRITER_XML  
Short Description Writer for ATOM and XML 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 20111219   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWCOR/IF_ATOM_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 /IWCOR/IF_DS_URI Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 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_XML Common types for ATOM and XML format 20120110
2 /IWCOR/IF_DS_EP_WRITER Entity writer 20120110
Friends
Class /IWCOR/CL_DS_EP_WRITER_XML has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_APP_COLLECTION Instance attribute Protected Attribute reference (LIKE) 20120110
2 GC_APP_SERVICE Instance attribute Protected Attribute reference (LIKE) 20120110
3 GC_APP_WORKSPACE Instance attribute Protected Attribute reference (LIKE) 20120110
4 GC_ATOM_ENTRY Instance attribute Protected Attribute reference (LIKE) 20120110
5 GC_ATOM_FEED Instance attribute Protected Attribute reference (LIKE) 20120110
6 GC_D_ELEMENT Instance attribute Protected Attribute reference (LIKE) 20120110
7 GC_D_LINKS Instance attribute Protected Attribute reference (LIKE) 20120110
8 GC_M_COUNT Instance attribute Protected Attribute reference (LIKE) 20120110
9 GC_M_ETAG Instance attribute Protected Attribute reference (LIKE) 20120110
10 GC_M_MIME_TYPE Instance attribute Protected Attribute reference (LIKE) 20120110
11 GC_M_NULL Instance attribute Protected Attribute reference (LIKE) 20120110
12 GC_M_PROPERTIES Instance attribute Protected Attribute reference (LIKE) 20120110
13 GC_M_TYPE Instance attribute Protected Attribute reference (LIKE) 20120110
14 GC_REL_EDIT Instance attribute Protected Attribute reference (LIKE) 20120110
15 GC_REL_EDIT_MEDIA Instance attribute Protected Attribute reference (LIKE) 20120110
16 GC_REL_SELF Instance attribute Protected Attribute reference (LIKE) 20120110
17 GC_XML_CHAR_RESERVED Static Attribute Public See coding '&<>' 20120110
18 GC_XML_HEADER_FULL Instance attribute Protected Attribute reference (LIKE) 20120110
19 GC_XML_HEADER_NO Instance attribute Protected Attribute reference (LIKE) 20120110
20 GC_XML_HEADER_WITHOUT_ENCODING Instance attribute Protected Attribute reference (LIKE) 20120110
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120110
2 CREATE Static method Public Method Create instance 20120110
3 FILL_ATOM_ENTRY Instance method Public Method Fill atom entry structure used for serialization 20120110
4 FILL_ATOM_ENTRY_INTERNAL Instance method Protected Method Fill atom entry internal 20120110
5 FILL_ATOM_FEED Instance method Public Method Fill atom feed structure used for serialization 20120110
6 GET_CANONICAL_URI Instance method Public Method Get canonical URI 20120411
7 GET_ETAG Instance method Public Method Get ETag for an OData entity 20120206
8 MODIFY_ENTITY_INFO Instance method Protected Method Extend entity info 20120110
9 WRITE_COMPLEX_PROPERTIES Instance method Protected Method Write complex properties internal 20120110
10 WRITE_ENTITY_INTERNAL Instance method Protected Method Write entry internal 20120110
11 WRITE_ENTITY_PROPERTIES Instance method Protected Method Write entity properties internal 20120110
12 WRITE_SIMPLE_PROPERTY_INTERNAL Instance method Protected Method Write simple property internal 20120110
Events
Class /IWCOR/CL_DS_EP_WRITER_XML has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ATOM_ENTRY_S Protected Attribute reference (LIKE) 20120110
2 ATOM_FEED_S Protected Attribute reference (LIKE) 20120110
3 ATOM_LINK_S Protected Attribute reference (LIKE) 20120110
4 CUSTOMIZABLE_FEED_MAPPINGS_S Protected Attribute reference (LIKE) 20120110
5 CUSTOM_S Protected Attribute reference (LIKE) 20120110
6 CUSTOM_T Protected Attribute reference (LIKE) 20120110
7 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, uri3 TYPE string, end of x_callback_info_s
8 X_ENTITY_INFO_S Protected See coding 20120110 BEGIN OF x_entity_info_s, category TYPE string, uri TYPE x_uri_info_s, first_link TYPE ref to x_link_info_s, END OF x_entity_info_s
9 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
10 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 CONSTRUCTOR Signature

Method CONSTRUCTOR on class /IWCOR/CL_DS_EP_WRITER_XML has no parameter.
Method CONSTRUCTOR on class /IWCOR/CL_DS_EP_WRITER_XML 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_XML Writer 20120110

Method CREATE on class /IWCOR/CL_DS_EP_WRITER_XML has no exception.

Method FILL_ATOM_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ENTRY Call by reference Type reference (TYPE) /IWCOR/IF_ATOM_TYPES=>ENTRY_S Atom Entry 20120110
2 Exporting EV_ETAG Call by reference Type reference (TYPE) STRING ETag of entry 20120110
3 Importing IO_ENTITY_SET Call by reference Object reference (TYPE REF TO) /IWCOR/IF_DS_EDM_ENTITY_SET EDM entity set 20120110
4 Importing IS_DATA Call by reference Type reference (TYPE) DATA Data of entry 20120110
5 Importing IT_OPTIONS Call by reference Type reference (TYPE) TIHTTPNVP 20120110
6 Importing IT_SELECT Call by reference Type reference (TYPE) /IWCOR/IF_DS_URI=>SELECT_ITEM_T $select system query option 20120110
7 Importing IV_SERVICE_ROOT Call by reference Type reference (TYPE) STRING Service Root 20120110
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120110

Method FILL_ATOM_ENTRY_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ENTRY Call by reference Type reference (TYPE) /IWCOR/IF_ATOM_TYPES=>ENTRY_S Atom Entry 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 Entity information 20120110
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120110

Method FILL_ATOM_FEED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FEED Call by reference Type reference (TYPE) /IWCOR/IF_ATOM_TYPES=>FEED_S Atom Feed 20120110
2 Importing ID_TABLE Call by reference Object reference (TYPE REF TO) DATA Feed Data 20120110
3 Importing IO_ENTITY_SET Call by reference Object reference (TYPE REF TO) /IWCOR/IF_DS_EDM_ENTITY_SET EDM entity set 20120110
4 Importing IT_OPTIONS Call by reference Type reference (TYPE) TIHTTPNVP Options 20120110
5 Importing IT_SELECT Call by reference Type reference (TYPE) /IWCOR/IF_DS_URI=>SELECT_ITEM_T $select system query option 20120110
6 Importing IV_INLINECOUNT Call by reference Type reference (TYPE) I -1 Inline count 20120110
7 Importing IV_SERVICE_ROOT Call by reference Type reference (TYPE) STRING Service Root 20120110
8 Importing IV_SKIPTOKEN Call by reference Type reference (TYPE) STRING Skiptoken 20120206
9 Importing IV_URI Call by reference Type reference (TYPE) STRING URI 20120206
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120110

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 20120206
2 Importing IS_DATA Call by reference Type reference (TYPE) DATA Entry data 20120206
3 Returning RV_ETAG Value transfer Type reference (TYPE) STRING ETag 20120206
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_ERROR 20120206

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_XML has no exception.

Method WRITE_COMPLEX_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MAPPINGS Call by reference Type reference (TYPE) CUSTOMIZABLE_FEED_MAPPINGS_S Customizable feed mappings 20120110
2 Exporting EV_DATA Call by reference Type reference (TYPE) STRING Data 20120110
3 Importing IS_COMPLEX_TYPE Call by reference Type reference (TYPE) TYPE_COMPLEX_S Complex type info 20120110
4 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_XML_BASE Call by reference Type reference (TYPE) STRING base uri 20120110
# 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 ES_MAPPINGS Call by reference Type reference (TYPE) CUSTOMIZABLE_FEED_MAPPINGS_S Customizable feed mappings 20120110
2 Exporting EV_DATA Call by reference Type reference (TYPE) STRING Properties as xml string 20120110
3 Exporting EV_ETAG Call by reference Type reference (TYPE) STRING ETag 20120110
4 Exporting EV_KEY Call by reference Type reference (TYPE) STRING Property key 20120110
5 Importing IS_DATA Call by reference Type reference (TYPE) DATA Entry data 20120110
6 Importing IT_PROPERTY Call by reference Type reference (TYPE) ENTITY_PROPERTY_T List of EDM entity properties 20120110
7 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_INTERNAL 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_FULLY_QUALIFIED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Write namespace declaration and type info 20120110
4 Importing IV_NAME Call by reference Type reference (TYPE) STRING Element name 20120110
5 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