<?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 rows selection in table control without mark disappearing after inputing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367693#M1732812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I have a question about Table Control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Firstly, the screen of my ABAP program contains a text field and a table control. When I input something contents into the text field as search condition to get data from database, the table control will display the corresponding data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I have succeeded in data displaying in table control. The second step is to select rows in table control without selection mark disappearing after doing some kind of actions like pushing ‘enter’ key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Followed is part of my coding.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Tables: sflight. ”table control field name in screen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Data g_select type c. “mark name in table control&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;In PBO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module select_data_from_db. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;LOOP AT&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;WITH CONTROL &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;TB_CL01&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp; MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;move_to_ sflight&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;In PAI:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;LOOP AT &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp; MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;modify_i&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;nternaltable&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module move_to_sflight is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mark&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sflight&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module modify_i&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;nternaltable is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mark &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;modify &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;from &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;index &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;tb_cl01&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;current_line&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;The problem is “Module select_data_from_db” will refresh the it_xxx and make the mark ‘X’ clear. So marked selected rows will be unselected after inputing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I tried to move “Module select_data_from_db” into PAI and settle this problem, but someone told me it is better to put “Module select_data_from_db” in the PBO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I am just wondering a solution or some standard samples if existed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Thank you guys. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 03:48:50 GMT</pubDate>
    <dc:creator>raffinkira</dc:creator>
    <dc:date>2013-04-23T03:48:50Z</dc:date>
    <item>
      <title>rows selection in table control without mark disappearing after inputing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367693#M1732812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I have a question about Table Control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Firstly, the screen of my ABAP program contains a text field and a table control. When I input something contents into the text field as search condition to get data from database, the table control will display the corresponding data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I have succeeded in data displaying in table control. The second step is to select rows in table control without selection mark disappearing after doing some kind of actions like pushing ‘enter’ key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Followed is part of my coding.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Tables: sflight. ”table control field name in screen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Data g_select type c. “mark name in table control&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;In PBO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module select_data_from_db. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;LOOP AT&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;WITH CONTROL &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;TB_CL01&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp; MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;move_to_ sflight&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;In PAI:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;LOOP AT &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp; MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;modify_i&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;nternaltable&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module move_to_sflight is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mark&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sflight&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module modify_i&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;nternaltable is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mark &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;modify &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;from &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;index &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;tb_cl01&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;current_line&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;The problem is “Module select_data_from_db” will refresh the it_xxx and make the mark ‘X’ clear. So marked selected rows will be unselected after inputing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I tried to move “Module select_data_from_db” into PAI and settle this problem, but someone told me it is better to put “Module select_data_from_db” in the PBO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I am just wondering a solution or some standard samples if existed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Thank you guys. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 03:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367693#M1732812</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2013-04-23T03:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: rows selection in table control without mark disappearing after inputing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367694#M1732813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ming , just take your select indicator with in internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;likes this , hope it will solve ur problem,...if not then let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Tables: sflight. ”table control field name in screen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty_xxx,&lt;/P&gt;&lt;P&gt;types : include structure sflight.&lt;/P&gt;&lt;P&gt;types : &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select type c. “mark name in table control&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;type : end of ty_xxx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;data : it_xxx type standard table of ty_xxx initial size 0 with header line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;or you can take it separately as work ares. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;*********************&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;In PBO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module select_data_from_db. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;LOOP AT&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;WITH CONTROL &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;TB_CL01&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp; MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;move_to_ sflight&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; &lt;SPAN style="font-size: 10.0pt;"&gt;In PAI:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;LOOP AT &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp; MODULE &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;modify_i&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;nternaltable&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module move_to_sflight is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mark&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sflight&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Module modify_i&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;nternaltable is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mark &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;modify &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_xxx &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;from &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa_xxx &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;index &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;tb_cl01&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;current_line&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 05:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367694#M1732813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-23T05:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: rows selection in table control without mark disappearing after inputing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367695#M1732814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what have you changed?&lt;/P&gt;&lt;P&gt;I know the definition between &lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;************************&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 05:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367695#M1732814</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2013-04-23T05:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: rows selection in table control without mark disappearing after inputing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367696#M1732815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;Try writing the code in events.find some examples in links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;In se11 Display table.&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;Go to Utilities ---&amp;gt; Table maintenence Generator&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;Then Environment ---&amp;gt; Modification ----&amp;gt;Events--&amp;gt;click on new entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;Press F4 and select appropriate event when u want changes to be triggered and create Include&amp;nbsp; and write code in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;check&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;&lt;A class="jive-link-external-small" href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc?QuickLink=index&amp;amp;overridelayout=true&amp;amp;5003637740780" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc?QuickLink=index&amp;amp;overridelayout=true&amp;amp;5003637740780&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;&lt;A class="jive-link-external-small" href="http://saptechnical.com/Tutorials/ABAP/TableMaintenance/events.htm" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;http://****************/Tutorials/ABAP/TableMaintenance/events.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 06:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367696#M1732815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-23T06:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: rows selection in table control without mark disappearing after inputing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367697#M1732816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have specified the def. of internal table then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to screen painter &lt;/P&gt;&lt;P&gt;double click on table control&lt;/P&gt;&lt;P&gt;it will open attribute of table control&lt;/P&gt;&lt;P&gt;in attribute there should we a tick on "w/selcolum" and&amp;nbsp; in the input field write " it_xxx-&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;g_select"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 07:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367697#M1732816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-23T07:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: rows selection in table control without mark disappearing after inputing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367698#M1732817</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 given solutions are not working. try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;In PAI pass it_xxx into another table it_xxx_temp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Now when it comes to PBO, you compare both it_xxx and it_xxx_temp and update the mark field in it_xxx based on it_xxx_dummy table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Swarna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 10:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rows-selection-in-table-control-without-mark-disappearing-after-inputing/m-p/9367698#M1732817</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2013-04-23T10:47:15Z</dc:date>
    </item>
  </channel>
</rss>

