<?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 SUBMIT Related Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464043#M1057745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZCHK_FAIL                               .&lt;/P&gt;&lt;P&gt;tables zchk_tab2.&lt;/P&gt;&lt;P&gt;data itab like standard table of zchk_tab2 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from  zchk_tab2 table itab." ---sytax error here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/, itab-zempno.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;REPORT  ZCHK_FAILTEST                           .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA oref TYPE REF TO cx_root.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit zchk_fail and RETURN.&lt;/P&gt;&lt;P&gt;CATCH CX_ROOT INTO OREF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE 'ERROR IN REPORT PROGRAM'.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt; I want the above program (Fail Test to run properly. No changes in the First Program Allowed. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsha Cheruku on Sep 19, 2008 6:36 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsha Cheruku on Sep 19, 2008 6:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2008 04:36:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-19T04:36:09Z</dc:date>
    <item>
      <title>SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464043#M1057745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZCHK_FAIL                               .&lt;/P&gt;&lt;P&gt;tables zchk_tab2.&lt;/P&gt;&lt;P&gt;data itab like standard table of zchk_tab2 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from  zchk_tab2 table itab." ---sytax error here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/, itab-zempno.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;REPORT  ZCHK_FAILTEST                           .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA oref TYPE REF TO cx_root.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit zchk_fail and RETURN.&lt;/P&gt;&lt;P&gt;CATCH CX_ROOT INTO OREF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE 'ERROR IN REPORT PROGRAM'.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt; I want the above program (Fail Test to run properly. No changes in the First Program Allowed. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsha Cheruku on Sep 19, 2008 6:36 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsha Cheruku on Sep 19, 2008 6:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 04:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464043#M1057745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T04:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464044#M1057746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsha wrote :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZCHK_FAIL .
tables zchk_tab2.
data itab like standard table of zchk_tab2 with header line.

SELECT * from zchk_tab2 table itab." ---sytax error here

loop at itab.
write:/, itab-zempno.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make the select statement as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * from zchk_tab2 into table itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 04:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464044#M1057746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T04:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464045#M1057747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the select statement in  the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT  * from zchk_tab2 into table itab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 04:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464045#M1057747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T04:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464046#M1057748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In submit statement you write the name of program in capital letter and for query you write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from zchk_tab2 into  table itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 04:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464046#M1057748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T04:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464047#M1057749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think in your first program you are using this syntax &lt;/P&gt;&lt;P&gt;SELECT * from zchk_tab2 table itab.&lt;/P&gt;&lt;P&gt;this is not correct.&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from zchk_tab2 &lt;/P&gt;&lt;P&gt;into corresponding fields of table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this is surely help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 04:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464047#M1057749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T04:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464048#M1057750</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;My question is not if the syntax, is right or wrong, i want it to be wrong and catch the error in the first program through the second program. Everything else is right, just try to copy both of them into ur system, activate the first program inspite of errors and execute the second program and check, theres an error coming, i want to catch that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 05:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464048#M1057750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T05:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT Related Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464049#M1057751</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;My question is not if the syntax, is right or wrong, i want it to be wrong and catch the error in the first program through the second program. Everything else is right, just try to copy both of them into ur system, activate the first program inspite of errors and execute the second program and check, theres an error coming, i want to catch that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 05:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-related-problem/m-p/4464049#M1057751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T05:04:55Z</dc:date>
    </item>
  </channel>
</rss>

