<?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: Method or Function Module for Syntax Checks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343392#M1920822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and the purpose of this would be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 09:25:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-10-19T09:25:41Z</dc:date>
    <item>
      <title>Method or Function Module for Syntax Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343391#M1920821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to find the FM or Class which can return me with all the syntax errors present in that object.(Object can be a FUnction Group,Report,Class,Function Module). Is there any Function Module which can return back all the errors present in the object. I tried with RS_SYNTAX_CHECK, but it didn't worked. It is not returning all the errors present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 08:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343391#M1920821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-19T08:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Method or Function Module for Syntax Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343392#M1920822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and the purpose of this would be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 09:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343392#M1920822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-19T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Method or Function Module for Syntax Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343393#M1920823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open the abap editor. Type SYNTAX. Place your cursor within the word. Press F1. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 09:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343393#M1920823</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-10-19T09:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Method or Function Module for Syntax Checks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343394#M1920824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As it was mentioned in the previous answer, you can use a special ABAP statement - SYNTAX-CHECK FOR ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to code error handling by yourself, you can consider using method CL_ABAP_ERROR_ANALYZE=&amp;gt;GET_MINIMAL_INCLUDE_SET.&lt;/P&gt;&lt;P&gt;You can pass the name of the program (e.g. the report, the main program of function group, etc) and this method will return all the errors your program contains. There is an example in the report RS_ABAP_ERROR_ANALYZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that this method always checks the active version of the program. Internally it calls READ REPORT statement without a STATE clause. Hence, only active state is taken into account. If you want to check an inactive version, you should write your own code and use in it READ REPORT ... STATE 'I' and SYNTAX-CHECK statements. The rest you can copy from the implementation of CL_ABAP_ERROR_ANALYZE. It that case you should be aware of that STATE addition is internal. And there are some limitations. You should refer to the documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 22:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-or-function-module-for-syntax-checks/m-p/11343394#M1920824</guid>
      <dc:creator>ivan_shadrin</dc:creator>
      <dc:date>2015-10-19T22:17:03Z</dc:date>
    </item>
  </channel>
</rss>

