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

Disable/ Enable selected rows in control table

Former Member
0 Likes
1,067

Hi,

I have a table control.

i want to disable all other rows when i clicked on insert new line button. I ONLY want that new line to be enabled while others disabled.

how do i do that?

thanks.

useful answer will be rewarded points.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
813

There's a few examples in this forum already e.g. have a look at:

Jonathan

Hi,

I have a table control.

i want to disable all other rows when i clicked on insert new line button. I ONLY want that new line to be enabled while others disabled.

how do i do that?

thanks.

useful answer will be rewarded points.

5 REPLIES 5
Read only

Former Member
0 Likes
813

Hi,

you can try this example in PBO

LOOP AT itab WITH table_control.

module init_tab.

ENDLOOP.

MODULE init_tab OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME = 'FIELD1' "check your data here

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDMODULE.

Reward points if it helps,

Satish

Read only

Former Member
0 Likes
814

There's a few examples in this forum already e.g. have a look at:

Jonathan

Read only

Former Member
0 Likes
813

Thanks so much for the replies.

My question is solved.

points rewarded.

Read only

0 Likes
813

I too have the same problem.. can you please post the answer

Read only

0 Likes
813

Please refer to jonathan's reply. he provided a very useful link. that will solve your problem.