Adding a custom pusbutton on ALV

ABAP, Java, BSP, etc.
2 Beiträge • Seite 1 von 1
2 Beiträge Seite 1 von 1

Adding a custom pusbutton on ALV

Beitrag von guest ( / / 0 / 3 ) » 03.05.2005 11:00

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.

Thanks in Advance,

Regards
sonair.


Beitrag von Azreal (Specialist / 180 / 1 / 0 ) » 12.05.2005 14:08

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 ;)

Don't hesitate to post any questions.

regards,
Azreal

Seite 1 von 1