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 | ![]() |
Static method | Public | Method | Returns Content + Number of Characters of an Attribute | 20121102 |
2 | ![]() |
Static method | Public | Method | Writes the Value of an Attribute | 20121102 |
3 | ![]() |
Static method | Public | Method | Convert Table with Row Type CHAR255 to String | 20121102 |
4 | ![]() |
Static method | Public | Method | Löschen aller (erkennbaren) PREFIXe aus einem XML | 20121102 |
5 | ![]() |
Static method | Public | Method | Deletes PREFIX from a XML | 20121102 |
6 | ![]() |
Static method | Public | Method | New: Fills Structure HRB2A_S_VALUE for Attribute or Tag Val. | 20121102 |
7 | ![]() |
Static method | Public | Method | New: Generate XML Tag (Unlimited Number of Attributes) | 20121102 |
8 | ![]() |
Static method | Public | Method | Replace Special Characters | 20121102 |
9 | ![]() |
Static method | Public | Method | Convert String to Table with Row Type CHAR255 | 20121102 |
10 | ![]() |
Static method | Public | Method | Deletes the Content of a Tag | 20121102 |
11 | ![]() |
Static method | Public | Method | Returns Content + Number of Characters of a Tag | 20121102 |
12 | ![]() |
Static method | Public | Method | Improved TAG_GET Method. Works with Attributes | 20121102 |
13 | ![]() |
Static method | Public | Method | Provides a Table Containing the Values of the Same Tag | 20121102 |
14 | ![]() |
Static method | Public | Method | Returns Table with Tag Content (Multiple Occurrences) | 20121102 |
15 | ![]() |
Static method | Public | Method | Writes a Value to a Tag | 20121102 |
16 | ![]() |
Static method | Public | Method | Writes a Tag to the Specified Position | 20121102 |
17 | ![]() |
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 | ![]() |
ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | Attribute Name | 20121102 | ||
2 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | I | Number of Characters | 20121102 | ||
3 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name XYZ; Do Not Specify <...> | 20121102 | ||
4 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 | ||
5 | ![]() |
XML_OUT | Call by reference | Type reference (TYPE) | STRING | Tag Content | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Attribute does not exist | 20121102 | |
2 | ![]() |
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 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | I | Length | 20121102 | ||
2 | ![]() |
STRING | Call by reference | Type reference (TYPE) | STRING | Output String | 20121102 | ||
3 | ![]() |
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 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingangs-XML | 20121102 | ||
2 | ![]() |
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 | ![]() |
PREFIX | Call by reference | Type reference (TYPE) | STRING | 20121102 | |||
2 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | 20121102 | |||
3 | ![]() |
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 | ![]() |
CVALUE | Call by reference | Type reference (TYPE) | HRB2A_NL_S_VALUE | B2A: Structure for Attributes Name and Value | 20121102 | ||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | PC_B2A_CHAR255 | Tag or Attribute Name | 20121102 | ||
3 | ![]() |
TYPE | Call by reference | Type reference (TYPE) | CHAR5 | Data Type (D,B) | 20121102 | ||
4 | ![]() |
VALUE | Call by reference | Type reference (TYPE) | ANY | Tag or Attribute Value | 20121102 | ||
5 | ![]() |
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 | ![]() |
ATTR_TAB | Call by reference | Type reference (TYPE) | HRB2A_NL_T_VALUE | Table Type for XML Attributes and Values | 20121102 | ||
2 | ![]() |
TAG | Call by reference | Type reference (TYPE) | HRB2A_NL_S_VALUE | Field Value in XML Tag | 20121102 | ||
3 | ![]() |
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 | ![]() |
VALUE_IN | Call by reference | Type reference (TYPE) | ANY | Inbound Value | 20121102 | ||
2 | ![]() |
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 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | I | Length of Strings | 20121102 | ||
2 | ![]() |
LENGTH_TAB | Call by reference | Type reference (TYPE) | I | Length of Output in Table | 20121102 | ||
3 | ![]() |
STRING | Call by reference | Type reference (TYPE) | STRING | Input String | 20121102 | ||
4 | ![]() |
TAB_CHAR255 | Call by reference | Type reference (TYPE) | HRB2A_T_CHAR255 | HR-B2A: Table type for CHAR255 | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Input String Is Initial | 20121102 |
Method TAG_CUT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
INCLUDE_TAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=true, -=false, space=unknown) | 20121102 | ||
2 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name |
20121102 | ||
3 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 | ||
4 | ![]() |
XML_OUT | Call by reference | Type reference (TYPE) | STRING | Tag Content | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Tag Does Not Exist | 20121102 |
Method TAG_GET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
INCLUDE_TAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=true, -=false, space=unknown) | 20121102 | ||
2 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | I | Number of Characters | 20121102 | ||
3 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name |
20121102 | ||
4 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 | ||
5 | ![]() |
XML_OUT | Call by reference | Type reference (TYPE) | STRING | Tag Content | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
INCLUDE_TAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=true, -=false, space=unknown) | 20121102 | ||
2 | ![]() |
INCLUDE_TAG_EMPTY | Call by reference | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20121102 | ||
3 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | I | Number of Characters | 20121102 | ||
4 | ![]() |
POS_END | Call by reference | Type reference (TYPE) | I | End Position TAG in XML_IN; Always to After ">" of End Tag | 20121102 | ||
5 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name XXXXX | 20121102 | ||
6 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 | ||
7 | ![]() |
XML_OUT | Call by reference | Type reference (TYPE) | STRING | Tag Content | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
INCLUDE_TAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=true, -=false, space=unknown) | 20121102 | ||
2 | ![]() |
TAB | Call by reference | Type reference (TYPE) | PC05B2A_T_STR | Table with Values for Tag | 20121102 | ||
3 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name XXXXX | 20121102 | ||
4 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
INCLUDE_TAG | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20121102 | ||
2 | ![]() |
TAB | Call by reference | Type reference (TYPE) | PC05B2A_T_STR | Table with Values for Tag | 20121102 | ||
3 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name |
20121102 | ||
4 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | I | Number of Characters | 20121102 | ||
2 | ![]() |
TAG | Call by reference | Type reference (TYPE) | STRING | Tag Name |
20121102 | ||
3 | ![]() |
VALUE | Call by reference | Type reference (TYPE) | STRING | Value in Tag | 20121102 | ||
4 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | Input XML | 20121102 | ||
5 | ![]() |
XML_OUT | Call by reference | Type reference (TYPE) | STRING | Output XML | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Tag Does Not Exist | 20121102 |
Method TAG_WRITE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TAG_NEW | Call by reference | Type reference (TYPE) | STRING | Name of Tag | 20121102 | ||
2 | ![]() |
TAG_REF | Call by reference | Type reference (TYPE) | STRING | Reference String | 20121102 | ||
3 | ![]() |
XML_IN | Call by reference | Type reference (TYPE) | STRING | XML Input | 20121102 | ||
4 | ![]() |
XML_OUT | Call by reference | Type reference (TYPE) | STRING | XML Output | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
ATTR1 | Call by reference | Type reference (TYPE) | STRING | Name of First Attribute | 20121102 | ||
2 | ![]() |
ATTR2 | Call by reference | Type reference (TYPE) | STRING | Name of Second Attribute | 20121102 | ||
3 | ![]() |
AVAL1 | Call by reference | Type reference (TYPE) | ANY | Value of First Attribute | 20121102 | ||
4 | ![]() |
AVAL2 | Call by reference | Type reference (TYPE) | ANY | Value of Second Attribute | 20121102 | ||
5 | ![]() |
LENGTH | Call by reference | Type reference (TYPE) | NUMC4 | Count Parameters | 20121102 | ||
6 | ![]() |
TAGNAME | Call by reference | Type reference (TYPE) | STRING | Name of XML Tag | 20121102 | ||
7 | ![]() |
TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character ID | 20121102 | ||
8 | ![]() |
VALUE | Call by reference | Type reference (TYPE) | ANY | Field Value in XML Tag | 20121102 | ||
9 | ![]() |
WAY | Call by reference | Type reference (TYPE) | CHAR2 | Single-Character ID | 20121102 | ||
10 | ![]() |
WAY_EXT | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20121102 | ||
11 | ![]() |
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 |