<?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: dynamic messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659095#M613367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just define one message with the place holders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Message class : ZZ  Message No: 000 Text: &amp;amp;&amp;amp;&amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when ever you want to give some message use the WITH statement along with message statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Message e000 wtih 'ABC' 'XYZ' '123' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 06:49:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-28T06:49:08Z</dc:date>
    <item>
      <title>dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659090#M613362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to display dynamic messages?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;swathi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659090#M613362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659091#M613363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of Place holders provided in abap &amp;lt;b&amp;gt;'?' and '&amp;amp;'&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if this helps,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659091#M613363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659092#M613364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All messages are stored in table &amp;lt;b&amp;gt;T100&amp;lt;/b&amp;gt;. You create and edit them using Transaction &amp;lt;b&amp;gt;SE91&amp;lt;/b&amp;gt;. Once you have created a message, you can use it in the &amp;lt;b&amp;gt;MESSAGE&amp;lt;/b&amp;gt; statement in a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 ways you can define a message....&lt;/P&gt;&lt;P&gt;&amp;gt; MESSAGE E001(ZMESSAGE_CLASS). &lt;/P&gt;&lt;P&gt; Using this definition we can refer a message class and then the message is directly reflected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; MESSAGE 'Some error' TYPE 'E'. &lt;/P&gt;&lt;P&gt; Using this method we can hard code the message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your requirement is the former method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659092#M613364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659093#M613365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the message class, for a message number define the parameters as &lt;/P&gt;&lt;P&gt;001 &amp;amp; 'doesnt exist'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass values ot &amp;amp; then it will display dynamically.&lt;/P&gt;&lt;P&gt;If you write a MESSAGE statement in the report as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 0001(ZMSG) V_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it will display as v_matnr values doesnt exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659093#M613365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659094#M613366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto SE91 [ message class] -&amp;gt; create a new message class -&amp;gt; and in attributes section please give  &amp;amp; &amp;amp; &amp;amp; &amp;amp; [in place of hard coded statements] -&amp;gt; save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nad in ur program u can use that message class in many ways as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. declare it in REPORT statement as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zlauri message-id suresh.&lt;/P&gt;&lt;P&gt;.................&lt;/P&gt;&lt;P&gt;............&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message S000 with 'suresh'.&lt;/P&gt;&lt;P&gt;...............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. u can use message class at run time as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message W000(zlauri) with 'warnings'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where zaluri is a existing message class. for this type there is no need to declare in report statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. message 'suresh babu aluri' type 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can follow any type. it depends on ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659094#M613366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659095#M613367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just define one message with the place holders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Message class : ZZ  Message No: 000 Text: &amp;amp;&amp;amp;&amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when ever you want to give some message use the WITH statement along with message statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Message e000 wtih 'ABC' 'XYZ' '123' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659095#M613367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659096#M613368</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;&lt;/P&gt;&lt;P&gt;write &amp;amp;1 in the message class.&lt;/P&gt;&lt;P&gt;while writing the message do like this.&lt;/P&gt;&lt;P&gt;MESSAGE E100(ZMSGCLS) with '&amp;lt;ur message&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if helpful&amp;lt;/b&amp;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>Tue, 28 Aug 2007 06:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659096#M613368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659097#M613369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the solution.&lt;/P&gt;&lt;P&gt;In, &amp;lt;b&amp;gt;SE91&amp;lt;/b&amp;gt; when u create the mesage class, u can set the dynamic message  using&amp;lt;b&amp;gt; ?&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;%&amp;lt;/b&amp;gt; symbol in message text.&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; 002 Sales area is not assigned to customer &amp;amp; &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If suppose, the above statement u r using in the message class, then for the condition given, u will get this message along with customer number ( In place of &amp;amp;, Customer Number will be substituted ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u got it.&lt;/P&gt;&lt;P&gt;Try and reward if found useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659097#M613369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T06:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659098#M613370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yedlapalli&lt;/P&gt;&lt;P&gt;we have one transaction se91 for creating message class and message numbers and matnining messages.&lt;/P&gt;&lt;P&gt;messages are stored in table T100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have different message types  ERROR &lt;/P&gt;&lt;P&gt;                                                 Warning&lt;/P&gt;&lt;P&gt;                                                 sucess&lt;/P&gt;&lt;P&gt;                                                 abend&lt;/P&gt;&lt;P&gt;                                                 information messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reprot initial line we are defining like this MESSAGE-ID ZSW  (zsw is message class).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E011  (E011 is error message number).&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;MESSAGE I012    (I012 is information message number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onece you double click on the e011 it will take you se91 message maintaining screen there depend on your requirement give message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 07:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659098#M613370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T07:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659099#M613371</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;MESSAGE ID 'xxx' TYPE 'x' NUMBER 'xxx' WITH 'xxx' 'xxx' INTO 'xxx'.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 07:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659099#M613371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-11-17T07:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659100#M613372</link>
      <description>&lt;P&gt;It can be used with the example usage given in a method or function.&lt;BR /&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 06:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-messages/m-p/2659100#M613372</guid>
      <dc:creator>former_member707043</dc:creator>
      <dc:date>2021-08-20T06:23:29Z</dc:date>
    </item>
  </channel>
</rss>

