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 IXML 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 APPEND_NODES_NEW Instance method Public Method Append nodes to the XML document 20070709
2 BUILD_ATT_LIST_NEW Instance method Public Method Build attribute list from schema 20070709
3 BUILD_NODES Instance method Public Method Build Node tree from XML schema 20070709
4 CREATE_XML Instance method Public Method Convert file to xml 20070709
5 DELETE_CTYPES Instance method Public Method Delete Complex Optional Nodes 20070709
6 DELETE_UNWANTED_NODES Instance method Protected Method Delete Optional Nodes 20070709
7 GET_ELETY_IF_ANY Instance method Public Method Get element types for the nodes 20070709
8 GET_NODES_NEW Instance method Public Method Get nodes for the XML document from schema 20070709
9 GET_NODE_LIST_NEW Instance method Public Method Get nodes list 20070709
10 VALIDATE_XML_FILE_NEW 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 Importing ATTR_LIST Call by reference Type reference (TYPE) HRPAYCA_T_ATTR List of attributes 20070709
2 Importing DOCUMENT Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT Document reference 20070709
3 Changing ELEMENT Value transfer Object reference (TYPE REF TO) IF_IXML_ELEMENT Element reference 20070709
4 Changing INDEX Value transfer Type reference (TYPE) SY-TABIX Table index 20070709
5 Importing 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 Importing ATT_GROUP Value transfer Type reference (TYPE) HRPAYCA_T_ATTGP List of attribute groups from schema 20070709
2 Changing 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 Importing ATT_GRP Value transfer Type reference (TYPE) HRPAYCA_T_ATTGP HR-CA: List of attributes within an attribute group 20070709
2 Changing 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 Changing NODES Call by reference Type reference (TYPE) HRPAYCA_T_NODE_T HR-CA: Generic table for nodes of an XML document 20070709
4 Importing 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 Importing ATTR_LIST Call by reference Type reference (TYPE) HRPAYCA_T_ATTR Table containing attributes for a node with value 20070709
2 Importing DEL_OPTIO Value transfer Type reference (TYPE) BOOLEAN Delete optional node(s) 20070709
3 Changing DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT Document reference 20070709
4 Importing FILENAME Value transfer Type reference (TYPE) STRING Download file name 20070709
5 Exporting IS_OK Call by reference Type reference (TYPE) BOOLEAN Return code 20070709
6 Changing MSGLOG Call by reference Type reference (TYPE) STANDARD TABLE Message log 20070709
7 Changing NODE_LIST Call by reference Type reference (TYPE) HRPAYCA_T_NODE_T Table containing node name with data 20070709
8 Importing 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 Importing ATTR_LIST Call by reference Type reference (TYPE) HRPAYCA_T_ATTR Table containing attributes for a node with value 20070709
2 Changing DELETE_PARENT Call by reference Type reference (TYPE) BOOLEAN Flag to delete the complextype 20070709
3 Changing INDEX Call by reference Type reference (TYPE) SY-TABIX Internal table, current line index 20070709
4 Changing 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 Importing ATTR_LIST Call by reference Type reference (TYPE) HRPAYCA_T_ATTR Name of the root element 20070709
2 Changing 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 Importing LS_NODE_LIST Value transfer Type reference (TYPE) P07_S_NODE_T HR-CA: Generic structure for nodes of an XML document 20070709
2 Changing LT_NODES Call by reference Type reference (TYPE) HRPAYCA_T_NODE_T HR-CA: Generic table for nodes of an XML document 20070709
3 Importing 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 Changing ATTR_GROUP Call by reference Type reference (TYPE) HRPAYCA_T_ATTGP List of attribute groups 20070709
2 Changing ATTR_LIST Call by reference Type reference (TYPE) HRPAYCA_T_ATTR List of attributes for nodes 20070709
3 Importing DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT Docuement reference 20070709
4 Changing IS_OK Call by reference Type reference (TYPE) BOOLEAN Retrun code 20070709
5 Changing MSGLOG Call by reference Type reference (TYPE) STANDARD TABLE Message log 20070709
6 Changing NODE_LIST Call by reference Type reference (TYPE) HRPAYCA_T_NODE_T List of nodes 20070709
7 Importing 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 Changing ATTR_GROUP Call by reference Type reference (TYPE) HRPAYCA_T_ATTGP List of attribute groups 20070709
2 Changing ATTR_LIST Call by reference Type reference (TYPE) HRPAYCA_T_ATTR List of attributes for nodes 20070709
3 Importing NODE Value transfer Object reference (TYPE REF TO) IF_IXML_NODE Node reference 20070709
4 Changing 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 Importing AT_APPSERVER Call by reference Type reference (TYPE) BOOLEAN SPACE Validation to be performed at frontend or appserver 20091214
2 Importing FILENAME Call by reference Type reference (TYPE) STRING Name of the XML file with path to be validated 20091214
3 Exporting IS_OK Call by reference Type reference (TYPE) BOOLEAN Return code 20091214
4 Changing MSGLOG Call by reference Type reference (TYPE) STANDARD TABLE Message log 20091214
5 Importing SCHEMA Call by reference Type reference (TYPE) STRING Name of the XML schema with path 20091214
6 Importing TARGET_NAMESPACE Call by reference Type reference (TYPE) STRING SPACE Name of the Target Namespace 20091214
# Exception Resumable Description Created on
1 NO_BATCH Validation cannot be executed in batch 20091214
History
Last changed by/on SAP  20110809 
SAP Release Created in