Can anyone tell me how to add a custom pushbutton on ALV using function modules?
Note: I have to add a custom pushbutton on application toolbar on a standard alv report
(tcode->fbl3n). The functionality of the pushbutton would be to call transaction f-02 for reversing a posting document after selection of aparticular column.
I know for sure that we can add a pushbutton using classes, wherein we use Call Screen Statement and set PF-Status for it.
Hi!
do you mean alv grid or alv list.
If you use function module REUSE_ALV_GRID_DISPLAY then you should use the inputparamter i_callback_pf_status_set to set the pf-status and add a button. By setting the parameter i_callback_user_command (will be a name of a perform in your report) you will be able to filter which action has been performed by the user.
I do have an example for this - i'll keep on searchin