Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMI_ODATA_XML_CONVERTER | SMI XML converter (XML->SMI data types for Gateway) | 20130530 |
Properties
| Class | CL_SMI_ODATA_XML_CONVERTER | |
| Short Description | Extracts & Converts DOM of OData XML to ABAP | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | AR_702_SM_SERVICES | UI AR - Social Media Data Provider Impl. (Rel. Dependent) |
| Created | 20130530 | SAP |
| Last change | 20141120 | |
| 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SMI_ODATA_XML_CONVERTER | SMI XML converter (XML->SMI data types for Gateway) | 20130530 |
Friends
Class CL_SMI_ODATA_XML_CONVERTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | STRING | 20130530 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Converts OData boolean simple type string to ABAP type. | 20130530 | |
| 2 | Instance method | Private | Method | Converts OData datetimeoffset simple type to ABAP type. | 20130530 | |
| 3 | Instance method | Private | Method | Converts OData integer32 simple type string to ABAP type. | 20130530 | |
| 4 | Instance method | Private | Method | Returns the category of the entity | 20130610 | |
| 5 | Instance method | Private | Method | Get the group id from the xml document | 20130710 | |
| 6 | Instance method | Private | Method | Returns the OData Metadata Namespace URI | 20130530 | |
| 7 | Instance method | Private | Method | Returns the first SAPUSER associated with given email | 20130709 | |
| 8 | Instance method | Private | Method | Converts a notification node into a notice structure. | 20131025 | |
| 9 | Instance method | Private | Method | Converts a collection of nodes into group structures | 20130530 | |
| 10 | Instance method | Private | Method | Converts a collection of nodes into member structures | 20130530 | |
| 11 | Instance method | Private | Method | Converts a collection of nodes into notice structures | 20130912 | |
| 12 | Instance method | Private | Method | Converts a single properties node into a feedentry structure | 20130829 | |
| 13 | Instance method | Private | Method | Converts a single properties node into a member structure | 20130530 | |
| 14 | Instance method | Private | Method | Converts a single properties node into a notice structure | 20130912 | |
| 15 | Instance method | Private | Method | Converts a collection of nodes into feedentry structures | 20130917 | |
| 16 | Instance method | Private | Method | Converts a collection of nodes into folder structures | 20131029 | |
| 17 | Instance method | Private | Method | Converts a collection of nodes into groupinvite structure | 20130530 | |
| 18 | Instance method | Private | Method | Converts a collection of nodes into group member structures | 20130604 | |
| 19 | Instance method | Private | Method | Converts to a group invite list (SAPGroupMember entities) | 20130709 | |
| 20 | Instance method | Private | Method | Converts a single properties node -> content item structure | 20131101 | |
| 21 | Instance method | Private | Method | Converts a single properties node ->externalobject structure | 20140312 | |
| 22 | Instance method | Private | Method | Converts a single properties node -> folder structure | 20131029 | |
| 23 | Instance method | Private | Method | Converts a single properties node into a groupinvite struct | 20130530 | |
| 24 | Instance method | Private | Method | Converts a single properties node -> group member structure | 20130604 |
Events
Class CL_SMI_ODATA_XML_CONVERTER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_IXML_NODES | Public | See coding | 20131024 | tt_ixml_nodes type standard table of ref to if_ixml_node
|
Method Signatures
Method EDM_BOOLEAN_TO_C Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | OData EDM Boolean simple type instance string. | 20130530 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP representation of an the input EDM simple type. | 20130530 |
Method EDM_BOOLEAN_TO_C on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method EDM_DATETIMEOFFSET_TO_P Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TIMESTAMP | Value transfer | Type reference (TYPE) | P | ABAP representation of an the input EDM simple type. | 20130530 | |||
| 2 | IV_DATE_TIME_OFFSET | Call by reference | Type reference (TYPE) | STRING | OData EDM DateTimeOffset simple type instance string. | 20130530 |
Method EDM_DATETIMEOFFSET_TO_P on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method EDM_INT32_TO_I Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | OData EDM Int32 simple type instance string. | 20130530 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | I | ABAP representation of an the input EDM simple type. | 20130530 |
Method EDM_INT32_TO_I on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method GET_ENTITY_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IXML_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node whose OData entity type is to be determined. | 20130610 | |||
| 2 | RV_CATEGORY | Value transfer | Type reference (TYPE) | STRING | Entity type of the input properties DOM node. | 20130610 |
Method GET_ENTITY_CATEGORY on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method GET_GROUP_ID_FROM_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IXML_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | DOM from which to extract a group id. | 20130710 | |||
| 2 | RV_GROUP_ID | Value transfer | Type reference (TYPE) | I | Group id extracted from the input DOM. | 20130710 |
Method GET_GROUP_ID_FROM_XML on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method GET_ODATA_METADATA_NAMESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IXML_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | DOM to extract the OData metadata namespace URI from. | 20130530 | |||
| 2 | RV_ODATA_METADATA_NAMESPACE | Value transfer | Type reference (TYPE) | STRING | OData metadata namespace URI extracted from the input DOM. | 20130530 |
Method GET_ODATA_METADATA_NAMESPACE on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method GET_USER_BY_EMAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EMAIL | Call by reference | Type reference (TYPE) | STRING | EMail of user name to obtain. | 20130709 | |||
| 2 | RV_USER | Value transfer | Type reference (TYPE) | STRING | User name associated to the input email. | 20130709 |
Method GET_USER_BY_EMAIL on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method NOTIFICATION_TO_NOTICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_NOTICE | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_NOTICE | The notice structure generated from the notification node. | 20131025 | |||
| 2 | IO_NOTIFICATION | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Notification node to use to generate the notice structure. | 20131025 |
Method NOTIFICATION_TO_NOTICE on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPERTIES_NODES_TO_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_GROUPS | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_GROUP | ABAP representations of Group entities in input DOM. | 20130530 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Collection of DOM nodes containing Group entity properties. | 20130530 |
Method PROPERTIES_NODES_TO_GROUPS on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPERTIES_NODES_TO_MEMBERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MEMBERS | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_MEMBER | ABAP representations of Member entities in input DOM. | 20130530 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Collection of DOM nodes containing Member entity properties. | 20130530 |
Method PROPERTIES_NODES_TO_MEMBERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPERTIES_NODES_TO_NOTICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NOTICES | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_NOTICE | ABAP representations of Notice entities in input DOM. | 20130912 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Collection of DOM nodes containing Notice entity properties. | 20130912 |
Method PROPERTIES_NODES_TO_NOTICES on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPERTIES_NODE_TO_FEEDENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a FeedEntry entity's properties. | 20130829 | |||
| 2 | RS_FEEDENTRY | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_FEEDENTRY | ABAP representation of input DOM node. | 20130829 |
Method PROPERTIES_NODE_TO_FEEDENTRY on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPERTIES_NODE_TO_MEMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a Member entity's properties. | 20130530 | |||
| 2 | RS_MEMBER | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_MEMBER | ABAP representation of input DOM node. | 20130530 |
Method PROPERTIES_NODE_TO_MEMBER on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPERTIES_NODE_TO_NOTICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a Notice entity's properties. | 20130912 | |||
| 2 | RS_NOTICE | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_NOTICE | ABAP representation of input DOM node. | 20130912 |
Method PROPERTIES_NODE_TO_NOTICE on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODES_TO_FEEDENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FEEDENTRIES | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_FEEDENTRY | ABAP representations of FeedEntry entities in input DOM. | 20130917 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | DOM nodes collection containing FeedEntry entity properties. | 20130917 |
Method PROPS_NODES_TO_FEEDENTRIES on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODES_TO_FOLDERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FOLDERS | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_FOLDER | ABAP representations of GroupMember entities in input DOM. | 20131029 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | DOM nodes containing GroupMember entity properties. | 20131029 |
Method PROPS_NODES_TO_FOLDERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODES_TO_GROUPINVITES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_GROUPINVITES | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_GROUPINVITE | ABAP representations of GroupInvite entities in input DOM. | 20130530 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | DOM nodes containing GroupInvite entity properties. | 20130530 |
Method PROPS_NODES_TO_GROUPINVITES on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODES_TO_GROUPMEMBERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_GROUPMEMBERS | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_GROUPMEMBER | ABAP representations of GroupMember entities in input DOM. | 20130604 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | DOM nodes containing GroupMember entity properties. | 20130604 |
Method PROPS_NODES_TO_GROUPMEMBERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODES_TO_SAPGROUPMEMBERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SAPGROUPMEMBERS | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TT_SAPGROUPMEMBER | SAPJamGroup built from the GroupMember and Member entities. | 20130709 | |||
| 2 | IO_PROPERTIES_NODES | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Collection of Member and GroupMember DOM nodes. dsk kdm kdsm | 20130709 | |||
| 3 | IV_GROUP_ID | Call by reference | Type reference (TYPE) | I | Group id used to get the GroupMember and Member entities. | 20130709 |
Method PROPS_NODES_TO_SAPGROUPMEMBERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODE_TO_CONTENTITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a ContentItem entity's properties. | 20131101 | |||
| 2 | RS_CONTENTITEM | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_CONTENTITEM | ABAP representation of input DOM node. | 20131101 |
Method PROPS_NODE_TO_CONTENTITEM on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODE_TO_EXTERNALOBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing an ExternlObject entity's properties. | 20140312 | |||
| 2 | RS_EXTERNALOBJECT | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_EXTERNALOBJECT | ABAP representation of input DOM node. | 20140312 |
Method PROPS_NODE_TO_EXTERNALOBJECT on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODE_TO_FOLDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a GroupMember entity's properties. | 20131029 | |||
| 2 | RS_FOLDER | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_FOLDER | ABAP representation of input DOM node. | 20131029 |
Method PROPS_NODE_TO_FOLDER on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODE_TO_GROUPINVITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a GroupInvite entity's properties. | 20130530 | |||
| 2 | RS_GROUPINVITE | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_GROUPINVITE | ABAP representation of input DOM node. | 20130530 |
Method PROPS_NODE_TO_GROUPINVITE on class CL_SMI_ODATA_XML_CONVERTER has no exception.
Method PROPS_NODE_TO_GROUPMEMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROPERTIES_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | DOM node containing a GroupMember entity's properties. | 20130604 | |||
| 2 | RS_GROUPMEMBER | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_GROUPMEMBER | ABAP representation of input DOM node. | 20130604 |
Method PROPS_NODE_TO_GROUPMEMBER on class CL_SMI_ODATA_XML_CONVERTER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |