SAP ABAP Class CL_HR_NL_XML (XML Utilities)
Hierarchy
SAP_HRCNL (Software Component) Sub component SAP_HRCNL of SAP_HR
   PY-NL-RP (Application Component) Reporting
     P05T (Package) HR Payroll: The Netherlands
Properties
Class CL_HR_NL_XML  
Short Description XML Utilities    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P05T   HR Payroll: The Netherlands 
Created 20121102   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HR_NL_XML has no forward declaration.
Interfaces
Class CL_HR_NL_XML has no interface implemented.
Friends
Class CL_HR_NL_XML has no friend class.
Attributes
Class CL_HR_NL_XML has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ATTRIBUTE_GET Static method Public Method Returns Content + Number of Characters of an Attribute 20121102
2 ATTRIBUTE_INS_VALUE Static method Public Method Writes the Value of an Attribute 20121102
3 CHARTAB_STRING Static method Public Method Convert Table with Row Type CHAR255 to String 20121102
4 DEL_ALL_PREFIX Static method Public Method Löschen aller (erkennbaren) PREFIXe aus einem XML 20121102
5 DEL_PREFIX Static method Public Method Deletes PREFIX from a XML 20121102
6 MOD_ADDCONVERT Static method Public Method New: Fills Structure HRB2A_S_VALUE for Attribute or Tag Val. 20121102
7 MOD_WRITE_TAG Static method Public Method New: Generate XML Tag (Unlimited Number of Attributes) 20121102
8 REPLACE_CHARS Static method Public Method Replace Special Characters 20121102
9 STRING_CHARTAB Static method Public Method Convert String to Table with Row Type CHAR255 20121102
10 TAG_CUT Static method Public Method Deletes the Content of a Tag 20121102
11 TAG_GET Static method Public Method Returns Content + Number of Characters of a Tag 20121102
12 TAG_GET_ATT Static method Public Method Improved TAG_GET Method. Works with Attributes 20121102
13 TAG_GET_ATT_MULTI Static method Public Method Provides a Table Containing the Values of the Same Tag 20121102
14 TAG_GET_MULTI Static method Public Method Returns Table with Tag Content (Multiple Occurrences) 20121102
15 TAG_INS_VALUE Static method Public Method Writes a Value to a Tag 20121102
16 TAG_WRITE Static method Public Method Writes a Tag to the Specified Position 20121102
17 WRITE_TAG Static method Public Method Generate XML Tag 20121102
Events
Class CL_HR_NL_XML has no event.
Types
Class CL_HR_NL_XML has no local type.
Method Signatures

Method ATTRIBUTE_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRIBUTE Call by reference Type reference (TYPE) STRING Attribute Name 20121102
2 Exporting LENGTH Call by reference Type reference (TYPE) I Number of Characters 20121102
3 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name XYZ; Do Not Specify <...> 20121102
4 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
5 Exporting XML_OUT Call by reference Type reference (TYPE) STRING Tag Content 20121102
# Exception Resumable Description Created on
1 NO_ATTRIBUTE Attribute does not exist 20121102
2 NO_TAG Tag Does Not Exist 20121102

Method ATTRIBUTE_INS_VALUE Signature

Method ATTRIBUTE_INS_VALUE on class CL_HR_NL_XML has no parameter.
Method ATTRIBUTE_INS_VALUE on class CL_HR_NL_XML has no exception.

Method CHARTAB_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LENGTH Call by reference Type reference (TYPE) I Length 20121102
2 Exporting STRING Call by reference Type reference (TYPE) STRING Output String 20121102
3 Importing TAB_CHAR255 Call by reference Type reference (TYPE) HRB2A_T_CHAR255 HR-B2A: Table type for CHAR255 20121102

Method CHARTAB_STRING on class CL_HR_NL_XML has no exception.

Method DEL_ALL_PREFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XML_IN Call by reference Type reference (TYPE) STRING Eingangs-XML 20121102
2 Returning XML_OUT Value transfer Type reference (TYPE) STRING Ausgangs-XML 20121102

Method DEL_ALL_PREFIX on class CL_HR_NL_XML has no exception.

Method DEL_PREFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PREFIX Call by reference Type reference (TYPE) STRING 20121102
2 Importing XML_IN Call by reference Type reference (TYPE) STRING 20121102
3 Returning XML_OUT Value transfer Type reference (TYPE) STRING 20121102

Method DEL_PREFIX on class CL_HR_NL_XML has no exception.

Method MOD_ADDCONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CVALUE Call by reference Type reference (TYPE) HRB2A_NL_S_VALUE B2A: Structure for Attributes Name and Value 20121102
2 Importing NAME Call by reference Type reference (TYPE) PC_B2A_CHAR255 Tag or Attribute Name 20121102
3 Importing TYPE Call by reference Type reference (TYPE) CHAR5 Data Type (D,B) 20121102
4 Importing VALUE Call by reference Type reference (TYPE) ANY Tag or Attribute Value 20121102
5 Importing WAY Call by reference Type reference (TYPE) CHAR5 Specific for Attribute or Tag 20121102

Method MOD_ADDCONVERT on class CL_HR_NL_XML has no exception.

Method MOD_WRITE_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTR_TAB Call by reference Type reference (TYPE) HRB2A_NL_T_VALUE Table Type for XML Attributes and Values 20121102
2 Importing TAG Call by reference Type reference (TYPE) HRB2A_NL_S_VALUE Field Value in XML Tag 20121102
3 Changing XML_TAG Call by reference Type reference (TYPE) STRING Output XML Tag 20121102

