<?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: cl_sql_statement and dbcursor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792946#M1586455</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;Thanks again for your answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Keshav:&lt;/P&gt;&lt;P&gt;Good to know that the possibility to do dynamic native SQL calls is not given.&lt;/P&gt;&lt;P&gt;Your concern about SQL injection is valid. I see your point. Netherless I have to adopt some statements and because of the dynamic programming style within this project I have to use dynamic SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Arshad:&lt;/P&gt;&lt;P&gt;I also had a look at the ADBC* programs but could not find any useful about Cursors. &lt;/P&gt;&lt;P&gt;Do you have an idea how to work with cl_sql_statement and cursors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2011 14:17:14 GMT</pubDate>
    <dc:creator>sebastianNoe</dc:creator>
    <dc:date>2011-04-05T14:17:14Z</dc:date>
    <item>
      <title>cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792941#M1586450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am trying to make a native SQL call to a database with the class cl_sql_statement.&lt;/P&gt;&lt;P&gt;Because I am extending existing functionality I would like to get a database cursor with which the program can go on. Is there a possibility to get a 'real' cursor out of cl_sql_statement (not the 'cursor'-called object of class cl_sql_result)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you have any other suggestions how I could open a cursor via native SQL? &lt;/P&gt;&lt;P&gt;Exec SQL? How should a Open Cursor statement looks there? - I am working on a NewDB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 13:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792941#M1586450</guid>
      <dc:creator>sebastianNoe</dc:creator>
      <dc:date>2011-04-05T13:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792942#M1586451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read sap help link[EXEC SQL-Statements for cursor processing|http://help.sap.com/abapdocu_70/en/ABAPEXEC.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 13:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792942#M1586451</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-04-05T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792943#M1586452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your quick response.&lt;/P&gt;&lt;P&gt;I have allready read the page you suggested. Unfortunately it can not help me because the SQL statement is generated dynamically and I have only a string. Do you know a way to execute a dynamic built statement with exec sql?&lt;/P&gt;&lt;P&gt;(with dynamic built I ment WHERE, FROM, FIELDS and ORDER BY statements are built up at run time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 13:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792943#M1586452</guid>
      <dc:creator>sebastianNoe</dc:creator>
      <dc:date>2011-04-05T13:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792944#M1586453</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;STRONG&gt;There are no dynamic Native SQL statements&lt;/STRONG&gt; in ABAP.&lt;/P&gt;&lt;P&gt;Please read [SQL Injection|http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/35de1718944eb8a1462cf6362cc8b8/content.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 13:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792944#M1586453</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-04-05T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792945#M1586454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the ADBC* Demo Programs that illustrates how to use cl_sql_statement class methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Se38 and check ADBC* programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 13:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792945#M1586454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-05T13:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792946#M1586455</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;Thanks again for your answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Keshav:&lt;/P&gt;&lt;P&gt;Good to know that the possibility to do dynamic native SQL calls is not given.&lt;/P&gt;&lt;P&gt;Your concern about SQL injection is valid. I see your point. Netherless I have to adopt some statements and because of the dynamic programming style within this project I have to use dynamic SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Arshad:&lt;/P&gt;&lt;P&gt;I also had a look at the ADBC* programs but could not find any useful about Cursors. &lt;/P&gt;&lt;P&gt;Do you have an idea how to work with cl_sql_statement and cursors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792946#M1586455</guid>
      <dc:creator>sebastianNoe</dc:creator>
      <dc:date>2011-04-05T14:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: cl_sql_statement and dbcursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792947#M1586456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I dont have any idea how to work with cl_sql_statement and cursor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:24:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-sql-statement-and-dbcursor/m-p/7792947#M1586456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-05T14:24:29Z</dc:date>
    </item>
  </channel>
</rss>

