<?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: how do u find the return code of a statement in abap programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919913#M687560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sy-subrc = 0 is success and sy-subrc &amp;lt;&amp;gt; 0 is unsuccessfull.&lt;/P&gt;&lt;P&gt;u can place sy-subrc after any executable statement in bap and test whether the statement is executed successfully or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2007 06:03:22 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2007-10-09T06:03:22Z</dc:date>
    <item>
      <title>how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919906#M687553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;how do u find the return code of a statement in abap programs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919906#M687553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919907#M687554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can always check for SY-SUBRC for that statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919907#M687554</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-10-09T05:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919908#M687555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check SY-SUBRC after executing every statement in ur ABAP code. IF SY-SUBRC is equal to ZERO, then the stmt is successful in execution,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919908#M687555</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-10-09T05:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919909#M687556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it is select ,read or any function ,modules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use System variable of SYST structure SY-SUBRC .&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, 09 Oct 2007 05:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919909#M687556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919910#M687557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can use sy-subrc statement for check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;then the statement is successfulll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is other than zero then not success...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 05:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919910#M687557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T05:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919911#M687558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after u r abap statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: sy-subrc.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;system field sy-subrc gives the  return code of a statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0...u r statement is success ful&lt;/P&gt;&lt;P&gt;if sy-subrc = 4 ...u r statement is  not success ful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 06:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919911#M687558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T06:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919912#M687559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;         Use SY-SUBRC.If sy-subrc =0  ,it means stmt returns some value ;else it does not .See code below to understand it better .&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; report ztx0902.&lt;/P&gt;&lt;P&gt;  tables ztxt005t.&lt;/P&gt;&lt;P&gt;  parameters `land1 like ztxlfa1-land1 obligatory default 'US'.&lt;/P&gt;&lt;P&gt;  select single * from ztxt005t&lt;/P&gt;&lt;P&gt;      where spras = ?             "current logon language&lt;/P&gt;&lt;P&gt;      and   land1 = `land1.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      write: 'Description:', ztxt005t-landx.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;     write: 'No description exists for', `land1.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 06:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919912#M687559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T06:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: how do u find the return code of a statement in abap programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919913#M687560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sy-subrc = 0 is success and sy-subrc &amp;lt;&amp;gt; 0 is unsuccessfull.&lt;/P&gt;&lt;P&gt;u can place sy-subrc after any executable statement in bap and test whether the statement is executed successfully or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 06:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-u-find-the-return-code-of-a-statement-in-abap-programs/m-p/2919913#M687560</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-10-09T06:03:22Z</dc:date>
    </item>
  </channel>
</rss>

