2007 Oct 02 11:40 AM
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
2007 Oct 02 11:45 AM
2007 Oct 02 8:50 PM
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
2007 Oct 02 9:09 PM
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
2007 Oct 03 12:57 AM
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