Application Development and Automation 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: 
Read only

OOPS ALV

Former Member
0 Likes
885

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

5 REPLIES 5
Read only

Former Member
0 Likes
799

Hello,

Just checkout the handler methods triggering this methods on data change,

Regards,

Mansi.

Read only

Former Member
0 Likes
799

Hi

check this thread

Look at Uwe Schieferstein's responses

Read only

Former Member
0 Likes
799

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.

Read only

Former Member
0 Likes
799

Suggestions

Read only

Former Member
0 Likes
799

thanks