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

Enabling only 1 row in table control.

Former Member
0 Likes
590

Hi folks,

I'm want to know if there is a way to enable only 1 row in a table control. For example if I have 2 records in the table control, and I insert a new row, I only want the inserted row to be enabled or active for input and the other 2 to be disabled.

Thanks in advance for your help.

Kind Regards,

Gilberto Li

1 ACCEPTED SOLUTION
Read only

rahulkavuri
Active Contributor
0 Likes
545

check the bold part in the above thread, u can find some help for a similar problem

Award points if found helpful

Hi folks,

I'm want to know if there is a way to enable only 1 row in a table control. For example if I have 2 records in the table control, and I insert a new row, I only want the inserted row to be enabled or active for input and the other 2 to be disabled.

Thanks in advance for your help.

Kind Regards,

Gilberto Li

3 REPLIES 3
Read only

rahulkavuri
Active Contributor
0 Likes
546

check the bold part in the above thread, u can find some help for a similar problem

Award points if found helpful

Read only

0 Likes
545

Hi Rahul,

Thank you very much! That was what I was looking for.

Kind Regards,

Gilberto Li

Read only

Former Member
0 Likes
545

Try:


process before output.
* Set screen attributes for table control
  LOOP AT zzhb6_0100 with control zhb6ctl
                    cursor zhb6ctl-top_line.
    MODULE modify_screen_0100.
  ENDLOOP.

  MODULE modify_screen_0100 OUTPUT.

  LOOP AT SCREEN.
    IF screen-group1  = '001'.      " Or whatever
      screen-input = '0'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Rob