<?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 selection-screen event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296431#M156972</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;1. I an using a BAPI in the start-of-selection event .&lt;/P&gt;&lt;P&gt;2. For this BAPI we have a return parameter .&lt;/P&gt;&lt;P&gt;3. If i get a return parameter other than SUCCESS message type I have to display an error message on the selection-screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The requirement was I need to show this BAPI as an selection-screen event it seeems.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;            is it posible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2006 05:02:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-08T05:02:30Z</dc:date>
    <item>
      <title>selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296431#M156972</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;1. I an using a BAPI in the start-of-selection event .&lt;/P&gt;&lt;P&gt;2. For this BAPI we have a return parameter .&lt;/P&gt;&lt;P&gt;3. If i get a return parameter other than SUCCESS message type I have to display an error message on the selection-screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The requirement was I need to show this BAPI as an selection-screen event it seeems.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;            is it posible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296431#M156972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296432#M156973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's possible. Just code it there. SHow the first entry of return as an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you'll have to be careful. You probably don't want to always run the bapi but control it by the pfkey used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296432#M156973</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-06-08T05:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296433#M156974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Yes, its possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. We have to use just one statement extra.&lt;/P&gt;&lt;P&gt;   LEAVE LIST-processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. like this.&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;HR originaltext="----" /&gt;&lt;P&gt; CALL BAPI&lt;/P&gt;&lt;P&gt;   IF SY-SUBRC &amp;lt;&amp;gt; 0 "-----ERROR&lt;/P&gt;&lt;P&gt;   MESSAGE.......&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;    LEAVE LIST-PROCESSING.&amp;lt;/b&amp;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;&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>Thu, 08 Jun 2006 05:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296433#M156974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296434#M156975</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; i have coded like this --&amp;gt;&lt;/P&gt;&lt;P&gt;**********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_price_details .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call bapi to get the price details&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION '/BSHS/SOM_OPEC_SIMULATE_ORDER' DESTINATION p_rfcdes&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      import_fixdata       = i_fixdata              "customer&lt;/P&gt;&lt;P&gt;      import_header        = i_header&lt;/P&gt;&lt;P&gt;      import_man_adress    = i_man_adress&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return               = e_bapi_return&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      import_items         = x_import_items         "material&lt;/P&gt;&lt;P&gt;      export_atpquantities = x_export_atpquantities&lt;/P&gt;&lt;P&gt;      export_pricecondit   = x_export_pricecondit&lt;/P&gt;&lt;P&gt;      import_atpplants     = x_import_atpplants&lt;/P&gt;&lt;P&gt;      import_partners      = x_import_partners      "customer type&lt;/P&gt;&lt;P&gt;      export_partners      = x_export_partners&lt;/P&gt;&lt;P&gt;      import_pricecondit   = x_import_pricecondit   "price cond&lt;/P&gt;&lt;P&gt;      export_items         = x_export_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To give a message to the user if the BAPI fails to &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fetch the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF e_bapi_return-type NE 'S' and&lt;/P&gt;&lt;P&gt;     e_bapi_return-type eq space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE e000(/bshm/ap_msg) DISPLAY LIKE 'S'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                          WITH e_bapi_return-message.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE e000(/bshm/ap_msg)&lt;/P&gt;&lt;P&gt;                           WITH e_bapi_return-message.&lt;/P&gt;&lt;P&gt;    STOP.&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;if i code like this it is displaying the message on the blank screen instead of the selection-screen&lt;/P&gt;&lt;P&gt;what would be the reason ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296434#M156975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296435#M156976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the message type which you are using is e, try using i.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296435#M156976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296436#M156977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello amit ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the message was displaying in the status bar itself .&lt;/P&gt;&lt;P&gt;but on the blank-selection-screen instead of the selection-screen filled with selection-parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think leave list-processing is used to leave a list.&lt;/P&gt;&lt;P&gt;but here i don't have a list .&lt;/P&gt;&lt;P&gt;it is an ALV program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296436#M156977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296437#M156978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello kishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i am supposed to use only type 'E'.not others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296437#M156978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296438#M156979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Whether ALV list or normal list using write statement,&lt;/P&gt;&lt;P&gt;   we have to use&lt;/P&gt;&lt;P&gt;   LEAVE LIST-PROCESSING&lt;/P&gt;&lt;P&gt;  (This statement cancels further processsing,&lt;/P&gt;&lt;P&gt;   and returns back to selection screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To get a taste of it, &lt;/P&gt;&lt;P&gt;  just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (on screen, enter 'X'&lt;/P&gt;&lt;P&gt;    so that it goes further,&lt;/P&gt;&lt;P&gt;   IF left blank,&lt;/P&gt;&lt;P&gt;   it will give MESSAGE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : a type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  if A &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt;    message 'wrong entry'  type 'I'.&lt;/P&gt;&lt;P&gt;    leave list-processing.&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;  write : 'successs'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296438#M156979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296439#M156980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; as per ur suggestion i coded like this . check out --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_price_details .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call bapi to get the price details&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION '/BSHS/SOM_OPEC_SIMULATE_ORDER' DESTINATION p_rfcdes&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      import_fixdata       = i_fixdata              "customer&lt;/P&gt;&lt;P&gt;      import_header        = i_header&lt;/P&gt;&lt;P&gt;      import_man_adress    = i_man_adress&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return               = e_bapi_return&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      import_items         = x_import_items         "material&lt;/P&gt;&lt;P&gt;      export_atpquantities = x_export_atpquantities&lt;/P&gt;&lt;P&gt;      export_pricecondit   = x_export_pricecondit&lt;/P&gt;&lt;P&gt;      import_atpplants     = x_import_atpplants&lt;/P&gt;&lt;P&gt;      import_partners      = x_import_partners      "customer type&lt;/P&gt;&lt;P&gt;      export_partners      = x_export_partners&lt;/P&gt;&lt;P&gt;      import_pricecondit   = x_import_pricecondit   "price cond&lt;/P&gt;&lt;P&gt;      export_items         = x_export_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To give a message to the user if the BAPI fails to fetch the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF e_bapi_return-type NE 'S' and&lt;/P&gt;&lt;P&gt;     e_bapi_return-type eq space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE e000(/bshm/ap_msg) DISPLAY LIKE 'S'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                          WITH e_bapi_return-message.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE e000(/bshm/ap_msg)&lt;/P&gt;&lt;P&gt;                           WITH e_bapi_return-message.&lt;/P&gt;&lt;P&gt;    STOP.&lt;/P&gt;&lt;P&gt;    leave list-processing.&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;  but still the problem persists ./..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   what to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 05:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296439#M156980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T05:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296440#M156981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Just make this small changes,&lt;/P&gt;&lt;P&gt;   indicated in bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; (the message type should be S , I ,W&lt;/P&gt;&lt;P&gt;   But NEVER 'E' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (Remove STOP )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MESSAGE I000(/bshm/ap_msg)&amp;lt;/b&amp;gt; "--- Note I (not E)&lt;/P&gt;&lt;P&gt;WITH e_bapi_return-message.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* STOP. "-----Comment this line&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;leave list-processing.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 10:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296440#M156981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296441#M156982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use something like this to display the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read the return table for the error type 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID 'Message_Class'&lt;/P&gt;&lt;P&gt;            TYPE 'S'&lt;/P&gt;&lt;P&gt;            NUMBER '021'&lt;/P&gt;&lt;P&gt;            DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps you.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 10:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296441#M156982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T10:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296442#M156983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;I'm a bit confused by what you say&lt;/P&gt;&lt;P&gt;"the message was displaying in the status bar itself .&lt;/P&gt;&lt;P&gt;but on the blank-selection-screen instead of the selection-screen filled with selection-parameters."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you mean that NO selection screen is shown. But a blank sap screen with the message on the bottom status line. This is standard behaviour for an E message issued from the start-of-selection event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Change your message to an 'S' (this will make it appear on the next screen shown).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Instead of the STOP, do this.&lt;/P&gt;&lt;P&gt;data w_seltab type table of rsparams.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get the selection-screen values as entered by the user&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    curr_report           = sy-repid&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SP                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    selection_table       = w_seltab&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NOT_FOUND             = 1&lt;/P&gt;&lt;P&gt;   NO_REPORT             = 2&lt;/P&gt;&lt;P&gt;   OTHERS                = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this submits the current abap, shows the sel screen &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;with the values entered by the user&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;submit (sy-repid) via selection-screen &lt;/P&gt;&lt;P&gt;WITH SELECTION-TABLE w_seltab .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 23:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event/m-p/1296442#M156983</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-06-08T23:17:09Z</dc:date>
    </item>
  </channel>
</rss>

