Real Time Information Director User Documentation

RTID Metadata Language
Hewlett-Packard Company 41 529618-002
<IHREZ>978200014001</IHREZ>
<SPRAS_ISO>EN</SPRAS_ISO>
</E1EDKA1>
FixedElement
FixedElement inserts a constant value into an outbound document (in contrast with
ImpliedField, which inserts a constant value into the data store).
FixedElement has the following parameters:
String tagName. This parameter is the XML tag of the data element to be
included in the outbound document.
String value. This parameter is the value to be generated for the data element.
Here is the constructor for the FixedElement class:
public FixedElement(String tagName, String value)
Example:
The following example comes from the IDOC.HEADER. FixedElement is used to
populate header fields that are not captured in the data store but are required for SAP
XML schema validation.
FixedElement("TABNAM", "EDI_DC40"),
Concatenating Elements
The PrependFieldElement and AppendFieldElement classes map two elements into a
single table column by concatenation. PrependFieldElement specifies the first element;
AppendFieldElement specifies the second. You must specify either a unique separator
character or an element length, to permit the value to be separated into its constituent
parts when the IDoc needs to be reassembled for delivery to a client.
PrependFieldElement and AppendFieldElement have the following parameters:
String tagName. This parameter is the XML tag of the data element.
String columnName. This parameter identifies the database column in which the
data will be stored.
Char separator. This parameter specifies the separator. You must specify either
this parameter or the length of the element.
Int length. This parameter specifies the length of the element. You must specify
either this parameter or a separator.
PrependFieldElement and AppendFieldElement must be used as a pair.