cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro ABAP - Validations in editable ALV

Former Member
0 Kudos

Hi folks,

I have a question re editable ALV and the "on_data_check" event.

If a cell is invalid I can generate a message using the method "report_attribute_t100_message". This adds a message to the message area and also highlights the cell in error.

If the user then clicks in any cell and presses Enter, the message is cleared and the cell is no longer highlighted. On debugging, I can see that it doesn't re-execute my validation, which is contained in a method triggered by the data_check event.

I can't seem to force this event as each time it will check to see if there have been any actual changes, and if not, it will not trigger.

I'd be interested to hear from anyone who has worked with editable ALV's and played around with the data_check events and also can advise on the best way of using permanent vs non-permanent messages, clearing messages, etc., in editable ALV's.

Thanks in advance,

Tim Stone

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Tim,

I am facing same issue. By any chance have you come across any solution ?

Regards,

Rahul

Former Member
0 Kudos

try this code in your init method where u r writing a code for editable ALV

DATA lo_value TYPE REF TO cl_salv_wd_config_table.

lo_value = lo_interfacecontroller->get_model( ).

****

  • To enable Data_Check when any records are changed by the user.

lo_value->if_salv_wd_table_settings~set_data_check( '01' ).