Skip to Content
0
Former Member
Jan 04, 2008 at 01:11 PM

Table control processing only visible entries

30 Views

Hi Experts,

I have a table control with 6 lines visible on screen.

Inorder to view remaning records i have to scroll the table control.

When i am trying to delete the records from table control, it only deletes records which are selected from the 6 visible entries.

If i select 1st & 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.

Any pointer to this ?


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.

Best regards,

Prashant