<?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 regarding syntax errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281184#M784628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above 46C system, Can we use SLIN or FM 'Extended program check' instead of SCI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both outputs are same with respect listing Syntax errors/Warnings/Messages? please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2008 02:38:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-07T02:38:53Z</dc:date>
    <item>
      <title>regarding syntax errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281184#M784628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above 46C system, Can we use SLIN or FM 'Extended program check' instead of SCI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both outputs are same with respect listing Syntax errors/Warnings/Messages? please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 02:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281184#M784628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T02:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: regarding syntax errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281185#M784629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both the Outputs are not same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLIN is an extended syntax check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCI is Code inspector,  a tool for checking Repository objects regarding performance, security, syntax, and adherence to name conventions and other formats that you set in.You can also determine statistical information or search for certain ABAP words (tokens). In the Code Inspector, you can define inspections that, with the help of check variants, examine certain sets of objects. As the result of an inspection, you receive information messages, warning messages, or error messages on different properties of the examined objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many checks are excluded from the standard syntax check for performance reasons. The extended program check performs a complete check that includes the interfaces of external procedures called from your program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Errors in the extended program check cause exceptions, which in turn cause runtime errors when you run the program. You must correct them. The exception to this is coding that cannot be reached. However, you should delete this to minimize the size of your program and make the source code easier to understand. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warnings in the extended program check should also be corrected. If your program contains statements that are definitely correct but still produce warnings in the extended program check, you can exclude them from the check using pseudocomments ( "#EC&amp;#133; ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should always run the extended program check on a new program. You have not finished developing a new program until you can run the extended program check on it without any errors or warnings. Messages are permissible, since they are generally not critical. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extended program check is also only a static check. It cannot eliminate all of the circumstances that could lead to exception situations or runtime errors. For example, any statements in which you specify arguments dynamically as the contents of fields, or in which you call procedures dynamically, cannot be checked statically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It helps developers to adhere to programming standards and guidelines by creating messages on less-than-optimal coding. The Code Inspector offers various possibilities to define object sets and to combine multiple single checks in so-called "check variants". These functions, and the tool's parallel processing framework, make the Code Inspector a flexible and effective development assistant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Code Inspector can be used in various scenarios with different types of checks, thus providing insights into the code quality from various angles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage scenarios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Single object checks from the Development Workbench&lt;/P&gt;&lt;P&gt;You can check a single object with the Code Inspector from the ABAP Editor (transaction SE38), the Function Builder (transaction SE37), the Class Builder (transaction SE24), or the ABAP Data Dictionary (transaction SE16). To do this, choose object Check Code Inspector from the menu, where object can be a program, function module, class, or table. The respective single objects are then checked with a default check variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Checks on transport objects from the Transport Organizer&lt;/P&gt;&lt;P&gt;You can invoke the Code Inspector from within the Transport Organizer (transaction SE09) to check objects in a transport request. To do this, choose Request/Task &amp;gt; Complete Check &amp;gt; Objects (Syntax Check).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Checks on sets of objects from transaction SCI&lt;/P&gt;&lt;P&gt;The Code Inspector (transaction SCI) itself enables you to create a wide range of object sets using standard selections via package, software and application component, source system, transport layer, responsible, object type, object name and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, special object collectors are available that allow you to read objects from a file, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An object set can be combined with a check variant to a so-called "inspection" that can be executed in a single process or in parallel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types of checks and check variants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a short extract of the types of checks and functions that are offered by Code Inspector. New checks can be implemented if required, see for example Code Inspector - How to create a new check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax check; extended program check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analysis of WHERE clauses for SELECT, UPDATE and DELETE ; SELECT statements that bypass the table buffer , low-performance operations on internal tables; table attributes check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Security&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage of critical statements; dynamic and cross-client database accesses; use of ADBC-interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Robustness&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check of SY-SUBRC handling; suspect conversions; activation check for DDIC objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Programming Conventions&lt;/P&gt;&lt;P&gt;Naming conventions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Search Functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search of ABAP tokens; search ABAP statement patterns; search for ABAP statements with regular expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; Metrics and Statistics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program complexity test; statement statistics&lt;/P&gt;&lt;P&gt;You can combine any of these single checks into so-called "check variants", for example to check for the adherence to given programming guidelines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Practices&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Developers can use the Code Inspector to support their everyday work. For example, the search functions or metric checks of the tool can be a great help when restructuring the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Code Inspector allows developers to define which objects are to be checked and which quality aspect of the code is to be inspected (e.g. performance, security).&lt;/P&gt;&lt;P&gt;It is also possible to define global check variants as general programming guidelines, to ensure standardized programming within a development community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check variants can prescribe for example naming conventions or other rules. The global check variants 'DEFAULT' and 'TRANSPORT' inspect objects in the development workbench and in transport requests, respectively. These check variants contain SAP-defined settings, but can be modified as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another global check variant delivered with every SAP system is 'PERFORMANCE_CHECKLIST' which helps to detect less-than-optimal coding with regard to application performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinodh Balakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 03:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281185#M784629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T03:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: regarding syntax errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281186#M784630</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;U can use both slin and sci . for checking the syntax and also for the performance issues.. Slin is for the extended program check whereas the sci is for the code inspector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sana.'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 03:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281186#M784630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T03:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: regarding syntax errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281187#M784631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know, Its possible to fetch the Syntax check errors and Extended program check errors using variant option in SCI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to fetch those(above) errors/warnings and display the error in Customized format at Excel. So i am looking for FM to do above job. I found FM 'Extended_program_check'used in SLIN to display the Error output. But i want to confirm whether it includes both Standards Syntax errors &amp;amp; EPC errors or only EPC errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any FM or Class to fetch the above errors to Excel format without using SCI tool or SLIN tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 04:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-syntax-errors/m-p/3281187#M784631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T04:13:01Z</dc:date>
    </item>
  </channel>
</rss>

