SAP ABAP Class CL_HRPAYUS_XML (HR-US: Conversion to XML)
Hierarchy
☛
SAP_HRCUS (Software Component) Sub component SAP_HRCUS of SAP_HR
⤷
PY-US-RP-TR (Application Component) Tax Reporter
⤷
PC_TAX (Package) Tax reporter
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_HRPAYCA_XML | HR-CA: Conversion to XML | 20070709 |
Properties
| Class | CL_HRPAYUS_XML | |
| Short Description | HR-US: Conversion to XML | |
| Super Class | CL_HRPAYCA_XML | HR-CA: Conversion to XML |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC_TAX | Tax reporter |
| Created | 20070709 | SAP |
| Last change | 20110809 | 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
Class CL_HRPAYUS_XML has no interface implemented.
Friends
Class CL_HRPAYUS_XML has no friend class.
Attributes
Class CL_HRPAYUS_XML has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Append nodes to the XML document | 20070709 | |
| 2 | Instance method | Public | Method | Build attribute list from schema | 20070709 | |
| 3 | Instance method | Public | Method | Build Node tree from XML schema | 20070709 | |
| 4 | Instance method | Public | Method | Convert file to xml | 20070709 | |
| 5 | Instance method | Public | Method | Delete Complex Optional Nodes | 20070709 | |
| 6 | Instance method | Protected | Method | Delete Optional Nodes | 20070709 | |
| 7 | Instance method | Public | Method | Get element types for the nodes | 20070709 | |
| 8 | Instance method | Public | Method | Get nodes for the XML document from schema | 20070709 | |
| 9 | Instance method | Public | Method | Get nodes list | 20070709 | |
| 10 | Static method | Public | Method | Validate XML file agianst the XML schema | 20091214 |
Events
Class CL_HRPAYUS_XML has no event.
Types
Class CL_HRPAYUS_XML has no local type.
Method Signatures
Method APPEND_NODES_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | List of attributes | 20070709 | |||
| 2 | DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | Document reference | 20070709 | |||
| 3 | ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Element reference | 20070709 | |||
| 4 | INDEX | Value transfer | Type reference (TYPE) | SY-TABIX | Table index | 20070709 | |||
| 5 | NODE_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | List of nodes | 20070709 |
Method APPEND_NODES_NEW on class CL_HRPAYUS_XML has no exception.
Method BUILD_ATT_LIST_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATT_GROUP | Value transfer | Type reference (TYPE) | HRPAYCA_T_ATTGP | List of attribute groups from schema | 20070709 | |||
| 2 | ATT_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | List of attributes for elements from schema | 20070709 |
Method BUILD_ATT_LIST_NEW on class CL_HRPAYUS_XML has no exception.
Method BUILD_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATT_GRP | Value transfer | Type reference (TYPE) | HRPAYCA_T_ATTGP | HR-CA: List of attributes within an attribute group | 20070709 | |||
| 2 | ATT_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | HR-CA: Generic table for attributes of an element in XML doc | 20070709 | |||
| 3 | NODES | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | HR-CA: Generic table for nodes of an XML document | 20070709 | |||
| 4 | NODE_LIST | Value transfer | Type reference (TYPE) | HRPAYCA_T_NODE_T | HR-CA: Generic table for nodes of an XML document | 20070709 |
Method BUILD_NODES on class CL_HRPAYUS_XML has no exception.
Method CREATE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | Table containing attributes for a node with value | 20070709 | |||
| 2 | DEL_OPTIO | Value transfer | Type reference (TYPE) | BOOLEAN | Delete optional node(s) | 20070709 | |||
| 3 | DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | Document reference | 20070709 | |||
| 4 | FILENAME | Value transfer | Type reference (TYPE) | STRING | Download file name | 20070709 | |||
| 5 | IS_OK | Call by reference | Type reference (TYPE) | BOOLEAN | Return code | 20070709 | |||
| 6 | MSGLOG | Call by reference | Type reference (TYPE) | STANDARD TABLE | Message log | 20070709 | |||
| 7 | NODE_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | Table containing node name with data | 20070709 | |||
| 8 | ROOT | Value transfer | Type reference (TYPE) | STRING | Name of the root element | 20070709 |
Method CREATE_XML on class CL_HRPAYUS_XML has no exception.
Method DELETE_CTYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | Table containing attributes for a node with value | 20070709 | |||
| 2 | DELETE_PARENT | Call by reference | Type reference (TYPE) | BOOLEAN | Flag to delete the complextype | 20070709 | |||
| 3 | INDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Internal table, current line index | 20070709 | |||
| 4 | NODES | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | List of nodes | 20070709 |
Method DELETE_CTYPES on class CL_HRPAYUS_XML has no exception.
Method DELETE_UNWANTED_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | Name of the root element | 20070709 | |||
| 2 | NODES | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | HR-CA: Generic table for nodes of an XML document | 20070709 |
Method DELETE_UNWANTED_NODES on class CL_HRPAYUS_XML has no exception.
Method GET_ELETY_IF_ANY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LS_NODE_LIST | Value transfer | Type reference (TYPE) | P07_S_NODE_T | HR-CA: Generic structure for nodes of an XML document | 20070709 | |||
| 2 | LT_NODES | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | HR-CA: Generic table for nodes of an XML document | 20070709 | |||
| 3 | LT_NODE_LIST | Value transfer | Type reference (TYPE) | HRPAYCA_T_NODE_T | HR-CA: Generic table for nodes of an XML document | 20070709 |
Method GET_ELETY_IF_ANY on class CL_HRPAYUS_XML has no exception.
Method GET_NODES_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_GROUP | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTGP | List of attribute groups | 20070709 | |||
| 2 | ATTR_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | List of attributes for nodes | 20070709 | |||
| 3 | DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | Docuement reference | 20070709 | |||
| 4 | IS_OK | Call by reference | Type reference (TYPE) | BOOLEAN | Retrun code | 20070709 | |||
| 5 | MSGLOG | Call by reference | Type reference (TYPE) | STANDARD TABLE | Message log | 20070709 | |||
| 6 | NODE_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | List of nodes | 20070709 | |||
| 7 | SCHEMA | Call by reference | Type reference (TYPE) | STRING | Schema name | 20070709 |
Method GET_NODES_NEW on class CL_HRPAYUS_XML has no exception.
Method GET_NODE_LIST_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_GROUP | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTGP | List of attribute groups | 20070709 | |||
| 2 | ATTR_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_ATTR | List of attributes for nodes | 20070709 | |||
| 3 | NODE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE | Node reference | 20070709 | |||
| 4 | NODE_LIST | Call by reference | Type reference (TYPE) | HRPAYCA_T_NODE_T | List of nodes | 20070709 |
Method GET_NODE_LIST_NEW on class CL_HRPAYUS_XML has no exception.
Method VALIDATE_XML_FILE_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AT_APPSERVER | Call by reference | Type reference (TYPE) | BOOLEAN | SPACE | Validation to be performed at frontend or appserver | 20091214 | ||
| 2 | FILENAME | Call by reference | Type reference (TYPE) | STRING | Name of the XML file with path to be validated | 20091214 | |||
| 3 | IS_OK | Call by reference | Type reference (TYPE) | BOOLEAN | Return code | 20091214 | |||
| 4 | MSGLOG | Call by reference | Type reference (TYPE) | STANDARD TABLE | Message log | 20091214 | |||
| 5 | SCHEMA | Call by reference | Type reference (TYPE) | STRING | Name of the XML schema with path | 20091214 | |||
| 6 | TARGET_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | SPACE | Name of the Target Namespace | 20091214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Validation cannot be executed in batch | 20091214 |
History
| Last changed by/on | SAP | 20110809 |
| SAP Release Created in |