2007 Mar 12 1:42 PM
Hi,
i have an alv grid. But i don't need the buttons on the left to select a line. How can I avoid them?
ALV grid is used by the REUSE_ALV_GRID_DISPLAY
regards
GABRIEL
2007 Mar 12 1:44 PM
do u want to select line by a checkbox or you just dont want to select the line plz expain
Hi,
i have an alv grid. But i don't need the buttons on the left to select a line. How can I avoid them?
ALV grid is used by the REUSE_ALV_GRID_DISPLAY
regards
GABRIEL
2007 Mar 12 1:44 PM
do u want to select line by a checkbox or you just dont want to select the line plz expain
2007 Mar 12 1:46 PM
Hello,
I dont want to hilight the line...just show the report w/out thar option.
10nks!!
Gabriel
2007 Mar 12 1:49 PM
Hi,
set the field "box_fieldname" as empty in layout structure "slis_layout_alv"
while calling REUSE_ALV_GRID_DISPLAY.
Regards,
Anil.
2007 Mar 12 1:46 PM
hi,
use FM REUSE_ALV_GRID_DISPLAY_LVC instead of REUSE_ALV_GRID_DISPLAY
so that in layout u have an option wa_layout-no_rowmark = 'X'. to remove that box
2007 Mar 12 1:47 PM
Well, I think that if you do not supply the "Layout" parameter with a BOX_FIELDNAME, it may make it go away.
* Set the selection box.
* ilayout-box_fieldname = 'CHECK'. "<- Comment this out
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'HANDLE_USER_COMMAND'
is_layout = ilayoutRegards,
Rich Heilman
2007 Mar 12 1:59 PM
Thanks all for your answers,
But i still havent solved it, any more ideas?, i commented the line for BOX_FIELDNAME and cleared after that, but nothing happens.
10nks again!!
Gabriel
2007 Mar 12 2:10 PM
Hi Gabriel,
Have you tried my 2 options
1. Using FM REUSE_ALV_GRID_DISPLAY_LVC.
The layout structure of this FM is LVC_S_LAYO,
In this structure checkout the field NO_ROWMARK
wa_layout-NO_ROWMARK = 'X'. <----- disables th box
2. If you want to use REUSE_ALV_GRID_DISPLAY only , then first declare one checkbox and hide that checkbox
1. Add one more field to ur final itab of length 1 , say BOX(1).
2. wa_fieldcatalog-checkbox = 'X'.
wa_fieldcatalog-no_out = 'X'. <---- Removes the checkbox
3. wa_layout-box_fieldname = 'BOX'.
Message was edited by:
Chandrasekhar Jagarlamudi
2007 Mar 12 2:11 PM
2007 Mar 12 1:51 PM
If you want to go with REUSE_ALV_GRID_DISPLAY
1. Add one more field to ur final itab of length 1 , say BOX(1).
2. wa_fieldcatalog-checkbox = 'X'.
wa_fieldcatalog-no_out = 'X'.
3. wa_layout-box_fieldname = 'BOX'.