<?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: Dump in Native SQL join statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812998#M1126472</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;Thank you for your quick response and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am closing this thread as there was no response available and&lt;/P&gt;&lt;P&gt;I think insted of Native SQL I need to use only SQL here so that issue will be fixed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2008 05:14:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-09T05:14:13Z</dc:date>
    <item>
      <title>Dump in Native SQL join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812995#M1126469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the same is used in the ecc 5.0 it was working good but when this code is executed in ecc 6.0 then it is throwing dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC SQL PERFORMING MAIN_ITAB_SUB5_APPEND.&lt;/P&gt;&lt;P&gt;      SELECT A.WERKS, A.MATNR, B.MAKTX, SUM(A.LBLAB), C.MEINS&lt;/P&gt;&lt;P&gt;             INTO :ZIT_WEBIF_SUB5&lt;/P&gt;&lt;P&gt;      FROM   MSLB A, MAKT B, MARA C&lt;/P&gt;&lt;P&gt;      WHERE  A.MANDT = :SY-MANDT&lt;/P&gt;&lt;P&gt;        AND  A.LIFNR = :P_I_LIFNR&lt;/P&gt;&lt;P&gt;        AND  A.MANDT = B.MANDT&lt;/P&gt;&lt;P&gt;        AND  A.MATNR = B.MATNR&lt;/P&gt;&lt;P&gt;        AND  B.SPRAS = sy-langu&lt;/P&gt;&lt;P&gt;        AND  A.MANDT = C.MANDT&lt;/P&gt;&lt;P&gt;        AND  A.MATNR = C.MATNR&lt;/P&gt;&lt;P&gt;        GROUP BY A.WERKS, A.MATNR, B.MAKTX, C.MEINS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDEXEC.&lt;/P&gt;&lt;P&gt;The same native sql is converted into open SQL and it is working fine. Since there is no inconsistancy in the Database. Also when i remove the joins it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump error :  &lt;/P&gt;&lt;P&gt;One of the columns addressed in a table or view  does not exist in the database.&lt;/P&gt;&lt;P&gt; table) exists in the ABAP/4 Dictionary, but not in  the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The error 904 occurred in the current database connection "DEFAULT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be apprecaitaed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 05:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812995#M1126469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T05:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in Native SQL join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812996#M1126470</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;PRE&gt;&lt;CODE&gt;
Dump error : 
One of the columns addressed in a table or view does not exist in the database.
table) exists in the ABAP/4 Dictionary, but not in the database.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is itself saying the answer , u have given some field in native SQL SELECT where that field is not there check ur TABLES in Native SQL for fields details, which fields it contain.&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;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 06:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812996#M1126470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T06:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in Native SQL join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812997#M1126471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had checked it and in debuggiung the open SQL is working fine and there are no inconsistency. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine in ECC 5.0 and it is working fine with single table. It is throwing dump only when join is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any example of native sql with join statement then please provide it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 06:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812997#M1126471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T06:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in Native SQL join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812998#M1126472</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;Thank you for your quick response and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am closing this thread as there was no response available and&lt;/P&gt;&lt;P&gt;I think insted of Native SQL I need to use only SQL here so that issue will be fixed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 05:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812998#M1126472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T05:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in Native SQL join statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812999#M1126473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kittu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have taken a right decision to use open sql as it is always better to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 10:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-native-sql-join-statement/m-p/4812999#M1126473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T10:49:33Z</dc:date>
    </item>
  </channel>
</rss>

