<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557054#M252176</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;This particular code does not loop correctly. i have 45 records in my table control. but the loop is only for 14 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP WITH CONTROL tab_control.&lt;/P&gt;&lt;P&gt;MODULE move_data_from_table.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send your suggestions,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2006 06:06:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-04T06:06:56Z</dc:date>
    <item>
      <title>Table control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557052#M252174</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 more than 100 records in my table control output. i can scroll down to view all records.  If i modify the records in the output using a modify button, the records which are in display initially are only present. if i scroll down the records below are lost. Can any one help me to solve this problem.&lt;/P&gt;&lt;P&gt;(iam able to view 14 records initially and can scroll down to view further, but after modify, other than the 14 records all records are lost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 05:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557052#M252174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T05:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557053#M252175</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;u just debug ur program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can see, after modification the new record are not filled in the table control internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly chk this sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE status_9010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP WITH CONTROL tab_control.&lt;/P&gt;&lt;P&gt;MODULE move_data_to_table.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP WITH CONTROL tab_control.&lt;/P&gt;&lt;P&gt;MODULE move_data_from_table.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Module move_data_to_table OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This is to move the data from the internal table to the table control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE move_data_to_table OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This is to move the data from the internal table to the table control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;zmpets_mode-modecode,zmpets_range-&lt;/STRONG&gt;rangeid,zmpets_servfacto-factor are column name of table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE int_factor INDEX tab_control-current_line.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;zmpets_mode-modecode = int_factor-modecode.&lt;/P&gt;&lt;P&gt;zmpets_range-rangeid = int_factor-rangeid.&lt;/P&gt;&lt;P&gt;zmpets_servfacto-factor = int_factor-factor.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " move_data_to_table OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Module move_data_from_table INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Date is moved from the table control to the Internal Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE move_data_from_table INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To move the data from the table control to internal table 'INT_FACTOR'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int_factor-modecode = zmpets_mode-modecode.&lt;/P&gt;&lt;P&gt;int_factor-rangeid = zmpets_range-rangeid.&lt;/P&gt;&lt;P&gt;int_factor-factor = zmpets_servfacto-factor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*here if the data is there, it will modify&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY int_factor INDEX tab_control-current_line.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IF sy-subrc NE 0. "data not exixting in table control . ie new data, then append it&lt;/P&gt;&lt;P&gt;APPEND int_factor.&lt;/P&gt;&lt;P&gt;CLEAR int_factor.&lt;/P&gt;&lt;P&gt;ENDIF&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " move_data_from_table INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for any clarifiaction pls mail me.&lt;/P&gt;&lt;P&gt;pls reward points, if this helped u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anversha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 05:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557053#M252175</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-04T05:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557054#M252176</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;This particular code does not loop correctly. i have 45 records in my table control. but the loop is only for 14 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP WITH CONTROL tab_control.&lt;/P&gt;&lt;P&gt;MODULE move_data_from_table.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send your suggestions,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 06:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557054#M252176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T06:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557055#M252177</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;do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE status_9010.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_9010  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_9010 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STD_BAR'.&lt;/P&gt;&lt;P&gt;  SET TITLEBAR 'TITLE_CREATE'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  CLEAR wf_lines.&lt;/P&gt;&lt;P&gt;*number of lines of table control&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE int_factor LINES wf_lines.&lt;/P&gt;&lt;P&gt;  tab_control-lines = wf_lines + 1.&lt;/P&gt;&lt;P&gt;  &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_9010  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 06:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557055#M252177</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-04T06:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557056#M252178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot anver.&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 06:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-problem/m-p/1557056#M252178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T06:35:49Z</dc:date>
    </item>
  </channel>
</rss>

