<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856572#M362084</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;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC is a system variable which is used to check  a particular statement is successful or unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SY-SUBRC = 0.-- means the statement is successful.&lt;/P&gt;&lt;P&gt;if SY-SUBRC = 2 or 4 or 8 or not equal to zero  means the statement is unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 04:44:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T04:44:21Z</dc:date>
    <item>
      <title>sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856567#M362079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what sy-subrc do?whats the use of it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 20:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856567#M362079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T20:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856568#M362080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It checks for the return value after a statement is executed.&lt;/P&gt;&lt;P&gt;If the prior statement executed successfully it will have a value 0, otherwise it would have a non-zero value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 20:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856568#M362080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T20:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856569#M362081</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;its a system variable which is used to check whether a particular stmt was successful or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.--&amp;gt;it means the stmt was successful.&lt;/P&gt;&lt;P&gt;if sy-subrc has a non-zero value it  means the stmt was unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 21:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856569#M362081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T21:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856570#M362082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  SAP provided us with predefined Data objects. One such object is SUBRC in the table SYST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of this field to indicate success/failure of any action in SAP. After each statement in SAP is executed, the SY-SUBRC is set depending on the result of the statement. the SY-SUBRC can contain the following values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 - This value is set when the statement is executed successfully.&lt;/P&gt;&lt;P&gt;2 - This  value is set when the statement is executed unsuccessfully.&lt;/P&gt;&lt;P&gt;4 - This  value is set when the statement is executed unsuccessfully.&lt;/P&gt;&lt;P&gt;8 - This  value is set when the statement is executed unsuccessfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb304e358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb304e358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        varaprasad bhagavatula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 21:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856570#M362082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T21:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856571#M362083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;itz a sys variable used to check whether particular operation is successful or not.&lt;/P&gt;&lt;P&gt;Jus chk the correponding statment key word documentation for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 21:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856571#M362083</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2007-01-29T21:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856572#M362084</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;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC is a system variable which is used to check  a particular statement is successful or unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SY-SUBRC = 0.-- means the statement is successful.&lt;/P&gt;&lt;P&gt;if SY-SUBRC = 2 or 4 or 8 or not equal to zero  means the statement is unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 04:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856572#M362084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T04:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856573#M362085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sy-subrc is a system variable that indicates the status of execution of a statement. A value of 0 indicates that the statement is successful and a non-zero value indicates an unsuccessful execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc is also used to check the output of FMs where exceptions are being handled. The FM always returns the exception number defined inside the FM in the sy-subrc field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found useful..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 04:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/1856573#M362085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T04:53:02Z</dc:date>
    </item>
  </channel>
</rss>

