<?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 flow in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918487#M1691256</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 an issue with&amp;nbsp; program flow in selection screen rapport. In my perform "get _data i have several checks after select statements . &lt;/P&gt;&lt;P&gt;At the last one ( below) when sy-subrc = 4 i have&amp;nbsp; pop up ( info ) saying that&amp;nbsp; data was not found. After change of select criteria&amp;nbsp; hiting the enter&amp;nbsp; "at select&amp;nbsp; screen" event&amp;nbsp; is trigered&amp;nbsp; and&amp;nbsp; program executes performs below&amp;nbsp; end-of selection ( jumping over start of selection ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand why&amp;nbsp; perform get data is not executed after the&amp;nbsp; message were displayed. &lt;/P&gt;&lt;P&gt;please advice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF sy-subrc = &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;SELECT&lt;/SPAN&gt; changenr udate &lt;SPAN class="L1S52"&gt;FROM&lt;/SPAN&gt; cdhdr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INTO&lt;/SPAN&gt; CORRESPONDING &lt;SPAN class="L1S52"&gt;FIELDS&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TABLE&lt;/SPAN&gt; i_change&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;ALL&lt;/SPAN&gt; ENTRIES &lt;SPAN class="L1S52"&gt;IN&lt;/SPAN&gt; i_cdpos&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;WHERE&lt;/SPAN&gt; objectid&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; i_cdpos-objectid&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;AND&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objectclas &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; i_cdpos-objectclas &lt;SPAN class="L1S52"&gt;AND&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; changenr&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; i_cdpos-changenr.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ELSE&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MESSAGE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;ID&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'/BDL/TASKMANAGER'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'I'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NUMBER&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'102'&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;CALL SELECTION-SCREEN 1000 &lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INITIALIZATION.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;clear&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; set_up_doc_type.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; set_ranges.&lt;BR /&gt;&amp;nbsp; g_repid = sy-repid.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; fld_cat &lt;SPAN class="L1S52"&gt;USING&lt;/SPAN&gt; it_fcat.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; build_eve.&amp;nbsp; &lt;SPAN class="L1S31"&gt;" hot spot detail tbl&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; built_eve1. &lt;SPAN class="L1S31"&gt;" call trx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;at&lt;/SPAN&gt; selection-&lt;SPAN class="L1S52"&gt;screen&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;perform&lt;/SPAN&gt; validate_fy.&lt;BR /&gt;&lt;BR /&gt;START-&lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt;-SELECTION.&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; get_data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt;-SELECTION.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; calculate_no_of_days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; build_layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; display_data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 08:26:27 GMT</pubDate>
    <dc:creator>k_gjergja</dc:creator>
    <dc:date>2012-07-19T08:26:27Z</dc:date>
    <item>
      <title>selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918487#M1691256</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 an issue with&amp;nbsp; program flow in selection screen rapport. In my perform "get _data i have several checks after select statements . &lt;/P&gt;&lt;P&gt;At the last one ( below) when sy-subrc = 4 i have&amp;nbsp; pop up ( info ) saying that&amp;nbsp; data was not found. After change of select criteria&amp;nbsp; hiting the enter&amp;nbsp; "at select&amp;nbsp; screen" event&amp;nbsp; is trigered&amp;nbsp; and&amp;nbsp; program executes performs below&amp;nbsp; end-of selection ( jumping over start of selection ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand why&amp;nbsp; perform get data is not executed after the&amp;nbsp; message were displayed. &lt;/P&gt;&lt;P&gt;please advice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF sy-subrc = &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;SELECT&lt;/SPAN&gt; changenr udate &lt;SPAN class="L1S52"&gt;FROM&lt;/SPAN&gt; cdhdr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INTO&lt;/SPAN&gt; CORRESPONDING &lt;SPAN class="L1S52"&gt;FIELDS&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TABLE&lt;/SPAN&gt; i_change&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;ALL&lt;/SPAN&gt; ENTRIES &lt;SPAN class="L1S52"&gt;IN&lt;/SPAN&gt; i_cdpos&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;WHERE&lt;/SPAN&gt; objectid&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; i_cdpos-objectid&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;AND&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objectclas &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; i_cdpos-objectclas &lt;SPAN class="L1S52"&gt;AND&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; changenr&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EQ&lt;/SPAN&gt; i_cdpos-changenr.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ELSE&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MESSAGE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;ID&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'/BDL/TASKMANAGER'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'I'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;NUMBER&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'102'&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;CALL SELECTION-SCREEN 1000 &lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;INITIALIZATION.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;clear&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; set_up_doc_type.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; set_ranges.&lt;BR /&gt;&amp;nbsp; g_repid = sy-repid.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; fld_cat &lt;SPAN class="L1S52"&gt;USING&lt;/SPAN&gt; it_fcat.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; build_eve.&amp;nbsp; &lt;SPAN class="L1S31"&gt;" hot spot detail tbl&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; built_eve1. &lt;SPAN class="L1S31"&gt;" call trx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;at&lt;/SPAN&gt; selection-&lt;SPAN class="L1S52"&gt;screen&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;perform&lt;/SPAN&gt; validate_fy.&lt;BR /&gt;&lt;BR /&gt;START-&lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt;-SELECTION.&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; get_data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt;-SELECTION.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; calculate_no_of_days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; build_layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; display_data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 08:26:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918487#M1691256</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2012-07-19T08:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918488#M1691257</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;When the user press enter on selection screen, the events at selection-screen &amp;amp; at selection-screen output are triggered.Statements between start-of-selection and end-of-selection are executed when user press F8 to execute the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not very sure If I have understand correctly your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 08:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918488#M1691257</guid>
      <dc:creator>laurent_fournier2</dc:creator>
      <dc:date>2012-07-19T08:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918489#M1691258</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;Instead of using the statement call selection screen 1000.&lt;/P&gt;&lt;P&gt;try using &lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; text-align: -webkit-auto; background-color: #ffffff;"&gt;LEAVE TO SCREEN 0&lt;/SPAN&gt; &amp;amp; try, let me know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918489#M1691258</guid>
      <dc:creator>SharathYaralkattimath</dc:creator>
      <dc:date>2012-07-19T09:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918490#M1691259</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;The problem comes when&amp;nbsp; after one of selectst data were not found and the error message is displayed. ( please see the firs part of the code .This query is in perform grt data ) &lt;/P&gt;&lt;P&gt;So data were not found ,&amp;nbsp; Info pop up is displayed&amp;nbsp; and user hits enter ( upon&amp;nbsp; message display) , changes data on selection screen and than flow goes on again trough at- selection screen ( which is ok ) but when start of selectio has to be executed , program jumps over it and goes directly to performs below end of selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect,&amp;nbsp; after mesage ( no data selected) was displayed and user has change entry on selection screen , that program goes to get_data perform and try to retrieve data with once more with new criteria. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918490#M1691259</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2012-07-19T09:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918491#M1691260</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;The statement leave to screen 0 exits the program. This is not what I am looking for . After eror message displays tah dat were not found , i need to get back to select screen where user will change &lt;/P&gt;&lt;P&gt;criteria hit F8 and the program executes again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918491#M1691260</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2012-07-19T09:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918492#M1691261</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;Let me propose you something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the get_data routine and add a changing parameter.&lt;/P&gt;&lt;P&gt;Mark the parameter with X if selection is succesfull or space if selection is invalid.&lt;/P&gt;&lt;P&gt;Then, check the parameters value to see if you will go on on the display of the records or issue the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call selection screen is not needed in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and let me know.&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;perform get_data changing success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN class="L1S52"&gt;&lt;SPAN class="L1S52"&gt;END&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt;-SELECTION.&lt;BR /&gt;if success = 'X'.&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; calculate_no_of_days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; build_layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;PERFORM&lt;/SPAN&gt; display_data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;else.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt; message i999(xx) with......&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918492#M1691261</guid>
      <dc:creator>laurent_fournier2</dc:creator>
      <dc:date>2012-07-19T09:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918493#M1691262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use LEAVE LIST-PROCESSING after the message and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918493#M1691262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-19T09:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918494#M1691263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918494#M1691263</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2012-07-19T09:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918495#M1691264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiiii,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just write - leave &lt;SPAN class="L0S52"&gt;to current transaction after your message.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-flow/m-p/8918495#M1691264</guid>
      <dc:creator>Aashish28</dc:creator>
      <dc:date>2012-07-19T09:43:19Z</dc:date>
    </item>
  </channel>
</rss>

