Application Development 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: 

Changing screen properties for rows of table control

Former Member
0 Kudos

Hello,

I have a table control rows of which needs to be enabled/disabled.

As soon as I enter the values of a row that row should be locked for further editing (that is input disabled) and the remaining rows should remain input enabled so that user can enter new values.

Is this possible with table control?

Any help in this regard is appreciated.

Regards,

Saroj.

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

In the PBO section of the screen,

put the following logic.

PBO

loop at it_output1 cursor v_line.

module output.

endloop.

module output.

if it_output1 is initial.

loop at screen.

if screen-group = <screen group name for the table control fields>.

screen-input = 0.

modify screen.

endif.

endloop.

endif.

endmodule.

Regards,

ravi

0 Kudos

Hi ravi,

I have created a Table control using wizard, I have encounter the same problem,the thing is when i click on "Insert " push button I have to enable only one row of the table control and when the user clicks on "save" Pushbutton it saves and displays in display mode. Again when user clicks Insert the same action should repeat,please help me...... to solve this issue,it's urgent

My mail id is abap12377@gmail.com please reply to me

Regards

sameer