<?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: Row selection without user action in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599898#M1437169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume, you are picking lines from TC1 by using check-boxes. Go to screen painter, double-click on the check-box field, and enter a value in the FctCode field in the opening window (Screen-painter: Attributes window). This will trigger the module TC1_ITEMS_modify, where you can do the necessary coding to highligt lines of TC2. Hope it helpds, good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2010 08:26:03 GMT</pubDate>
    <dc:creator>former_member848108</dc:creator>
    <dc:date>2010-02-15T08:26:03Z</dc:date>
    <item>
      <title>Row selection without user action in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599897#M1437168</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;&lt;/P&gt;&lt;P&gt;I have two table controls TC1 and TC2. When I select row in TC1 , i need to display records in TC2 without any user action. I know this is not possible. So, I have added push button in TC1 and user press that button automaticaaly data is displaying .. but problem is .. i have to select that row in TC1  and press another push button to perform another action. In that case i need to select records high light  similar to the standard selection..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me if any thing we can do for highlighting the records...&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;reddyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 07:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599897#M1437168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T07:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Row selection without user action in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599898#M1437169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume, you are picking lines from TC1 by using check-boxes. Go to screen painter, double-click on the check-box field, and enter a value in the FctCode field in the opening window (Screen-painter: Attributes window). This will trigger the module TC1_ITEMS_modify, where you can do the necessary coding to highligt lines of TC2. Hope it helpds, good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 08:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599898#M1437169</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-02-15T08:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Row selection without user action in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599899#M1437170</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;For a table control there is a standard property called check or mark in its properties check that. And in the program declare a variable with same name and type C. this will serve as check box . from this we can track which row has been selected.&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;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 10:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599899#M1437170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T10:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Row selection without user action in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599900#M1437171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of The default selection column in table control,&lt;/P&gt;&lt;P&gt;try filling a column with button and then select the row so that the events gets triggered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 10:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599900#M1437171</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-15T10:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Row selection without user action in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599901#M1437172</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;Check this Thread also, Dont worry he didn't identiy the Correct one but this works fine.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1590964"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In Screen Painter select mulitple line selection.
" Just incase you are selecting the data in PBO then restrict it to once only so that data updated in Itab wont get refreshed.
" If your purpose is already served Close this Thread
In TOP include
 
DATA : BEGIN OF itab OCCURS 0, " 
       mark.
        INCLUDE STRUCTURE sflight.
DATA END OF itab.
 
In PBO.
module highlight.
loop at itab with control tc.
module show.
endloop.
 
in program.
module show.
loop at screen.
if itab-mark = 'X'.
modify screen.
endif.
endloop.
endmodule.
 
module highlight.
case ok_code.
when 'SEL'.
LOOP AT ITAB.
ITAB-MARK = 'X'.
MODIFY ITAB INDEX SY-TABIX. " This is a tested code in my system
ENDLOOP.
    WHEN 'DES'.
      LOOP AT itab.
        CLEAR  itab-mark.
        MODIFY itab INDEX sy-tabix.
      ENDLOOP.
endcase.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 10:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599901#M1437172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T10:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Row selection without user action in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599902#M1437173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi get the current cursor line in PAI and modify the line in internal table in PAI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 11:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-selection-without-user-action-in-table-control/m-p/6599902#M1437173</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-15T11:02:21Z</dc:date>
    </item>
  </channel>
</rss>

