<?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 Table control row selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863483#M364296</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;I have the problem writing code for the following logic.&lt;/P&gt;&lt;P&gt;I populated the internal table data into the table control in the second screen but &lt;/P&gt;&lt;P&gt;i dont want to populate the 3rd screen without selecting the row of table control.&lt;/P&gt;&lt;P&gt;but the same logic is taking for the 3rd screen without selecting the row of table control for user-defined buttons.&lt;/P&gt;&lt;P&gt;i tried to put the warning message but its still going to 3rd screen .&lt;/P&gt;&lt;P&gt;how can i stop processing further if user don't select any row in table control?&lt;/P&gt;&lt;P&gt;i would like to give an error and stay in the same screen so that he has to select a row in table control for further processing...&lt;/P&gt;&lt;P&gt;Please help me ASAP.&lt;/P&gt;&lt;P&gt;Thanks,,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2007 22:01:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-09T22:01:16Z</dc:date>
    <item>
      <title>Table control row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863483#M364296</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;I have the problem writing code for the following logic.&lt;/P&gt;&lt;P&gt;I populated the internal table data into the table control in the second screen but &lt;/P&gt;&lt;P&gt;i dont want to populate the 3rd screen without selecting the row of table control.&lt;/P&gt;&lt;P&gt;but the same logic is taking for the 3rd screen without selecting the row of table control for user-defined buttons.&lt;/P&gt;&lt;P&gt;i tried to put the warning message but its still going to 3rd screen .&lt;/P&gt;&lt;P&gt;how can i stop processing further if user don't select any row in table control?&lt;/P&gt;&lt;P&gt;i would like to give an error and stay in the same screen so that he has to select a row in table control for further processing...&lt;/P&gt;&lt;P&gt;Please help me ASAP.&lt;/P&gt;&lt;P&gt;Thanks,,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 22:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863483#M364296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T22:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table control row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863484#M364297</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 the user didn't select any thing..Just say leave screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN 'REQUEST FOR THIRD SCREEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ASSUMING SELECTED IS THE COLUMN FOR THE TABLE CONTROL SELECTION ROW&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SELECTION.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     READ TABLE ITAB_TC WITH KEY SELECTED = 'X'.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;     IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;       MESSAGE S208(00) WITH 'SELECT ATLEAST ONE ROW'.&lt;/P&gt;&lt;P&gt;       LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;     ELSE.&lt;/P&gt;&lt;P&gt;       CALL SCREEN '0300'.&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;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 22:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863484#M364297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T22:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table control row selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863485#M364298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren,&lt;/P&gt;&lt;P&gt;appreciate ur help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 15:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-row-selection/m-p/1863485#M364298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T15:09:22Z</dc:date>
    </item>
  </channel>
</rss>

