<?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 id with variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636121#M1091572</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;declare c_patch using the data type of MSG_VAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 06:03:42 GMT</pubDate>
    <dc:creator>peter_ruiz2</dc:creator>
    <dc:date>2008-10-20T06:03:42Z</dc:date>
    <item>
      <title>message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636118#M1091569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to include the path of the file in my message box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CONCATENATE c_fname p_saleno INTO c_path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'MESSAGE_PREPARE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    MSG_ID                       = 'Z10493498'&lt;/P&gt;&lt;P&gt;    MSG_NO                       = '002'&lt;/P&gt;&lt;P&gt;    MSG_VAR1                     = 'c_path'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   MSG_TEXT                     = v_mess&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it displays an error instead., I already include a &amp;amp; in my message short text, what is wrong with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Enrique Mancao on Oct 20, 2008 7:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 05:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636118#M1091569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T05:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636119#M1091570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Enrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE c_fname p_saleno INTO c_path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MESSAGE_PREPARE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;MSG_ID = 'Z10493498'&lt;/P&gt;&lt;P&gt;MSG_NO = '002'&lt;/P&gt;&lt;P&gt;MSG_VAR1 = c_path&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;MSG_TEXT = v_mess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 05:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636119#M1091570</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-10-20T05:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636120#M1091571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already did that, it has an error that says;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type conflict when calling a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 05:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636120#M1091571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T05:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636121#M1091572</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;declare c_patch using the data type of MSG_VAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636121#M1091572</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-10-20T06:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636122#M1091573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would i know its data type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636122#M1091573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T06:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636123#M1091574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is a problem in the declaration you have made for c_path then.&lt;/P&gt;&lt;P&gt;give it as.. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: c_path type SYMSGV.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then  try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636123#M1091574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T06:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636124#M1091575</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;Check the data type of c_path is same as MSG_VAR1 and also check the data type of v_mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also it is better to write capital letter when we are writing any text in codes. So change 'c_path' to 'C_PATH' and 'v_mess' to 'V_MESS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Phani Diwakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636124#M1091575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T06:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636125#M1091576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Function module MESSAGE_PREPARE&lt;/P&gt;&lt;P&gt;check the data type of the MSG_VAR1 and decalre C_PATH with that data type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636125#M1091576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T06:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636126#M1091577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u pass the Language parameter as sy-langu and check ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message text as 255 char , &lt;/P&gt;&lt;P&gt;and the passing variables with sy-msgv1 , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and get rid of the quotes . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636126#M1091577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T06:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: message id with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636127#M1091578</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;open the FM 'MESSAGE_PREPARE' in SE37 and check the declaration of the input parameter MSGV1. use its data type to declare c_path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id-with-variable/m-p/4636127#M1091578</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-10-20T06:16:22Z</dc:date>
    </item>
  </channel>
</rss>

