<?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: sy-subrc check after function module call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499962#M1421572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think it can have the sy-subrc other than zero. Just check the source code of the FM. Fm CONVERSION_EXIT_KONPR_OUTPUT is being called where sy-subrc can be set to non zero insdie this FM which will be transferred back to the caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, better you keep a check for sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2010 04:49:40 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2010-01-19T04:49:40Z</dc:date>
    <item>
      <title>sy-subrc check after function module call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499961#M1421571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am using the standard function module 'CONVERSION_EXIT_ABPSP_OUTPUT'.This doesn't have any exception defined.&lt;/P&gt;&lt;P&gt; When I am calling this function module by PATTERN, the sy-subrc check is also not coming automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know in any case, the sy-subrc will have value other than zero.If not there is no use putting sy-subrc check after the function module call.Please clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 04:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499961#M1421571</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2010-01-19T04:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc check after function module call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499962#M1421572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think it can have the sy-subrc other than zero. Just check the source code of the FM. Fm CONVERSION_EXIT_KONPR_OUTPUT is being called where sy-subrc can be set to non zero insdie this FM which will be transferred back to the caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, better you keep a check for sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 04:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499962#M1421572</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-01-19T04:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc check after function module call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499963#M1421573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soumya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked a 'Where-Used' list of this FM and across classes and programs where it is called, the sy-subrc check is not used.&lt;/P&gt;&lt;P&gt;Still its a good programming practise i believe to handle sy-subrc &amp;lt;&amp;gt; 0. values.&lt;/P&gt;&lt;P&gt;The rest is upto you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-check-after-function-module-call/m-p/6499963#M1421573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T05:01:49Z</dc:date>
    </item>
  </channel>
</rss>

