<?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 = 4 While SORT. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555920#M1075582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the SORT sets the sy-subrc at all. Can you check if it is set by another statement &lt;EM&gt;before&lt;/EM&gt; the SORT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 08:33:06 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-10-08T08:33:06Z</dc:date>
    <item>
      <title>SY-SUBRC = 4 While SORT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555919#M1075581</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;&lt;/P&gt;&lt;P&gt;While SORT the internal table, it sorts but the return code is 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using only CHAR type fields only and its a STANDARD type table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 20 fields of the internal table, the 2nd, 3rd &amp;amp; 4th fields are used to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even these three fields have values or not, it returns 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a SORT statement with STANDARD internal table will return 4? Provided all fields are CHAR type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.Nagarajan.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt; We can -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 08:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555919#M1075581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T08:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: SY-SUBRC = 4 While SORT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555920#M1075582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the SORT sets the sy-subrc at all. Can you check if it is set by another statement &lt;EM&gt;before&lt;/EM&gt; the SORT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 08:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555920#M1075582</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-08T08:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: SY-SUBRC = 4 While SORT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555921#M1075583</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 not sure whether the SORT statement will have any effect on you sy-subrc. I think this sy-subrc = 4 is because of some other statement before your sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 08:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555921#M1075583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T08:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: SY-SUBRC = 4 While SORT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555922#M1075584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nag..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Eric said is obiously correct.&lt;/P&gt;&lt;P&gt;Can you please check this issue in debugging mode once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise try to paste the sample code here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 08:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555922#M1075584</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-10-08T08:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: SY-SUBRC = 4 While SORT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555923#M1075585</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;&lt;/P&gt;&lt;P&gt;Yes... SORT statement is not setting value for SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.Nagarajan.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt; We can -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555923#M1075585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: SY-SUBRC = 4 While SORT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555924#M1075586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:25:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc-4-while-sort/m-p/4555924#M1075586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:25:43Z</dc:date>
    </item>
  </channel>
</rss>

