<?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: How to skip non executeable sql stmts? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081998#M98093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Holger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you prefer, you can do this from the Editor. Go to Program -&amp;gt; Check -&amp;gt; Extended Program Check. In the next screen, Checks -&amp;gt; Standard Check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then from the follwing screen you can double click  the 'Error Column' and change/comment out the code from there. The advantage of this is you can see all your syntax errors at one place. You also have the option to correct from the editor one-by-one by doing Syntax Check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Syd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2005 05:52:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-14T05:52:58Z</dc:date>
    <item>
      <title>How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081995#M98090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program, I have some SQL Stmts that can not be executed because the table is missing in the system. I have got many stmts in my program. I would not like to check each stmt in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I would like to test the program, I get the message that the corresponding table is missing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I skip this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I generate and run the program, how can I skip stmts that are not executable because of missing tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 04:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081995#M98090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T04:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081996#M98091</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;we  can use CATCH ... Exceptions , but your case its not helpful,  you can simply comment it and execute the report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 04:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081996#M98091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T04:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081997#M98092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why would u need sql statements for tables that do not exist in the Database/DDIC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program will throw a syntax error saying that the corresponding table name speficied is not a table or a view....u must comment such statements and then proceed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 05:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081997#M98092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T05:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081998#M98093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Holger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you prefer, you can do this from the Editor. Go to Program -&amp;gt; Check -&amp;gt; Extended Program Check. In the next screen, Checks -&amp;gt; Standard Check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then from the follwing screen you can double click  the 'Error Column' and change/comment out the code from there. The advantage of this is you can see all your syntax errors at one place. You also have the option to correct from the editor one-by-one by doing Syntax Check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Syd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 05:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081998#M98093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T05:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081999#M98094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but I will have to comment all the stmts manually. If there are thousand of stmts, this will take a long time.&lt;/P&gt;&lt;P&gt;Or do you mean that there is any possiblity to comment if automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one of the stmts does can not be executed, I would like to continue with the next one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program should not stop if an invalid stmt is tried to be executed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 05:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1081999#M98094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T05:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082000#M98095</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;I thing there is no single statement used like if any error execute next one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using sy-subrc you can validate some statements, but that also we should do manually&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;comment is the only option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bulk of lines then use Ctrl+&amp;lt; ( it will comment all the selected lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 06:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082000#M98095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T06:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082001#M98096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Holger ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are trying to execute a program which has syntax errors ( like database table does not exist ). This is not possible unless you fix the program and make in syntax error free.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also there is no other way than manual to comment out the individual lines .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering where did you get such a program on your system which does not have the referenced tables in the database / data dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 06:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082001#M98096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T06:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082002#M98097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would do some tests in a test system. I got the SQL stmts in a  productive system. The test system does not have all data that exist in the productive system or rather the content of the tables may differ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but a transport would solve the problem...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 09:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082002#M98097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T09:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip non executeable sql stmts?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082003#M98098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Holger - I assume this is related to your earlier question. I think your only option is to create the program using the generate statement. But now, before generating an SQL statement for a table, you have to check its existence in table DD02L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2005 13:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-skip-non-executeable-sql-stmts/m-p/1082003#M98098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-14T13:53:56Z</dc:date>
    </item>
  </channel>
</rss>

