‎2009 Apr 16 6:03 AM
Hi,
I have a requirement for ediatble ALV in which i have to validate data on data_change and SAVE buttom
i was able to validate using data_change and display errors using CL_ALV_CHANGED_DATA_PROTOCOL using method DISPLAY_PROTOCOL in this way iam getting error data cells colored in red across the border
but when i do the same vadiation in SAVE iam able populate errors but not getting the error data cells colored in red across the border.
Please suggest me the solution.
Thanks,
Phani
‎2009 Apr 16 6:09 AM
Hello,
Just checkout the handler methods triggering this methods on data change,
Regards,
Mansi.
‎2009 Apr 16 6:15 AM
‎2009 Apr 16 7:00 AM
This was the code i have done for poulating error,i get the error entries popuup but was not able to get the cell coloring.
data : lv_protocol type ref to cl_alv_changed_data_protocol
create object lv_protocol
exporting i_calling_alv = gv_grid.
call method lv_protocol->add_protocol_entry
exporting
i_msgid = '0K'
i_msgno = '000'
i_msgty = 'E'
i_msgv1 = lv_error
i_fieldname = 'B_LINE'
i_row_id = lv_tabix.
call method lv_protocol->display_protocol.
Please suggest how to make cell coloring acroos boders as incase of data_change event.
‎2009 Apr 16 7:43 AM
‎2009 Jun 11 6:58 AM