Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding Tool Bar to ALV Grid

Former Member
0 Likes
694

Hi all,

Can any bdy please give us an example of adding a tool bar to ALV Grid. We have a requirement to add an Insert Button to ALV tool BAr. Where should i look for it. Which parameter contains this information.

Thanks in advance,

Kulwant Singh

Hi all,

Can any bdy please give us an example of adding a tool bar to ALV Grid. We have a requirement to add an Insert Button to ALV tool BAr. Where should i look for it. Which parameter contains this information.

Thanks in advance,

Kulwant Singh

4 REPLIES 4
Read only

uwe_schieferstein
Active Contributor
0 Likes
665

Hello Kulwant

Have a look at my sample report <b>ZUS_SDN_ALV_EVT_TOOLBAR</b> in thread

Regards

Uwe

Read only

Former Member
0 Likes
665

You can also do this through the GUI status. Go to SE80 and open your program. If you double-click on your GUI status, it will bring up four items: user interface, menu bar, application toolbar, and function keys. Here is where you can add function codes for additional buttons. I hope this helps.

- April King

Read only

Former Member
0 Likes
665

Hi,

1) Create a new GUI (let's say Z_GUI) in SE41 by copying the standard GUI status STANDARD from the program.

Then add a button in the application toolbar.

2) Create a subroutine SET_PF_STATUS in your program with the following code..

SET PF-STATUS 'Z_GUI'.

3) Pass the subroutine 'SET_PF_STATUS' in the parameter I_CALLBACK_PF_STATUS_SET of the function module.

Thanks

Naren

Read only

Former Member
0 Likes
665

There seems to be some confusion here in the responses - if you want to add a button to the "toolbar" of an ALV grid follow Uwe's lead or look at the demo program BCALV_GRID_05 which contains some useful comments... or if you are adding a button to a normal PF-Status, follow the other leads.

Jonathan