<?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: Displaying selected record from table control in subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220723#M476800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;LOOP AT itab WHERE sel_rec = 'X'.&lt;/P&gt;&lt;P&gt;MOVE: itab-field1 to subsc-field1,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;If you have line selection set to one, you could also use READ TABLE itab WITH KEY sel_rec = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sudha Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2007 08:06:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-23T08:06:46Z</dc:date>
    <item>
      <title>Displaying selected record from table control in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220722#M476799</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;  Im displaying set of records using tablecontrol. In that, if the user selects single record and click on display button it should be displayed in Subscreen.&lt;/P&gt;&lt;P&gt;How should i get the specific selected record details. Can anyone help me regarding this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the table control attribute Line_sel as Single and also given the name for that column as &amp;lt;b&amp;gt;sel_rec&amp;lt;/b&amp;gt; in the attribute w/selColumn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 08:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220722#M476799</guid>
      <dc:creator>former_member671224</dc:creator>
      <dc:date>2007-04-23T08:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying selected record from table control in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220723#M476800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;LOOP AT itab WHERE sel_rec = 'X'.&lt;/P&gt;&lt;P&gt;MOVE: itab-field1 to subsc-field1,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;If you have line selection set to one, you could also use READ TABLE itab WITH KEY sel_rec = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sudha Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 08:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220723#M476800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T08:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying selected record from table control in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220724#M476801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, Should i delcare the SEL_REC filed in internal table structure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 08:10:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220724#M476801</guid>
      <dc:creator>former_member671224</dc:creator>
      <dc:date>2007-04-23T08:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying selected record from table control in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220725#M476802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to declare the same in the internal table structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 08:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-selected-record-from-table-control-in-subscreen/m-p/2220725#M476802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T08:16:00Z</dc:date>
    </item>
  </channel>
</rss>

