Skip to Content
0
Apr 28, 2015 at 08:58 AM

Table control disables all the lines

12 Views

hi Goo day,

i have worked a lot on on TC and am struggling to get it right with the insert option.

i have button on the main screen where i read the data and fill the table control and display on the RADIO Button How many records are in the TC.

So i click the button and get into the TC but accept the records that i have displayed will all be disabled. even if i try to enable a line by insert i cant do it.

PROCESS AFTER INPUT.

LOOP AT IT_WAGON.

chain.

field : IT_WAGON-TRAIN_NUM,

IT_WAGON-DELAY_MIN.

MODULE modify_tabview_wagon.

endchain.

ENDLOOP.


IF sy-ucomm = 'INST'.

DESCRIBE TABLE it_wagon LINES v_count.

ADD 1 TO v_count.

INSERT it_wagon INDEX v_count.

ENDIF.

i want to know why they are are disabled.

what can i do to overcome.

Attachments

tc 1 button.png (4.3 kB)
TC Insert.png (19.1 kB)