<?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 message classes for error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478862#M836273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have a query. I am using MESSAGE e000(zre) WITH text-001 format for displaying a text element text as an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here e000 contains &amp;amp; &amp;amp; &amp;amp; &amp;amp; in the zre message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is, i want to display a variable at runtime in that error message.&lt;/P&gt;&lt;P&gt;The message is "the employee number 10000 is not assigned".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the value 10000 to be displayed dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 10:58:36 GMT</pubDate>
    <dc:creator>rnb86</dc:creator>
    <dc:date>2008-03-06T10:58:36Z</dc:date>
    <item>
      <title>message classes for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478862#M836273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have a query. I am using MESSAGE e000(zre) WITH text-001 format for displaying a text element text as an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here e000 contains &amp;amp; &amp;amp; &amp;amp; &amp;amp; in the zre message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is, i want to display a variable at runtime in that error message.&lt;/P&gt;&lt;P&gt;The message is "the employee number 10000 is not assigned".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the value 10000 to be displayed dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478862#M836273</guid>
      <dc:creator>rnb86</dc:creator>
      <dc:date>2008-03-06T10:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: message classes for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478863#M836274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RNB,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message number u have selected maynot serve ur purpose. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select another message number which looks like ' The Employee Number &amp;amp;1 is Not Assigned'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value from text-001 will replace the &amp;amp;1 while displaying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can make it dynamic by removing text-001 and assigning the variable holding the employee number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd opints if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 11:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478863#M836274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T11:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: message classes for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478864#M836275</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;create the error message as "I want the value &amp;amp;1 to be displayed dynamically".&lt;/P&gt;&lt;P&gt;and then write in program as message E000(msgclass) with '10000'.&lt;/P&gt;&lt;P&gt;or if the number is variable write like this.&lt;/P&gt;&lt;P&gt;var = '10000'.&lt;/P&gt;&lt;P&gt; message E000(msgclass) with var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 11:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478864#M836275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: message classes for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478865#M836276</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;  That can be done in following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex,&lt;/P&gt;&lt;P&gt;v_empnum = 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Message e000(Zre) with 'Employee number' v_empnum 'is not assigned'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above method you can specify up to four text elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other way you can CONCATENATE the message and number in to another variable and use that&lt;/P&gt;&lt;P&gt;for display.&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;Jallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 11:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478865#M836276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T11:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: message classes for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478866#M836277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take two text elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-001 = 'the employee number'&lt;/P&gt;&lt;P&gt;text-002 = 'is not assigned'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE e000(ZRE) with text-001 EMPNO text-002.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can even CONCATENATE these texts into a string variable and use it as a message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONCATENATE 'the employee number'
                         EMPNO
                         'is not assigned' 
         INTO W_MSG separated by space.

MESSAGE e000(zre) with w_msg.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 11:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478866#M836277</guid>
      <dc:creator>graghavendra_sharma</dc:creator>
      <dc:date>2008-03-06T11:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: message classes for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478867#M836278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new message in the same message class as lets say its number is 111&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the employee number &amp;amp; is not assigned&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e111(zre) WITH &amp;lt;emp no&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 11:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-classes-for-error-message/m-p/3478867#M836278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T11:06:29Z</dc:date>
    </item>
  </channel>
</rss>

