<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Message Mapping vs Interface Mapping test tabs giving different results. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321771#M2634815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out I needed to change the logic for suppressing the row.  Although it produced the exact same queue in the message map, using the logic below worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=createIf([]Not([]equalsS([]ID, Constant([value=-1]))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Sep 2010 14:14:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-24T14:14:29Z</dc:date>
    <item>
      <title>Message Mapping vs Interface Mapping test tabs giving different results.</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaq-p/7321768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing an interface that always requires an output file to be created (even if there is no data).  I have found a way to change my select statement in the JDBC sender to initiate the message even if there isn't any data (using UNION select -1 ID, '' col1, '' col2, etc.) and that seems to work fine.  I then put logic in the message mapping to suppress the row that contains the -1 ID value, which would result in an empty file when there is no other data, and &lt;STRONG&gt;should&lt;/STRONG&gt; result in a file containing only the correct data when there is data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my problem: I am always getting empty files with this logic.  I tested the logic in the message mapping test tab and it worked perfectly, however when I test it using the interface mapping test tab it results in what becomes an empty file!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My source and destination structures are fairly simple:&lt;/P&gt;&lt;P&gt;Root&lt;/P&gt;&lt;P&gt;--row&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;col1&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;col2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic I use to suppress the ID = -1 row is:&lt;/P&gt;&lt;P&gt;=removeContexts([]ifWithoutElse([keepss=true]Not([]equalsS([]ID, Constant([value=-1]))), SplitByValue([type=Each value]row)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, I'm stumped - any help would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mike Morrison on Sep 23, 2010 5:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 21:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaq-p/7321768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-23T21:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Message Mapping vs Interface Mapping test tabs giving different results.</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321769#M2634813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you quote the error log..u r getting error in message mappin or interface mapping?&lt;/P&gt;&lt;P&gt;Please suggest the test results for both the mappings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sushama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 03:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321769#M2634813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T03:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Message Mapping vs Interface Mapping test tabs giving different results.</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321770#M2634814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to re- activate your objects: Service Interfaces, Operation Mapping and re-assign Service Interfaces  in Operation Mapping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 11:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321770#M2634814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T11:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Message Mapping vs Interface Mapping test tabs giving different results.</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321771#M2634815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out I needed to change the logic for suppressing the row.  Although it produced the exact same queue in the message map, using the logic below worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=createIf([]Not([]equalsS([]ID, Constant([value=-1]))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 14:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-vs-interface-mapping-test-tabs-giving-different-results/qaa-p/7321771#M2634815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T14:14:29Z</dc:date>
    </item>
  </channel>
</rss>

