<?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: Message variables in message longtext in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506336#M233981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Appana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, but this does not work, it still doesn't resolve the variable. I raise the message like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(zsd) with 'Test'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Longtext I get with Your suggestion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"varibale1: &amp;amp;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;"variable1: Test"&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;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2006 09:53:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-28T09:53:27Z</dc:date>
    <item>
      <title>Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506333#M233978</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;I'm trying to dipslay the mesage variables (sy-msgv1 etc.) in the longtext of a message. In the longtext i put for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"varibale1: &amp;amp;V1&amp;amp;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i does not work, when raisimg the message, it does not resolve the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 09:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506333#M233978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T09:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506334#M233979</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 the message text element like : varibale1: &amp;amp;&lt;/P&gt;&lt;P&gt;then raise message like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(xxx) with  &amp;lt;variable&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : x_message(100) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     concatenate 'Testvariable1:' V1 'Testvariable2:' V2&lt;/P&gt;&lt;P&gt;                  into x_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     message e001(zsd) with x_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work.&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;Appana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 09:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506334#M233979</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-08-28T09:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506335#M233980</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;I think you should pass this in the short text itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message e01 with sy-msgv1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 01 would be &amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 09:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506335#M233980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T09:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506336#M233981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Appana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, but this does not work, it still doesn't resolve the variable. I raise the message like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(zsd) with 'Test'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Longtext I get with Your suggestion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"varibale1: &amp;amp;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;"variable1: Test"&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;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 09:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506336#M233981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506337#M233982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems like Your are almost right, now I'm having:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;h_var1 = 'test1'.
h_var2 = 'test2'.

sy-msgv1 = h_var1.
sy-msgv2 = h_var2.

message e001(zsd) with h_var1 h_var2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My message-longtext is:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Testvariable1: &amp;amp;V1&amp;amp;, Testvariable2: &amp;amp;V2&amp;amp;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This now resolves only ONE variable (the first one), so I get this longtext-output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Testvariable1: test1, Testvariable2: &amp;amp;V2&amp;amp;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is very strange... Any more suggestions?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506337#M233982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506338#M233983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt; in the message class &amp;lt;b&amp;gt;ZSD&amp;lt;/b&amp;gt; and message no &amp;lt;b&amp;gt;001&amp;lt;/b&amp;gt; you should give like&lt;/P&gt;&lt;P&gt;&amp;amp;1&amp;amp; &amp;amp;2&amp;amp; &amp;amp;3&amp;amp; &amp;amp;4&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;message e001(zsd) with h_var1 h_var2 H_VAR3 H_vAR4&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 10:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506338#M233983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T10:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Message variables in message longtext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506339#M233984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although this message is old.  The answer is relevant today.  The message variables are different in the short text and long text. &lt;/P&gt;&lt;P&gt;- In the short text you use the typical &amp;amp; as the placeholder.  Multiple variables in the short text are the same.&lt;/P&gt;&lt;P&gt;- In the long text you use the &amp;amp;V1&amp;amp; as the placeholder.  Multiple variables in the long text are sequential, i.e. &amp;amp;V1&amp;amp; &amp;amp;V2&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 17:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-variables-in-message-longtext/m-p/1506339#M233984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-18T17:47:44Z</dc:date>
    </item>
  </channel>
</rss>

