<?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: scan and check abap-source syntax error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638311#M1665501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking the time to reply Thomas. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My requirement is to identify data objects and do further processing on it and syntax-check will not serve my purpose.&lt;/P&gt;&lt;P&gt;Help on this statement(scan and check abap-source) says that this statment does exactly what I want. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 12:31:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-14T12:31:18Z</dc:date>
    <item>
      <title>scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638309#M1665499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; I am trying to use SCAN AND CHECK ABAP-SOURCE statement.&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;*DATA : BEGIN OF itab5 OCCURS 0,&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text TYPE char200,&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF itab5.&lt;/P&gt;&lt;P&gt;data itab5 TYPE TABLE OF char200.&lt;/P&gt;&lt;P&gt;DATA&amp;nbsp; itab4 TYPE sysch_result OCCURS 0.&lt;/P&gt;&lt;P&gt;READ REPORT 'ZAASHTEST_TOKENS' INTO itab5.&lt;/P&gt;&lt;P&gt;*data is there in itab5, verified in debugger&lt;/P&gt;&lt;P&gt;SCAN AND CHECK ABAP-SOURCE itab5 RESULT INTO itab4.&lt;/P&gt;&lt;P&gt;{/code}&lt;/P&gt;&lt;P&gt;I am getting the syntax error - ''SCAN AND" must be followed by a source code table.&lt;/P&gt;&lt;P&gt;I have tried defining itab5 in both the ways as shown above.&lt;/P&gt;&lt;P&gt;What can I do to resolve this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 11:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638309#M1665499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-14T11:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638310#M1665500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, but if you want to just do a syntax check for the code in itab5 I suggest you rather use statement &lt;STRONG&gt;SYNTAX-CHECK&lt;/STRONG&gt;, which is easier to use and not flagged as "internal use only".&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 12:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638310#M1665500</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-03-14T12:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638311#M1665501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for taking the time to reply Thomas. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My requirement is to identify data objects and do further processing on it and syntax-check will not serve my purpose.&lt;/P&gt;&lt;P&gt;Help on this statement(scan and check abap-source) says that this statment does exactly what I want. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 12:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638311#M1665501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-14T12:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638312#M1665502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use class CL_RECA_RS_SERVICES &amp;amp; method CHECK_SYNTAX as mentioned by our friend Vinod in this wiki&lt;/P&gt;&lt;P&gt; &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Source+code+Download+and+Syntax+Check+using+CL_RECA_RS_SERVICES" title="http://wiki.sdn.sap.com/wiki/display/ABAP/Source+code+Download+and+Syntax+Check+using+CL_RECA_RS_SERVICES"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Source+code+Download+and+Syntax+Check+using+CL_RECA_RS_SERVICES&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 12:41:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638312#M1665502</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-14T12:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638313#M1665503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your codes seems correct as per my checking in ABAP Keyword Documentation. Try to define your itab5 as: &lt;STRONG&gt;&lt;/STRONG&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;CODE&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;DATA: itab5 TYPE STANDARD TABLE OF string.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/PRE&gt;or&amp;nbsp; try to apply these extras.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Parts marked with " ..." are interchangeable &lt;/P&gt;&lt;H3&gt;&lt;SPAN style="color: #000080; font-size: 12pt;"&gt;Extras: &lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;1. &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;... PROGRAM FROM c1&lt;/STRONG&gt; 2. &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;... INCLUDE INTO c2&lt;/STRONG&gt;&lt;BR /&gt;3. &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;... MESSAGE INTO c3&lt;/STRONG&gt;&lt;BR /&gt;4. &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;... WORD&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO c4&lt;/STRONG&gt;&lt;BR /&gt;5. &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;... LINE&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO n1&lt;/STRONG&gt;&lt;BR /&gt;6. &lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;... OFFSET&amp;nbsp; INTO n2&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 03:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638313#M1665503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-15T03:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638314#M1665504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;Thanks for taking the time to reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tried both your suggestions. Unfortunately neither works . &lt;/P&gt;&lt;P&gt;I am still getting the same error. &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Aashrith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 04:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638314#M1665504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-15T04:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638315#M1665505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why not try SCAN ABAP-SOURCE ? Try to view this link from Prakash Bhatia.&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+-+SCAN+Utility+to+identify+ABAP+statements+based+on+KEYWORDS" title="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+-+SCAN+Utility+to+identify+ABAP+statements+based+on+KEYWORDS"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+-+SCAN+Utility+to+identify+ABAP+statements+based+on+KEYWORDS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 05:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638315#M1665505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-15T05:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638316#M1665506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check the class / method I mentioned ? If its not working the please specify the exact reason .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 07:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638316#M1665506</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-15T07:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638317#M1665507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for following up, Kesavadas.&lt;/P&gt;&lt;P&gt;The method you have mentioned tells me whether my source code has errors or not. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My requirement is to identify data objects in the source code.&lt;/P&gt;&lt;P&gt;Eg : 1. data c type mara-matnr. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. tables kna1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. select * from mard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. " marc is another table name.&lt;/P&gt;&lt;P&gt;Here mara-matnr, kan1 &amp;amp; mard should be identified and marc should be ignored.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 07:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638317#M1665507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-15T07:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638318#M1665508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;"Here mara-matnr, kan1 &amp;amp; mard should be identified and marc should be ignored"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;On what basis you are ignoring MARC. This question doesn't match with your actual question. How is "SCAN AND CHECK ABAP-SOURCE" going to help you with this ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"My requirement is to identify data objects in the source code"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Check if this blog helps you &lt;A href="http://help-abap.zevolving.com/2012/02/list-the-environment-variables-used-in-a-program/" title="http://help-abap.zevolving.com/2012/02/list-the-environment-variables-used-in-a-program/"&gt;http://help-abap.zevolving.com/2012/02/list-the-environment-variables-used-in-a-program/&lt;/A&gt; , mark 'X' to environment_selection-tabl and check it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 07:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638318#M1665508</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-15T07:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638319#M1665509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try using 'SCAN ABAP-SOURCE'&amp;nbsp;&amp;nbsp; instead of 'SCAN AND CHECK ABAP-SOURCE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 07:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638319#M1665509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-15T07:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638320#M1665510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scan and check abap-source&amp;nbsp; identifies all the data objects .&lt;/P&gt;&lt;P&gt;Marc should be igonored because it's used inside a comment and does not act as a data object in the example above.&lt;/P&gt;&lt;P&gt; That's the reason I am trying to use it. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 09:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638320#M1665510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-15T09:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638321#M1665511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case the blog which I mentioned will provide you the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 09:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638321#M1665511</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-15T09:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: scan and check abap-source syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638322#M1665512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case the blog which I mentioned will provide you the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 09:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scan-and-check-abap-source-syntax-error/m-p/8638322#M1665512</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-15T09:28:30Z</dc:date>
    </item>
  </channel>
</rss>

