<?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: Table control line selection issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458930#M1415263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then there is no difference between multiple selection and single selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;till now i have not done a clear statement for single line selection , it automatically clears the previous selection and marks the new one in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of multiple then what you said is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2009 05:42:57 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-12-22T05:42:57Z</dc:date>
    <item>
      <title>Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458912#M1415245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI im facing a problem in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control with selection column ( single ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time when i select a row its is marked X in the internal table,&lt;/P&gt;&lt;P&gt;Now again when i select another row .. The old row still holds the value X and the new row is gettign marked as X.&lt;/P&gt;&lt;P&gt;The problem here is the old selection is not getting cleared in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the statement used in PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY gt_header INDEX tbl_header-current_line FROM wa_header .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the previous value is not getting cleared.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 09:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458912#M1415245</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458913#M1415246</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;Could be trivial. Just a suggestion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using TRANSPORTING clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY gt_header INDEX tbl_header-current_line FROM wa_header TRANSPORTING mark.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 09:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458913#M1415246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T09:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458914#M1415247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI KSD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;At Screen Attribute level for the Table COntrol there is a Radio Button for Line Selection
There are three options 
1) None
2) single  " select this one
3) mulitple " In this case this has been selected, just verify
 just Check Sinle Radio Button This will take care of the Automatic Clearing of the earlier selections&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&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, 21 Dec 2009 09:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458914#M1415247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458915#M1415248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Nitwick - Still the same.&lt;/P&gt;&lt;P&gt;@Ram - I have done that already&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 09:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458915#M1415248</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T09:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458916#M1415249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KSD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In PBO before transferring the Itab contents back to Screen.

module unmark.

loop at itab with control tc.

endloop.

in program.

module unmark.
loop at itab where mark = 'X'.
Clear itab-mark.
modify itab index sy-tabix.
endloop.
endmodule&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 09:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458916#M1415249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T09:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458917#M1415250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is this line&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
wa_itab-check = mark. "In the PAI where the status of selection screen field 'MARK' is populated into internal table
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;triggered everytime you change the selection column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 09:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458917#M1415250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458918#M1415251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In PBO , remove all records with mark equals to X for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at full table records and not where mark = X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in PAI , go as per your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsh Bhalla on Dec 21, 2009 3:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 10:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458918#M1415251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T10:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458919#M1415252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Ram - This is a remedy but, i need the user selection to be shown in the table control.&lt;/P&gt;&lt;P&gt;Since this cod clears the  value the selection color also dissapears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was working perfectly before, I added a button column to he table control and then removed.&lt;/P&gt;&lt;P&gt;After that this problem arised.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 10:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458919#M1415252</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458920#M1415253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Ram - This is a remedy but, i need the user selection to be shown in the table control.&lt;/P&gt;&lt;P&gt;Since this cod clears the  value the selection color also dissapears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was working perfectly before, I added a button column to he table control and then removed.&lt;/P&gt;&lt;P&gt;After that this problem arised.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 10:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458920#M1415253</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T10:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458921#M1415254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ksd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may not be the corerct way. But if you think that it doesnt take much time, then try generating the table control again and delete the old one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 11:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458921#M1415254</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-21T11:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458922#M1415255</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;Its a huge work ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what im asking is that if i select the single line  selection option it must not allow multiple.&lt;/P&gt;&lt;P&gt;But here its happening .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 11:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458922#M1415255</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458923#M1415256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KSD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;This is Strange brother
Once you selected Line Selection mode as Single radio button, how come you can select multiple (In my system its automatically deselecting the earlier row ).

when you want single selection then
 why you want the user to see the earlier line selection. " You need to make them aware of it, you know about it

Which color you want to display for the user. 
May be you need to (after selecting the Single Radio button) activate the Whole program from SE80 or individually the Screen on which the Table control is existing.
Hope this is clear to you.&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, 21 Dec 2009 11:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458923#M1415256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T11:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458924#M1415257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats what even im worried of,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till now i have not faced such problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it aloowing multiple selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you see there is no problem occuring like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we have five rows displayed in control , the line selection is working,&lt;/P&gt;&lt;P&gt;Now if a page udown is given and then when we select a row, the previous selection is not unmarked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 12:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458924#M1415257</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T12:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458925#M1415258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ksd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. You are correct. I too checked in my TC and also able to reproduce this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 12:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458925#M1415258</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-21T12:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458926#M1415259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think so the problem comes after scrolling the table control,&lt;/P&gt;&lt;P&gt;There is no function code captured when i use the vertical scroll bar in table control.&lt;/P&gt;&lt;P&gt;So that the readings(line numbers,top line etc) in the table control properties are not reflected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas.. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 12:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458926#M1415259</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458927#M1415260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ksd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more thing I found is:&lt;/P&gt;&lt;P&gt;I did so many changes previously to the table control that I mentioned above (to which iam able to reproduce the error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I created a new table control, then it is working fine even after scrolling up or down the single line selection is working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes,seems something to do with the table control attiributes/properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 12:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458927#M1415260</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-21T12:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458928#M1415261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its sorted out by clearing the selection in PAI.&lt;/P&gt;&lt;P&gt;But i know this is not the right way and i dont Know why its happening like this,&lt;/P&gt;&lt;P&gt;I'll keep this thread opened waiting for a reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 13:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458928#M1415261</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-21T13:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458929#M1415262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KSD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During PAI Loop, the screen flow logic loops only through the visible table control lines. In your case, the user has scrolled down and seeing line 30 to 40 (say for example) after selecting a line in first page view. This is very common with any table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now user is viewing 1 to 10 lines of the TC and have selected 3rd line. User then scrolls down by pressing page-down - now PAI is triggered and the internal table's 3rd line is modified with MARK='X'. User then views lines 30 to 40 and selects 33rd line. Now table control will automatically clear the MARK in 3rd line in the Table Control only. But it is the responsibility of the developer written code to clear the same in the Internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So within PAI Table Loop, you have to check the MARK which is coming from Screen to ABAP program every-time and if it is 'X', you have to clear any other line's MARK. Remeber you should not do this for multi-select. There is an attribute of the table control LINE_SEL_MODE. The above logic of clearing other lines' MARK should be implemented only after checking this attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So incidentally your solution was the appropriate one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 02:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458929#M1415262</guid>
      <dc:creator>SureshRa</dc:creator>
      <dc:date>2009-12-22T02:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458930#M1415263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then there is no difference between multiple selection and single selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;till now i have not done a clear statement for single line selection , it automatically clears the previous selection and marks the new one in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of multiple then what you said is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 05:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458930#M1415263</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-22T05:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table control line selection issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458931#M1415264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI KSD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Declare a variable in TOP include

data : first.

in PAI

module clear_mark.
loop at itab.

endloop.

in program
module clear_mark.
 IF first = 'X'.  " First time this empty hence your Mark is not cleared.
    CLEAR first.  
    LOOP AT itab WHERE mark = 'X'.
      CLEAR itab-mark. " this happens next time  and one more thing if you select another row this will not effect
      MODIFY itab INDEX sy-tabix.
    ENDLOOP.
  ENDIF.
  IF first IS INITIAL. " This happens after the PBO hence your first selected is still there with color
    first = 'X'.  " 
  ENDIF.
endmodule
" if you want the earlier selection to go only if the user selects another row 
" then you need to check for two itab-mark = 'X'. You know about this how to check when there are two itab-mark = 'X'.

accordingly you can adjust above logic.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 06:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-line-selection-issue/m-p/6458931#M1415264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T06:09:50Z</dc:date>
    </item>
  </channel>
</rss>

