<?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 Sy-subrc in function module with no exceptions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307497#M504970</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;           I am using standard function modules 'Bupa_address_add' and 'Bupa_address_change'. Both of them do not have any exceptions defined. I want to know that if in any case sy-subrc will have value other than '0' (zero). IF not, then is there no use putting sy-subrc check after this FM. What should i do then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rohit Khetarpal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2007 07:11:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-28T07:11:51Z</dc:date>
    <item>
      <title>Sy-subrc in function module with no exceptions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307497#M504970</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;           I am using standard function modules 'Bupa_address_add' and 'Bupa_address_change'. Both of them do not have any exceptions defined. I want to know that if in any case sy-subrc will have value other than '0' (zero). IF not, then is there no use putting sy-subrc check after this FM. What should i do then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rohit Khetarpal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 07:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307497#M504970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T07:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc in function module with no exceptions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307498#M504971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-subrc can be other than zero.&lt;/P&gt;&lt;P&gt;In such cases where exceptions are not there you need to write your own error messages when the sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 07:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307498#M504971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T07:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc in function module with no exceptions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307499#M504972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no need to put Sy-subrc check for this FM. Use the table parameter RETURN. Based on the values populated in the table you can validate the function module execution is successful or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 07:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-in-function-module-with-no-exceptions/m-p/2307499#M504972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T07:18:04Z</dc:date>
    </item>
  </channel>
</rss>

