<?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>topic Re: Function module ‘ISU_MR_ORDER_PREPARE’ in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668424#M1668231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #000000; font-size: 12px; background-color: #ffffff;"&gt;However for some reason this function module is setting sy-subrc value to zero even when no meter reading orders are fetched&lt;/SPAN&gt;" - It's not documented any where that this function will return subrc &amp;lt;&amp;gt; 0 if it doesn't match you condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better check for available BAPI's for same operation, which itself has a return parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2012 11:47:39 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2012-04-06T11:47:39Z</dc:date>
    <item>
      <title>Function module ‘ISU_MR_ORDER_PREPARE’</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668421#M1668228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white;"&gt;The function module ‘ISU_MR_ORDER_PREPARE’ is supposed to return the meter reading orders according to input parameters set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white;"&gt;Only when the meter reading orders are read successfully sy-subrc value is to 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white;"&gt;However for some reason this function module is setting sy-subrc value to zero even when no meter reading orders are fetched.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white;"&gt;Is it a bug in FM?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668421#M1668228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-05T12:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function module ‘ISU_MR_ORDER_PREPARE’</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668422#M1668229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears to me that you need to act upon sy-subr &amp;gt; 0, and if it's zero, you need to look at the tables returned and decide what to do.&amp;nbsp;&amp;nbsp;&amp;nbsp; By supplying a set of parameters that are initial and blank tables, I'd expect zero return code and the same empty table.&amp;nbsp; Does the program check for available input before it calls the FM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 13:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668422#M1668229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-05T13:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function module ‘ISU_MR_ORDER_PREPARE’</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668423#M1668230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P id="imcontent"&gt;&lt;SPAN style="font-family: 'Segoe UI'; color: #000000; font-size: 10pt;"&gt;Yes the program checks for availability of input parameters.&lt;BR /&gt;When there are no meter reading orders which match the criteria it should ideally&lt;BR /&gt;set sy-subrc value to zero.&lt;BR /&gt;But I see sy-subrc value is set to zero even when no meter reading orders are returned.&lt;BR /&gt;I have gone through FM but could not figure out why it would set sy-subrc to zero even when no Meter reading orders are found.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 11:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668423#M1668230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-06T11:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Function module ‘ISU_MR_ORDER_PREPARE’</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668424#M1668231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #000000; font-size: 12px; background-color: #ffffff;"&gt;However for some reason this function module is setting sy-subrc value to zero even when no meter reading orders are fetched&lt;/SPAN&gt;" - It's not documented any where that this function will return subrc &amp;lt;&amp;gt; 0 if it doesn't match you condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better check for available BAPI's for same operation, which itself has a return parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 11:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-isu-mr-order-prepare/m-p/8668424#M1668231</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-04-06T11:47:39Z</dc:date>
    </item>
  </channel>
</rss>

