SAP ABAP Class CL_RSAN_OM_XML_DOM (CL_RSAN_OM_XML_DOM)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-EI-APD (Application Component) Analysis Process Designer
⤷
RSAN_OM (Package) APD - Tool - Services - Serialization
⤷
⤷
Properties
| Class | CL_RSAN_OM_XML_DOM | |
| Short Description | CL_RSAN_OM_XML_DOM | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | RSAN_OM | |
| Program status | ||
| Category | 0 | |
| Package | RSAN_OM | APD - Tool - Services - Serialization |
| Created | 20010511 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSAN_OM_XML_DOM has no interface implemented.
Friends
Class CL_RSAN_OM_XML_DOM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'xmlns' | Name of Reserve Namespace Attribute | 20011220 | ||
| 2 | Static Attribute | Public | Object reference (TYPE REF TO) | IF_IXML | Factory for ixml Library | 20011220 | |||
| 3 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | R_DOM | 20020123 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | AS4FLAG | ' ' | Indicator: Create XML Tag even for Empty List | 20010511 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | AS4FLAG | ' ' | Indicator: Create XML Tag even for Empty Subobjects | 20010511 | ||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RSAN_OM_FACTORY | _R_FACTORY | 20010511 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Convert Object Model to XML-DOM | 20010511 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20011217 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20010511 | |
| 4 | Static method | Public | Method | Convert XML in String into Object Model | 20030729 | |
| 5 | Static method | Public | Method | Convert XML in Internal Table into Object Model | 20030731 | |
| 6 | Instance method | Public | Method | Load DOM from an XML Document on the SAPGUI Frontend | 20010513 | |
| 7 | Instance method | Public | Method | Load DOM from a String Variable | 20010513 | |
| 8 | Instance method | Public | Method | Load DOM from an Internal Table | 20010513 | |
| 9 | Instance method | Public | Method | Convert XML DOM to New Object Model Tree | 20010511 | |
| 10 | Instance method | Public | Method | Store DOM as XML Document on the SAPGUI Frontend | 20010511 | |
| 11 | Instance method | Public | Method | Store DOM in a String Variable | 20010513 | |
| 12 | Instance method | Public | Method | Store DOM in an Internal Table | 20010513 | |
| 13 | Static method | Public | Method | Convert Object Model to XML in String Field | 20030729 | |
| 14 | Static method | Public | Method | Convert Object Model to XML in Table | 20030731 | |
| 15 | Instance method | Private | Method | _BUILD_DOM_FROM_OM_ELEMENT | 20010511 | |
| 16 | Instance method | Private | Method | Subroutine for LOAD_FROM* | 20011217 | |
| 17 | Instance method | Private | Method | _REBUILD_OM_FOR_DOM_ELEMENT | 20010511 | |
| 18 | Instance method | Private | Method | Subroutine for Save_TO* | 20011217 |
Events
Class CL_RSAN_OM_XML_DOM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | _YS_XML_LINE | Private | See coding | _YS_XML_LINE | 20010511 | |
Method Signatures
Method BUILD_FROM_OM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ELEMENT | Value transfer | Type reference (TYPE) | RSAN_OM_R_ELEMENT | IR_ELEMENT | 20010511 |
Method BUILD_FROM_OM on class CL_RSAN_OM_XML_DOM has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_RSAN_OM_XML_DOM has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RSAN_OM_XML_DOM has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_FACTORY | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_FACTORY | IR_FACTORY | 20010511 |
Method CONSTRUCTOR on class CL_RSAN_OM_XML_DOM has no exception.
Method DESERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_MDL | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | Object model | 20030729 | |||
| 2 | IR_FACTORY | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_FACTORY | Factory to instantiate object model instances | 20030729 | |||
| 3 | I_XML | Call by reference | Type reference (TYPE) | STRING | XML Document with model definition | 20030729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error (MESSAGE RAISING) | 20030729 |
Method DESERIALIZE_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_MDL | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | Object model | 20030731 | |||
| 2 | IR_FACTORY | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_FACTORY | Factory to instantiate object model instances | 20030731 | |||
| 3 | IT_XML | Call by reference | Type reference (TYPE) | STANDARD TABLE | XML Document in internal table | 20030731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error (MESSAGE RAISING) | 20030731 |
Method LOAD_FROM_FRONTEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Value transfer | Type reference (TYPE) | STRING | I_FILENAME | 20010513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error when reading or parsing the XML document | 20010513 |
Method LOAD_FROM_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XML | Call by reference | Type reference (TYPE) | RSAN_OM_XML_DOCUMENT | String mit XML Dokument | 20010513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while parsing the XML document | 20010513 |
Method LOAD_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_XML | Call by reference | Type reference (TYPE) | STANDARD TABLE | XML document in a table with a char field | 20010513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while parsing the XML document | 20010513 |
Method REBUILD_OM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_DOCUMENT | IR_DOCUMENT | 20010511 | |||
| 2 | RR_ELEMENT | Value transfer | Type reference (TYPE) | RSAN_OM_R_ELEMENT | RR_ELEMENT | 20010511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler XML -> Objektmodell (Message E Raising) | 20010513 |
Method SAVE_TO_FRONTEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Value transfer | Type reference (TYPE) | STRING | I_FILENAME | 20010511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while writing the file to the frontend | 20010513 |
Method SAVE_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_XML | Value transfer | Type reference (TYPE) | RSAN_OM_XML_DOCUMENT | String Variable für XML-Dokument | 20010513 |
Method SAVE_TO_STRING on class CL_RSAN_OM_XML_DOM has no exception.
Method SAVE_TO_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_XML | Call by reference | Type reference (TYPE) | STANDARD TABLE | XML document in a table with a char field | 20010513 |
Method SAVE_TO_TABLE on class CL_RSAN_OM_XML_DOM has no exception.
Method SERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XML | Call by reference | Type reference (TYPE) | STRING | XML Document with model definition | 20030729 | |||
| 2 | IR_FACTORY | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_FACTORY | Factory to instantiate object model instances | 20030729 | |||
| 3 | IR_MDL | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | Object model | 20030729 |
Method SERIALIZE on class CL_RSAN_OM_XML_DOM has no exception.
Method SERIALIZE_TO_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_XML | Call by reference | Type reference (TYPE) | STANDARD TABLE | XML in table with char field | 20030731 | |||
| 2 | IR_FACTORY | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_FACTORY | Factory to instantiate object model instances | 20030731 | |||
| 3 | IR_MDL | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | Object model | 20030731 |
Method SERIALIZE_TO_TABLE on class CL_RSAN_OM_XML_DOM has no exception.
Method _BUILD_DOM_FROM_OM_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_OM_ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | IR_OM_ELEMENT | 20010511 | |||
| 2 | IR_PARENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IR_PARENT | 20010511 | |||
| 3 | IR_PARENT_CLASSINFO | Value transfer | Object reference (TYPE REF TO) | CL_RSAN_OM_CLASS_INFO | CL_RSAN_OM_CLASS_INFO | 20010611 | |||
| 4 | RR_ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | RR_ELEMENT | 20010511 |
Method _BUILD_DOM_FROM_OM_ELEMENT on class CL_RSAN_OM_XML_DOM has no exception.
Method _LOAD_PARSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ISTREAM | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | IF_IXML_ISTREAM | 20011217 | |||
| 2 | IR_STREAM_FACTORY | Value transfer | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | IF_IXML_STREAM_FACTORY | 20011217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parse Error (Message Raising) | 20011217 |
Method _REBUILD_OM_FOR_DOM_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DOM_ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE | IR_DOM_ELEMENT | 20010511 | |||
| 2 | IR_OM_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_DOCUMENT | IR_OM_DOCUMENT | 20010511 | |||
| 3 | IR_PARENT_CLASSINFO | Value transfer | Object reference (TYPE REF TO) | CL_RSAN_OM_CLASS_INFO | CL_RSAN_OM_CLASS_INFO | 20010611 | |||
| 4 | RR_ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_RSAN_OM_ELEMENT | RR_ELEMENT | 20010511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler XML -> Objektmodell (Message E Raising) | 20010513 |
Method _SAVE_RENDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_OSTREAM | Value transfer | Object reference (TYPE REF TO) | IF_IXML_OSTREAM | IF_IXML_OSTREAM | 20011217 |
Method _SAVE_RENDER on class CL_RSAN_OM_XML_DOM has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 21C |