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

non modifiable row in table control.

former_member273995
Participant
0 Likes
527

How can i set a particular row of a table control as non modifyable,

help me gurrus

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
496

Hello Shadab,

Just select a box from the coloumn and mark its attribute as output only.

this will make the paticular row non modifiable.

Hope this solves your issue.

Cheers,

Suvendu

How can i set a particular row of a table control as non modifyable,

help me gurrus

2 REPLIES 2
Read only

Former Member
0 Likes
497

Hello Shadab,

Just select a box from the coloumn and mark its attribute as output only.

this will make the paticular row non modifiable.

Hope this solves your issue.

Cheers,

Suvendu

Read only

Former Member
0 Likes
496

Shadab,

You need to set the line to input during the PBO event. You need to be careful on how you declare your table and how you loop at the table control. You need to name the fields of the table control exactly the same as your internal table.

Look at the code below as an indication:


loop with control tc_del_sched.
    module check_for_deleted_line.
endloop.

This will only grey out the line that meets the criteria. Of course you will have to code your own checks but it gives you an idea.


module check_for_deleted_line output.
    loop at screen.
       check screen-name ns 'SEL'.
       screen-input = '0'.
       modify screen.
    endloop.
endmodule. 

Cheers,

Neil.