‎2013 Dec 30 11:16 AM
Hi All,
I am using a alv grid report which is having 2 fields,one is editable and the other one is non-editable.
in the editable field 'm using standard f4 help for which 'm getting field value and its description..
on selecting a entry, the description also should be changed to the non-editable field.
‎2013 Dec 30 1:16 PM
I believe you need to refresh/modify your internal table based on the new value. You should do it in PAI event of the screen. You can rely on "CHECK_CHANGED_DATA" and "REFRESH_TABLE_DISPLAY" methods of CL_GUI_ALV_GRID class.
Regards,
Naveen
‎2013 Dec 31 4:41 AM
Hello Arun,
You need to modify your final internal table(for noneditable field as well).
Once you modify the final table in PAI, just refresh your grid display.
The code would be some what like...
PAI...
MODIFY it_final FROM wa_final TRANSPORTING <editable> <noneditable>.
data o_grid TYPE REF TO cl_gui_alv_grid.
CALL METHOD o_grid->refresh_table_display
* EXPORTING
* is_stable = i_stable.
* I_SOFT_REFRESH =
* EXCEPTIONS
* FINISHED = 1
* others = 2.
hope it works for you, if not let me know.
Cheers,
Aabid Khan
‎2013 Dec 31 5:31 AM
Hi Arun,
For your scenario CHECK_CHANGED_DATA is mandatory to use. Else you need to always press refresh button after each data entry.
Thanks,
Prakash