<?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 Search HARD CODE with Code Inspector in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028205#M1348835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need o find hard code iin many programs, but I am not finding the right item I have to mark in Code Inspector to find it!&lt;/P&gt;&lt;P&gt;Ex: IF l_bwart EQ '280'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This kind of text '280' is never showed in Code Inspector. How can I create a Inspection just to catch this kind of instruction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 12:28:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T12:28:04Z</dc:date>
    <item>
      <title>Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028205#M1348835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need o find hard code iin many programs, but I am not finding the right item I have to mark in Code Inspector to find it!&lt;/P&gt;&lt;P&gt;Ex: IF l_bwart EQ '280'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This kind of text '280' is never showed in Code Inspector. How can I create a Inspection just to catch this kind of instruction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028205#M1348835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T12:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028206#M1348836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in syntax check -&amp;gt;extended syntax check make sure &lt;STRONG&gt;char strings&lt;/STRONG&gt; is checked,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028206#M1348836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028207#M1348837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is checked but return no errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a test report with the code:&lt;/P&gt;&lt;P&gt;REPORT  ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_bwart TYPE bwart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_bwart = '280'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF l_bwart = '280'.&lt;/P&gt;&lt;P&gt;  Write: l_bwart.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked just this check and returned no erros...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028207#M1348837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028208#M1348838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess its because its too small a character value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028208#M1348838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028209#M1348839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I donot think that you can check this "type of hardcoding" with Code Inspector / Extended Syntax Check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested in earlier posts, you can try to check the "character string" hardcoding with Extended Syntax Check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Soumya: '280' is not a "character string" hardcoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: l_bwart TYPE string.

l_bwart = 'Code'.

IF l_bwart = 'ABCD'.
  WRITE: l_bwart.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028209#M1348839</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-08-20T12:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028210#M1348840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it too, but there are any way to correct this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028210#M1348840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T12:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028211#M1348841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but I have to look out to  a package of programs to discover this kind of Hard Code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Marcos Antonio Munhós on Aug 20, 2009 3:01 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028211#M1348841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028212#M1348842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes suhash.&lt;/P&gt;&lt;P&gt;you are correct..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028212#M1348842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028213#M1348843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do one thing.&lt;/P&gt;&lt;P&gt;write a report.&lt;/P&gt;&lt;P&gt;which first reads the report using &lt;STRONG&gt;read report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then loop at the report table and check for ' ' except data declaration parts. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028213#M1348843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T13:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028214#M1348844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can work, but here we use a tool that use a inspection of code inspector to do the job!&lt;/P&gt;&lt;P&gt;My question is: There are any way to customize the Code Inspector Inspection to catch exactly what you said? Literals character like '280', for example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028214#M1348844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028215#M1348845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in code inspector try putting some thing in &lt;STRONG&gt;search funct.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess you can put patterns there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028215#M1348845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T13:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028216#M1348846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying something right now... If I get a answer I post here!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 14:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028216#M1348846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Search HARD CODE with Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028217#M1348847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Marcos&lt;/P&gt;&lt;P&gt;This thread is answered, but it's worth to add this answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find any hard code with Code Inspector (SCI).&lt;/P&gt;&lt;P&gt;To do so, proceed as follows: &lt;/P&gt;&lt;P&gt;1-Create a new check Variant, named for example ZSEARCH&lt;/P&gt;&lt;P&gt;2-Open the folder "Search Functs."&lt;/P&gt;&lt;P&gt;3-Press the button to "Find Unwanted Language Elements"&lt;/P&gt;&lt;P&gt;4-In the Unwanted Language Elements dialog press the button of Find Unwanted Language Elements block&lt;/P&gt;&lt;P&gt;5-Un the Multiple Selection for Unwanted Language Elements press the trash button to empty the default elements&lt;/P&gt;&lt;P&gt;6-Inform * '280' * (note the blank spaces between * and ', ' and *&lt;/P&gt;&lt;P&gt;7-Accept dialogs&lt;/P&gt;&lt;P&gt;8-Save the check Variant&lt;/P&gt;&lt;P&gt;9-Go back&lt;/P&gt;&lt;P&gt;10-Create a new Inspection, named for example ZSEARCH&lt;/P&gt;&lt;P&gt;11-In the check variant block select ZSEARCH &lt;/P&gt;&lt;P&gt;12-Select a single program or a Object Set.&lt;/P&gt;&lt;P&gt;13-Launch the search. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 15:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-hard-code-with-code-inspector/m-p/6028217#M1348847</guid>
      <dc:creator>jordi_escodaruiz</dc:creator>
      <dc:date>2009-11-11T15:20:51Z</dc:date>
    </item>
  </channel>
</rss>

