<?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: Short Dump while fetching values from a Database view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490193#M228195</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 seams that your table is not correct / fully activated.&lt;/P&gt;&lt;P&gt;To check it out you should try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Go to the SE11&lt;/P&gt;&lt;P&gt;- Give it your table name and go to "Display"&lt;/P&gt;&lt;P&gt;- Check if the table is "active"&lt;/P&gt;&lt;P&gt;- Choose "Utilities-&amp;gt;Database Object-&amp;gt;Check" and see&lt;/P&gt;&lt;P&gt;  if there are any errors&lt;/P&gt;&lt;P&gt;- go back and choose "Utilities-&amp;gt;Runtime Object-&amp;gt;Check"&lt;/P&gt;&lt;P&gt;  and see if there are any errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are any errors - try to activate the table again. You may need the "Utilities-&amp;gt;Database Utiliy" for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After there are no more errors by checking all these your program should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some points would be nice if thate helped a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2006 05:59:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-04T05:59:42Z</dc:date>
    <item>
      <title>Short Dump while fetching values from a Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490188#M228190</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;Here is the code that is giving short dump &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM ZVMATLMOVE INTO TABLE I_MATLMOVE&lt;/P&gt;&lt;P&gt;    WHERE BUDAT &amp;gt;= V_LASTRUN_DATE&lt;/P&gt;&lt;P&gt;    AND   WERKS IN S_WERKS&lt;/P&gt;&lt;P&gt;    AND   LIFNR IN S_LIFNR&lt;/P&gt;&lt;P&gt;    AND   EBELN IN S_EBELN&lt;/P&gt;&lt;P&gt;    AND   MATNR IN S_MATNR&lt;/P&gt;&lt;P&gt;    AND   BWART IN S_BWART&lt;/P&gt;&lt;P&gt;(Please don't say that I am using * in the select query, &lt;/P&gt;&lt;P&gt;I knew that it is not a good way of fetching values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration of the internal table is:&lt;/P&gt;&lt;P&gt;DATA  I_MATLMOVE LIKE ZVMATLMOVE OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable V_LASTRUN_DATE is:&lt;/P&gt;&lt;P&gt;DATA  V_LASTRUN_DATE LIKE SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will be getting the lastrundate value from another table. And it is passing correct value (ex. 20060731)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZVMATLMOVE is a database view created for MKPF and MSEG table. And I checked both table were consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime errors         DBIF_RSQL_SQL_ERROR           &lt;/P&gt;&lt;P&gt;Exception              CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every thing is fine. But I don't know how it is going to dump. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 14:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490188#M228190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T14:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump while fetching values from a Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490189#M228191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything looks ok to me.  Not sure what the error is all about.  Maybe try this to see if it makes a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM ZVMATLMOVE 
     &amp;lt;b&amp;gt;INTO corresponding fields&amp;lt;/b&amp;gt; of TABLE I_MATLMOVE
WHERE BUDAT &amp;gt;= V_LASTRUN_DATE
AND WERKS IN S_WERKS
AND LIFNR IN S_LIFNR
AND EBELN IN S_EBELN
AND MATNR IN S_MATNR
AND BWART IN S_BWART.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 14:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490189#M228191</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-03T14:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump while fetching values from a Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490190#M228192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel you should try into correponding fields of i_matlmove.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 14:32:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490190#M228192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T14:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump while fetching values from a Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490191#M228193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking around,  I don't think the problem is in your code.  I think this may be a db issue, and you may need to patch your system.  Search OSS Notes for &lt;/P&gt;&lt;P&gt;DBIF_RSQL_SQL_ERROR, you will see that a lot of times it talks about the db and fixing it with patches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 14:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490191#M228193</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-03T14:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump while fetching values from a Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490192#M228194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no problem with the code. The issue is related to table spaces. You need to consult your basis team and ask them to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Bharath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 17:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490192#M228194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T17:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Short Dump while fetching values from a Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490193#M228195</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 seams that your table is not correct / fully activated.&lt;/P&gt;&lt;P&gt;To check it out you should try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Go to the SE11&lt;/P&gt;&lt;P&gt;- Give it your table name and go to "Display"&lt;/P&gt;&lt;P&gt;- Check if the table is "active"&lt;/P&gt;&lt;P&gt;- Choose "Utilities-&amp;gt;Database Object-&amp;gt;Check" and see&lt;/P&gt;&lt;P&gt;  if there are any errors&lt;/P&gt;&lt;P&gt;- go back and choose "Utilities-&amp;gt;Runtime Object-&amp;gt;Check"&lt;/P&gt;&lt;P&gt;  and see if there are any errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are any errors - try to activate the table again. You may need the "Utilities-&amp;gt;Database Utiliy" for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After there are no more errors by checking all these your program should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some points would be nice if thate helped a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 05:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-while-fetching-values-from-a-database-view/m-p/1490193#M228195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T05:59:42Z</dc:date>
    </item>
  </channel>
</rss>

