<?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 long text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589159#M592700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot guys for your help. After trying &amp;amp; analyzing the solution I think the best way is to use a perform within the sap script. I will try and implement that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am using a function module and the error is being generated there. So can I call a function module from a sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try... Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2007 05:33:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-27T05:33:47Z</dc:date>
    <item>
      <title>Message long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589155#M592696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of the program I made I display an error message which flashes on the status bar. Now I wanted to pass some data which the user could see when he/she double clicks in the status bar and long text is displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a message class (SE91) and created a message and inserted a long text. So now when I double click the window opens with long text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is I want to pass some data as well. If i pass data it is displayed in the message that flashes in the bottom. How do I pass data to long text???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that i pass is reflected same in title of long text. I wanted to pass some data that is displayed in long text only but its not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be glad if someone can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 10:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589155#M592696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T10:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Message long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589156#M592697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FM MASS_MESSAGE_SHOW_LONGTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'MASS_MESSAGE_SHOW_LONGTEXT'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              ARBGB     = PT_MESG_FAILURE-ARBGB&lt;/P&gt;&lt;P&gt;              MSGNR     = PT_MESG_FAILURE-TXTNR&lt;/P&gt;&lt;P&gt;              MSGV1     = PT_MESG_FAILURE-MSGV1&lt;/P&gt;&lt;P&gt;              MSGV2     = PT_MESG_FAILURE-MSGV2&lt;/P&gt;&lt;P&gt;              MSGV3     = PT_MESG_FAILURE-MSGV3&lt;/P&gt;&lt;P&gt;              MSGV4     = PT_MESG_FAILURE-MSGV4&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              NOT_FOUND = 1.&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;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 10:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589156#M592697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T10:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Message long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589157#M592698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your long text you need the variable &amp;amp;1, &amp;amp;2, ... up to &amp;amp;4 i think but it may go further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when done you canll the message like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message 303(test) using EKKO-EBELN EKPO-EBELP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming your long text is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"the record &amp;amp;1 psoition &amp;amp;2 doesnt exist" your output will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the record 381000131 position 00010 doesnt exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 10:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589157#M592698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Message long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589158#M592699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use PERFORM - ENDPERFORM as SAP SCRIPT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   PERFORM GET_VALUE IN PROGRAM 'YOUR PROGRAM' &lt;/P&gt;&lt;P&gt;/:   CHANGING &amp;amp;V1&amp;amp;   &lt;/P&gt;&lt;P&gt;/:   CHANGING &amp;amp;V2&amp;amp;   &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;/:   CHANGING &amp;amp;Vn&amp;amp;                     &lt;/P&gt;&lt;P&gt;/:   ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use this variable anywhere in the long text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the long text screen,&lt;/P&gt;&lt;P&gt;Goto-&amp;gt;Change editor &lt;/P&gt;&lt;P&gt;In line editor mode than insert this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 'YOUR PROGRAM'&lt;/P&gt;&lt;P&gt;FORM GET_VALUE TABLES IN_TAB  STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;                      OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB WITH KEY 'V1'.&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;OUT_TAB-VALUE = 'Your value'.&lt;/P&gt;&lt;P&gt;MODIFY OUT_TAB INDEX sy-index.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ENDFOROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Singh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amarjit Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 10:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589158#M592699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Message long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589159#M592700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot guys for your help. After trying &amp;amp; analyzing the solution I think the best way is to use a perform within the sap script. I will try and implement that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am using a function module and the error is being generated there. So can I call a function module from a sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try... Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 05:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589159#M592700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T05:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Message long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589160#M592701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note an important point:&lt;/P&gt;&lt;P&gt;Your long text should come in 'In modal dialog box'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HELP-&amp;gt;F1 help (tab)-&amp;gt; In modal dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way you can print those varible value using &lt;/P&gt;&lt;P&gt;&amp;amp;V1&amp;amp;  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;amp;V4&amp;amp;&lt;/P&gt;&lt;P&gt;This value you can pass using &lt;/P&gt;&lt;P&gt;Message  () with 'Value for V1'  'Value for V2' 'Value for V3' 'Value for V4'&lt;/P&gt;&lt;P&gt;In your message define four place holder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXX  &amp;amp; &amp;amp; &amp;amp; &amp;amp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 07:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-long-text/m-p/2589160#M592701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T07:23:02Z</dc:date>
    </item>
  </channel>
</rss>

