<?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: Doubt in message class. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750953#M325641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using &amp;lt;b&amp;gt;PACK&amp;lt;/b&amp;gt; command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2006 06:51:30 GMT</pubDate>
    <dc:creator>graghavendra_sharma</dc:creator>
    <dc:date>2006-12-19T06:51:30Z</dc:date>
    <item>
      <title>Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750949#M325637</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;&lt;/P&gt;&lt;P&gt;I have one input field like MATNR (Module pool),if i enter invalid Material no , i need error message with what we given in input field .i done it ,like&lt;/P&gt;&lt;P&gt;Example: This Material no 000000000204004990 does not exit in MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Now i want remove the leading zero&amp;#146;s in the message.like&lt;/P&gt;&lt;P&gt;Example: This Material no 204004990 does not exit in MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do?&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Raju.j&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750949#M325637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T06:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750950#M325638</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 do this by using FM CONVERSION_EXIT_ALPHA_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        nagaraj kumar nishtala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        nagaraj kumar nishtala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750950#M325638</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-12-19T06:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750951#M325639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750951#M325639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T06:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750952#M325640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please pass the value to FM: CONVERSION_EXIT_ALPHA_OUTPUT to truncate the leading ZEROES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, we can use SHIFT LEFT command as well...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: SHIFT &amp;lt;matnr&amp;gt; LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750952#M325640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T06:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750953#M325641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using &amp;lt;b&amp;gt;PACK&amp;lt;/b&amp;gt; command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750953#M325641</guid>
      <dc:creator>graghavendra_sharma</dc:creator>
      <dc:date>2006-12-19T06:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750954#M325642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eswar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want elemenate Zero's in Message. i done it in input fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 08:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750954#M325642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T08:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750955#M325643</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;Assign the material number to a character variable (say  data v1(18)).&lt;/P&gt;&lt;P&gt;v1 = mat_no.&lt;/P&gt;&lt;P&gt;pack v1 to v1.&lt;/P&gt;&lt;P&gt;Then use v1 in message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 08:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750955#M325643</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-12-19T08:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750956#M325644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              input  = wf_matnr
            IMPORTING
              output =  wf_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
input = 00000000000123 
output = 123&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 08:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750956#M325644</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-19T08:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750957#M325645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define a new variable of type n, pass your screen value to it, and use it in your message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data g_matnr(xx) type n.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;g_matnr = matnr ...(your screen value)&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;message xxx(xx) with g_matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 08:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750957#M325645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T08:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750958#M325646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you will be passing the value of material number to the message class to display the message, hence use any of the above methods to remove the leading ZEROES and then pass to the message class to get the desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are using Z message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have still doubts, please post your code of displaying the message so we can be able to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 08:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750958#M325646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T08:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in message class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750959#M325647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jayanthi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much i solved my problem with your help.&lt;/P&gt;&lt;P&gt;I given 10 mark to your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 09:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-message-class/m-p/1750959#M325647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T09:11:45Z</dc:date>
    </item>
  </channel>
</rss>

