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

ALV HORIZONTAL LINE SELECTION

Former Member
0 Likes
1,397

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,283

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,284

do u want to select line by a checkbox or you just dont want to select the line plz expain

Read only

0 Likes
1,283

Hello,

I dont want to hilight the line...just show the report w/out thar option.

10nks!!

Gabriel

Read only

0 Likes
1,283

Hi,

set the field "box_fieldname" as empty in layout structure "slis_layout_alv"

while calling REUSE_ALV_GRID_DISPLAY.

Regards,

Anil.

Read only

Former Member
0 Likes
1,283

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,283

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                = ilayout

Regards,

Rich Heilman

Read only

0 Likes
1,283

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

Read only

0 Likes
1,283

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

Read only

0 Likes
1,283

Post your code please.

Regards,

RIch Heilman

Read only

Former Member
0 Likes
1,283

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'.