<?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: SQL Error '-501' occurred when accessing a custom table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900046#M1144359</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;Use SE14 and adjust the table and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you to resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joginder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2008 13:33:14 GMT</pubDate>
    <dc:creator>joginder_singh</dc:creator>
    <dc:date>2008-12-23T13:33:14Z</dc:date>
    <item>
      <title>SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900043#M1144356</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 have modified two fields ( data length change ) in one custom table.&lt;/P&gt;&lt;P&gt;Now the program gives a short dump saying &lt;STRONG&gt;"SQL Error '-501' occurred when accessing table ZZZZ"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;when the control reach to the select statement for this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove the "Where" condition in the select statement, it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide to find the error cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to  create new entry to this table , then also short dum occurs saying &lt;STRONG&gt;"SQL Error '-302ccurred when accessing a custom table"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why it is giving short dump???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 08:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900043#M1144356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T08:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900044#M1144357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one please have a look on the below issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 11:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900044#M1144357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T11:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900045#M1144358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you convert the table using  database utility after the change in data length ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ratheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 13:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900045#M1144358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T13:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900046#M1144359</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;Use SE14 and adjust the table and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you to resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joginder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 13:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900046#M1144359</guid>
      <dc:creator>joginder_singh</dc:creator>
      <dc:date>2008-12-23T13:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900047#M1144360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please suggest how to convert the table ? I am not getting any option as such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 11:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900047#M1144360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-24T11:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900048#M1144361</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;Did you given a try using se14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once your done with the changes then go to tcode se14. Click on edit after entering the table name and when ur in then click on activate and adjust database ( Be careful that radio button save data is selected ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If after doing also if your not able to activate it sucessfully .Please provide me with field name and the length before &amp;amp; length your are changing along with the Type of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joginder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 11:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900048#M1144361</guid>
      <dc:creator>joginder_singh</dc:creator>
      <dc:date>2008-12-24T11:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900049#M1144362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joginder,&lt;/P&gt;&lt;P&gt;I have done what you have suggested, but it did not work.&lt;/P&gt;&lt;P&gt;There is one table ZZZ in which there are only three fields , all together as the composite primary key.&lt;/P&gt;&lt;P&gt;I have changed the data type of first two fields from CHAR5 to CHAR8, and hence data length being increased from 5 to 8.&lt;/P&gt;&lt;P&gt; Still I am stuck with this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 11:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900049#M1144362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-24T11:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error '-501' occurred when accessing a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900050#M1144363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Now i am not able to understand why your facing an issue . Sorry for that i cant help you for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given a try by creating a table with the below fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT PRIMARY KEY     MANDT&lt;/P&gt;&lt;P&gt;TEXT1   PRIMARY KEY     CHAR5&lt;/P&gt;&lt;P&gt;TEXT2  PRIMARY KEY     CHAR5&lt;/P&gt;&lt;P&gt; TEXT3 PRIMARY KEY   CHAR5&lt;/P&gt;&lt;P&gt;TEXT4                           CHAR 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i have entered the some test data in the table .After doing so then i have changed the data type for text1 &amp;amp; text2 fields from char5 to char8. It has activated perfectly fine and able to see the previous data..&lt;/P&gt;&lt;P&gt;Some type of problem cause when it is currrecy fields with decimals .But in case of char i dont thing it should give a problem when ur increasing a length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to have a word with basis person why it is causing an issue .Alterantely u can create a some test table same as what  i have created and check the difference . You can solve if you find what is the difference in both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joginder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 11:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-501-occurred-when-accessing-a-custom-table/m-p/4900050#M1144363</guid>
      <dc:creator>joginder_singh</dc:creator>
      <dc:date>2008-12-24T11:49:23Z</dc:date>
    </item>
  </channel>
</rss>

