<?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 module pool, table control line selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158895#M456439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting some output in my table control as per my select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am selecting a few lines from my table control and those lines that i have selected needs to be saved in my ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know how to read those selected lines, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have defined a field called chk in the attributes as well as in the itab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select a few lines and then i check in the debugger, there is no value in the chk column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know what i am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in attributes the w/selcolumn = itab-chk is been defined by me, i hope this is correct and &lt;/P&gt;&lt;P&gt;the code is&lt;/P&gt;&lt;P&gt;When 'SAVE'.&lt;/P&gt;&lt;P&gt;Loop at itab where CHK = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;some code ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here nothing is in chk.&lt;/P&gt;&lt;P&gt;the whole column is blank after pressing save and after selecting a few lines and i am also not getting any vertical scrol bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roshan Lilaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2007 13:02:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-23T13:02:39Z</dc:date>
    <item>
      <title>module pool, table control line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158895#M456439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting some output in my table control as per my select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am selecting a few lines from my table control and those lines that i have selected needs to be saved in my ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know how to read those selected lines, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have defined a field called chk in the attributes as well as in the itab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select a few lines and then i check in the debugger, there is no value in the chk column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know what i am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in attributes the w/selcolumn = itab-chk is been defined by me, i hope this is correct and &lt;/P&gt;&lt;P&gt;the code is&lt;/P&gt;&lt;P&gt;When 'SAVE'.&lt;/P&gt;&lt;P&gt;Loop at itab where CHK = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;some code ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here nothing is in chk.&lt;/P&gt;&lt;P&gt;the whole column is blank after pressing save and after selecting a few lines and i am also not getting any vertical scrol bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roshan Lilaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158895#M456439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T13:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: module pool, table control line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158896#M456440</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;create a PAI module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop.&lt;/P&gt;&lt;P&gt;module save_TC on-input.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; in the module modiy your itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158896#M456440</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-04-23T13:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: module pool, table control line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158897#M456441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please be ellaborate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roshan Lilaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158897#M456441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T13:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: module pool, table control line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158898#M456442</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;  To get vertical scroll bar give number of lines in the table to the custom control structure lines .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg if your custom control name is w_control then in pbo give as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  describe table t_itab lines w_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  w_control-lines = w_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer to the demo program &amp;lt;b&amp;gt;demo_dynpro_tabcont_loop&amp;lt;/b&amp;gt; for scrolling .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For modification refer to the demo program &amp;lt;b&amp;gt;demo_dynpro_tabcont_loop_at&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In loop with itab. and endloop.  call a module in which you can check the check box value and You can modify the table accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158898#M456442</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2007-04-23T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: module pool, table control line selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158899#M456443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I answered you this query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well when a table control line is selected the field 'sel' turns to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the PAI of the screen include the code between LOOP ENDLOOP like this&lt;/P&gt;&lt;P&gt;FIELD sel MODULE xxxxx ON INPUT.&lt;/P&gt;&lt;P&gt;in the MODULE xxxx above write the code that you want to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field sel gets flagged with value 'X' whenever a line is selected on table control and the module above gets triggered for those lines that you have selected on the table control.&lt;/P&gt;&lt;P&gt;This will surely help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 05:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control-line-selection/m-p/2158899#M456443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T05:50:39Z</dc:date>
    </item>
  </channel>
</rss>

