<?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: v1 , v2,v3,v4 messages in format message function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747337#M901631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... WITH f1 ... f4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Inserts the contents of a field fi in the message instead of in the placeholder &amp;amp;i. If unnumbered variables (&amp;amp;) are used in a message text, these are replaced consecutively by the fields f1 to f4. &lt;/P&gt;&lt;P&gt;To aid compilation, only numbered variables (&amp;amp;1 to &amp;amp;4) are to be used in future if several fields are involved. &lt;/P&gt;&lt;P&gt;If a "&amp;amp;" is supposed to appear in the message at runtime, you must enter &amp;amp;&amp;amp;. &lt;/P&gt;&lt;P&gt;In the long text of a message, the symbol &amp;amp;Vi&amp;amp; is replaced by the field contents of fi. &lt;/P&gt;&lt;P&gt;After WITH, you can specify 1 to 4 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v1 -v4 is variable which replace symbol &amp;amp; in message text.&lt;/P&gt;&lt;P&gt;try FM with this parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ID                              38                   &lt;/P&gt;&lt;P&gt; LANG                          sEN                   &lt;/P&gt;&lt;P&gt; NO                              001                  &lt;/P&gt;&lt;P&gt; V1                              THIS   &lt;/P&gt;&lt;P&gt; V2                              IS                &lt;/P&gt;&lt;P&gt; V3                              SIMPLE                   &lt;/P&gt;&lt;P&gt; V4                              MESSAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andrey Ryazanov on Apr 29, 2008 8:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 04:35:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T04:35:52Z</dc:date>
    <item>
      <title>v1 , v2,v3,v4 messages in format message function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747336#M901630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are the v1 , v2,v3,v4 error messages in format message function module.&lt;/P&gt;&lt;P&gt;what is the difference between these.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 03:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747336#M901630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T03:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: v1 , v2,v3,v4 messages in format message function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747337#M901631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... WITH f1 ... f4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Inserts the contents of a field fi in the message instead of in the placeholder &amp;amp;i. If unnumbered variables (&amp;amp;) are used in a message text, these are replaced consecutively by the fields f1 to f4. &lt;/P&gt;&lt;P&gt;To aid compilation, only numbered variables (&amp;amp;1 to &amp;amp;4) are to be used in future if several fields are involved. &lt;/P&gt;&lt;P&gt;If a "&amp;amp;" is supposed to appear in the message at runtime, you must enter &amp;amp;&amp;amp;. &lt;/P&gt;&lt;P&gt;In the long text of a message, the symbol &amp;amp;Vi&amp;amp; is replaced by the field contents of fi. &lt;/P&gt;&lt;P&gt;After WITH, you can specify 1 to 4 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v1 -v4 is variable which replace symbol &amp;amp; in message text.&lt;/P&gt;&lt;P&gt;try FM with this parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ID                              38                   &lt;/P&gt;&lt;P&gt; LANG                          sEN                   &lt;/P&gt;&lt;P&gt; NO                              001                  &lt;/P&gt;&lt;P&gt; V1                              THIS   &lt;/P&gt;&lt;P&gt; V2                              IS                &lt;/P&gt;&lt;P&gt; V3                              SIMPLE                   &lt;/P&gt;&lt;P&gt; V4                              MESSAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andrey Ryazanov on Apr 29, 2008 8:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 04:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747337#M901631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T04:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: v1 , v2,v3,v4 messages in format message function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747338#M901632</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;This is how it works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*   Get the message returned by Call transaction
    call function 'FORMAT_MESSAGE'
      exporting
        id        = l_is_message-msgid
        lang      = sy-langu
        no        = l_is_message-msgnr
        v1        = l_is_message-msgv1
        v2        = l_is_message-msgv2
        v3        = l_is_message-msgv3
        v4        = l_is_message-msgv4
      importing
        msg       = l_message
      exceptions
        not_found = 1
        others    = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of these V1-V4 are 100 character fields which splits the messages returned by transactions. We use this FM to get the meaningful message out of V1-V4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 05:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-v2-v3-v4-messages-in-format-message-function-module/m-p/3747338#M901632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T05:00:56Z</dc:date>
    </item>
  </channel>
</rss>

