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: 

refresh alv after changing list content

Former Member
0 Kudos

Hi all,

I used a alv to maintain a table, after maintaining, i use refresh_table_display to show the newest data of that table. now i have a problem, while updating that table in alv, the key fields are grey, forbidden to be changed, other fields are editable, after user changing, the refresh_table_display will show the new table, but all fields of the new table(updated just now) are all editable, anyone knows how to control that?

thanks.

legend.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hey,

Check the field catalog you are passing to the REFRESH_TABLE_DISPLAY function. U need to adjust the field catalog in such a fashion that the key fields are not ready for input.

Set the field KEY to X OR adjust the field INPUT in the field catalog.

-Kiran

*Please reward useful answers

2 REPLIES 2

Former Member
0 Kudos

Hey,

Check the field catalog you are passing to the REFRESH_TABLE_DISPLAY function. U need to adjust the field catalog in such a fashion that the key fields are not ready for input.

Set the field KEY to X OR adjust the field INPUT in the field catalog.

-Kiran

*Please reward useful answers

0 Kudos

thanks.

I checked my code. the reason was i changed the internal table with celltab, so it doesn't work when refreshing.