Adding a custom pusbutton on ALV

ABAP, Java, BSP, etc.

Adding a custom pusbutton on ALV

Postby Charleen1763 » Tue May 03, 2005 11:00 am

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.
Charleen1763
..
..
 
Posts: 14
Joined: Fri Jul 25, 2003 12:18 pm

Postby Emre397 » Thu May 12, 2005 2:08 pm

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
Emre397
...
...
 
Posts: 141
Joined: Mon Dec 09, 2002 1:53 pm


Return to Development Related

Who is online

Users browsing this forum: No registered users and 6 guests