Real Time Information Director User Documentation
    RTID Metadata Language 
Hewlett-Packard Company  25  529618-002   
The header contains general information about the document. This example omits a few 
fields. 
<?xml version="1.0" encoding="iso-8859-1"?> 
<ORDERS05> 
 <IDOC BEGIN="1"> 
 <EDI_DC40 SEGMENT="1"> 
 <TABNAM>EDI_DC40</TABNAM> 
 <MANDT>016</MANDT> 
 <DOCNUM>0000000001651543</DOCNUM> 
 <DOCREL>46C</DOCREL> 
 <STATUS>30</STATUS> 
 <DIRECT>1</DIRECT> 
 <OUTMOD>2</OUTMOD> 
 <IDOCTYP>ORDERS05</IDOCTYP> 
 <CIMTYP>ORDERS05</CIMTYP> 
 <MESTYP>ORDRSP</MESTYP> 
 <SNDPOR>SAPAPL</SNDPOR> 
… 
 <CREDAT>20030916</CREDAT> 
 <CRETIM>040122</CRETIM> 
 <SERIAL>20030916040120</SERIAL> 
 </EDI_DC40> 
One important piece of header information is the identification of the source SAP system, 
in the SNDPOR element. In this example, the source SAP instance is SAPAPL. The 
identification of the source system is important in a few contexts to be discussed. 
 <E1EDK01 SEGMENT="1"> 
 <ACTION>000</ACTION> 
 <CURCY>JPY</CURCY> 
 <WKURS>1.00000</WKURS> 
 <ZTERM>J328</ZTERM> 
 <BELNR>0300060645</BELNR> 
 <VSART>01</VSART> 
 <VSART_BEZ>STANDARD</VSART_BEZ> 
 <RECIPNT_NO>W0J008399</RECIPNT_NO> 
 <AUGRU>00</AUGRU> 
 <AUGRU_BEZ>New orders</AUGRU_BEZ> 
 </E1EDK01> 
 <E1EDK14 SEGMENT="1"> 
 <QUALF>006</QUALF> 
 <ORGID>ZD</ORGID> 
 </E1EDK14> 
 <E1EDK14 SEGMENT="1"> 
 <QUALF>007</QUALF> 
 <ORGID>ZZ</ORGID> 
 </E1EDK14> 
The segment following the header is called E1EDK01. (Most segments in IDocs begin 
with the characters E1.) The elements within this tag contains data specific to an order. 
For instance, the BELNR element contains the sales-order number. Many of these tag 
names are abbreviations of German words. 
 <E1EDK01 SEGMENT="1"> 
 <ACTION>000</ACTION> 
 <CURCY>JPY</CURCY> 
 <WKURS>1.00000</WKURS> 