Method MOD_WRITE_TAG on class CL_HR_NL_XML has no exception.

Method REPLACE_CHARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE_IN Call by reference Type reference (TYPE) ANY Inbound Value 20121102
2 Exporting VALUE_OUT Call by reference Type reference (TYPE) ANY Starting Value 20121102

Method REPLACE_CHARS on class CL_HR_NL_XML has no exception.

Method STRING_CHARTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LENGTH Call by reference Type reference (TYPE) I Length of Strings 20121102
2 Importing LENGTH_TAB Call by reference Type reference (TYPE) I Length of Output in Table 20121102
3 Importing STRING Call by reference Type reference (TYPE) STRING Input String 20121102
4 Exporting TAB_CHAR255 Call by reference Type reference (TYPE) HRB2A_T_CHAR255 HR-B2A: Table type for CHAR255 20121102
# Exception Resumable Description Created on
1 ERROR_INIT Input String Is Initial 20121102

Method TAG_CUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_TAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=true, -=false, space=unknown) 20121102
2 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name 20121102
3 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
4 Exporting XML_OUT Call by reference Type reference (TYPE) STRING Tag Content 20121102
# Exception Resumable Description Created on
1 NO_TAG Tag Does Not Exist 20121102

Method TAG_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_TAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=true, -=false, space=unknown) 20121102
2 Exporting LENGTH Call by reference Type reference (TYPE) I Number of Characters 20121102
3 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name 20121102
4 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
5 Exporting XML_OUT Call by reference Type reference (TYPE) STRING Tag Content 20121102
# Exception Resumable Description Created on
1 NO_TAG Tag Does Not Exist 20121102

Method TAG_GET_ATT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_TAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=true, -=false, space=unknown) 20121102
2 Importing INCLUDE_TAG_EMPTY Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20121102
3 Exporting LENGTH Call by reference Type reference (TYPE) I Number of Characters 20121102
4 Exporting POS_END Call by reference Type reference (TYPE) I End Position TAG in XML_IN; Always to After ">" of End Tag 20121102
5 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name XXXXX 20121102
6 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
7 Exporting XML_OUT Call by reference Type reference (TYPE) STRING Tag Content 20121102
# Exception Resumable Description Created on
1 NO_TAG Tag Does Not Exist 20121102

Method TAG_GET_ATT_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_TAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=true, -=false, space=unknown) 20121102
2 Exporting TAB Call by reference Type reference (TYPE) PC05B2A_T_STR Table with Values for Tag 20121102
3 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name XXXXX 20121102
4 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
# Exception Resumable Description Created on
1 NO_TAG Tag Does Not Exist 20121102

Method TAG_GET_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_TAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121102
2 Exporting TAB Call by reference Type reference (TYPE) PC05B2A_T_STR Table with Values for Tag 20121102
3 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name 20121102
4 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
# Exception Resumable Description Created on
1 NO_TAG Tag Does Not Exist 20121102

Method TAG_INS_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LENGTH Call by reference Type reference (TYPE) I Number of Characters 20121102
2 Importing TAG Call by reference Type reference (TYPE) STRING Tag Name 20121102
3 Importing VALUE Call by reference Type reference (TYPE) STRING Value in Tag 20121102
4 Importing XML_IN Call by reference Type reference (TYPE) STRING Input XML 20121102
5 Exporting XML_OUT Call by reference Type reference (TYPE) STRING Output XML 20121102
# Exception Resumable Description Created on
1 NO_TAG Tag Does Not Exist 20121102

Method TAG_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TAG_NEW Call by reference Type reference (TYPE) STRING Name of Tag 20121102
2 Importing TAG_REF Call by reference Type reference (TYPE) STRING Reference String 20121102
3 Importing XML_IN Call by reference Type reference (TYPE) STRING XML Input 20121102
4 Exporting XML_OUT Call by reference Type reference (TYPE) STRING XML Output 20121102
# Exception Resumable Description Created on
1 NO_TAG Unable to find specified tag 20121102

Method WRITE_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTR1 Call by reference Type reference (TYPE) STRING Name of First Attribute 20121102
2 Importing ATTR2 Call by reference Type reference (TYPE) STRING Name of Second Attribute 20121102
3 Importing AVAL1 Call by reference Type reference (TYPE) ANY Value of First Attribute 20121102
4 Importing AVAL2 Call by reference Type reference (TYPE) ANY Value of Second Attribute 20121102
5 Importing LENGTH Call by reference Type reference (TYPE) NUMC4 Count Parameters 20121102
6 Importing TAGNAME Call by reference Type reference (TYPE) STRING Name of XML Tag 20121102
7 Importing TYPE Call by reference Type reference (TYPE) CHAR1 Single-Character ID 20121102
8 Importing VALUE Call by reference Type reference (TYPE) ANY Field Value in XML Tag 20121102
9 Importing WAY Call by reference Type reference (TYPE) CHAR2 Single-Character ID 20121102
10 Importing WAY_EXT Call by reference Type reference (TYPE) CHAR10 Character Field Length = 10 20121102
11 Exporting XML_TAG Call by reference Type reference (TYPE) STRING Output XML Tag 20121102

Method WRITE_TAG on class CL_HR_NL_XML has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in