<?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 long text for error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425509#M204026</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;it's possible up to a defined string length with a message like 001 of msg-class 00 (look trx se91)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; fill the variables (&amp;amp;1&amp;amp;2&amp;amp;3&amp;amp;4&amp;amp;5&amp;amp;6&amp;amp;7&amp;amp;8) with your values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; concatenate mfield ',' itab-val into mfield.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message i001(00) with 'blabla..' mfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2006 11:15:25 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2006-07-11T11:15:25Z</dc:date>
    <item>
      <title>Dynamic long text for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425508#M204025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we create error message long text dynamically. Suppose the error message is 'no valid entry for plant 1000'. I want to display all valid values in long text of message. These values can be read in program from Ztable based on plant value. Any help will be  appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 11:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425508#M204025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic long text for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425509#M204026</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;it's possible up to a defined string length with a message like 001 of msg-class 00 (look trx se91)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; fill the variables (&amp;amp;1&amp;amp;2&amp;amp;3&amp;amp;4&amp;amp;5&amp;amp;6&amp;amp;7&amp;amp;8) with your values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; concatenate mfield ',' itab-val into mfield.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message i001(00) with 'blabla..' mfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 11:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425509#M204026</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-07-11T11:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic long text for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425510#M204027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a guess... Go to the message class assigned to your message... Select the message number and then select long text... The long text screen is similar to the script editor... Try writing some code here... The system variables sy-msg1..4 will be avaliable in this editor. You can set these variables to the plant data i.e. 1000, and then use them to retrieve the list of valid values from the Z-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 11:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425510#M204027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T11:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic long text for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425511#M204028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) YOu can use the function module SAVE_TEXT or CREATE_TEXT to create long texts.&lt;/P&gt;&lt;P&gt;But as an alternative, you can give a F4 help for the valid values that can be selected for a particular plant.&lt;/P&gt;&lt;P&gt;You can use pop&lt;STRONG&gt;up&lt;/STRONG&gt;with&lt;STRONG&gt;table&lt;/STRONG&gt;display* function module to diplay a list of values ,from which the user can select one valid value.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 11:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425511#M204028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic long text for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425512#M204029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can display it as POPUP, use function module POPUP_TO_INFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 11:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425512#M204029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T11:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic long text for error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425513#M204030</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;Use the FM :'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  POPUP_WITH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;pi_table    text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;p_endcol    text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;p_endrow    text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;p_srtcol    text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;p_srtrow    text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;p_titletext text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_WS_CHOISE text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_WS_RTCODE text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form popup_table_display&lt;/P&gt;&lt;P&gt;           tables   pi_table structure st_popupstrct&lt;/P&gt;&lt;P&gt;           using    value(p_endcol)&lt;/P&gt;&lt;P&gt;                    value(p_endrow)&lt;/P&gt;&lt;P&gt;                    value(p_srtcol)&lt;/P&gt;&lt;P&gt;                    value(p_srtrow)&lt;/P&gt;&lt;P&gt;                    value(p_titletext)&lt;/P&gt;&lt;P&gt;           changing p_choise&lt;/P&gt;&lt;P&gt;                    p_rtcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear: p_choise ,&lt;/P&gt;&lt;P&gt;         p_rtcode .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check not pi_table[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      endpos_col   = p_endcol&lt;/P&gt;&lt;P&gt;      endpos_row   = p_endrow&lt;/P&gt;&lt;P&gt;      startpos_col = p_srtcol&lt;/P&gt;&lt;P&gt;      startpos_row = p_srtrow&lt;/P&gt;&lt;P&gt;      titletext    = p_titletext&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      choise       = p_choise&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      valuetab     = pi_table&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      break_off    = 1&lt;/P&gt;&lt;P&gt;      others       = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Move sy-subrc as return code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  p_rtcode = sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " POPUP_WITH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform popup_table_display tables   x_data&lt;/P&gt;&lt;P&gt;                              using   '100'&lt;/P&gt;&lt;P&gt;                                      '10'&lt;/P&gt;&lt;P&gt;                                      '01'&lt;/P&gt;&lt;P&gt;                                      '01'&lt;/P&gt;&lt;P&gt;                                      'Values'&lt;/P&gt;&lt;P&gt;                              changing x_choise&lt;/P&gt;&lt;P&gt;                                       x_rtcode.&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>Tue, 11 Jul 2006 11:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-long-text-for-error-message/m-p/1425513#M204030</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-07-11T11:27:11Z</dc:date>
    </item>
  </channel>
</rss>

