SAP ABAP Class /TDAG/CPCL_XML_STRU_DATA (CP: Read product tree data from CfP XML)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | /TDAG/CPIF_DATA | CP: Interface für Objekte zur Datenverwaltung | 20070829 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | /TDAG/CPIF_STRU_DATA | CP: Interface for product structure data | 20070829 |
Properties
Class | /TDAG/CPCL_XML_STRU_DATA | |
Short Description | CP: Read product tree data from CfP XML | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /TDAG/CP | Compliance for products |
Created | 20070829 | SAP |
Last change | 20141109 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ESP1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | IXML | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | SEEX | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | /TDAG/CPIF_DATA | CP: Interface für Objekte zur Datenverwaltung | 20070829 | ||
2 | /TDAG/CPIF_STRU_DATA | CP: Interface for product structure data | 20070829 |
Friends
Class /TDAG/CPCL_XML_STRU_DATA has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MO_BADI | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/IF_EX_CP_BADI_004 | Business add-in interface /TDAG/IF_EX_CP_BADI_004 | 20070829 | ||
2 | MO_PARSER | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_PARSER | IF_IXML_PARSER | 20070829 | ||
3 | MT_BOS_DATA | Instance attribute | Public | Type reference (TYPE) | /TDAG/CPY_BOS_COMP | CP: BOS explosion | 20071010 | ||
4 | MT_MESSAGE | Instance attribute | Private | Type reference (TYPE) | BAL_T_MSG | Table with messages that have to be output by the controler | 20071019 | ||
5 | MT_PROD_COMPONENTS | Instance attribute | Protected | Type reference (TYPE) | L_PROD_COMP_TAB_TYP | Table with parsed product components | 20070903 | ||
6 | MT_PROD_STRUCT | Instance attribute | Protected | Attribute reference (LIKE) | 20070829 | ||||
7 | MT_XML_FILE | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | XML file data | 20070829 | ||
8 | M_FLG_BADI_IMPLEMENTED | Instance attribute | Private | Type reference (TYPE) | SEEX_BOOLEAN | True if there is an active BAdI Implementation | 20071019 | ||
9 | M_FLG_DUMMY_ROOT | Instance attribute | Private | Type reference (TYPE) | ESEBOOLE | There are 2/more products | 20070910 | ||
10 | M_FLG_ERROR | Instance attribute | Private | Type reference (TYPE) | ESEBOOLE | True if an error occurred during parsing of the XML file | 20071019 | ||
11 | M_FLT_VALUE | Instance attribute | Private | Type reference (TYPE) | /TDAG/CPE_VIEWERNO | Internal key of the document viewer | 20071010 | ||
12 | M_MAX_LEVEL | Instance attribute | Private | Type reference (TYPE) | /TDAG/CPE_LEVEL | Level | 20070829 | ||
13 | M_NODE_KEY | Instance attribute | Private | Type reference (TYPE) | TV_NODEKEY | Node key | 20070829 | ||
14 | M_PRODUCT_NODE_KEY | Instance attribute | Private | Type reference (TYPE) | TV_NODEKEY | Node key | 20070910 | ||
15 | M_ROOT_KEY | Instance attribute | Protected | Attribute reference (LIKE) | 20070829 | ||||
16 | M_XML_FILE_SIZE | Instance attribute | Protected | Type reference (TYPE) | I | Size of the XMLf ile | 20070829 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_PRODUCT_TAGS | Instance method | Private | Method | Check the number of |
20070910 |
2 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor of the class | 20071010 |
3 | CREATE_PARSER | Static method | Public | Method | Create parser object | 20070829 |
4 | FILL_COMP_DATA | Instance method | Private | Method | Fill data, parsed from ProductComponents | 20070903 |
5 | FIND_ELEMENT | Static method | Public | Method | Find XML element | 20070829 |
6 | GET_ROOT | Instance method | Public | Method | 20070829 | |
7 | INIT | Instance method | Public | Method | 20070829 | |
8 | PARSE_ERROR_GET | Static method | Public | Method | Collect the information why the parsing failed | 20071019 |
9 | PARSE_MATERIAL | Instance method | Private | Method | Parse ProductComponents/Material element | 20070903 |
10 | PARSE_PRODUCTSTRUCTURE | Instance method | Private | Method | Parse ProductStructure element for localIDRef and attributes | 20080221 |
11 | PARSE_STRUCTURE_TAG | Instance method | Private | Method | Parse Structure element to get the usage information | 20071010 |
12 | PARSE_SUBSTANCE | Instance method | Private | Method | Parse ProductComponents/Substance element | 20070903 |
13 | PARSE_SUBUNIT | Instance method | Private | Method | Parse ProductComponents/SubUnit element | 20070903 |
14 | PARSE_TREE_1 | Instance method | Private | Method | Parse ProductDetail and ProductStructure section CfP XML | 20070829 |
15 | PARSE_TREE_2 | Instance method | Private | Method | Parse ProductComponents section to get identifiers for tree | 20070829 |
16 | PARSE_UNKNOW | Instance method | Private | Method | Parse ProductComponents/Unknown element | 20071010 |
17 | READ_NODES | Instance method | Public | Method | 20070829 | |
18 | SET_XML_FILE | Instance method | Public | Method | Set CfP XML file to be parsed | 20070829 |
19 | SORT_TREE | Instance method | Private | Method | Sort mt_prod_struct | 20071009 |
Events
# | Event | Type | Visibility | Description | Created on |
---|---|---|---|---|---|
1 | PROD_STRU_MODIFIED | Instance Event (0) |
Public (2) |
20070829 |
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | L_PROD_COMP_TAB_TYP | Protected | See coding | 20070903 | |
||
2 | L_STRUCTURE_LINE_TYPE | Protected | See coding | 20071010 | |
Method Signatures
Method CHECK_PRODUCT_TAGS Signature
Method CHECK_PRODUCT_TAGS on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Internal error has occured | 20070910 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FLT_VAL | Call by reference | Type reference (TYPE) | /TDAG/CPE_VIEWERNO | BADI Filter value | 20071010 |
Method CONSTRUCTOR on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method CREATE_PARSER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EO_PARSER | Call by reference | Object reference (TYPE REF TO) | IF_IXML_PARSER | Reference to the XML Parser | 20070829 | ||
2 | Importing | IT_XML_FILE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RCGREPFILE | CFP XML file | 20070829 | ||
3 | Importing | I_FILESIZE | Call by reference | Type reference (TYPE) | I | File size | 20070829 | ||
4 | Exporting | XO_IXML | Call by reference | Object reference (TYPE REF TO) | IF_IXML | Reference to the XML library | 20071022 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CREATE_FAILED | Error creating XML parser object | 20071019 | |
2 | MISSING_DATA | XML file or size is empty | 20071019 |
Method FILL_COMP_DATA Signature
Method FILL_COMP_DATA on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method FILL_COMP_DATA on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method FIND_ELEMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MESSAGE | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20071019 | ||
2 | Exporting | E_FLG_FOUND | Call by reference | Type reference (TYPE) | ESEBOOLE | Element is found | 20070829 | ||
3 | Importing | IO_PARSER | Call by reference | Object reference (TYPE REF TO) | IF_IXML_PARSER | IF_IXML_PARSER | 20070829 | ||
4 | Importing | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Element to find | 20070829 |
Method FIND_ELEMENT on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method GET_ROOT Signature
Method GET_ROOT on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method GET_ROOT on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method INIT Signature
Method INIT on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method INIT on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_ERROR_GET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_MESSAGE | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20071019 | ||
2 | Importing | IO_PARSER | Call by reference | Object reference (TYPE REF TO) | IF_IXML_PARSER | IF_IXML_PARSER | 20071019 |
Method PARSE_ERROR_GET on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_MATERIAL Signature
Method PARSE_MATERIAL on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method PARSE_MATERIAL on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_PRODUCTSTRUCTURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_STRUCTURE | Call by reference | Type reference (TYPE) | L_STRUCTURE_LINE_TYPE | 20080221 | |||
2 | Importing | I_PARENT_NODE_KEY | Call by reference | Type reference (TYPE) | TV_NODEKEY | Node key | 20080221 |
Method PARSE_PRODUCTSTRUCTURE on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_STRUCTURE_TAG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_STRUCT_DATA | Call by reference | Type reference (TYPE) | L_STRUCTURE_LINE_TYPE | Structure data | 20071010 |
Method PARSE_STRUCTURE_TAG on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_SUBSTANCE Signature
Method PARSE_SUBSTANCE on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method PARSE_SUBSTANCE on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_SUBUNIT Signature
Method PARSE_SUBUNIT on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method PARSE_SUBUNIT on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_TREE_1 Signature
Method PARSE_TREE_1 on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method PARSE_TREE_1 on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_TREE_2 Signature
Method PARSE_TREE_2 on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method PARSE_TREE_2 on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method PARSE_UNKNOW Signature
Method PARSE_UNKNOW on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method PARSE_UNKNOW on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method READ_NODES Signature
Method READ_NODES on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
Method READ_NODES on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Method SET_XML_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_XML_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Data to be displayed | 20070829 | ||
2 | Importing | I_FILE_SIZE | Call by reference | Type reference (TYPE) | I | Size of the xml file | 20070829 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | MISSING_DATA | IT_XML_DATA table is empty | 20070829 | |
2 | MISSING_FILE_SIZE | I_FILE_SIZE parameter is initial | 20070829 |
Method SORT_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_LEVEL | Call by reference | Type reference (TYPE) | /TDAG/CPE_LEVEL | Level | 20071009 | ||
2 | Importing | I_PARENT_NODE_KEY | Call by reference | Type reference (TYPE) | TV_NODEKEY | Node key | 20071009 | ||
3 | Changing | XT_PROD_STRUCT | Call by reference | Type reference (TYPE) | /TDAG/CPY_PSTRDATA | Sorted product structure | 20071009 |
Method SORT_TREE on class /TDAG/CPCL_XML_STRU_DATA has no exception.
Event Signatures
Event PROD_STRU_MODIFIED Signature
Event PROD_STRU_MODIFIED on class /TDAG/CPCL_XML_STRU_DATA has no parameter.
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 222_46C |