Skip to Content
0
Former Member
Nov 27, 2008 at 01:44 PM

Table control

15 Views

Moderator message: in future please use a meaningful subject for your questions

Hi,

I want to enable few fields after selecting the row in a table control. I have done till catching the row but when i am using below code all rows are getting enabled but i want only the selected row should be enable . How can i do this ?

loop at itab into demo_conn .

if sy-tabix eq lin.

  • if DEMO_CONN-MARK = 'X'.

  • READ TABLE itab INTO demo_conn INDEX flights-current_line.

loop at screen.

if screen-group1 = 'MOD'.

screen-input = 1.

modify screen.

else

endloop.

endif.

endloop.

Thanks,

Ahmed.

Edited by: Matt on Nov 28, 2008 4:09 PM