<?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 throwing error msg in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899801#M935825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to throw one error message in selection screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message is of more than 1000 chars.   and i want to show these 1000 chars in  a pop up window and when i press 'TICK' mark, &lt;STRONG&gt;it should stay only in the selection screen&lt;/STRONG&gt; . It should not go to the output screen and it should not leave the transaction either..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in this by providing the coding for this..&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;Shanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2008 05:17:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-27T05:17:31Z</dc:date>
    <item>
      <title>throwing error msg in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899801#M935825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to throw one error message in selection screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message is of more than 1000 chars.   and i want to show these 1000 chars in  a pop up window and when i press 'TICK' mark, &lt;STRONG&gt;it should stay only in the selection screen&lt;/STRONG&gt; . It should not go to the output screen and it should not leave the transaction either..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in this by providing the coding for this..&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;Shanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 05:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899801#M935825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T05:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: throwing error msg in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899802#M935826</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;For this u need to create a Dialog modal type screen in SE51.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The In the PAI event pass the relevant message when it is triggerred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under At selection-screeen Event  of ur main program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call screen &amp;lt;Dialog modal screen number&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U will get the dialog screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 05:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899802#M935826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T05:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: throwing error msg in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899803#M935827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not straightaway write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'YOUR MESSAGE' TYPE E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iw will not go to the output screen and not leave the transaction as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 05:31:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899803#M935827</guid>
      <dc:creator>rahul2000</dc:creator>
      <dc:date>2008-05-27T05:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: throwing error msg in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899804#M935828</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;you can do the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters      p_tick as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_tick eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              titel = 'Title'&lt;/P&gt;&lt;P&gt;              txt1  = 'Long text line 1'&lt;/P&gt;&lt;P&gt;              txt2  = 'Long text line 2'&lt;/P&gt;&lt;P&gt;              txt3  = 'Long text line 3'&lt;/P&gt;&lt;P&gt;              txt4  = 'Long text line 4'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points, if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 05:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899804#M935828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: throwing error msg in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899805#M935829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at the place to display the message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen (Pop up screen number)&lt;/P&gt;&lt;P&gt;diplays the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the pai module...&lt;/P&gt;&lt;P&gt;at the user command of the popup screen &lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt; when '(ok_code)'.&lt;/P&gt;&lt;P&gt;  clear ok_code.&lt;/P&gt;&lt;P&gt;  leave to screen 0.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 05:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899805#M935829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T05:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: throwing error msg in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899806#M935830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shanthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your requirement is fulfilled by standard SAP message processing. Through message maintenance (TCode SE91), you define a message with a long text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us say the message class is ZSHANTHI and the message number is 025. Besides the message short text you defined say 'Something wrong with &amp;amp;. Refer Long Text', un-check the checkk-box 'Self Explanatory', choose this message number and click on 'Long Text' button on the application toolbar. You will get long text editor and you can compose your 1000 lines or even 1000 pages story there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now let us see what you need to do in the report program. Your requirement is 'Issue the error message. When user hits Tick, display long text in a modal window and later stay in the same selection screen'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just issue this message in AT SELECTION-SCREEN event as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e025(ZSHANTHI) WITH 'requirement'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message will display on the status bar and when user hits the message X button, the long text with your story will appear in a modal box and still selection screen stays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your client is adamant in having only 'Tick' mark (this sucks me), you can add DISPLAY LIKE 'S' addition to the above message statement. But this addition works only 4.7 upwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to  issue this error message in list processing events like START-OF-SELECTION, then, you need to issue the following statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE s025(ZSHANTHI) WITH 'still weird requirement'.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;Note the message type 'S' above.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh Radhakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2008 01:58:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/throwing-error-msg-in-selection-screen/m-p/3899806#M935830</guid>
      <dc:creator>SureshRa</dc:creator>
      <dc:date>2008-06-01T01:58:24Z</dc:date>
    </item>
  </channel>
</rss>

