cancel
Showing results for 
Search instead for 
Did you mean: 

Data check event on ALV

Former Member
0 Kudos

Hi All,

I have some problems with the DATA_CHECK event on ALV in WD4A.

Context : The user will have to enter a value in an input field of an ALV and the other values of the line should be automically retrieved.

Problem : When i enter the value by myself and press Enter, the data_check event is executed

But, if I select the value thanks to a matchcode, the data_check event is not raised, even if I press Enter after...

Have you already encountered this kind of problem?

Thanks & Regards,

Olivier

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Olivier,

When you initialize your ALV model, you can specify when the data check event needs to be triggered. By default, it will be triggered only when the check button is pressed. It can be changed to get triggered on any event on the cell. The code would be:

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

I have tried this and the data check does not get triggered when a value is selected using an input help. But it does get triggered on pressing Enter thereafter. Can you add this and check if it works?

Regards,

Nithya

Former Member
0 Kudos

Hi Nithya,

Thanks for your answer.

But the code you gave me was already in my program.

Even if I press Enter after selecting the value with input help, data_check event is not triggered.

The only thing that happens is the call of method "WDMODIFYVIEW", nothing else...

Best Regards,

Olivier.