SAP ABAP Class CL_UA_UPLOAD_PARSER_XML (Convert XML into Command List)
Hierarchy
☛
SEM-BW (Software Component) SEM-BW: Strategic Enterprise Management
⤷
FIN-BA (Application Component) Business Analytics
⤷
UA_IMPORT (Package) Costing Engine Data Import Framework
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_UA_UPLOAD_PARSER_ABSTRACT | Abstract Upper Class for Upload Parser | 20030711 |
Properties
| Class | CL_UA_UPLOAD_PARSER_XML | |
| Short Description | Convert XML into Command List | |
| Super Class | CL_UA_UPLOAD_PARSER_ABSTRACT | Abstract Upper Class for Upload Parser |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | UACE | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | UA_IMPORT | Costing Engine Data Import Framework |
| Created | 20030711 | SAP |
| Last change | 20050615 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_UA_UPLOAD_PARSER_XML has no interface implemented.
Friends
Class CL_UA_UPLOAD_PARSER_XML 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) | INT4 | Natural Number | 20050725 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050725 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | XSTRING | XML Description of Upload | 20030711 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML | XML Dummy (SAP Note 652526) | 20030917 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TH_CONVERTER | Field Conversion | 20030718 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | UAB_T_COMMAND | Table with Commands to Create a CE Structure | 20030711 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | YT_IMPORTED | Table of Already Imported Subtrees/Subnetworks | 20050725 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | YT_NVPAIR_LEVEL | Assignment: Name/Value Table <-> Hierarchy Level | 20050725 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | STRING | ASCII Sign | 20030711 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Builder Interface: Creates Table with Commands | 20030711 | |
| 2 | Instance method | Public | Method | Builder Interface: Add Link | 20030711 | |
| 3 | Instance method | Public | Method | Builder Interface: Add Hierarchy Link | 20040811 | |
| 4 | Instance method | Public | Method | Builder Interface: Add Hierarchy Object | 20040811 | |
| 5 | Instance method | Public | Method | Builder Interface: Add Node | 20030711 | |
| 6 | Instance method | Public | Method | Builder Interface: Add Object | 20030711 | |
| 7 | Instance method | Public | Method | Builder Interface: Add Table Row | 20040206 | |
| 8 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20030711 | |
| 9 | Instance method | Private | Method | Convert XML Node Collections in NV Pair Table | 20030716 | |
| 10 | Instance method | Private | Method | Complete Required Entry Fields from Context | 20030717 | |
| 11 | Instance method | Public | Constructor | CONSTRUCTOR | 20030711 | |
| 12 | Instance method | Private | Method | Convert into Internal Display | 20030718 | |
| 13 | Instance method | Private | Method | Check whether object was already imported | 20050725 | |
| 14 | Instance method | Private | Method | Finds Root Nodes of Upload | 20030718 | |
| 15 | Instance method | Private | Method | Gets External to Internal Converter | 20030718 | |
| 16 | Instance method | Private | Method | Completes Half Links for Root Nodes | 20030718 | |
| 17 | Instance method | Public | Method | Execute Conversion | 20030711 | |
| 18 | Instance method | Private | Method | Read from Hierarchy Levels Table | 20050725 | |
| 19 | Static method | Private | Method | Reset Specific Escape Sequences | 20030711 |
Events
Class CL_UA_UPLOAD_PARSER_XML has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_IMPORTED | Private | See coding | 20050725 | BEGIN OF ys_imported,
typename TYPE uab_typename,
key_tab TYPE yt_key_tab,
END OF ys_imported
|
||
| 2 | YS_NVPAIR_LEVEL | Private | See coding | 20050725 | BEGIN OF ys_nvpair_level,
nv_pair TYPE uab_t_nv_pair,
level TYPE int4,
END OF ys_nvpair_level
|
||
| 3 | YS_NV_PAIR_DUMMY | Private | See coding | 20050725 | BEGIN OF ys_nv_pair_dummy,
dummy TYPE boole_d,
table TYPE uab_t_nv_pair,
END OF ys_nv_pair_dummy
|
||
| 4 | YT_IMPORTED | Private | See coding | 20050725 | yt_imported TYPE STANDARD TABLE OF ys_imported
|
||
| 5 | YT_KEY_TAB | Private | See coding | 20050725 | yt_key_tab TYPE STANDARD TABLE OF ys_nv_pair_dummy WITH NON-UNIQUE KEY dummy
|
||
| 6 | YT_NVPAIR_LEVEL | Private | See coding | 20050725 | yt_nvpair_level TYPE STANDARD TABLE OF ys_nvpair_level
|
Method Signatures
Method BUILD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_COMMAND | Value transfer | Type reference (TYPE) | UAB_T_COMMAND | Tabelle mit Befehlen zum Aufbau einer CE-Struktur | 20030711 |
Method BUILD on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method BUILDER_ADD_EDGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ETYPE | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Kantentyp | 20030711 | |||
| 2 | ID_OTYPE_REC | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Empfänger: Objekttyp | 20030711 | |||
| 3 | ID_OTYPE_SND | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Sender: Objekttyp | 20030711 | |||
| 4 | IO_EDATA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Kantendaten | 20030711 | |||
| 5 | IO_HOKEY_REC | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Empfänger: Hierarchieobjektschlüssel | 20040811 | |||
| 6 | IO_OKEY_REC | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Empfänger: Objektschlüssel | 20030711 | |||
| 7 | IO_OKEY_SND | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Sender: Objektschlüssel | 20030711 |
Method BUILDER_ADD_EDGE on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method BUILDER_ADD_HIERARCHY_EDGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_OTYPE_SND | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Sender: Objekttyp | 20050609 | |||
| 2 | IO_HOKEY_REC | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Empfänger: Hierarchieobjektschlüssel | 20050609 | |||
| 3 | IO_HOKEY_SND | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Sender: Hierarchieobjektschlüssel | 20050609 | |||
| 4 | IO_OKEY_SND | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Sender: Objektschlüssel | 20050609 |
Method BUILDER_ADD_HIERARCHY_EDGE on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method BUILDER_ADD_HIERARCHY_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ODATA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Hierarchieobjektdaten | 20040811 | |||
| 2 | IO_OKEY | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Hierarchieobjektschlüssel | 20040811 |
Method BUILDER_ADD_HIERARCHY_OBJECT on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method BUILDER_ADD_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_OTYPE | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Objekttyp | 20030711 | |||
| 2 | IO_NDATA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Knotendaten | 20030711 | |||
| 3 | IO_OKEY | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Objektschlüssel | 20030711 |
Method BUILDER_ADD_NODE on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method BUILDER_ADD_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_OTYPE | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Objekttyp | 20030711 | |||
| 2 | IO_ODATA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Objektdaten | 20030711 | |||
| 3 | IO_OKEY | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Objektschlüssel | 20030711 |
Method BUILDER_ADD_OBJECT on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method BUILDER_ADD_TLINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_TTYPE | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Objekttyp | 20040206 | |||
| 2 | IO_TDATA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Objektdaten | 20040206 | |||
| 3 | IO_TKEY | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Objektschlüssel | 20040206 |
Method BUILDER_ADD_TLINE on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_UA_UPLOAD_PARSER_XML has no parameter.
Method CLASS_CONSTRUCTOR on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method COL_TO_NVTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_COL1 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | IF_IXML_NODE_COLLECTION | 20030716 | |||
| 2 | IO_COL2 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | IF_IXML_NODE_COLLECTION | 20030716 | |||
| 3 | RT_NV_PAIR | Value transfer | Type reference (TYPE) | UAB_T_NV_PAIR | Tabelle von Name-Wert-Paaren | 20030716 |
Method COL_TO_NVTAB on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method COMPLEMENT_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NV_PAIR | Call by reference | Type reference (TYPE) | UAB_T_NV_PAIR | Tabelle von Name-Wert-Paaren | 20030717 | |||
| 2 | ID_METATYPE | Call by reference | Type reference (TYPE) | FINB_METATYPE | Metatyp einer CS-Struktur (Object, Edge, Node,...) | 20031209 | |||
| 3 | ID_TYPENAME | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Costing Solutions Strukturname | 20030717 |
Method COMPLEMENT_FIELDS on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_UPLOAD_TYPE | Call by reference | Type reference (TYPE) | UAB_UPLOAD_TYPE | Typ des R/3-Uploads | 20030711 | |||
| 2 | ID_XML_STRING | Call by reference | Type reference (TYPE) | XSTRING | XML-Beschreibung des Upload | 20030711 | |||
| 3 | IO_ENVIRONMENT | Call by reference | Object reference (TYPE REF TO) | IF_UA_CE_ENVIRONMENT | Laufzeitumgebung | 20030711 | |||
| 4 | IO_UPLOAD_CONTEXT | Call by reference | Object reference (TYPE REF TO) | CL_UA_UPLOAD_CONTEXT | Kontext für den Upload | 20030711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030801 |
Method CONVERT_TO_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NV_PAIR | Call by reference | Type reference (TYPE) | UAB_T_NV_PAIR | Tabelle von Name-Wert-Paaren | 20030718 |
Method CONVERT_TO_INTERNAL on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method FIND_ALREADY_IMPORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_IMPORTED | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20050725 | |||
| 2 | ED_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Interne Tabellen, aktueller Zeilenindex | 20050725 | |||
| 3 | ET_KEY_TAB | Call by reference | Type reference (TYPE) | YT_KEY_TAB | 20050725 | ||||
| 4 | ID_TYPENAME | Call by reference | Type reference (TYPE) | UAB_TYPENAME | Typname | 20050725 | |||
| 5 | IT_NV_PAIR | Call by reference | Type reference (TYPE) | UAB_T_NV_PAIR | Tabelle von Name-Wert-Paaren | 20050725 |
Method FIND_ALREADY_IMPORTED on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method FIND_TOP_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_COMMAND | Call by reference | Type reference (TYPE) | UAB_T_COMMAND | Tabelle mit Befehlen zum Aufbau einer CE-Struktur | 20030718 | |||
| 2 | RT_NODE | Value transfer | Type reference (TYPE) | UAB_T_UPLID | Tabelle von Upload-IDs | 20030718 |
Method FIND_TOP_NODES on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method GET_CONVERTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_FIELDNAME | Call by reference | Type reference (TYPE) | UAB_FIELDNAME | Feldname (Merkmal oder Kennzahl) | 20030718 | |||
| 2 | RO_CONVERTER | Value transfer | Object reference (TYPE REF TO) | IF_UG_MD_CHAR | FI-Stammdaten: Repräsentanz eines Merkmals | 20030718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierung nicht durchführen | 20030718 |
Method MAKE_TOP_EDGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NODE | Call by reference | Type reference (TYPE) | UAB_T_UPLID | Tabelle von Upload-IDs | 20030718 | |||
| 2 | RT_COMMAND | Value transfer | Type reference (TYPE) | UAB_T_COMMAND | Tabelle mit Befehlen zum Aufbau einer CE-Struktur | 20030718 |
Method MAKE_TOP_EDGES on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method PARSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_COMMAND | Value transfer | Type reference (TYPE) | UAB_T_COMMAND | Tabelle mit Befehlen zum Aufbau einer CE-Struktur | 20030711 |
Method PARSE on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method SEARCH_LEVEL_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Interne Tabellen, aktueller Zeilenindex | 20050725 | |||
| 2 | ES_CONTENT | Call by reference | Type reference (TYPE) | YS_NVPAIR_LEVEL | 20050725 | ||||
| 3 | IT_KEY | Call by reference | Type reference (TYPE) | UAB_T_NV_PAIR | Tabelle von Name-Wert-Paaren | 20050725 |
Method SEARCH_LEVEL_TAB on class CL_UA_UPLOAD_PARSER_XML has no exception.
Method UNESCAPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_STRING | Call by reference | Type reference (TYPE) | STRING | 20030711 | ||||
| 2 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | 20030711 |
Method UNESCAPE on class CL_UA_UPLOAD_PARSER_XML has no exception.
History
| Last changed by/on | SAP | 20050615 |
| SAP Release Created in | 400 |