07-08-2006 5:06 PM
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.
07-08-2006 5:14 PM
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
07-08-2006 5:14 PM
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
07-08-2006 6:18 PM
thanks.
I checked my code. the reason was i changed the internal table with celltab, so it doesn't work when refreshing.