<?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 Table control processing only visible entries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-processing-only-visible-entries/m-p/3239652#M773090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control with 6 lines visible on screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inorder to view remaning records i have to scroll the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am trying to delete the records from table control, it only deletes records which are selected from the 6 visible entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select 1st &amp;amp; 9th record of table control for deletion, then only the 1st one is deleted. The LOOP over ITAB in PAI processes only first 6 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointer to this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PROCESS BEFORE OUTPUT.
  MODULE status_0600.
  MODULE set_header.

  MODULE user_action_0600o.
  MODULE set_lines_empl.

  LOOP AT gt_supp_t
  WITH CONTROL tc_empl.
    MODULE set_initial_values.
    MODULE set_select.
    MODULE set_data.
  ENDLOOP.
  MODULE clear_okcode.




PROCESS AFTER INPUT.
  MODULE user_command_0600e
  AT EXIT-COMMAND.
  LOOP AT gt_supp_t.
    CHAIN.
      FIELD gs_supp_t-empl.
      FIELD gs_supp_t-cal_date.
      FIELD gs_supp_t-toth.
      FIELD gs_supp_t-grade.
      MODULE validate_input
      ON CHAIN-INPUT.
    ENDCHAIN.

    MODULE prepare_supp_t.
    MODULE get_selected_employee.
    MODULE perform_action.
  ENDLOOP.
  MODULE user_command_0600.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 13:11:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-04T13:11:18Z</dc:date>
    <item>
      <title>Table control processing only visible entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-processing-only-visible-entries/m-p/3239652#M773090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control with 6 lines visible on screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inorder to view remaning records i have to scroll the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am trying to delete the records from table control, it only deletes records which are selected from the 6 visible entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select 1st &amp;amp; 9th record of table control for deletion, then only the 1st one is deleted. The LOOP over ITAB in PAI processes only first 6 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointer to this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PROCESS BEFORE OUTPUT.
  MODULE status_0600.
  MODULE set_header.

  MODULE user_action_0600o.
  MODULE set_lines_empl.

  LOOP AT gt_supp_t
  WITH CONTROL tc_empl.
    MODULE set_initial_values.
    MODULE set_select.
    MODULE set_data.
  ENDLOOP.
  MODULE clear_okcode.




PROCESS AFTER INPUT.
  MODULE user_command_0600e
  AT EXIT-COMMAND.
  LOOP AT gt_supp_t.
    CHAIN.
      FIELD gs_supp_t-empl.
      FIELD gs_supp_t-cal_date.
      FIELD gs_supp_t-toth.
      FIELD gs_supp_t-grade.
      MODULE validate_input
      ON CHAIN-INPUT.
    ENDCHAIN.

    MODULE prepare_supp_t.
    MODULE get_selected_employee.
    MODULE perform_action.
  ENDLOOP.
  MODULE user_command_0600.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 13:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-processing-only-visible-entries/m-p/3239652#M773090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T13:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table control processing only visible entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-processing-only-visible-entries/m-p/3239653#M773091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Missed few things. Now working fine.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 13:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-processing-only-visible-entries/m-p/3239653#M773091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T13:54:53Z</dc:date>
    </item>
  </channel>
</rss>

