<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Free SAP XI Books,Projects And Interview Questions</title><description>ABAP Proxy Generation,Application-to-Application,Developing Business Logic,Integration Scenario Editor,Interfaces and Proxy,Java Proxy Generation,Process Integration,XI Connectivity,XI TCodes,XSD Editor</description><managingEditor>noreply@blogger.com (SAP Technology)</managingEditor><pubDate>Thu, 29 Aug 2024 01:23:13 +0530</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">182</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://freesapxilive.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:keywords>ABAP,Proxy,Generation,Application,to,Application,Developing,Business,Logic,Integration,Scenario,Editor,Interfaces,and,Proxy,Java,Proxy,Generation,Process,Integration,XI,Connectivity,XI,TCodes,XSD,Editor</itunes:keywords><itunes:summary>ABAP Proxy Generation,Application-to-Application,Developing Business Logic,Integration Scenario Editor,Interfaces and Proxy,Java Proxy Generation,Process Integration,XI Connectivity,XI TCodes,XSD Editor</itunes:summary><itunes:subtitle>Free SAP XI Books,Projects And Interview Questions</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:owner><itunes:email>kjkrish.sites@gmail.com</itunes:email></itunes:owner><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item><title>SAP XI XSLT/Java</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xi-xsltjava.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:25:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-2680147835844596950</guid><description>&lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;You can also implement XSLT and Java mappings yourself and save them as archives in the Integration Repository. This enables you to reuse mapping programs that already exist. Mapping programs from imported archives are executed on the &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;J2EE Engine of the Integration Server.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon"&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph"&gt;&lt;span style="" lang="EN-US"&gt;You can also import archives in the PCK. PCK users can replace the terms Integration Repository, Integration Directory, and Integration Builder with PCK in the descriptions below.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Prerequisites&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;You have already implemented an XSLT or Java mapping and packed it in a Jar or Zip file. The file name (including path) of the archive must not be longer than 180 characters.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon9"&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph9"&gt;&lt;span style="" lang="EN-US"&gt;In the case of Java archives, it is very important that the archive contains the compiled classes (*class). Java source files are ignored by the Integration Builder and the mapping runtime.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;For details about the options that you have in XSLT and Java, see the XSLT Mapping and Java Mapping sections.&lt;span style=""&gt; &lt;/span&gt;It is also possible to call other mapping programs from a mapping program (see:&lt;span style=""&gt; &lt;/span&gt;References Between Mapping Programs).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Displaying and Changing Imported Mapping Programs in the Integration Builder&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput2" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 149.4pt;" valign="top" width="199"&gt;&lt;p class="TableHeading9"&gt;&lt;span style="" lang="EN-US"&gt;Function&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 293.4pt;" valign="top" width="391"&gt;&lt;p class="TableHeading9"&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 149.4pt;" valign="top" width="199"&gt;&lt;p class="TableText9" style=""&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/4c/b2ad3de2d76b3be10000000a114084/h-00100020000_image002.jpg" border="0" /&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span class="Object9"&gt;Display Program&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText9" style=""&gt;&lt;span style="" lang="EN-US"&gt;(corresponds to double-clicking the XSLT program)&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 293.4pt;" valign="top" width="391"&gt;&lt;p class="TableText9"&gt;&lt;span style="" lang="EN-US"&gt;Displays the selected XSLT program&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 149.4pt;" valign="top" width="199"&gt;&lt;p class="TableText9"&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/4c/b2ad3de2d76b3be10000000a114084/h-00100020000_image004.jpg" border="0" /&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span class="Object9"&gt;Change Program&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 293.4pt;" valign="top" width="391"&gt;&lt;p class="TableText9"&gt;&lt;span style="" lang="EN-US"&gt;Changes the selected XSLT program. In an Integration Builder editor you can either change lines or import another XSLT program. You must edit Java mappings externally and then import them again.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 149.4pt;" valign="top" width="199"&gt;&lt;p class="TableText9"&gt;&lt;span style="" lang="EN-US"&gt; &lt;span style=""&gt; &lt;/span&gt;&lt;span class="Object9"&gt;Open in Client Browser&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 293.4pt;" valign="top" width="391"&gt;&lt;p class="TableText9"&gt;&lt;span style="" lang="EN-US"&gt;Displays the selected program in the client browser. To display the selected mapping file, start the Integration Builder from the default browser on the PC for &lt;/span&gt;&lt;span class="ScreenOutput9"&gt;&lt;span style="" lang="EN-US"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;- or &lt;/span&gt;&lt;span class="ScreenOutput9"&gt;&lt;span style="" lang="EN-US"&gt;xsl&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;-files.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;When displaying imported mapping programs, the viewer shows the code used to display the characters of a file:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;In the case of XML files (XML, XSD, XSL), the Integration Builder can determine the code exactly, as it is specified in the header of the XML document.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;For all other files the Integration Builder uses a default code: Latin-1 (ISO-8859-1) for files with the suffix &lt;/span&gt;&lt;span class="ScreenOutput9"&gt;&lt;span style="" lang="EN-US"&gt;.properties&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; and UTF-8 for all others. To change the code, use the list box in the header area of the viewer. The options are the standard codes of Java and Windows operating systems (XP or NT "Cp1252"). You can also enter other codes supported by the operating system.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Activities&lt;/span&gt;&lt;/h3&gt;  &lt;h4&gt;&lt;span style="" lang="EN-US"&gt;Importing XSLT and Java Archives&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span style="" lang="EN-US"&gt;...&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Create a mapping object of type &lt;i&gt;Imported Archive&lt;/i&gt; on the design maintenance screen of the Integration Builder (see also: Creating an Object in the Integration Directory or Creating an Object in the PCK).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;To import the archive, choose &lt;i&gt;Import Archive&lt;/i&gt;. Once you have activated the archive other users can export it again.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Save the archive.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Result&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;You have saved the mapping programs in the Integration Repository. To be able to select these mapping programs for a scenario at configuration time, you must assign them to an interface pair by using an interface mapping.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon"&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph"&gt;&lt;span style="" lang="EN-US"&gt;Interface mapping is not possible in the PCK.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>XSLT Mapping</title><link>http://freesapxilive.blogspot.com/2009/01/xslt-mapping.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:24:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-5329364447842449825</guid><description>&lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Interface descriptions are in the form of XML documents. XSL Transformation (XSLT) is a member of the XML family of languages. It describes how an XML structure is transformed into another XML structure.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;h4&gt;&lt;span style="" lang="EN-US"&gt;XPath and &lt;xsl:include&gt;&lt;/xsl:include&gt;&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;You can define mappings using XSLT together with XPath. XPath is also a specification of the XML family. Using XPath you can address any node in an XML document. XSLT implements XPath expressions to select substructures of an XML document. Using templates in XSLT you can define the mapping rules for the selected substructures.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;You can use the XSLT tags &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;xsl:include&gt;&lt;/xsl:include&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; and &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;xsl:import&gt;&lt;/xsl:import&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; to include predefined templates for substructures in a complete mapping definition. In this way, you can reuse mappings for data types.&lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style="" lang="EN-US"&gt;Runtime Constants&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;In the same way as in Java mappings, the mapping runtime in XSLT programs also returns parameters that you can use to evaluate information in the XSLT program that is not known until runtime:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Mapping Runtime Constants&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; width: 6.15in; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;tbody&gt;&lt;tr style=""&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableHeading3"&gt;&lt;span style="" lang="EN-US"&gt;Constant&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableHeading3"&gt;&lt;span style="" lang="EN-US"&gt;Meaning&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableHeading3"&gt;&lt;span style="" lang="EN-US"&gt;Relevant for PCK&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$MessageClass&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Classification of message. Possible values:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;ApplicationMessage&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;:&lt;br /&gt;Asynchronous or synchronous request message&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;ApplicationResponse&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;:&lt;br /&gt;Response to request message&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;SystemAck&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;ApplicationAck&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;SystemError&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;ApplicationError&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;:&lt;br /&gt;Acknowledgment messages&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$VersionMajor&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;XI message protocol version. Example: For the XI 3.0 message protocol &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;VERSION_MAJOR&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;= 3&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; and &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;VERSION_MINOR&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;= 0&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;No&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;The PCK only uses message protocol XI 3.0.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$VersionMinor&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;No&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ProcessingMode&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;The mode of a message can be synchronous or asynchronous. Correspondingly, these constants can have the value &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;synchronous&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; or &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;asynchronous&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$MessageId&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;The message ID. It can change during communication: &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Response messages get a new message ID.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;If new messages result from a message (the message is copied at multiple receivers), the new messages get new message IDs.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$RefToMessageId&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;The ID of a referenced message that belongs semantically to this message. For example, a response message uses this field to note which request message it belongs to.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ConversationId&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;This field is not mandatory in the message. It enables an ID to be used to group messages that belong together. This field is not intended to be used for message serialization and has &lt;/span&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-US"&gt;nothing&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt; to do with the serialization context (ABAP proxy runtime, Java proxy runtime).&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$TimeSent&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Time stamp specifying when the message was sent by the sender. The format of the time stamp is as follows:&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;YYYY-MM-DDTHH:MM:SSZ&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;The letter ‘T’ separates the date from the time, which is generally specified in UTC. If it is a local time, the closing ‘Z’ is omitted.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$Interface&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Name of the sender interface. As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;SENDER_NAME&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$InterfaceNamespace&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Namespace of the sender interface.&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;SENDER_NAMESPACE&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$SenderParty&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Communication party that sent the message.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;See also: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Communication party&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$SenderPartyAgency&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Issuing agency for the message sender.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$SenderPartyScheme&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Identification scheme used by the sender.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$SenderService&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span class="Object7"&gt;&lt;span style="font-style: normal;" lang="EN-US"&gt;Service on the sender side that sent the message.&lt;/span&gt;&lt;/span&gt;&lt;span class="Object3"&gt;&lt;span style="font-style: normal;" lang="EN-US"&gt; For example, the name of a business system. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;SENDER_SYSTEM&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;See also: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Service&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ReceiverName&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Name of the receiver interface.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ReceiverNamespace&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Namespace of the receiver interface.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ReceiverParty&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Communication party to receive the message.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;See also: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Communication party&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ReceiverPartyAgency&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Issuing agency for the message receiver.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ReceiverPartyScheme&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Identification scheme used by the receiver.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$ReceiverService&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span class="Object7"&gt;&lt;span style="font-style: normal;" lang="EN-US"&gt;Service on the receiver side that receives the message.&lt;/span&gt;&lt;/span&gt;&lt;span class="Object3"&gt;&lt;span style="font-style: normal;" lang="EN-US"&gt; For example, the name of a business system. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;RECEIVER_SYSTEM&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;See also: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Service&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText3"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;$MappingTrace&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.4in;" valign="top" width="230"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;Returns a MappingTrace object that you can use to write messages in the monitoring.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1.7in;" valign="top" width="163"&gt;&lt;p class="TableText3"&gt;&lt;span style="" lang="EN-US"&gt;No&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;If you want to access one of the constants in the XSLT program, you first have to declare the constant as a parameter, for example:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;xsl:param name="MessageId"&gt;&lt;/xsl:param&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style="" lang="EN-US"&gt;Java Enhancements&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Moreover, using an XSLT definition you can call external Java methods to convert XML structures. This procedure gives you more flexibility when defining mappings. For more information about XSLT mapping with Java enhancement, see further documentation. &lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/tip.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph3"&gt;&lt;span style="" lang="EN-US"&gt;For more information about XSL/XSLT and XPath, see the Web page of the &lt;/span&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;W3 Consortium&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;     &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The function for booking a flight contains a parameter for the flight class. The outbound interface represents flight classes as symbolic values; in the inbound interface, flight classes have numerical values. The XSLT section converts the symbolic representation of the source system into the numerical representation of the target system.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The XPath expression &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;match=“//hh:class“&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; selects the node &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;hh:class&gt;&lt;/hh:class&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; in the outbound interface. The XSLT statement &lt;&lt;i&gt;xsl:choose&lt;/i&gt;&gt; then defines the mapping rule for how the Integration Engine converts the symbolic values in the source system into the numerical values in the target system.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/73/f61eea1741453eb8f794e150067930/h-00100030000_image002.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP XSLT Mapping with Java Enhancement</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xslt-mapping-with-java-enhancement.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:23:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-5646094462012079665</guid><description>&lt;h3&gt;&lt;span style=""&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The XSLT specification proposes an enhancement mechanism that enables the system to call external routines from XSLT for transforming XML structures. Java is a programming language that is supported by some Java XSLT processors as an enhancement language.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Using the XSLT mapping with Java enhancement, you can implement mappings quicker and more flexibly.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon8"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Caution" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/achtung.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph8"&gt;&lt;span style=""&gt;The working draft of the specification for XSL Transformations (XSLT) version 2.0 (version from December 20, 2001), does &lt;b style=""&gt;not&lt;/b&gt; define the features of the enhancement mechanism of the XSL transformation. There are also no accompanying standards that standardize the enhancement mechanism with Java. For this reason, XSLT processors available on the open market vary considerably in this respect.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Below is a description of one of the ways that the SAP J2EE Engine supports the XML Toolkit 2.0.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Activities&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To implement an XSLT mapping with Java enhancement, proceed as follows:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span dir="ltr"&gt;&lt;span style=""&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;Implement a Java class that contains the static methods of transforming XML documents or structures. Within this Java class you can also write messages to a trace that is visible in the message monitoring using the MappingTrace object. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon8"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1027" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph8"&gt;&lt;span style=""&gt;The PCK does not support the MappingTrace object.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;Include the method calls in the XSLT mapping program (see below).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;Import the XSLT mapping program and the Java class as an archive to the Integration Repository. You can also use two different archives. The archive with the Java class must be in the same or an underlying software component version of the XSLT mapping program (see also: XSLT and Java Mapping).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following example illustrates the procedure using a simple XSLT mapping for a message.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following table shows the message instance that you want to transfer to the target message, using an XSLT mapping program with Java enhancement. &lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableHeading8"&gt;&lt;span style=""&gt;Source Instance&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableHeading8"&gt;&lt;span style=""&gt;Target Instance&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableText8"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;person&gt;&lt;/person&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText8"&gt;&lt;span class="UserInput8"&gt;&lt;span style="font-family: Arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;first-name&gt;Robert&lt;/first-name&gt;&lt;br /&gt;   &lt;last-name&gt;White&lt;/last-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText8"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableText8"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;person&gt;&lt;/person&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText8"&gt;&lt;span class="UserInput8"&gt;&lt;span style="font-family: Arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;name&gt;Robert White&lt;/name&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText8"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;You must link the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;first-name&gt;&lt;/first-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and &lt;/span&gt;&lt;span class="ScreenOutput"&gt;&lt;span style=""&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;last-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; elements using a &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;concat()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; Java method. You also want to write a message to the mapping trace in this method. Carry out the following steps in the XSLT mapping program in which you want to call this Java method:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span dir="ltr"&gt;&lt;span style=""&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;Declare the Java class with a namespace definition as an attribute of the &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;xsl:stylesheet&gt;&lt;/xsl:stylesheet&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;element. The namespace name can be any string you want; in the example it is called &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;javamap&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; (see below). The name of the namespace comprises the string &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;java:&lt;/span&gt;&lt;/span&gt;&lt;i style=""&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/i&gt;&lt;span style=""&gt;as the prefix, and the complete name of the class. The complete name of a Java class comprises the name of the package and the class name. In the example this is &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;com.company.group.MappingClass&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;Use &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;xsl:param&gt;&lt;/xsl:param&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; to define the parameters that you want to transfer in the method calls. In the example below, three parameters of the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;concat()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; method signature are defined correspondingly:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;The &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;first&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; parameter takes the value of the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;first-name&gt;&lt;/first-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;element.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;The &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;last&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; parameter takes the value of the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;last-name&gt;&lt;/last-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;element.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;The parameter name &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput"&gt;&lt;span style=""&gt;inputparam&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; is defined and enables you to transfer the constants of the &lt;/span&gt;&lt;span class="ScreenOutput"&gt;&lt;span style=""&gt;StreamTransformationConstants&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; class to the Java program.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon8"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1028" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph8"&gt;&lt;span style=""&gt;In a Java mapping you have to implement the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;setParameter()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; method to enable the Integration Server to set the constants at runtime. For XSLT mappings with a Java enhancement it is sufficient to transfer the constants using the inputparam parameter. The mapping runtime sets the parameter. (see also: Java Mapping).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;&lt;span style=""&gt;The method is called with the element &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;xsl:value-of&gt;&lt;/xsl:value-of&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;. Specify the method with the corresponding parameters using the attribute &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;select&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;. The name for the namespace &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;javamap&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;replaces the complete class name as a prefix.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon8"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1029" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph8"&gt;&lt;span style=""&gt;SAP advises you to check the availability of methods before you call them. Test the XSL element &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;xsl:if&gt;&lt;/xsl:if&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; using the attribute &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;test&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;, for example.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The XSLT program looks like this:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;xsl:stylesheet version="1.0"&gt;&lt;br /&gt;xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&lt;br /&gt;xmlns:javamap="java:com.company.group.MappingClass"&gt;&lt;/xsl:stylesheet&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt; &lt;xsl:param name="first"&gt;&lt;br /&gt;  &lt;xsl:value-of select="//first-name"&gt;&lt;br /&gt;&lt;/xsl:value-of&gt;&lt;/xsl:param&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt; &lt;xsl:param name="last"&gt;&lt;br /&gt;  &lt;xsl:value-of select="//last-name"&gt;&lt;br /&gt;&lt;/xsl:value-of&gt;&lt;/xsl:param&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt; &lt;xsl:param name="inputparam"&gt;&lt;/xsl:param&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt; &lt;xsl:template match="/"&gt;&lt;/xsl:template&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;  &lt;name&gt;&lt;br /&gt;  &lt;xsl:if test="function-available('javamap:concat')"&gt;&lt;/xsl:if&gt;&lt;/name&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;    &lt;xsl:value-of select="javamap:concat($first, $last, $inputparam)"&gt;&lt;/xsl:value-of&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;concat()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; class method of the Java class &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;com.company.group.MappingClass&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; groups the values of the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;first-name&gt;&lt;/first-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;last-name&gt;&lt;/last-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;elements of the source instance together in a string that represents the value of the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;&lt;name&gt;&lt;/name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; element of the target instance. The method also has the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;inputparam&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;parameter of the &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;Map&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; type for writing information to the trace. You use this to first fetch a MappingTrace object and then use its methods &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;addInfo()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;or &lt;/span&gt;&lt;span class="ScreenOutput8"&gt;&lt;span style=""&gt;AddWarning()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; to transfer messages to the trace:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;package com.company.group;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;import java.util.Map;&lt;br /&gt;import com.sap.aii.mapping.api.AbstractTrace;&lt;br /&gt;import com.sap.aii.mapping.api.StreamTransformationConstants;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;public class MappingClass {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;    private static AbstractTrace trace = null;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;    public static String concat(String first,&lt;br /&gt;                               String last,&lt;br /&gt;                               Map inputparam)&lt;br /&gt;   {&lt;br /&gt;       // write trace information&lt;br /&gt;       trace = (AbstractTrace)inputparam.get(&lt;br /&gt;                  StreamTransformationConstants.MAPPING_TRACE );&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;        trace.addInfo(“concat():&lt;br /&gt;                      \nfirst-name = “ + first +&lt;br /&gt;                     “\nlast-name = “ + last );&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;        // return concatentation&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;        return first + ' ' + last;&lt;br /&gt;   }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;    //...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput8"&gt;&lt;span style=""&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP XSLT Mapping of Adapter-Specific Message Attributes</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xslt-mapping-of-adapter-specific.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:22:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-6828964825999820989</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The message header of an XI message contains a header for adapter-specific message attributes that the sender adapter can use to write additional information to the message header. This enables sender adapters to write information that is not known until runtime to the message (see: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Adapter-Specific Attributes in the Message Header).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To change the fields of this header in a mapping program, you usually use a Java mapping program (see also:&lt;span style="color: red;"&gt; &lt;/span&gt;Java Mapping of Adapter-Specific Attributes). Nevertheless, you can also use the relevant classes as a Java enhancement in an XSLT program. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;In this example, the Java classes for a mapping of the message header for adapter-specific message attributes are used in an XSLT program to change the parameter &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;Directory&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; of the file adapter. The XSLT program is structured thus:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span lang="DE"&gt;...&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;First, the required Java classes are declared as namespaces:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;java.util.map&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; to be able to access the constants of the mapping runtime. The header for the adapter-specific message attributes is saved as a Map with the name &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;DynamicConfiguration&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;com.sap.aii.mapping.api.DynamicConfiguration&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;com.sap.aii.mapping.api.DynamicConfigurationKey&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; for the header mapping.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The parameter name &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style=""&gt;inputparam&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; is defined and enables you to transfer the constants of the &lt;/span&gt;&lt;span class="ScreenOutput3"&gt;&lt;span style=""&gt;StreamTransformationConstants&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; class to the Java runtime.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;To change the header for the dynamic configuration, the XSLT program gets the Map for the header, creates a key for the parameter &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;Directory&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; in the file adapter, gets the current value for this parameter by using the method &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;get()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;, links this directory path with the XSLT method &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;concat&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and replaces the value by using the method &lt;/span&gt;&lt;span class="ScreenOutput31"&gt;&lt;span style=""&gt;put()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style=""&gt;XSLT Mapping Program with Java Enhancement&lt;/span&gt;&lt;/p&gt;   &lt;span class="UserInput31"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="UserInput31"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;xsl:stylesheet version="1.0"&gt;&lt;br /&gt;  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&lt;br /&gt;  xmlns:map="java:java.util.Map"&lt;br /&gt;  xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration"&lt;br /&gt;  xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey"&gt;&lt;br /&gt;&lt;br /&gt;&lt;xsl:output indent="no"&gt;&lt;br /&gt;&lt;xsl:param name="inputparam"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;xsl:template match="/"&gt;&lt;br /&gt;&lt;br /&gt;    &lt;!-- change dynamic configuration --&gt;&lt;br /&gt;    &lt;xsl:variable name="dynamic-conf"&gt;&lt;br /&gt;        select="map:get($inputparam, 'DynamicConfiguration')" /&gt;&lt;br /&gt;    &lt;xsl:variable name="dynamic-key"&gt;&lt;br /&gt;        select="key:create('http://sap.com/xi/XI/System/File', 'Directory')" /&gt;&lt;br /&gt;    &lt;xsl:variable name="dynamic-value"&gt;&lt;br /&gt;        select="dyn:get($dynamic-conf, $dynamic-key)" /&gt;&lt;br /&gt;    &lt;xsl:variable name="new-value"&gt;&lt;br /&gt;        select="concat($dynamic-value, 'subfolder\')" /&gt;&lt;br /&gt;    &lt;xsl:variable name="dummy"&gt;&lt;br /&gt;        select="dyn:put($dynamic-conf, $dynamic-key, $new-value)" /&gt;&lt;/xsl:variable&gt;&lt;/xsl:variable&gt;&lt;/xsl:variable&gt;&lt;/xsl:variable&gt;&lt;/xsl:variable&gt;&lt;/xsl:template&gt;&lt;/xsl:param&gt;&lt;/xsl:output&gt;&lt;/xsl:stylesheet&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Error Handling in XSLT</title><link>http://freesapxilive.blogspot.com/2009/01/error-handling-in-xslt.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:22:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-3088118343307293560</guid><description>&lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;In substantial XSLT programs it makes sense for the system to display an explanatory message when an error occurs. For this purpose there is the XSLT command &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:message&gt;&lt;/xsl:message&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt;. For example, the source document might contain a value that is not expected by the mapping program. In this case the system can display a message, and, if necessary, terminate processing of the mapping.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon1"&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph1"&gt;&lt;span style="" lang="EN-US"&gt;Alternatively, you can also call a Java method from your XSLT program, which writes information to the trace using the MappingTrace Object. For an example, see the XSLT mapping with Java enhancement section.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph1"&gt;&lt;span style="" lang="EN-US"&gt;The PCK does not support the MappingTrace object.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Integration&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Messages that are produced using the XSLT command &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:message&gt;&lt;/xsl:message&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt; or the MappingTrace object are visible in the trace function of the technical monitor (also see: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Monitoring XML Messages).&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The XLST command &lt;xsl:message&gt; has the following syntax:&lt;/xsl:message&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;xsl:message terminate=“&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt;[yes|no]&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;“&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;&lt;!--&amp;#8212;Output message ----&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The attribute Terminate determines whether processing of the XSLT program should be terminated (terminate=“yes”) or not (terminate=“no”). In both instances you can view the error message text by using the trace function for a message in monitoring (provided that you activated the trace function for the Integration Engine).&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The following example of a section of an XSLT program is taken from a mapping program with the name Person2Passenger.xsl. The XSLT commands in this section evaluate the current value of a tag from the source document and map the values as follows:&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 135.9pt;" valign="top" width="181"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Source Document&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 306.9pt;" valign="top" width="409"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Target Document&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 135.9pt;" valign="top" width="181"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;0&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 306.9pt;" valign="top" width="409"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Mr.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 135.9pt;" valign="top" width="181"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;1&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 306.9pt;" valign="top" width="409"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Mrs.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 135.9pt;" valign="top" width="181"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;(Other)&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 306.9pt;" valign="top" width="409"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Mr. or Mrs.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The last instance is an exception for non-interpretable values. To retain this exception in the trace, a message is produced using &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:message&gt;&lt;/xsl:message&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt;:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:choose&gt;&lt;/xsl:choose&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 32.6pt;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:when test="test()=0"&gt;Mr.&lt;/xsl:when&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:when test="test()=1"&gt;Mrs.&lt;/xsl:when&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 32.6pt;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:otherwise&gt; Mr. or Mrs.&lt;/xsl:otherwise&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;xsl:message terminate="no"&gt;&lt;/xsl:message&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 111.4pt;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;Gender has neither value 0 nor 1&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt;!&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;"Mr. or Mrs." was chosen for title.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 32.6pt;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Since the target field can still be completed appropriately, processing is not terminated (&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;" lang="EN-US"&gt;terminate=“no“&lt;/span&gt;&lt;/b&gt;&lt;span style="" lang="EN-US"&gt;). &lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style="" lang="EN-US"&gt;Trace Output&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;In the technical monitor, the section in the trace for the third instance looks as follows:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;call kind=""&gt;ENTER" func="&lt;b&gt;CL_XMS_PLSRV_MAPPING~ENTER_PLSRV&lt;/b&gt;" /&gt;&lt;/call&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;trc1&gt;XSLT transformation: xslt/wsxx/Person2Passenger completed. Gender has neither value 0 nor 1! "Mr. or Mrs." was chosen for title. &lt;/trc1&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;call kind=""&gt;EXIT" func="&lt;b&gt;CL_XMS_PLSRV_MAPPING~ENTER_PLSRV&lt;/b&gt;" /&gt;&lt;/call&gt;&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Java Mapping</title><link>http://freesapxilive.blogspot.com/2009/01/java-mapping.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:21:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-8185111488916762625</guid><description>&lt;h3&gt;&lt;span style=""&gt;Purpose&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;You can implement mapping programs in Java. To process XML documents, use &lt;i&gt;Java API for XML Processing (JAXP)&lt;/i&gt;, for example. The &lt;/span&gt;&lt;span class="Object11"&gt;&lt;span style=""&gt;JAXP&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; supports the &lt;/span&gt;&lt;span class="Object11"&gt;&lt;span style=""&gt;Document Object Model (DOM)&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and the &lt;/span&gt;&lt;span class="Object11"&gt;&lt;span style=""&gt;Simple API for XML (SAX)&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;. This gives you great flexibility for mapping definitions with Java. &lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Implementation Considerations&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Java mapping programs are not permitted to be stateful. You are therefore not permitted to perform actions such as writing data to a database table during a Java mapping. The Integration Server cannot track such side effects. Therefore, if an attempt is made to resend a message that has not been received by the receiver, the data may inadvertently be written to the database twice in a Java mapping.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;If you use JRE classes in your Java mapping programs then the same program restrictions apply as for Enterprise Java Beans (EJBs). For a detailed description of these restrictions, see the relevant EJB specification. It is important that you also refer to the information under &lt;i style=""&gt;Scope of Functions&lt;/i&gt; in Runtime Environment (Java Mappings).&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The runtime environment for Java mappings has an mapping API. To use Java mapping, you must define a Java class that implements the Java interface &lt;i&gt;com.sap.aii.mapping.api.StreamTransformation&lt;/i&gt;. This interface has two methods:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span style=""&gt;...&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span class="UserInput11"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;; font-weight: normal;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;public void execute(java.io.InputStream in, java.io.OutputStream out)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span class="Object11"&gt;&lt;span style="font-style: normal;"&gt;At runtime, the Integration Engine calls this method to execute a mapping. This method contains an input stream for the source document and an output stream for the target document as parameters. These streams are usually XML documents. You can import the substructures to be converted from the input stream and output the converted target document in the output stream.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span class="UserInput11"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;; font-weight: normal;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;public void setParameter(java.util.Map param)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;The Integration Engine transfers parameters to the mapping program with this method. It evaluates these parameters at runtime in the method &lt;/span&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;execute()&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;. This enables you to control the process flow of the mapping.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;The transferred object that implements the Java interface &lt;i&gt;java.util.Map&lt;/i&gt; contains seven key/value pairs as parameters. These correspond to corresponding fields in the message header. Apart from the MAPPING_TRACE constant, the value objects are of type java.lang.String. The key objects are defined in the class com.sap.aii.mapping.api.StreamTransformationConstants: &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style=""&gt;String Mapping Runtime Constants&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="border: medium none ; width: 6.15in; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0" width="590"&gt;&lt;tbody&gt;&lt;tr style=""&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableHeading11"&gt;&lt;span style=""&gt;Constant&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableHeading11"&gt;&lt;span style=""&gt;Meaning&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableHeading11"&gt;&lt;span style=""&gt;Relevant for PCK&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;MESSAGE_CLASS&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Classification of message. Possible values&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;ApplicationMessage&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;:&lt;br /&gt;Asynchronous or synchronous request message&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;ApplicationResponse&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;:&lt;br /&gt;Response to a request message&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SystemAck&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;, &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;ApplicationAck&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;, &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SystemError&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;, &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;ApplicationError&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Acknowledgment Messages&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;VERSION_MAJOR&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;XI message protocol version. Example: For the XI 3.0 message protocol &lt;/span&gt;&lt;span class="TableHeadingChar"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-weight: normal;"&gt;VERSION_MAJOR&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span class="TableHeadingChar"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-weight: normal;"&gt;= 3&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and &lt;/span&gt;&lt;span class="TableHeadingChar"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-weight: normal;"&gt;VERSION_MINOR&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span class="TableHeadingChar"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-weight: normal;"&gt;= 0&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;No&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;The PCK only supports message protocol XI 3.0.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;VERSION_MINOR&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;No&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;PROCESSING_MODE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;The mode of a message can be synchronous or asynchronous. Correspondingly, these constants can have the value &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;synchronous&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; or &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;asynchronous&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;MESSAGE_ID&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;The message ID. It can change during communication:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Response messages get a new message ID.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;If new messages result from a message (the message is copied at multiple receivers), the new messages get new message IDs.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;REF_TO_MESSAGE_ID&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;The ID of a referenced message that belongs semantically to this message. For example, a response message uses this field to note which request message it belongs to.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;CONVERSATION_ID&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;This field is not mandatory in the message. It enables an ID to be used to group messages that belong together. This field is not intended to be used for message serialization and has &lt;b&gt;nothing&lt;/b&gt; to do with the serialization context (ABAP proxy runtime, Java proxy runtime).&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;TIME_SENT&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Time stamp specifying when the message was sent by the sender. The format of the time stamp is as follows:&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;YYYY-MM-DDTHH:MM:SSZ&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;The letter ‘T’ separates the date from the time, which is generally specified in UTC. If it is a local time, the closing ‘Z’ is omitted.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;INTERFACE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Sender interface name. As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_NAME&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;INTERFACE_NAMESPACE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Sender interface namespace.&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_NAMESPACE&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_PARTY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Communication party that sent the message.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;See also: &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Communication Party&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_PARTY_AGENCY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Issuing agency for the message sender.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_PARTY_SCHEME&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Identification scheme used by the sender.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Object11"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style=""&gt;Service&lt;/span&gt; on the sender side that sent the message. For example, the name of a business system. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;SENDER_SYSTEM&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;See also: &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Service&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_NAME&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Receiver interface name.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_NAMESPACE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Receiver interface namespace.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_PARTY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Communication party to receive the message.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;See also: &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Communication Party&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_PARTY_AGENCY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Issuing agency for the message receiver.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_PARTY_SCHEME&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Identification scheme used by the receiver.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Object11"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style=""&gt;Service&lt;/span&gt; on the receiver side that receives the message. For example, the name of a business system. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;As of SAP XI 3.0, use this constant instead of the constant &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_SYSTEM&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; used previously.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;Yes&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText11"&gt;&lt;span style=""&gt;See also: &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Service&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 2.05in;" valign="top" width="197"&gt;&lt;p class="TableText11"&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;MAPPING_TRACE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 199.8pt;" valign="top" width="266"&gt;&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Returns a MappingTrace object that you can use to write messages in the monitoring.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;&lt;p class="TableText11"&gt;&lt;span style=""&gt;No&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;h3&gt;&lt;span style=""&gt;Constraints&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Note the following points when using &lt;i&gt;static variables&lt;/i&gt; in Java mappings:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span style=""&gt;...&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Mappings can be executed in parallel. Therefore, several instances of a mapping may access a static field for read or write purposes at the same time.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;If mapping programs are executed more than once, the content of the static field may be lost. The reasons for this are as follows:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;" lang="DE"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The content of a static field is lost if the Java class in question is reloaded. &lt;/span&gt;&lt;span lang="DE"&gt;This happens after a cache refresh, for example. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;" lang="DE"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;If the mapping runtime consists of a cluster, the mapping classes on each node of the cluster are loaded separately. &lt;/span&gt;&lt;span lang="DE"&gt;Each node has its own static fields.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Static fields can be used for constants and as a buffer, taking the above-mentioned points into consideration.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following example shows how the &lt;/span&gt;&lt;span class="ScreenOutput2"&gt;&lt;span style=""&gt;MAPPING_TRACE&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; and &lt;/span&gt;&lt;span class="ScreenOutput11"&gt;&lt;span style=""&gt;RECEIVER_NAME&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; parameters are set and evaluated in a Java mapping program:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;import java.io.InputStream;&lt;br /&gt;import java.io.OutputStream;&lt;br /&gt;import java.util.Map;&lt;br /&gt;import java.util.HashMap;&lt;br /&gt;import com.sap.aii.mapping.api.&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;AbstractTrace;&lt;br /&gt;import com.sap.aii.mapping.api.StreamTransformation;&lt;br /&gt;import com.sap.aii.mapping.api.StreamTransformationConstants;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;public class JavaMapping implements StreamTransformation {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;   private Map           param = null;&lt;br /&gt;  private AbstractTrace  trace = null;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;   public void setParameter (Map param) {&lt;br /&gt;     this.param = param;&lt;br /&gt;     if (param == null) {&lt;br /&gt;        this.param = new HashMap();&lt;br /&gt;     }&lt;br /&gt;  }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;   public void execute(InputStream in, OutputStream out) {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;try {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;         trace = (AbstractTrace)param.get(&lt;br /&gt;                  StreamTransformationConstants.MAPPING_TRACE );&lt;br /&gt;        trace.addInfo(‘...’);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;         // ...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;         String receiverName = (String)param.get(&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;                   StreamTransformationConstants.RECEIVER_NAME);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;         // ...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;      }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;   }&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="UserInput11"&gt;&lt;span style=""&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;See also: Special Access to Mapping Runtime Constants.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP XI Runtime Environment Java Mappings</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xi-runtime-environment-java.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:20:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-1833486552995072626</guid><description>&lt;h3&gt;&lt;span style=""&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The Integration Server (or the PCK) uses the runtime environment for Java mappings to execute Java mapping programs. In addition to the mapping API you can use other standard libraries of the SAP J2EE server in loaded Java mapping programs.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Prerequisites&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;You are using the &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;SAP NetWeaver Developer Studio.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To be able to write a mapping program in your Java development environment, the Java runtime environment (JRE) of the SAP J2EE server must be consistent with the JRE version of your Java development environment.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The mapping runtime environment consists of the following runtime components:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The Java runtime environment (JRE) of the SAP J2EE server&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The mapping API (see: Java Mapping)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput111"&gt;&lt;span style=""&gt;sapxmltoolkit&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;br /&gt;The &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;SAP XML Toolkit for Java contains a JAXP implementation.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput111"&gt;&lt;span style=""&gt;com.sap.mw.jco&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;br /&gt;The SAP Java Connector enables ABAP-APIs to be called from the Java mapping. See the corresponding Javadoc documentation in the SAP Developer Network at &lt;/span&gt;&lt;span class="ScreenOutput41"&gt;&lt;span style=""&gt;https://www.sdn.sap.com/irj/sdn/javadocs&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; (SDN user required).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet2"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;○&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput111"&gt;&lt;span style=""&gt;com.sap.tc.Logging&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;br /&gt;The SAP Logging Service enables integration with the SAP Web AS Management tools. See the corresponding Javadoc documentation in the SAP Developer Network at &lt;/span&gt;&lt;span class="ScreenOutput41"&gt;&lt;span style=""&gt;https://www.sdn.sap.com/irj/sdn/javadocs&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; (SDN user required).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Java programs that are loaded in an imported archive can use classes from the JRE, the mapping API, and these three standard libraries.&lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style=""&gt;Search Path for Classes in Java Mapping Programs (Integration Server)&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The mapping runtime environment is determined by the software component version and the namespace of the Java mapping to be executed. The environment also has a specific search sequence when loading the classes. If the mapping runtime environment finds a class in a path, the search is terminated and the subsequent paths are ignored. The paths are searched in the following sequence:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span style=""&gt;...&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The paths of the JRE of the J2EE server&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The path in which the mapping API is saved and the path of the standard libraries (SAP XML Toolkit, SAP Java Connector, SAP Logging Service), see above&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Imported archives in the same namespace and the same software component version as the Java mapping to be executed&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;4.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Imported archives in the same namespace and a subordinate software component version&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;5.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Imported archives in other namespaces of the software component version&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;6.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Imported archives in other namespaces of subordinate software component versions&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Note that you can only load a class from the other namespaces if it is unique there.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon11"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Caution" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/achtung.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph3"&gt;&lt;span style=""&gt;If you use JRE classes in your Java mapping programs then the same program restrictions apply as for Enterprise Java Beans (EJBs). This includes the following, for example (for a detailed description, see the relevant EJB specification):&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet4"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Do not load a JDBC driver to use them directly. Instead, use the mapping lookup API (see: Mapping Lookups), or the JDBC Connector Service in the SAP J2EE Engine.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet4"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Do not use the package &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;java.io&lt;/span&gt;&lt;span style=""&gt; to write directly to files, or use it to read directly from files.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet4"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Do not use a class loader in your classes.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet4"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Within a Java mapping program, do not call &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;java.lang.System.exit()&lt;/span&gt;&lt;span style=""&gt; or &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;java.lang.System.setProperties()&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet4"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Do not create or use any threads.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet4"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Do not use any network sockets.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph3"&gt;&lt;span style=""&gt;It is important that you also refer to the introductory notes and restrictions in Java Mapping.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph11"&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style=""&gt;Search Path for Classes in Java Mapping Programs (PCK)&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The mapping runtime environment of the PCK does not recognize software component versions. Therefore, fewer paths are searched during class loading. If the mapping runtime environment finds a class in a path, the search is terminated and the subsequent paths are ignored. The paths are searched in the following sequence:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber4" style="text-indent: -0.3in;"&gt; &lt;span style=""&gt;...&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The paths of the JRE of the J2EE server&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;The path in which the mapping API is saved and the path of the standard libraries (SAP XML Toolkit, SAP Java Connector, SAP Logging Service), see above&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Imported archives in the same namespace as the Java mapping to be executed&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListNumber" style="text-indent: -28.1pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;4.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Imported archives in namespaces other than that of the Java mapping to be executed&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Note that you can only load a class from the other namespaces if it is unique there.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon11"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Caution" id="_x0000_i1027" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/achtung.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph11"&gt;&lt;span style=""&gt;You cannot use a class loader in the classes of an imported archive.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Activities&lt;/span&gt;&lt;/h3&gt;  &lt;h4&gt;&lt;span style=""&gt;Accessing the Runtime Environment in the SAP NW Developer Studio&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;To access the mapping API, you must include the Jar file &lt;/span&gt;&lt;span class="ScreenOutput111"&gt;&lt;span style=""&gt;aii_map_api.jar&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; in your class path. The Jar file is located in the following directory:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span class="ScreenOutput111"&gt;&lt;span style=""&gt;&lt;sap_install_dir&gt;/&lt;system_name&gt;/&lt;instance_name&gt;/j2ee/cluster/server&lt;number&gt;/apps/sap.com/com.sap.xi.services/&lt;/number&gt;&lt;/instance_name&gt;&lt;/system_name&gt;&lt;/sap_install_dir&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;To include the three J2EE standard libraries in the class path of the NetWeaver Developer Workplace, call the &lt;/span&gt;&lt;span class="Object111"&gt;&lt;span style=""&gt;Set Additional Libraries...&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; function in your Eclipse project by calling the context menu and selecting the libraries com.sap.tc.Logging, com.sap.mw.jco, and sapxmltoolkit.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP XI Executing Value Mappings</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xi-executing-value-mappings.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:19:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-6818195257372126910</guid><description>&lt;h3&gt;&lt;span style="" lang="EN-GB"&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;At configuration time you complete a value mapping table in the Integration Directory. In this table, values that are identical semantically are summarized in a group.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;The mapping runtime provides an API to determine a target value for a source value during a Java mapping.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-GB"&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;h4&gt;&lt;span style="" lang="EN-GB"&gt;Source and Target Representation&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;It is possible for an object (for example, a material number) to be identified differently at the receiver than at the sender (see: &lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;Value Mapping Table&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;); in this case, an object is said to have different &lt;i&gt;representations&lt;/i&gt;. An object representation consists of:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;·&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;A &lt;i&gt;value mapping context&lt;/i&gt; to differentiate mappings from different applications&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;·&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;An &lt;i&gt;agency&lt;/i&gt;, which manages an &lt;i&gt;identification scheme&lt;/i&gt; (for example, a company)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;·&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;The &lt;i&gt;&lt;span style=""&gt; &lt;/span&gt;identification scheme&lt;/i&gt; used (for example, the scheme “customer number”)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;·&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;The &lt;i&gt;value&lt;/i&gt; of the object, which is dependent on the identification scheme, the issuing agency, and the value mapping context&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;The package &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;com.sap.aii.mapping.value.api&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt; contains the interfaces &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;IFIdentifier&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;, &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;IFRequest&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;, and &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;IFResponse&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;. &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;You request objects for these interfaces to describe such representations.&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;You use &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;IFIdentifier&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; to construct &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;IFRequest&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, and when you execute the value mapping an object of type &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;IFResponse&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; is returned.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/f2/dfae3d47afd652e10000000a114084/TEMPLATE_image002.gif" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;To make a value mapping request, use an object of type &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;IFRequest&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;. You construct the request by using a source label, a target label (both are objects of type &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;IFIdentifier&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;), and the source value. The result of the value mapping is an object of type &lt;/span&gt;&lt;span class="ScreenOutput2"&gt;&lt;span style="" lang="EN-GB"&gt;IFResponse&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt;, which you can use to query one or more target values in addition to the information in the request.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon1"&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1027" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" border="0" /&gt;&lt;/p&gt;  &lt;p class="NoteParagraph1"&gt;&lt;span style="" lang="EN-GB"&gt;Alternatively, you can execute a value mapping by transferring all required values to the method &lt;/span&gt;&lt;span class="ScreenOutput2"&gt;&lt;span style="" lang="EN-GB"&gt;executeMapping()&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt; in a call (see below).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;To make a request and execute a value mapping, you use a factory class and a service class. &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;The methods of these classes are described below.&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;The interface methods consist merely of access methods for the respective values:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Methods of the Interface IFIdentifier&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 2.45in;" valign="top" width="235"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Method&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 3.7in;" valign="top" width="355"&gt;&lt;p class="TableHeading1"&gt;Return Value for Label&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 2.45in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="235"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;public java.lang.String&lt;br /&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;getContext&lt;/b&gt;();&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 3.7in;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="355"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Value mapping context&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 2.45in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="235"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;public java.lang.String&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-US"&gt;getAgency&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 3.7in;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="355"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Agency&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 2.45in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="235"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;public java.lang.String&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-US"&gt;getScheme&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 3.7in;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="355"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Identification scheme&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Methods of the Interface IFRequest&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 153.9pt;" valign="top" width="205"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Method&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: solid solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:windowtext windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Return Value of the Value Mapping Request&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;public IFIdentifier&lt;br /&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;getSourceIdentifier&lt;/b&gt;()&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Source label&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public IFIdentifier&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;getTargetIdentifier&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Target label&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public java.lang.String &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;getSourceValue&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Source value&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Methods of the Interface IFResponse&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 153.9pt;" valign="top" width="205"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Method&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: solid solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:windowtext windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Return Value of the Value Mapping Result&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;public java.lang.String &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;getSingleTargetValue&lt;/b&gt;()&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Individual target value.&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;If no valid target value is found, the method returns the &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; value.&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;If more than one target value is found, the method returns the first value (determined randomly).&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;To make sure that there is only one target value, use the method &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;countTargetValues()&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;.&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;To query null values, you can also use the method &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;hasTargetValues()&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public java.lang.String[]&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;getTargetValues&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;All possible result values for the request&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public int&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;countTargetValues&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;Number of result values&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public boolean&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;hasTargetValues&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, if there is at least one result value; &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;false&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; if not.&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public IF&lt;/span&gt;Identifier&lt;br /&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;getSourceIdentifier&lt;/span&gt;&lt;/b&gt;()&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Source label&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public IFIdentifier&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;getTargetIdentifier&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Target label&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 153.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="205"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public java.lang.String &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;getSourceValue&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 288.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="385"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Source value&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;h4&gt;&lt;span style="" lang="EN-US"&gt;Mapping Request&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;The package &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;com.sap.aii.mapping.value.api&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt; provides the following classes:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;·&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;XIVMFactory&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, to instantiate objects of type &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;IFIdentifier&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt; and &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;IFRequest&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span  lang="EN-GB" style="font-family:Symbol;"&gt;&lt;span style=""&gt;·&lt;span style=";font-family:&amp;quot;;font-size:7;"  &gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-US"&gt;XIVMService&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;, to execute the value mapping&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Methods of Class XIVMFactory&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 198.9pt;" valign="top" width="265"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Method&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: solid solid solid none; padding: 0in 5.4pt; width: 243.9pt;color:windowtext windowtext windowtext -moz-use-text-color;" valign="top" width="325"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 198.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="265"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;XIVMFactory&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 243.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="325"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Constructor&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 198.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="265"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public static IFIdentifier &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;newIdentifier&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;(&lt;br /&gt;java.lang.String context,&lt;br /&gt;java.lang.String agency,&lt;br /&gt;java.lang.String scheme)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 243.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="325"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;Returns a label for the transferred values&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 198.9pt;color:-moz-use-text-color windowtext windowtext;" valign="top" width="265"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public static IFRequest &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;newRequest&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;(&lt;br /&gt;IFIdentifier sourceIdentifier,&lt;br /&gt;IFIdentifier targetIdentifier,&lt;br /&gt;java.lang.String sourceValue)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 243.9pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="325"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;Returns a value mapping request for a source label, target label, and source value &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoCaption"&gt;&lt;span style="" lang="EN-US"&gt;Methods of the Interface XIVMService&lt;/span&gt;&lt;/p&gt;  &lt;table class="UserInput" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="page-break-inside: avoid;"&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 3.2in;" valign="top" width="307"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Method&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: solid solid solid none; padding: 0in 5.4pt; width: 2.95in;color:windowtext windowtext windowtext -moz-use-text-color;" valign="top" width="283"&gt;&lt;p class="TableHeading1"&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 3.2in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="307"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;XIVMService&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 2.95in;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="283"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-US"&gt;Constructor&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 3.2in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="307"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public static java.lang.String &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;executeMapping&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;(&lt;br /&gt;IFIdentifier sourceIdentifier,&lt;br /&gt;IFIdentifier targetIdentifier,&lt;br /&gt;java.lang.String sourceValue)&lt;br /&gt;throws&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt; ValueMappingException&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 2.95in;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="283"&gt;&lt;p class="TableText1"&gt;Returns a result value&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 3.2in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="307"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public static IFResponse &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;executeMapping&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;(IFRequest request)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;throws ValueMappingException&lt;/span&gt;&lt;/span&gt; &lt;/pre&gt; &lt;/td&gt; &lt;td  style="border-style: none solid solid none; padding: 0in 5.4pt; width: 2.95in;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;" valign="top" width="283"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;Returns a value mapping result for a value mapping request &lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 3.2in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="307"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public static IFResponse[] &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;executeMapping&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;(IFRequest[] requests)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;throws ValueMappingException&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td color="-moz-use-text-color windowtext windowtext -moz-use-text-color" style="border-style: none solid solid none; padding: 0in 5.4pt; width: 2.95in;" valign="top" width="283"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;Returns the value mapping results for several value mapping requests&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style="page-break-inside: avoid;"&gt; &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 3.2in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="307"&gt;&lt;p class="TableText1"&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;public static java.lang.String &lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;b style=""&gt;&lt;span style="" lang="EN-GB"&gt;executeMapping&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;(&lt;br /&gt;java.lang.String sourceContext,&lt;br /&gt;java.lang.String sourceAgency,&lt;br /&gt;java.lang.String sourceScheme,&lt;br /&gt;java.lang.String sourceValue,&lt;br /&gt;java.lang.String targetContext,&lt;br /&gt;java.lang.String targetAgency,&lt;br /&gt;java.lang.String targetScheme)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 2.95in;" valign="top" width="283"&gt;&lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;Returns the result value&lt;/span&gt;&lt;/p&gt;  &lt;p class="TableText1"&gt;&lt;span style="" lang="EN-GB"&gt;If no result value exists, or an exception was thrown during execution of the value mapping, the method returns the &lt;/span&gt;&lt;span class="ScreenOutput2"&gt;&lt;span style="" lang="EN-GB"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt; value&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-GB"&gt;The exception &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;ValueMappingException&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt; of the method &lt;/span&gt;&lt;span class="ScreenOutput1"&gt;&lt;span style="" lang="EN-GB"&gt;executeMapping()&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-GB"&gt; is only thrown if an error occurs during the execution of the value mapping or if the value cannot be mapped for other reasons.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP XI Java Mapping of Adapter-Specific Message Attributes</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xi-java-mapping-of-adapter-specific.html</link><category>SAP XSLT/Java Mapping</category><pubDate>Fri, 16 Jan 2009 11:18:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-906505944642099837</guid><description>&lt;h3&gt;&lt;span style=""&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The message header of an XI message contains a header for adapter-specific message attributes that the sender adapter can use to write additional information to the message header. This enables sender adapters to write information that is not known until runtime to the message (see: &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;Adapter-Specific Message Attributes in the Message Header).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Furthermore, developers have read and write-to access to adapter-specific attributes from within a Java mapping program.&lt;span style=""&gt;      &lt;/span&gt; &lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Integration&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;XSLT programs (J2EE) and message mappings have mapping runtime constants that enable developers to access the same Java classes for adapter-specific-attribute mappings as in Java mapping programs (see XSLT Mapping of Adapter-Specific Attributes or Accessing Adapter-Specific Attributes). Mapping programs executed on the Integration Server and mapping programs for the PCK runtime both support this kind of access.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;There is a separate interface for ABAP mappings (see the interface documentation for the interface IF_MAPPING_DYNAMIC_CONF).&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Features&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The key for accessing the value of an adapter-specific attribute comprises a namespace belonging to the adapter and an attribute name. The file adapter has the following attributes, for example.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoCaption"&gt;&lt;span style=""&gt;Example Attributes of the File Adapter&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style=""&gt; &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableHeading21"&gt;&lt;span style=""&gt;Adapter Namespace&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 94.5pt;" valign="top" width="126"&gt;&lt;p class="TableHeading21"&gt;&lt;span style=""&gt;Attribute Name&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 126.9pt;" valign="top" width="169"&gt;&lt;p class="TableHeading21"&gt;&lt;span style=""&gt;Attribute Value&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableText21"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;http://sap.com/xi/XI/System/File&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 94.5pt;" valign="top" width="126"&gt;&lt;p class="TableText21"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;Directory&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 126.9pt;" valign="top" width="169"&gt;&lt;p class="TableText21"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;C:\tmp\&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr style=""&gt; &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 221.4pt;" valign="top" width="295"&gt;&lt;p class="TableText21"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;http://sap.com/xi/XI/System/File&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 94.5pt;" valign="top" width="126"&gt;&lt;p class="TableText21"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;FileName&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 126.9pt;" valign="top" width="169"&gt;&lt;p class="TableText21"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;test-input.xml&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The adapter namespace comprises the namespace in the Integration Repository in which the adapter metadata for the adapter is saved and the name of the adapter metadata object. The adapter namespaces for the adapters shipped by SAP therefore have the following format:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;http://sap.com/xi/XI/System/&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=""&gt;&lt;adapter&gt;&lt;/adapter&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The adapter metadata objects are located in the namespace &lt;/span&gt;&lt;span class="Object21"&gt;&lt;span style=""&gt;http://sap.com/xi/XI/System&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; of software component &lt;/span&gt;&lt;span class="Object21"&gt;&lt;span style=""&gt;SAP BASIS&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style=""&gt;Mapping API&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The classes for accessing the adapter-specific attributes are part of the mapping API (package &lt;/span&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;com.sap.aii.mapping.api&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;):&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;com.sap.aii.mapping.api.DynamicConfigurationKey&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;Class used to create a key object for an adapter-specific attribute. The key object comprises the adapter namespace and the attribute name.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;com.sap.aii.mapping.api.DynamicConfiguration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;Class used to read, change, or delete the value of an adapter-specific attribute. In a method, you use objects of type &lt;/span&gt;&lt;span class="ScreenOutput21"&gt;&lt;span style=""&gt;DynamicConfigurationKey&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; to access the attributes.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;For more information about the mapping API in SAP NetWeaver 2004 SPS14, see SAP Developer Network at &lt;/span&gt;&lt;span class="ScreenOutput"&gt;&lt;span style=""&gt;https://www.sdn.sap.com/irj/sdn/javadocs&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; (SDN user required).&lt;/span&gt;&lt;/p&gt;  &lt;h4&gt;&lt;span style=""&gt;Adapter-Specific Attributes and Multi-Mappings&lt;/span&gt;&lt;/h4&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;In multi-mappings, there are multiple message headers with adapter-specific attributes. The mapping API can only access &lt;b&gt;one&lt;/b&gt; message header. This has the following consequences depending on whether there are multiple source or target messages:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;1:n Transformation&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;If there are multiple target messages, the header for the adapter-specific attributes is copied for each message. This means that you can only create one header for all adapter-specific attributes, and not individual headers.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;n:1 Transformation&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;This variant is only possible for multi-mappings in integration processes. If there is more than one source message, read-access to the adapter-specific attributes of the various message headers is not possible at runtime.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Arial Unicode MS&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;m:n Transformation&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;All afore-mentioned restrictions apply here. Developers can at most write the same adapter-specific attributes for all target messages to the header, without read-access to the attributes of the source messages. m:n transformations are only supported within integration processes.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>List of SAP XI TCODES</title><link>http://freesapxilive.blogspot.com/2009/01/list-of-sap-xi-tcodes.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:05:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-2182754166428742643</guid><description>1.SXMB_IFR -&gt; Start Integration Builder&lt;br /&gt;2.SXMB_MONI -&gt; Integration Engine - Monitoring&lt;br /&gt;3.SXI_MONITOR -&gt; XI: Message Monitoring&lt;br /&gt;4.SXI_CACHE -&gt; To Access IS runtime cache&lt;br /&gt;5.sxi_cache -&gt; XI data directory cacheidx1 -&gt; idoc adapter&lt;br /&gt;6.idx2 -&gt; idoc metadata&lt;br /&gt;7.idx5 -&gt; monitocr idoc adapter&lt;br /&gt;8.sm21 -&gt; log di sistema&lt;br /&gt;9.st22 -&gt; dump abap (analisi di eccezioni)&lt;br /&gt;10.smq1 -&gt; messages inbound e outbound queue&lt;br /&gt;11.smq2 -&gt; messages inbound e outbound queue&lt;br /&gt;12.smicm -&gt; J2EE administration&lt;br /&gt;13.st06 -&gt; stato della macchina cpu memory filesystem machine status - cpu, 14.memory and file system.&lt;br /&gt;15.st03 -&gt; workload.&lt;br /&gt;16.scc4 -&gt; visualizza mandanti del sistema&lt;br /&gt;17.we20 -&gt; partner profiles&lt;br /&gt;18.sale - ale settings&lt;br /&gt;19.rz10 - edit system profile&lt;br /&gt;20.sm59 -&gt;mantain rfc destinations&lt;br /&gt;21.bd64 -&gt; mantain distribution model (trasformazioni)&lt;br /&gt;22.SU01 -&gt; users&lt;br /&gt;23.AL08 -&gt; list all logged users(user login logon)&lt;br /&gt;24.SE10 -&gt; Change Request&lt;br /&gt;25.SE09 -&gt; Change Request&lt;br /&gt;26.WE05 -&gt; All idocs&lt;br /&gt;27.WE19 -&gt; IDoc Test Tool&lt;br /&gt;28.WE21 -&gt; port definition&lt;br /&gt;29.SE11 -&gt; Data dictionary&lt;br /&gt;30.SM21 -&gt; log sistema xi&lt;br /&gt;31.se37 -&gt; mantain funcion modules&lt;br /&gt;32.SICF -&gt; http server configuration&lt;br /&gt;33.SMGW -&gt; trace, alzare livello di trace.&lt;br /&gt;34.BD13 -&gt;&lt;br /&gt;35.BD64 -&gt; modelli di distribuzione&lt;br /&gt;36.pfcg -&gt; Roles&lt;br /&gt;37.tabella TSTC -&gt; sap transactions codes&lt;br /&gt;38.tabella TSTCT -&gt; transaction descriptions&lt;br /&gt;39.STMS -&gt; transports management&lt;br /&gt;40.SPAM -&gt; apply ABAP support packages&lt;br /&gt;41.SPAU -&gt; manage objects after apply support packages&lt;br /&gt;42.SE01 -&gt; manage change requests&lt;br /&gt;43.SLDCHECK -&gt; Test SLD Connection&lt;br /&gt;44.SLDAPICUST-&gt; SLD API Customizing&lt;br /&gt;45.SXMB_ADM -&gt; Integration Engine - Administration&lt;br /&gt;46.SXMB_MONI_BPE -&gt; Process Engine - Monitoring&lt;br /&gt;47.SE38 -&gt; ABAP Editor&lt;br /&gt;48.SE11 -&gt; ABAP Dictionary&lt;br /&gt;49.ST22 -&gt; ABAP dump analysis&lt;br /&gt;50.SPROXY-&gt; ABAP Proxy Generation&lt;br /&gt;51.SE80 -&gt; Object Navigator&lt;br /&gt;52.ABAPDOCU -&gt; ABAP Documentation and Examples&lt;br /&gt;53.SE24-&gt; Class Builder&lt;br /&gt;54.SM21-&gt; Online System Log Analysis&lt;br /&gt;55.SMQ1-&gt; qRFC Monitor (Outbound Queue)&lt;br /&gt;56.SMQ2-&gt; qRFC Monitor (Inbound Queue)&lt;br /&gt;57.RZ70-&gt; SLD Administration&lt;br /&gt;59.SM58-&gt; Asynchronous RFC Error Log&lt;br /&gt;60.SM59-&gt; RFC Destinations (Display/Maintain)&lt;br /&gt;61.SMICM-&gt; ICM Monitor&lt;br /&gt;62.WE60-&gt; Documentation for IDoc types&lt;br /&gt;63.BD87-&gt; Status Monitor for ALE Messages&lt;br /&gt;64.IDX1-&gt; Port Maintenance in IDoc Adapter&lt;br /&gt;65.IDX2-&gt; Meta Data Overview in IDoc Adapter&lt;br /&gt;66.WE05-&gt; IDoc Lists&lt;br /&gt;67.WE02-&gt; Display IDoc&lt;br /&gt;68.WE19-&gt; Test tool&lt;br /&gt;69.WE09-&gt; Search for IDocs by Content&lt;br /&gt;70.WE20-&gt; Partner Profiles&lt;br /&gt;71.WE21-&gt; Port definition in XI&lt;br /&gt;72.SE16-&gt; Data Browser&lt;br /&gt;73.SE93-&gt; Maintain Transaction Codes&lt;br /&gt;74.SM30-&gt; Call View Maintenance&lt;br /&gt;75.SU01-&gt; User Maintenance&lt;br /&gt;76.SM02-&gt; System Messages&lt;br /&gt;&lt;br /&gt;SWXF_PBUILDER -&gt; for Detail BPM Process&lt;br /&gt;&lt;br /&gt;SMQS - &gt; to register the destination in QOUT scheduler&lt;br /&gt;&lt;br /&gt;WEOUTQUEUE - &gt; to start the queue processing&lt;br /&gt;&lt;br /&gt;SMQR - &gt; to register the queue&lt;br /&gt;&lt;br /&gt;Idxpw - &gt; to activate the IDOC message package&lt;br /&gt;&lt;br /&gt;IDXP - &gt; to monitor the message packages.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP Display SAP Directories SAP Transaction Code</title><link>http://freesapxilive.blogspot.com/2009/01/sap-display-sap-directories-sap.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:04:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-2224370446670244560</guid><description>AL11 RSWATCH0 Display SAP Directories</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP Display table buffer (Exp. session) SAP Transaction Code</title><link>http://freesapxilive.blogspot.com/2009/01/sap-display-table-buffer-exp-session.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:04:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-8501564438968566095</guid><description>AL12 RSDBBUFF Display table buffer (Exp. session)</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP Display Shared Memory (Expert mode) SAP Transaction Code \</title><link>http://freesapxilive.blogspot.com/2009/01/sap-display-shared-memory-expert-mode.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:04:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-9051358052948245193</guid><description>AL13 RSTUNSHM Display Shared Memory (Expert mode)</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP Customize SAPOSCOL destination SAP Transaction Code</title><link>http://freesapxilive.blogspot.com/2009/01/sap-customize-saposcol-destination-sap.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:03:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-2837538229960120957</guid><description>AL15 RSHOSTLD Customize SAPOSCOL destination</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Specify field group authorization SAP Transaction Code</title><link>http://freesapxilive.blogspot.com/2009/01/specify-field-group-authorization-sap.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:02:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-3376007448061244261</guid><description>AO91 RACSTABL Specify field group authorization</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Logical field groups SAP Transaction Code</title><link>http://freesapxilive.blogspot.com/2009/01/logical-field-groups-sap-transaction.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 12:02:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-4813593364625159066</guid><description>AO92 RACSTABL Logical field groups</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>KOBRA: Archiving SAP Transaction Code</title><link>http://freesapxilive.blogspot.com/2009/01/kobra-archiving-sap-transaction-code.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 11:58:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-1939480602673958063</guid><description>ARKO RVEXARIN KOBRA: Archiving</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>TCode for Bill of Exchange List</title><link>http://freesapxilive.blogspot.com/2009/01/tcode-for-bill-of-exchange-list.html</link><category>SAP XI TCodes</category><pubDate>Mon, 12 Jan 2009 11:56:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-8967896883675801945</guid><description>&lt;span style="font-weight: bold;font-size:180%;" &gt;&lt;span style="color: rgb(255, 0, 0);"&gt;F.25&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP XI Connectivity</title><link>http://freesapxilive.blogspot.com/2009/01/sap-xi-connectivity.html</link><category>SAP XI Connectivity</category><pubDate>Mon, 12 Jan 2009 11:53:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-332798195246848229</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following graphic provides an overview of all the components that can communicate with the Integration Server:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="_1127305368"&gt;&lt;/a&gt;&lt;a name="_1127289625"&gt;&lt;/a&gt;&lt;a name="_1127043861"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/70/f3cbad30ee479cb15672219f3405f0/h-00100030000_image002.gif" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;All the systems either send messages to, or receive messages from the Integration Server. It is the task of the Integration Server to distribute the messages received according to the rules that are configured in the Integration Directory. In this way, messages can be exchanged between all systems in a heterogeneous system landscape, regardless of whether a message was sent to the Integration Server using an adapter or the proxy runtime.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon12"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph12"&gt;&lt;span style=""&gt;The Integration Server is set up for asynchronous communication. Synchronous communication is supported as required.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Therefore, you can exchange messages using Process Integration as soon as a runtime component can communicate with the Integration Server. The following sections describe the various communication parties of the Integration Server:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;span style=""&gt;Communication Using Proxy Runtime&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;span style=""&gt;Communication Using Adapter Runtime&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Communication with Embedded Process Integration&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;&lt;span style=""&gt;Communication Using Industry Standards&lt;/span&gt; (RosettaNet)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;span style=""&gt;Communication Between PI Landscapes&lt;/span&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To conclude, the various options available for connecting systems to the Integration Server are summarized under the term &lt;i style=""&gt;Connectivity&lt;/i&gt;.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>SAP Communication Using Proxy Runtime XI Connectivity</title><link>http://freesapxilive.blogspot.com/2009/01/sap-communication-using-proxy-runtime.html</link><category>SAP XI Connectivity</category><pubDate>Mon, 12 Jan 2009 11:52:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-5789851070010603644</guid><description>&lt;p style="color: rgb(0, 0, 0);"&gt;&lt;a name="_1075813035"&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;Proxies are interfaces that are generated in application systems to communicate with the Integration Server. Proxy ‘originals’ are located in the Integration Repository, not in the application system. At &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;design time&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;, you use the Integration Builder to create the &lt;i&gt;message interfaces&lt;/i&gt; you want to generate proxies for in application systems. The following graphic illustrates a &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt;proxy generation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style="" lang="EN-US"&gt; example using message interfaces:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;     &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/2a/02eff210ef4caa9a1ed4ab875c28e9/h-00100010000_image002.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The message interface determines which proxy objects are generated:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Classes (Java, ABAP Object) are generated for outbound interfaces. By calling a method of the class you can transfer your data to the proxy runtime, which constructs the message and forwards it to the Integration Server. Proxies for outbound interfaces are called &lt;i&gt;client proxies&lt;/i&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;" lang="EN-US"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Interfaces (Java, ABAP object) that are generated for inbound interfaces have to be implemented by the application for receiver processing. The proxy runtime calls this processing automatically once it has received an appropriate message. Proxies for inbound interfaces are called &lt;i&gt;server proxies&lt;/i&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;As illustrated in the graphic, you can generate proxy objects for an interface object in different systems. Only one version of the generated proxy can exist in a system, however. The generated objects are not client-specific if the system is an ABAP application.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Integrating Business Systems by Using SAP ABAP Proxies XI Connectivity</title><link>http://freesapxilive.blogspot.com/2009/01/integrating-business-systems-by-using_4255.html</link><category>SAP XI Connectivity</category><pubDate>Fri, 9 Jan 2009 16:26:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-3933809870484774800</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following documentation describes an integration scenario in which the business system, which is connected to the Integration Server by means of ABAP proxies, takes on the role of either a sender system or a receiver system, or both.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;SAP systems based on Web AS 6.40 and higher are able to exchange data by using messages and HTTP. These systems can use ABAP proxies to connect to the Integration Server.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon1"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph1"&gt;&lt;span style=""&gt;SAP systems up to and including Release 4.6 are not able to exchange data by using XML messages and http. Such systems can only connect to the Integration Server by means of the IDoc adapter or the RFC adapter.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To connect the platform-independent message interfaces, which are stored in the Integration Repository, to the Integration Server, use the ABAP proxy interface.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Description&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;You can use executable ABAP proxies to exchange messages between a business system and the Integration Server. Executable ABAP proxies are shipped by SAP with all platform-independent message interfaces. However, you have to generate these proxies first before you can use them for your own interfaces.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;An application in a business system calls a client proxy to send a message. The proxy runtime receives the message and the Integration Server processes it.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To forward messages to a receiver business system, the proxy runtime receives the message on the receiver system, and then calls the ABAP class that implements the relevant server proxy.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/16/fbca3f03f33f1ce10000000a114084/h-00100010000_image002.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The local Integration Engine has the task of a message sender or receiver here. It does not perform any mapping or routing actions.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;A SAP Web AS 6.40 system uses a client proxy to send a message to the Integration Engine. The message is processed by the Integration Server. Two receivers are determined:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Another Web AS 6.40 system&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;A system that cannot receive XML messages directly (for example, an SAP 4.0B system)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;On the receiver side, the SAP Web AS 6.40-based system receives a message, which is used by a server proxy to call the ABAP class. The other receiver system must be connected by means of the IDoc adapter or the RFC adapter.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Integrating Business Systems by Using Java Proxies Process Integration XI</title><link>http://freesapxilive.blogspot.com/2009/01/integrating-business-systems-by-using_2155.html</link><category>SAP XI Connectivity</category><pubDate>Fri, 9 Jan 2009 16:26:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-1259817694403231160</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following documentation describes an integration scenario in which the business system, which is connected to the Integration Server by means of Java proxies, takes on the role of either a sender system (using client proxies) or a receiver system, or both.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;SAP systems based on Web AS 6.40 and higher are able to exchange data by using messages and HTTP. These systems can use Java proxies to connect to the Integration Server.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon4"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="Note" id="_x0000_i1026" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/hinweis.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph4"&gt;&lt;span style=""&gt;SAP systems up to and including Release 4.6 are not able to exchange data by using messages and http. Such systems can only connect to the Integration Server by means of the IDoc adapter or the RFC adapter.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To connect the platform-independent message interfaces, which are stored in the Integration Repository, to the Integration Server, use the Java proxy interface (based on the adapter framework).&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Description&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;You can use executable Java proxies to exchange messages between a business system and the Integration Server. Executable Java proxies are shipped by SAP with all platform-independent message interfaces. However, you have to generate these proxies first before you can use them for your own message interfaces.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;An application in a business system calls a client proxy to send a message. Proxy runtime receives the message from a business sender system and the Integration Server processes the message further.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To forward messages to a receiver business system, the proxy runtime receives the message in the receiver system, and then calls the Java class that implements the relevant server proxy.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/22/82c93f26903a1ce10000000a114084/h-00100040000_image002.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;A SAP Web AS 6.40 system uses a client proxy to send a message to the Integration Engine. The message is then processed by the Integration Server. Two receivers are determined:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Another Web AS 6.40 system&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;A system that cannot receive messages directly (for example, an SAP 4.0B system)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;On the receiver side, the SAP Web AS 6.40-based system receives a message, which is used by a server proxy to call the Java class. The other receiver system must be connected by means of the IDoc adapter or the RFC adapter.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Communication Using Adapter Runtime Process Integration XI</title><link>http://freesapxilive.blogspot.com/2009/01/communication-using-adapter-runtime.html</link><category>SAP XI Connectivity</category><pubDate>Fri, 9 Jan 2009 16:25:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-6197108686097624460</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;A central component of the adapter runtime is the &lt;i&gt;Adapter Framework&lt;/i&gt;, with services for messaging, queuing, and security handling. The adapter framework supports the JCA standard (JCA: J2EE Connection Architecture) and communicates with &lt;i&gt;Resource Adapters&lt;/i&gt;, which are either a component of usage type Process Integration or are provided by SAP partners. All adapters shipped by SAP are resource adapters, apart from the IDoc adapter.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following adapter components are based on the adapter framework:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;;font-size:9;&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Adapter Engine (J2EE): For adapter communication within a system network.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Partner Connectivity Kit (J2EE): Enables business partners who do not have Process Integration installed to receive and send messages (see: Integrating Smaller Business Partners with the PCK).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListContinue"&gt;&lt;span style=""&gt;The following graphic provides an overview:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="_1133595968"&gt;&lt;/a&gt;&lt;a name="_1132491157"&gt;&lt;/a&gt;&lt;a name="_1127302779"&gt;&lt;/a&gt;&lt;a name="_1127301586"&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/ad/4e27db3e7b4e6b970fd1afa9abe0c9/h-00100020000_image002.gif" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The Adapter Engine and the Business Process Engine are tightly linked to the Integration Engine. Whether the Adapter Engine is employed or not depends on the requirements of the collaborative process.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;;font-size:9;&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;You normally use the central Adapter Engine; it covers the conversion of the majority of collaborative processes within a system landscape.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;;font-size:9;&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;You can use the non-central Adapter Engine when you require it to work closer to the application systems. This may be necessary if a system is separated from the Integration Server by a firewall.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Both the central and non-central Adapter Engines are configured centrally in the Integration Directory, and a central monitor. The Partner Connectivity Kit (PCK), on the other hand, has to be configured locally because Process Integration is not installed.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon11"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph11"&gt;&lt;span style=""&gt;The Plain J2SE Adapter Engine is only used in a few special cases. In this case, configuration and monitoring are both local.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Integrating Business Systems By Using the IDoc Adapter XI Connectivity</title><link>http://freesapxilive.blogspot.com/2009/01/integrating-business-systems-by-using_1223.html</link><category>SAP XI Connectivity</category><pubDate>Fri, 9 Jan 2009 16:25:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-8109143094539830776</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The following documentation describes an integration scenario in which the business system, which is connected to the Integration Server by means of the IDoc adapter, takes on the role of either a sender system or a receiver system, or both.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;SAP systems up to and including SAP Release 4.6 are not able to exchange data by using XML messages and http. The only way you can connect such systems to the Integration Server directly is by using the IDoc adapter (or the RFC adapter). You can also connect non-SAP systems as sub-systems. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;SAP recommends that you only use the IDoc adapter to integrate business systems with the Integration Server if such a scenario represents significant advantages for your business, for example, connecting business systems or integration processes that were previously not integrated. You must only change existing functioning IDoc communication scenarios (ALE scenarios, for instance) so that IDoc traffic is diverted to the Integration Server if this will result in significant improvements over the current set-up. An example of such a situation would be that you want to make the IDoc data available to additional receivers in the form of XML messages, or if you require an additional mapping. For information about configuring the IDoc adapter, see &lt;img alt="Structure link" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/images/book.gif" border="0" /&gt;&lt;span style=""&gt;IDoc Adapter&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style=""&gt;Description&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;A business system is connected to the Integration Server by means of the IDoc adapter and exchanges IDocs with the IDoc adapter.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The IDoc adapter receives an IDoc from the business system and converts it into an XML message that is processed further by the Integration Server.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;To forward an XML message to a receiver business system by using the IDoc interface, the IDoc adapter receives the message from the Integration Server, converts it into an IDoc, and then sends this IDoc to the business system.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="DE"&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/96/a96256b6a16c4e86411ca5d2bd4b18/h-00100040000_image002.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;b style=""&gt;&lt;span style="font-family: Arial; color: navy;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;   &lt;h3&gt;&lt;span style=""&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;A SAP Release 4.0B system sends an IDoc of type MATMAS01 to the IDoc adapter on the Integration Server. The IDoc is converted to an XML message and processed further by the Integration Server. Two receivers of the IDoc data are determined &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;;font-size:9;&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Another SAP Release 4.0B system&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet"&gt;&lt;span style="font-family: &amp;quot;;font-size:9;&amp;quot;;"&gt;&lt;span style=""&gt;●&lt;span style="font-family: &amp;quot;;font-size:7;&amp;quot;;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;An SAP System, which is able to receive XML messages directly&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;The IDoc adapter at the outbound channel of the Integration Server converts the XML message back into an IDoc of type MATMAS01 and sends this to the 4.0B system. The other SAP system on the other hand simply receives an XML message.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item><item><title>Integrating Business Systems by Using the RFC Adapter Process Integration XI Connectivity</title><link>http://freesapxilive.blogspot.com/2009/01/integrating-business-systems-by-using_4624.html</link><category>SAP XI Connectivity</category><pubDate>Fri, 9 Jan 2009 16:24:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6391637088439750726.post-1930084140063741284</guid><description>&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The following documentation describes an integration scenario in which the business system, which is connected to the Integration Server by means of the RFC adapter, takes on the role of either a sender system or a receiver system, or both.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Use&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;SAP systems up to and including SAP Release 4.6 are not able to exchange data by using XML messages and http. The only way you can connect such systems to the Integration Server directly is by using the RFC adapter (or the IDoc adapter). For information about configuring the RFC adapter, see RFC Adapter.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph3"&gt;&lt;span style="" lang="EN-US"&gt;Non-SAP programs that use the RFC SDK can only be used with the RFC adapter when there is a repository that contains the required metadata.&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Description&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;A business system is connected to an Integration Engine by means of the RFC adapter. It exchanges data with the RFC adapter by using the RFC protocol.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The RFC adapter receives an RFC call from the business system and converts the RFC data into an XML message that is processed further by the Integration Engine.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;To forward an XML message to a receiver system by using the RFC interface, the RFC adapter receives a message from the Integration Engine, converts it into an RFC call, and then executes this call.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;img tabindex="0" alt="This graphic is explained in the accompanying text" src="http://help.sap.com/erp2005_ehp_03/helpdata/EN/69/97dd65a0073641a8259b146fc2f57d/TEMPLATE_image003.gif" border="0" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;span style="" lang="EN-US"&gt;Example&lt;/span&gt;&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;In a typical RFC scenario there is a sender and a receiver. The sender executes an RFC call from which it creates an XML message that is sent to the receiver. In a synchronous RFC call, the data from the response from the receiver is sent back to the original sender in the same way by using RFC protocol.&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteIcon3"&gt;&lt;span style="" lang="EN-US"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="NoteParagraph3"&gt;&lt;span style="" lang="EN-US"&gt;SAP does not recommend diverting an existing, functioning RFC connection between two SAP business systems so that the data passes through the Integration Server.&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>kjkrish.sites@gmail.com (SAP Technology)</author></item></channel></rss>