<?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: Doubt in Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841898#M923763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abinava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once try with this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of mara with header line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table itab where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   message  'no records found'  type 'S'.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;    loop at itab.&lt;/P&gt;&lt;P&gt;         write: itab-matnr,&lt;/P&gt;&lt;P&gt;               itab-ersda,&lt;/P&gt;&lt;P&gt;               itab-ernam.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;S.Gangireddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 09:48:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-20T09:48:51Z</dc:date>
    <item>
      <title>Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841892#M923757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing one report. In select queries if the data is not fetching I try to display error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My doubt is if the data is not fetching the error message is displayed,But our client need to display that error message in the status bar of the selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measn the selection-screen dispalys as same,but in below the error message needs to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Please can any one give me suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Thanks in Advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Siri....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 08:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841892#M923757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T08:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841893#M923758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abinava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. do like this and it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if no records found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;message 'no records found' type 'S'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. important things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) message should be of type S or I or W (and not E)&lt;/P&gt;&lt;P&gt;b) Leave list-processing is important.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 08:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841893#M923758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T08:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841894#M923759</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;Message S000(...) display like 'E'.&lt;/P&gt;&lt;P&gt;Return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will display the message as error and remain on the screen&lt;/P&gt;&lt;P&gt;This should solve the issue.&lt;/P&gt;&lt;P&gt;Shruthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shruthi R on May 20, 2008 11:13 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 08:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841894#M923759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T08:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841895#M923760</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;Its an error message that u want, you need to put the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message exxx(yyyy).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where xxx is the message number and yyyy the message class,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841895#M923760</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2008-05-20T09:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841896#M923761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey abhinav &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use message type as success and it will work perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'No Data Found' TYPE 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward If UseFul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anoop Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841896#M923761</guid>
      <dc:creator>anoop_gupta2</dc:creator>
      <dc:date>2008-05-20T09:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841897#M923762</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;if you want to display the error message in the status bar then you have to put the code in &lt;STRONG&gt;at selection screen&lt;/STRONG&gt;. otherwise you will get a pop up window .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:15:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841897#M923762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841898#M923763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abinava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once try with this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of mara with header line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table itab where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   message  'no records found'  type 'S'.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;    loop at itab.&lt;/P&gt;&lt;P&gt;         write: itab-matnr,&lt;/P&gt;&lt;P&gt;               itab-ersda,&lt;/P&gt;&lt;P&gt;               itab-ernam.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;S.Gangireddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection-screen/m-p/3841898#M923763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T09:48:51Z</dc:date>
    </item>
  </channel>
</rss>

