<?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: Selection in table control - Help needed. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427711#M1550066</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 buttom for the selection is assigned to an input field and its value is equal to X if it's selected else it's blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field can be alone or belong to the internal table with the record displayed in table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't an event, just only to check the value of the field above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT ITAB WHERE MARK = 'X'.
   EXIT.
ENDLOOP.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  MESSAGE I208(00) WITH 'Select at least onr row'.
ELSE.
   -------&amp;gt; abap code to go to next screen
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: max bianchi on Nov 6, 2010 6:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Nov 2010 17:37:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-06T17:37:01Z</dc:date>
    <item>
      <title>Selection in table control - Help needed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427709#M1550064</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 need to know hoe=w to catch the event of selecting a row in a table control using the selection button which comes at the beginning of every row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 17:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427709#M1550064</guid>
      <dc:creator>former_member191562</dc:creator>
      <dc:date>2010-11-06T17:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in table control - Help needed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427710#M1550065</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 need to know how to catch the event of selecting a row in a table control using the selection button which comes at the beginning of every row. &lt;/P&gt;&lt;P&gt;   My requirement is like, I have atable control inside my first tab. I can allow the user to traverse to the second tab only after selecting a line. If not we have to display a message asking him to select a line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 17:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427710#M1550065</guid>
      <dc:creator>former_member191562</dc:creator>
      <dc:date>2010-11-06T17:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in table control - Help needed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427711#M1550066</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 buttom for the selection is assigned to an input field and its value is equal to X if it's selected else it's blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field can be alone or belong to the internal table with the record displayed in table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't an event, just only to check the value of the field above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT ITAB WHERE MARK = 'X'.
   EXIT.
ENDLOOP.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  MESSAGE I208(00) WITH 'Select at least onr row'.
ELSE.
   -------&amp;gt; abap code to go to next screen
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: max bianchi on Nov 6, 2010 6:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 17:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427711#M1550066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-06T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in table control - Help needed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427712#M1550067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the value of that variable for select all and deselect all push button functions,&lt;/P&gt;&lt;P&gt;Those are working fine. All I wanna know is if I select a row using that button, a message should be displayed. Where should I write the code that message display.. &lt;/P&gt;&lt;P&gt; I tried writing in PAI. But PAI is not triggered if that selection button alone is clicked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 17:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427712#M1550067</guid>
      <dc:creator>former_member191562</dc:creator>
      <dc:date>2010-11-06T17:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in table control - Help needed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427713#M1550068</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 field for selection is a normal input/output field, so it can't trigger the PAI because the pushbutton or the menu function can triggered it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the message can be shown after user presses enter or an other ffunctionality&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 18:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427713#M1550068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-06T18:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in table control - Help needed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427714#M1550069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Max.. My problem is almost solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 18:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-in-table-control-help-needed/m-p/7427714#M1550069</guid>
      <dc:creator>former_member191562</dc:creator>
      <dc:date>2010-11-06T18:45:57Z</dc:date>
    </item>
  </channel>
</rss>

