SAP ABAP Class CL_HR_DE_XML (XML Utilities)
Hierarchy
☛
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
⤷ PY-DE-BA (Application Component) B2A: Business to Administration
⤷ PC01B2A (Package) HR Germany: Business to Administration (B2A)
⤷ PY-DE-BA (Application Component) B2A: Business to Administration
⤷ PC01B2A (Package) HR Germany: Business to Administration (B2A)
Properties
Class | CL_HR_DE_XML | |
Short Description | XML Utilities | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PC01B2A | HR Germany: Business to Administration (B2A) |
Created | 20030702 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_HR_DE_XML has no forward declaration.
Interfaces
Class CL_HR_DE_XML has no interface implemented.
Friends
Class CL_HR_DE_XML has no friend class.
Attributes
Class CL_HR_DE_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 | 20030703 |
2 | ATTRIBUTE_INS_VALUE | Static method | Public | Method | Writes the Value of an Attribute | 20030703 |
3 | CHARTAB_STRING | Static method | Public | Method | Convert Table with Row Type CHAR255 to String | 20060622 |
4 | DEL_ALL_PREFIX | Static method | Public | Method | Delete All (Recognizable) PREFIXES from an XML | 20121031 |
5 | DEL_PREFIX | Static method | Public | Method | Deletes PREFIX from a XML | 20090421 |
6 | MOD_ADDCONVERT | Static method | Public | Method | New: Fills Structure HRB2A_S_VALUE for Attribute or Tag Val. | 20061113 |
7 | MOD_WRITE_TAG | Static method | Public | Method | New: Generate XML Tag (Unlimited Number of Attributes) | 20061113 |
8 | REPLACE_CHARS | Static method | Public | Method | Replace Special Characters | 20030702 |
9 | STRING_CHARTAB | Static method | Public | Method | Convert String to Table with Row Type CHAR255 | 20060622 |
10 | TAG_CUT | Static method | Public | Method | Deletes the Content of a Tag | 20030703 |
11 | TAG_GET | Static method | Public | Method | Returns Content + Number of Characters of a Tag | 20030703 |
12 | TAG_GET_ATT | Static method | Public | Method | Improved TAG_GET Method. Works with Attributes | 20050425 |
13 | TAG_GET_ATT_MULTI | Static method | Public | Method | Provides a Table Containing the Values of the Same Tag | 20091026 |
14 | TAG_GET_MULTI | Static method | Public | Method | Returns Table with Tag Content (Multiple Occurrences) | 20090421 |
15 | TAG_INS_VALUE | Static method | Public | Method | Writes a Value to a Tag | 20030703 |
16 | TAG_WRITE | Static method | Public | Method | Writes a Tag to the Specified Position | 20030818 |
17 | WRITE_TAG | Static method | Public | Method | Generate XML Tag | 20030702 |
Events
Class CL_HR_DE_XML has no event.
Types
Class CL_HR_DE_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 | Attributname | 20030703 | ||
2 | Exporting | LENGTH | Call by reference | Type reference (TYPE) | I | Anzahl Zeichen | 20030703 | ||
3 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name XYZ; keine <...> angeben | 20030703 | ||
4 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20030703 | ||
5 | Exporting | XML_OUT | Call by reference | Type reference (TYPE) | STRING | Inhalt des Tags | 20030703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_ATTRIBUTE | Attribut ist nicht vorhanden | 20030703 | |
2 | NO_TAG | Tag ist nicht vorhanden | 20030703 |
Method ATTRIBUTE_INS_VALUE Signature
Method ATTRIBUTE_INS_VALUE on class CL_HR_DE_XML has no parameter.
Method ATTRIBUTE_INS_VALUE on class CL_HR_DE_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 | Länge | 20060622 | ||
2 | Exporting | STRING | Call by reference | Type reference (TYPE) | STRING | Ausgabe String | 20060622 | ||
3 | Importing | TAB_CHAR255 | Call by reference | Type reference (TYPE) | HRB2A_T_CHAR255 | HR-B2A: Tabellentyp für CHAR255 | 20060622 |
Method CHARTAB_STRING on class CL_HR_DE_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 | 20121031 | ||
2 | Returning | XML_OUT | Value transfer | Type reference (TYPE) | STRING | Ausgangs-XML | 20121031 |
Method DEL_ALL_PREFIX on class CL_HR_DE_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 | 20090421 | |||
2 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | 20090421 | |||
3 | Returning | XML_OUT | Value transfer | Type reference (TYPE) | STRING | 20090421 |
Method DEL_PREFIX on class CL_HR_DE_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_S_VALUE | B2A: Struktur für Attribute Name + Wert | 20061113 | ||
2 | Importing | NAME | Call by reference | Type reference (TYPE) | PC_B2A_CHAR255 | Tag- bzw. Attributsname | 20061113 | ||
3 | Importing | TYPE | Call by reference | Type reference (TYPE) | CHAR5 | Datentyp (D,B) | 20061113 | ||
4 | Importing | VALUE | Call by reference | Type reference (TYPE) | ANY | Tag- bzw. Attributswert | 20061113 | ||
5 | Importing | WAY | Call by reference | Type reference (TYPE) | CHAR5 | Spez. für Attribut bzw. Tag | 20061113 |
Method MOD_ADDCONVERT on class CL_HR_DE_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_T_VALUE | Tabellentyp für XML-Attribute und Werte | 20061113 | ||
2 | Importing | TAG | Call by reference | Type reference (TYPE) | HRB2A_S_VALUE | Feldwert im XML-Tag | 20061113 | ||
3 | Changing | XML_TAG | Call by reference | Type reference (TYPE) | STRING | Ausgabe XML-Tag | 20061113 |
Method MOD_WRITE_TAG on class CL_HR_DE_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 | Eingangswert | 20030702 | ||
2 | Exporting | VALUE_OUT | Call by reference | Type reference (TYPE) | ANY | Ausgangswert | 20030702 |
Method REPLACE_CHARS on class CL_HR_DE_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 | Länge des Strings | 20060622 | ||
2 | Importing | LENGTH_TAB | Call by reference | Type reference (TYPE) | I | Länge der Ausgabe in Tabelle | 20111018 | ||
3 | Importing | STRING | Call by reference | Type reference (TYPE) | STRING | Eingabestring | 20060622 | ||
4 | Exporting | TAB_CHAR255 | Call by reference | Type reference (TYPE) | HRB2A_T_CHAR255 | HR-B2A: Tabellentyp für CHAR255 | 20060622 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR_INIT | Eingabestring ist initial | 20060622 |
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 | boolsche Variable (X=true, -=false, space=unknown) | 20030703 | ||
2 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name |
20030703 | ||
3 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20030703 | ||
4 | Exporting | XML_OUT | Call by reference | Type reference (TYPE) | STRING | Inhalt des Tags | 20030703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Tag ist nicht vorhanden | 20030703 |
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 | boolsche Variable (X=true, -=false, space=unknown) | 20030703 | ||
2 | Exporting | LENGTH | Call by reference | Type reference (TYPE) | I | Anzahl Zeichen | 20030703 | ||
3 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name |
20030703 | ||
4 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20030703 | ||
5 | Exporting | XML_OUT | Call by reference | Type reference (TYPE) | STRING | Inhalt des Tags | 20030703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Tag ist nicht vorhanden | 20030703 |
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 | boolsche Variable (X=true, -=false, space=unknown) | 20050425 | ||
2 | Importing | INCLUDE_TAG_EMPTY | Call by reference | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20120913 | ||
3 | Exporting | LENGTH | Call by reference | Type reference (TYPE) | I | Anzahl Zeichen | 20050425 | ||
4 | Exporting | POS_END | Call by reference | Type reference (TYPE) | I | Endeposition TAG in XML_IN; immer bis nach ">" des Ende-Tags | 20050425 | ||
5 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name XXXXX | 20050425 | ||
6 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20050425 | ||
7 | Exporting | XML_OUT | Call by reference | Type reference (TYPE) | STRING | Inhalt des Tags | 20050425 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Tag ist nicht vorhanden | 20050425 |
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 | boolsche Variable (X=true, -=false, space=unknown) | 20091026 | ||
2 | Exporting | TAB | Call by reference | Type reference (TYPE) | PC01B2A_T_STR | Tabelle mit Werten des Tag | 20091026 | ||
3 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name XXXXX | 20091026 | ||
4 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20091026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Tag ist nicht vorhanden | 20091026 |
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 | boolsche Variable (X=true, -=false, space=unknown) | 20090421 | ||
2 | Exporting | TAB | Call by reference | Type reference (TYPE) | PC01B2A_T_STR | Tabelle mit Werten des Tag | 20090421 | ||
3 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name |
20090421 | ||
4 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20090421 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Tag ist nicht vorhanden | 20090421 |
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 | Anzahl Zeichen | 20030703 | ||
2 | Importing | TAG | Call by reference | Type reference (TYPE) | STRING | Tag-Name |
20030703 | ||
3 | Importing | VALUE | Call by reference | Type reference (TYPE) | STRING | Value Wert in Tag | 20030703 | ||
4 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | Eingabe XML | 20030703 | ||
5 | Exporting | XML_OUT | Call by reference | Type reference (TYPE) | STRING | Ausgabe XML | 20030703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Tag ist nicht vorhanden | 20030703 |
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 des TAG | 20030818 | ||
2 | Importing | TAG_REF | Call by reference | Type reference (TYPE) | STRING | Referenzstring | 20030818 | ||
3 | Importing | XML_IN | Call by reference | Type reference (TYPE) | STRING | XML Eingabe | 20030818 | ||
4 | Exporting | XML_OUT | Call by reference | Type reference (TYPE) | STRING | XML Ausgabe | 20030818 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_TAG | Angegebenes Tag konnte nicht gefunden werden | 20030818 |
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 des ersten Attributs | 20030702 | ||
2 | Importing | ATTR2 | Call by reference | Type reference (TYPE) | STRING | Name des zweiten Attributs | 20030702 | ||
3 | Importing | AVAL1 | Call by reference | Type reference (TYPE) | ANY | Wert des ersten Attributs | 20030702 | ||
4 | Importing | AVAL2 | Call by reference | Type reference (TYPE) | ANY | Wert des zweiten Attributs | 20030702 | ||
5 | Importing | LENGTH | Call by reference | Type reference (TYPE) | NUMC4 | Zählparameter | 20030702 | ||
6 | Importing | TAGNAME | Call by reference | Type reference (TYPE) | STRING | Name des XML-Tags | 20030702 | ||
7 | Importing | TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20030702 | ||
8 | Importing | VALUE | Call by reference | Type reference (TYPE) | ANY | Feldwert im XML-Tag | 20030702 | ||
9 | Importing | WAY | Call by reference | Type reference (TYPE) | CHAR2 | Einstelliges Kennzeichen | 20030702 | ||
10 | Importing | WAY_EXT | Call by reference | Type reference (TYPE) | CHAR10 | Characterfeld der Länge 10 | 20041222 | ||
11 | Exporting | XML_TAG | Call by reference | Type reference (TYPE) | STRING | Ausgabe XML-Tag | 20030702 |
Method WRITE_TAG on class CL_HR_DE_XML has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 46C |