<?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 programatically syntax check development objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877268#M50906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick and helpful responses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check out all suggestions and will let you know how it went. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand, all programs are active after the upgrade run even though they could have syntax errors and thus an active status does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again. &lt;/P&gt;&lt;P&gt;Shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2005 12:28:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-07T12:28:25Z</dc:date>
    <item>
      <title>How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877263#M50901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are going through a test upgrade project (4.6C to 4.7) and need to identify all custom objects that have syntax errors. I was able to find some FMs that do syntax check for executable programs (EDITOR_SYNTAX_CHECK, CHECK_SOURCE, etc) but was not able to find any FM/Program that can syntax check different kind of development objects like tables, FMs, Includes, programs, etc. It seems that different objects use different syntax check programs. I am basically getting a list of custom objects from tadir and then want to submit this object to a FM that can tell me if the object is syntactically OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 07:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877263#M50901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T07:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877264#M50902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Shamin,&lt;/P&gt;&lt;P&gt;You can try to generate a report with the istruction&lt;/P&gt;&lt;P&gt;GENERATE REPORT &amp;lt;prog&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put this in a loop with the name of customer programs take from tadir. &amp;lt;prog&amp;gt; is a simple char array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that if there is some syntax error the program will not compile and this instruction returns a sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Realy I never do that, but.. you can try.&lt;/P&gt;&lt;P&gt;Bye &lt;/P&gt;&lt;P&gt;Enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 08:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877264#M50902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T08:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877265#M50903</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;  There are some standard report programs that can be used to check the syntax of a particular object. You can make use of the function SAPLS_CODE_INSPECTOR to check the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 09:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877265#M50903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T09:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877266#M50904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shamim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try out something like this ? - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select Z objects from TADIR&lt;/P&gt;&lt;P&gt;2. loop at the internal table with the objects you want to check.&lt;/P&gt;&lt;P&gt;3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE OBJTECT_TYPE.
  WHEN DDIC ELEMENTS.
    CALL FUNCTION RS_DD_CHECK.
  WHEN TRANSACTION CODES.
    CALL FUNCTION RS_TRANSACTION_CHECK.
  ETC.,
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Have a look at the FMs RS_*_CHECK. Get back if you need further assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 10:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877266#M50904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T10:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877267#M50905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I was just wondering if it wouldn't suffice if we checked whether the object is active or not. Because, if it has got any syntax errors, then the developer would have corrected them, right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are there instances where the programs have been activated in spite of the syntax errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 10:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877267#M50905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877268#M50906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick and helpful responses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check out all suggestions and will let you know how it went. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand, all programs are active after the upgrade run even though they could have syntax errors and thus an active status does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again. &lt;/P&gt;&lt;P&gt;Shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 12:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877268#M50906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T12:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877269#M50907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP provides transaction UCCHECK to scan custom objects and list unicode syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get some more information on unicode, you can search sdn for the document "How to Make Your ABAP Code Unicode-Enabled.pdf". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 17:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877269#M50907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T17:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877270#M50908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;With the tips I got from you I was able to identify a transaction called SCI - Code Inspector that does everything that I was wanting to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to specify an object set that you want to inspect (e.g.: Z programs, Z function groups, etc) along with the type of inspection (syntax check, object generation, etc) you want to perform via a variant and then create an inspection referring to the object set and variant and that's it. The result gives a complete list of objects based on the type of inspection you wanted performed. Another useful thing that I found was an ABAP statement called syntax-check that you can use to check executable programs and function groups without calling any FMs. It is limited in the type of objects it can check but works great for executable programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep up the great work and thanks again to all of you that responded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A special thanks to Sailatha for the code inspection program tip. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2005 15:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877270#M50908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-08T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically syntax check development objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877271#M50909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;            Good morning,&lt;/P&gt;&lt;P&gt;         My requirement is to list all custom objects and specify which objects are not following the development standards and also should specify the changes that need to be made to the existing objects.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Can anyone guide me please how to build such functionality with functinal modules. I'll very grateful for ur help.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 09:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programatically-syntax-check-development-objects/m-p/877271#M50909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T09:57:50Z</dc:date>
    </item>
  </channel>
</rss>

