Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Using BizTalk Envelopes with Adapter for SAP | Use of the BizTalk Header | Representation of Routing and Address Information
 
Representation of Routing and Address Information
Adapter for SAP needs to identify the sender and receiver of an XML message. Usually, these are logical systems, as defined inside the SAP system.
This information is transported by the BizTalk header element <delivery>. Within this element, the two sub-elements <to> and <from> can be defined.
These elements are used to exchange the routing information needed by Adapter for SAP. The names of the partners are put into the sub-element <address> of the <to> or <from> element.
BizTalk requires an URI as the content of the address element. The names of the SAP logical systems are encoded as a Universal Resource Name (URN) by putting the prefix urn:sap-com:logical-system: in front of the logical system identifier. For example: The logical system SAPCLNT001 would be represented as urn:sap-com:logicalsystem:SAPCLNT001.
Note:
Although these identifiers are expressed as URNs, they are not globally unique; the names of logical systems can be setup freely for each SAP System domain.
This results in an XML document like the following:
<?xml version="1.0" encoding="iso-8859-1"?>
<biztalk_1 xmlns="urn:schemas-biztalk-org:BizTalk/biztalk-1.0.xml">
<header>
<delivery>
<message>
<messageID>0A125F1315B3A11B00000035</messageID>
<sent>2000-06-07T09:22:40</sent>
</message>
<to>
<address>urn:sap-com:logical-system:SAPCLNT001</address>
</to>
<from>
<address>urn:sap-com:logical-system:SAPADA0001</address>
</from>
</delivery>
</header>
<!-- Body definition here -->
</biztalk_1>