SAP ABAP Class CL_RMPS_TRANSFER_XML (Parent class of XML generation)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-RCM (Application Component) Records and Case Management
⤷
RMPS_DOD_TRANSFER_DESIGNTIME (Package) DoD: Transfer - Design time related artifacts
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RMPS_TRANSFER_C | DoD: Transfer - configuration - constants | 20090824 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RMPS_TRANSFER_XML_C | Constants used in XML | 20090901 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RMPS_TRANSFER_GEN_SCHEMA | Generate an XML Schema | 20090824 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_RMPS_TRANSFER_GEN_STYLE | Generate xsl Stylesheet | 20091127 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_RMPS_TRANSFER_GEN_TEMPLATE | Generate an XML Template | 20090824 |
Properties
| Class | CL_RMPS_TRANSFER_XML | |
| Short Description | Parent class of XML generation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RMPS_DOD_TRANSFER_DESIGNTIME | DoD: Transfer - Design time related artifacts |
| Created | 20090824 | SAP |
| Last change | 20110908 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_RMPS_TRANSFER_C | DoD: Transfer - configuration - constants | 20090824 | ||
| 2 | IF_RMPS_TRANSFER_XML_C | Constants used in XML | 20090901 |
Friends
Class CL_RMPS_TRANSFER_XML has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | O2PAGELINE_TABLE | Generated source | 20090824 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | STRING | Used prefix for generation | 20090824 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | STRING | prefix with separator (:) | 20091019 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check element or attribute name | 20091102 | |
| 2 | Instance method | Protected | Method | generate a remark | 20090902 | |
| 3 | Instance method | Protected | Method | returns the modified path | 20100125 | |
| 4 | Instance method | Public | Method | returns the generated Schema | 20090824 | |
| 5 | Instance method | Public | Method | returns the last part of the given path | 20091204 | |
| 6 | Instance method | Protected | Method | returns the next part of the given path | 20100202 | |
| 7 | Instance method | Protected | Method | Returns TRUE if the property table has only attributes | 20100223 | |
| 8 | Instance method | Protected | Method | Returns true if the parent has children in the parent table | 20100223 | |
| 9 | Static method | Public | Method | tests for a simple schema type | 20091015 | |
| 10 | Instance method | Protected | Method | Set the prefix for generation | 20090824 | |
| 11 | Instance method | Protected | Method | finish a multi-line tag | 20090824 | |
| 12 | Instance method | Protected | Method | Generates a header tag | 20091203 | |
| 13 | Instance method | Protected | Method | Start of an multi-line tag | 20090824 | |
| 14 | Instance method | Protected | Method | Simple tag | 20090824 | |
| 15 | Instance method | Public | Method | Validate XML | 20090824 | |
| 16 | Instance method | Protected | Method | header of xml file with xml version | 20091127 | |
| 17 | Instance method | Protected | Method | write simple text | 20091202 |
Events
Class CL_RMPS_TRANSFER_XML has no event.
Types
Class CL_RMPS_TRANSFER_XML has no local type.
Method Signatures
Method CHECK_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20091102 | ||||
| 2 | RV_IS_VALID_NAME | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091102 |
Method CHECK_NAME on class CL_RMPS_TRANSFER_XML has no exception.
Method COMMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090902 |
Method COMMENT on class CL_RMPS_TRANSFER_XML has no exception.
Method DELETE_LAST_PART_OF_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path | 20100125 | |||
| 2 | RE_REDUCED_PATH | Value transfer | Type reference (TYPE) | STRING | reduced path | 20100125 |
Method DELETE_LAST_PART_OF_PATH on class CL_RMPS_TRANSFER_XML has no exception.
Method GET_GENERATED_XML_AS_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_GEN_XSD | Value transfer | Type reference (TYPE) | STRING | 20090824 |
Method GET_GENERATED_XML_AS_STRING on class CL_RMPS_TRANSFER_XML has no exception.
Method GET_LAST_PART_OF_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMPLETE_PATH | Call by reference | Type reference (TYPE) | RMPS_TRF_COMPL_XML_PAR_PATH | complete path | 20091204 | |||
| 2 | RE_NEXT_PARENT | Value transfer | Type reference (TYPE) | STRING | next parent | 20091204 |
Method GET_LAST_PART_OF_PATH on class CL_RMPS_TRANSFER_XML has no exception.
Method GET_NEXT_PART_OF_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NEW_PATH | Call by reference | Type reference (TYPE) | RMPS_TRF_COMPL_XML_PAR_PATH | DoD: Transfer - complete XML parent path (/ as delimeter) | 20100202 | |||
| 2 | IV_PREVIOUS_PATH | Call by reference | Type reference (TYPE) | STRING | complete path | 20100202 | |||
| 3 | RE_NEXT_PARENT | Value transfer | Type reference (TYPE) | STRING | next parent | 20100202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect Parameter for String Function | 20100202 |
Method HAS_ONLY_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PROP | Call by reference | Type reference (TYPE) | RMPS_T_TRF_PROP | DoD: Transfer - properties | 20100223 | |||
| 2 | RE_HAS_ONLY_ATTRIBUTES | Value transfer | Type reference (TYPE) | ABAP_BOOL | TRUE if property table has only attributes | 20100223 |
Method HAS_ONLY_ATTRIBUTES on class CL_RMPS_TRANSFER_XML has no exception.
Method HAS_PARENT_CHILD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PARENT_PATH | Call by reference | Type reference (TYPE) | RMPS_T_TRF_ENTITY_MAP_PAR_PATH | DoD: Transfer - entity map and xml parent path | 20100223 | |||
| 2 | IV_PARENT_PATH | Call by reference | Type reference (TYPE) | STRING | parent path | 20100223 | |||
| 3 | RE_HAS_CHILD | Value transfer | Type reference (TYPE) | ABAP_BOOL | True if parent has child | 20100223 |
Method HAS_PARENT_CHILD on class CL_RMPS_TRANSFER_XML has no exception.
Method IS_SIMPLE_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TYPE | Call by reference | Type reference (TYPE) | STRING | Type to be tested | 20091015 | |||
| 2 | RE_IS_SIMPLE_TYPE | Value transfer | Type reference (TYPE) | BOOLEAN | true if it is a simple type | 20091015 |
Method IS_SIMPLE_TYPE on class CL_RMPS_TRANSFER_XML has no exception.
Method SET_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PREFIX | Call by reference | Type reference (TYPE) | STRING | 20090824 |
Method SET_PREFIX on class CL_RMPS_TRANSFER_XML has no exception.
Method TAG_CLOSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | 20090824 | ||||
| 2 | IV_USE_PREFIX | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090824 |
Method TAG_CLOSE on class CL_RMPS_TRANSFER_XML has no exception.
Method TAG_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PARMS | Call by reference | Type reference (TYPE) | RMPS_T_TRF_NAME_VALUE_PAIR | Table of name - value pairs | 20091203 | |||
| 2 | IV_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | 20091203 | ||||
| 3 | IV_USE_PREFIX | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20091203 |
Method TAG_HEADER on class CL_RMPS_TRANSFER_XML has no exception.
Method TAG_OPEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PARMS | Call by reference | Type reference (TYPE) | RMPS_T_TRF_NAME_VALUE_PAIR | Name Value Pair | 20090824 | |||
| 2 | IV_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | 20090824 | ||||
| 3 | IV_USE_PREFIX | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090824 |
Method TAG_OPEN on class CL_RMPS_TRANSFER_XML has no exception.
Method TAG_SIMPLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_PARMS | Call by reference | Type reference (TYPE) | RMPS_T_TRF_NAME_VALUE_PAIR | Table of name - value pairs | 20090824 | |||
| 2 | IV_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | 20090824 | ||||
| 3 | IV_USE_PREFIX | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090824 |
Method TAG_SIMPLE on class CL_RMPS_TRANSFER_XML has no exception.
Method VALIDATE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BYTE_OFFSET | Call by reference | Type reference (TYPE) | I | 20090824 | ||||
| 2 | EV_ERR_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090824 | ||||
| 3 | IV_XML_STREAM | Call by reference | Type reference (TYPE) | STRING | use either string or xstring | 20090824 | |||
| 4 | IV_XML_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | use either string or xstring | 20090824 |
Method VALIDATE_XML on class CL_RMPS_TRANSFER_XML has no exception.
Method XML_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | STRING | encoding | 20091127 |
Method XML_HEADER on class CL_RMPS_TRANSFER_XML has no exception.
Method XML_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | text | 20091202 |
Method XML_TEXT on class CL_RMPS_TRANSFER_XML has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |