<?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: Error EXEC SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-sql/m-p/1701203#M307400</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;&lt;/P&gt;&lt;P&gt;&amp;#149;Cause: There is an SQL error during execution of a Native SQL command. &lt;/P&gt;&lt;P&gt;Runtime Error: DBIF_DSQL2_SQL_ERROR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;If you want to select into a work area in a SELECT statement, and not into a list of host variables, the host variable must be a structure. If you cannot determine statically (at compilation time) whether the target area is a structure at runtime, then there is a runtime error, depending on the database system. Or only the first selected column is placed into the target area. In this case, one can be certain, using INTO STRUCTURE (instead of only INTO), that at runtime a structure really is available as target area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;Please the connection which you have specified is existing in the DBCON TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 13:21:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T13:21:48Z</dc:date>
    <item>
      <title>Error EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-sql/m-p/1701202#M307399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the connection DBCOMM to connect a external BD, using this connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  EXEC SQL.&lt;/P&gt;&lt;P&gt;    SET CONNECTION :vg_con_name&lt;/P&gt;&lt;P&gt;  ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;    EXEC SQL.&lt;/P&gt;&lt;P&gt;      CONNECT TO :vg_con_name&lt;/P&gt;&lt;P&gt;    ENDEXEC.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I verified the connection and before i maked a select in the table EKKO&lt;/P&gt;&lt;P&gt;kind of this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXEC SQL.&lt;/P&gt;&lt;P&gt;      SELECT EBELN&lt;/P&gt;&lt;P&gt;         FROM EKKO&lt;/P&gt;&lt;P&gt;         INTO :P_EBELN&lt;/P&gt;&lt;P&gt;         WHERE EBELN = :W_EBELN&lt;/P&gt;&lt;P&gt;    ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometimes i lost the connection, but here in the project I use the version of R/3, 4.6c and don't have the command TRY to catch the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Dump is: &lt;/P&gt;&lt;P&gt;DBIF_DSQL2_SQL_ERROR&lt;/P&gt;&lt;P&gt;"ORA-03113: end-of-file on communication channel#"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone here can help me,&lt;/P&gt;&lt;P&gt;waiting &lt;/P&gt;&lt;P&gt;Wille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-sql/m-p/1701202#M307399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error EXEC SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-sql/m-p/1701203#M307400</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;&lt;/P&gt;&lt;P&gt;&amp;#149;Cause: There is an SQL error during execution of a Native SQL command. &lt;/P&gt;&lt;P&gt;Runtime Error: DBIF_DSQL2_SQL_ERROR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;If you want to select into a work area in a SELECT statement, and not into a list of host variables, the host variable must be a structure. If you cannot determine statically (at compilation time) whether the target area is a structure at runtime, then there is a runtime error, depending on the database system. Or only the first selected column is placed into the target area. In this case, one can be certain, using INTO STRUCTURE (instead of only INTO), that at runtime a structure really is available as target area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;Please the connection which you have specified is existing in the DBCON TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 13:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-sql/m-p/1701203#M307400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T13:21:48Z</dc:date>
    </item>
  </channel>
</rss>

