<?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: Netive SQL is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512553#M1260481</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;With the information what you have given, we cannot help you to solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please paste the code where you are getting the dump. So that we can help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2009 03:01:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-21T03:01:59Z</dc:date>
    <item>
      <title>Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512552#M1260480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDNers,&lt;/P&gt;&lt;P&gt;wen i use netive sql statements in my code, program is getting terminated and giving dump.&lt;/P&gt;&lt;P&gt;Can any one tell me what could be the problem.&lt;/P&gt;&lt;P&gt;Thansk in advance,&lt;/P&gt;&lt;P&gt;Renu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 02:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512552#M1260480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T02:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512553#M1260481</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;With the information what you have given, we cannot help you to solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please paste the code where you are getting the dump. So that we can help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 03:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512553#M1260481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T03:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512554#M1260482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkatesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the standard example i m trying to execute,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT demo_native_sql .

DATA: BEGIN OF wa,
        connid   TYPE spfli-connid,
        cityfrom TYPE spfli-cityfrom,
        cityto   TYPE spfli-cityto,
      END OF wa.

DATA c1 TYPE spfli-carrid VALUE 'LH'.

EXEC SQL PERFORMING loop_output.
  SELECT connid, cityfrom, cityto
  INTO   :wa
  FROM   spfli
  WHERE  carrid = :c1
ENDEXEC.

FORM loop_output.
  WRITE: / wa-connid, wa-cityfrom, wa-cityto.
ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I m getting below dump error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    Table does not exist in database.&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    The table or view name used does not&lt;/P&gt;&lt;P&gt;    exist in the database.&lt;/P&gt;&lt;P&gt;    The error occurred in the current database connection "DEFAULT".&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_NATIVE_SQL_ERROR', was not&lt;/P&gt;&lt;P&gt;     caught and&lt;/P&gt;&lt;P&gt;    therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    Triggering SQL statement: "SELECT connid, cityfrom, cityto FROM spfli WHERE&lt;/P&gt;&lt;P&gt;     carrid = ? "&lt;/P&gt;&lt;P&gt;    Database error code: "208"&lt;/P&gt;&lt;P&gt;Missing Handling of System Exception&lt;/P&gt;&lt;P&gt;    Program                                 DEMO_NATIVE_SQL&lt;/P&gt;&lt;P&gt;Trigger Location of Exception&lt;/P&gt;&lt;P&gt;    Program                                 DEMO_NATIVE_SQL&lt;/P&gt;&lt;P&gt;    Include                                 DEMO_NATIVE_SQL&lt;/P&gt;&lt;P&gt;    Row                                     12&lt;/P&gt;&lt;P&gt;    Module Name                             START-OF-SELECTION&lt;/P&gt;&lt;P&gt;Source Code Extract&lt;/P&gt;&lt;P&gt;Line  SourceCde&lt;/P&gt;&lt;P&gt;    1 REPORT demo_native_sql .&lt;/P&gt;&lt;P&gt;    2&lt;/P&gt;&lt;P&gt;    3 DATA: BEGIN OF wa,&lt;/P&gt;&lt;P&gt;    4         connid   TYPE spfli-connid,&lt;/P&gt;&lt;P&gt;    5         cityfrom TYPE spfli-cityfrom,&lt;/P&gt;&lt;P&gt;    6         cityto   TYPE spfli-cityto,&lt;/P&gt;&lt;P&gt;    7       END OF wa.&lt;/P&gt;&lt;P&gt;    8&lt;/P&gt;&lt;P&gt;    9 DATA c1 TYPE spfli-carrid VALUE 'LH'.&lt;/P&gt;&lt;P&gt;   10&lt;/P&gt;&lt;P&gt;   11 EXEC SQL PERFORMING loop_output.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   SELECT connid, cityfrom, cityto&lt;/P&gt;&lt;P&gt;   13   INTO   :wa&lt;/P&gt;&lt;P&gt;   14   FROM   spfli&lt;/P&gt;&lt;P&gt;   15   WHERE  carrid = :c1&lt;/P&gt;&lt;P&gt;   16 ENDEXEC.&lt;/P&gt;&lt;P&gt;   17&lt;/P&gt;&lt;P&gt;   18 FORM loop_output.&lt;/P&gt;&lt;P&gt;   19   WRITE: / wa-connid, wa-cityfrom, wa-cityto.&lt;/P&gt;&lt;P&gt;   20 ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i have table entry in se11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 03:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512554#M1260482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T03:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512555#M1260483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You code Working perfect in my System. may be dumb Question whether Table &lt;STRONG&gt;spfli&lt;/STRONG&gt; Exists in database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 03:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512555#M1260483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T03:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512556#M1260484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shital,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table is available and data also available in the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I knw dat the standard one will work, but might b some patches r smetihng might b missed in my server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i donno wer exactly the problem cmoes frm. Eagerly looking for solution for this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly update me on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Renu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 03:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512556#M1260484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T03:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512557#M1260485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renu,&lt;/P&gt;&lt;P&gt;I tried to execute the Codes you provided.It seems to work good.May be there are some patch issues&lt;/P&gt;&lt;P&gt;better you consult with your &lt;STRONG&gt;BASIS Consultant&lt;/STRONG&gt;.They would be in better position to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 04:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512557#M1260485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T04:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Netive SQL is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512558#M1260486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have some other server, wer i can able to execute this code. &lt;/P&gt;&lt;P&gt;but i couldnt able to connect to external system(created system in dbco).&lt;/P&gt;&lt;P&gt;do i need any permissions from sap side?..&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Renu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 04:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netive-sql-is-not-working/m-p/5512558#M1260486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T04:22:45Z</dc:date>
    </item>
  </channel>
</rss>

