cancel
Showing results for 
Search instead for 
Did you mean: 

Which Function is executed ALV WD

Former Member
0 Kudos

Hi All,

I need help urgently depending on some Issues about ALV WD.

I have in my ALV the Standard Functions like Append Row and Delete Row.

How can I retrieve,which one of the both Functions is executed?

I want to retrieve it and handle it in ON_DATA_CHECK.

Thanks!

with my Best regards

Beserithan Malabakan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Beserithan,

To activate the ON Data Check Event of ALV u have to intialise like this

l_ref_interfacecontroller = wd_this->wd_cpifc_alvname( ).

lv_refe = l_ref_interfacecontroller->get_model(

).

Data: lr_table_settings TYPE REF TO if_salv_wd_table_settings.

lr_table_settings ?= lv_refe .

lr_table_settings->set_data_check( '01' ).

after declaring this , on the corresponding view create a method with name of ur choice and event as on data check. now u can check the event triggered using the parameter r_param .

Regards

Sarath

Former Member
0 Kudos

Hello Sarath,

I am getting the Event ON_DATA_CHECK. This is not my Problem. Problem is,

how to get, which Function is executed? Append Row or Delete Row?

Regards

Beserithan

Former Member
0 Kudos

Hi,

You can easily find that put a debugger in the on datacheck method. then after clicking you event button , check the parameter r_param.. inside that r param one of the attribute will give you the name of the event triggered.

regards

Sarath

Former Member
0 Kudos

Thanks Sarath

Answers (0)