<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299486#M789737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prajwal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; did u declare any message class ,message id?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 10:15:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T10:15:06Z</dc:date>
    <item>
      <title>Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299483#M789734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;message 'Data is Deleted Successfully' type 'S'.&lt;/P&gt;&lt;P&gt;clear zesi.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am getting error message like &lt;/P&gt;&lt;P&gt;Char. strings w/o text elements will not be translated:&lt;/P&gt;&lt;P&gt;''Data is Deleted Successfully'' in code inspector&lt;/P&gt;&lt;P&gt;What is wrong in my code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prajwal K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299483#M789734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299484#M789735</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;Just put your text in the text elements T01 &lt;/P&gt;&lt;P&gt;and then instead of your code put that Text element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299484#M789735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299485#M789736</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;just there your writing the message as a hardcoded so that is showing that error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP , allways SAP recomends to don'f use hardcoded messages &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just define a text element like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message text-001 type 's'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on text-001 and write the message what ever you want there and activate it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299485#M789736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299486#M789737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prajwal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; did u declare any message class ,message id?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299486#M789737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299487#M789738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is that you hardcoded your text and hardcoded text cannot be translated. You have to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message text-001 type 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-001 will be a text symbol, which can be translated and the error won't be displayed in Code inspector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:15:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299487#M789738</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-01-25T10:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299488#M789739</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;Define text element as &lt;/P&gt;&lt;P&gt;text-001 = 'Data is Deleted Successfully'. save &amp;amp; activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;message text-001 type 'S'.&lt;/P&gt;&lt;P&gt;clear zesi.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anil.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299488#M789739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299489#M789740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just declare a message class as given below in the REPORT command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z10_test&lt;/P&gt;&lt;P&gt;        NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;MESSAGE-ID z10_material&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        LINE-COUNT 0(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;message S050.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;clear zesi.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the code and check in the CODE INSPECTOR you will not get the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the MESSAGE-ID Z10_MATERIAL will now maintain the language.Here, if the user dont want the message to be displayed in ENGLISH then he/she can change the language in MESSAGE-ID Z10_MATERIAL .&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>Fri, 25 Jan 2008 10:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299489#M789740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299490#M789741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Naresh thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me what happenes if i hardcode message. am getting  same output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299490#M789741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Code Inspector</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299491#M789742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing happens if you hardcode a text. It's just a recomendation that you shouldn't hardcode them to have them all together in the text definitions and to change those texts more easily and keeping integrity. For example, if you use the same hardcode in 2 different parts of the program and then you are asked to change it, you may forget it's duplicated and only change it once. That error can easily pass though testing and get to Production. However if you have a repository of texts, you only have to change it once. It's like constants...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 19:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector/m-p/3299491#M789742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T19:34:02Z</dc:date>
    </item>
  </channel>
</rss>

