<?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: Code inspector - check naming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017446#M1497592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops, okay that changes a lot... And I am in the dark too. It looks as if th Extended Naming Conventions use "Regular Expressions" (RegEx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not something I know a lot about. But maybe a search on Regular Expressions will help you.&lt;/P&gt;&lt;P&gt;Here is a link to a website: [http://www.regular-expressions.info/|http://www.regular-expressions.info/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Edwin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Yep. Definately RegEx... See also [http://www.regextester.com/|http://www.regextester.com/]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 May 2010 07:22:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-28T07:22:29Z</dc:date>
    <item>
      <title>Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017442#M1497588</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'm using code inspector (trx SCI) for controlling all custom program and I have two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why in statistic section, in some cases, several objects are classified "not checked" ? There are pre-conditions that have to be satisfied before the inspection was performed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we check standard naming conventions for internal table (Example TB_INT) in custom object ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P. Carriero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 15:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017442#M1497588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-26T15:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017443#M1497589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="green" __jive_macro_name="color"&gt;Moderator message - Welcome to SCN.

Please post in the correct forum (I'm moving it).

Also, Please read &lt;SPAN __jive_macro_name="thread" id="927634"&gt;&lt;/SPAN&gt; and &lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 18:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017443#M1497589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-26T18:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017444#M1497590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; How can we check standard naming conventions for internal table (Example TB_INT) in custom object ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not think it is possible to do this specifically for tables. However, under Programming Conventions --&amp;gt; Naming Conventions --&amp;gt; Program Global --&amp;gt; Data, you can enter all allowed namings for the data types. This is not specific for Tables and variables, but they are all in there as a group...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This would be something like (For allowed data conventions):&lt;/P&gt;&lt;P&gt;TA_* (for Standard tables)&lt;/P&gt;&lt;P&gt;TS_* (for Sorted tables)&lt;/P&gt;&lt;P&gt;TH_* (for Hashed tables)&lt;/P&gt;&lt;P&gt;RA_* (for Ranges)&lt;/P&gt;&lt;P&gt;WA_* (Workarea)&lt;/P&gt;&lt;P&gt;ST_* (Structure)&lt;/P&gt;&lt;P&gt;RF_* (Reference)&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code inspector will return an error if the naming used is not in this list, it is up to the developer and quality assurance to make sure that the correct naming is used for a specific data type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 08:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017444#M1497590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-27T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017445#M1497591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edwin but under Programming conventions --&amp;gt; Extended Naming Conventions for Programs I can specify the name conventions for structure, internal table, ecc.... &lt;/P&gt;&lt;P&gt;However I don't understand how this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During my test, although this field are specified, trx SCI doesn't display any message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;P. Carriero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 14:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017445#M1497591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-27T14:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017446#M1497592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops, okay that changes a lot... And I am in the dark too. It looks as if th Extended Naming Conventions use "Regular Expressions" (RegEx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not something I know a lot about. But maybe a search on Regular Expressions will help you.&lt;/P&gt;&lt;P&gt;Here is a link to a website: [http://www.regular-expressions.info/|http://www.regular-expressions.info/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Edwin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Yep. Definately RegEx... See also [http://www.regextester.com/|http://www.regextester.com/]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 07:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017446#M1497592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T07:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017447#M1497593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pascale,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default setting of this Code Inspector test is that local structures should start with "LS_".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two relevant sections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General Procedure(Local)&lt;/P&gt;&lt;P&gt;DATA "(/.*/)?L\[:type:\]_"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type Prefixes&lt;/P&gt;&lt;P&gt;Structure "S"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The term "(/.&lt;STRONG&gt;/)?L\[:type:\]_" encodes can start with a name space "(/.&lt;/STRONG&gt;/)?" followed by a "L" and a type encoding "\[:type:\]" and an underscore "\_". As the type prefix for strutures is "S" the overall requirement equals to starts with "LS_".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following form routine can be copied into any report and should cause a warning for "WA_NOT_CORRECT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
form sample_Systems_Hungarian.
  data:
    ls_Correct     type tadir,
    wa_Not_Correct type tadir.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: To my personal opinion system hungarian is a relict of former times. The book "CLEAN CODE" gives lots of inspiration on modern naming scemes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 08:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017447#M1497593</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2010-05-28T08:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017448#M1497594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pasquale,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether SCI has such options or not.&lt;/P&gt;&lt;P&gt;But you can definitely enhance your code inspector for checking Auth Group or hardcoding or anything you like..&lt;/P&gt;&lt;P&gt;Check the following article link for [how to enhance code inspector|http://sapignite.com/2010/05/enhancement-of-code-inspector/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 08:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017448#M1497594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T08:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Code inspector - check naming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017449#M1497595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great,very helpful link.. I didn't know it!&lt;/P&gt;&lt;P&gt;I'll try and let you know.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 12:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-check-naming/m-p/7017449#M1497595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T12:26:32Z</dc:date>
    </item>
  </channel>
</rss>

