Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table control processing only visible entries

Former Member
0 Likes
279

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

1 REPLY 1
Read only

Former Member
0 Likes
249

Missed few things. Now working fine.

Thanks.