2010 Jan 08 6:34 AM
Hi Experts,
I just want to know if there is any possibility to add the Title of an ALV grid to the Grid toolbar. I have three grids in a single screen and the title of each grid takes so much of space. So we want to move the title to the toolbar by adding a custom buttom. Is there any other way to do this.
Thanks in advance
Hi Experts,
I just want to know if there is any possibility to add the Title of an ALV grid to the Grid toolbar. I have three grids in a single screen and the title of each grid takes so much of space. So we want to move the title to the toolbar by adding a custom buttom. Is there any other way to do this.
Thanks in advance
2010 Jan 08 6:45 AM
Data:gs_layout TYPE lvc_s_layo.
gs_layout-grid_title = 'Title'.
CALL METHOD grid1->set_table_for_first_display
EXPORTING i_structure_name = ' ''
is_layout = gs_layout
CHANGING it_outtab = <>.Check the Program BCALV_GRID_05
Edited by: Kanagaraja Lokanathan on Jan 8, 2010 7:45 AM
2010 Jan 08 6:51 AM
Hi,
Refer Link: [ALV GRID COMPLETE EXAMPLE WITH TOOLBAR BUTTONS|http://wiki.sdn.sap.com/wiki/display/Snippets/ALVGRIDCOMPLETEEXAMPLEWITHTOOLBARBUTTONSUSINGCLASS.]
Also refer the program BCALV_GRID_05 -> Demonstrate the creation of an own toolbar button.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |