cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging standard button code in ALV

Former Member
0 Kudos

Hi All,

I would like to debug the "Export" button that is available on tool bar.Is it possibe? If yes, pls suggest.

Thank You,

Suresh.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi,

You can put the breakpoint at the below statement

lo_value->if_salv_wd_std_functions~set_edit_export_allowed( abap_false ).

thanks and regards,

Amita Gupta

Former Member
0 Kudos

Thank You All!!

Former Member
0 Kudos

Hi Suresh,

On the View in Which the alv is displaying, go to methods, create a new method , type event handler, then select from drop down on standard_button_click. then put a debugger on the method and run the application. then after wards on click or select of any standard button on alv will trigger the method.from the parameters of the method you can check the button clicked and its properties.

Regards

Sarath

Former Member
0 Kudos

Hi Suresh,

If you are looking for EXPORT button functionality in ALV's, you can directly check the same in the WD Component - SALV_WD_EXPORT_UI.

If you are looking for something else, ignore my reply.

Regards

Raja Sekhar