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 Grid with row selection checkboxes

Former Member
0 Likes
3,643

I have an ALV Grid report that I display using the FM 'REUSE_ALV_GRID_DISPLAY'.  I have designated an output field for the row selection checkboxes using 'BOX_FIELDNAME' so that users may select certain rows to process, and when clicking on a custom icon (defined using SE41 to maintain status), custom logic executes in the 'USER_COMMAND' form.

My question is... when defining the 'BOX_FIELDNAME' to get the row selection checkboxes, this appears to automatically come with a 'Select All' icon in the upper left corner of the grid.  My users have requested removing the 'Select All' functionality so accidental processing of all rows does not occur.  I can successfully disable/remove the 'Select All' icon in the Menu Bar and Application Toolbar using SE41 to maintain the status.  I have also tried passing '&ALL' in the table 'IT_EXCLUDING' when calling 'REUSE_ALV_GRID_DISPLAY'.  This does not remove the functionality of the icon in the upper left corner of the grid, right above the column of checkboxes.  Is there a way to remove 'Select All' functionality from the interactive grid?

Any assistance would be greatly appreciated.  Thanks in advance!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,068

Read this chain. Will bring some insight.

http://scn.sap.com/thread/2079088

Regards,

Shravan

I have an ALV Grid report that I display using the FM 'REUSE_ALV_GRID_DISPLAY'.  I have designated an output field for the row selection checkboxes using 'BOX_FIELDNAME' so that users may select certain rows to process, and when clicking on a custom icon (defined using SE41 to maintain status), custom logic executes in the 'USER_COMMAND' form.

My question is... when defining the 'BOX_FIELDNAME' to get the row selection checkboxes, this appears to automatically come with a 'Select All' icon in the upper left corner of the grid.  My users have requested removing the 'Select All' functionality so accidental processing of all rows does not occur.  I can successfully disable/remove the 'Select All' icon in the Menu Bar and Application Toolbar using SE41 to maintain the status.  I have also tried passing '&ALL' in the table 'IT_EXCLUDING' when calling 'REUSE_ALV_GRID_DISPLAY'.  This does not remove the functionality of the icon in the upper left corner of the grid, right above the column of checkboxes.  Is there a way to remove 'Select All' functionality from the interactive grid?

Any assistance would be greatly appreciated.  Thanks in advance!

4 REPLIES 4
Read only

Former Member
0 Likes
2,069

Read this chain. Will bring some insight.

http://scn.sap.com/thread/2079088

Regards,

Shravan

Read only

0 Likes
2,068

This is exactly what I'm looking for... but like the OP, I too want to keep the column headings.

Is there a way to keep the column headings and still remove the icon?

Read only

Former Member
0 Likes
2,068

Hi,

Do you really referring to ALV CHECKBOX ? See image below.

Or your referring to the box in left corner of the grid? Please clarify.

Regards,

Jake

Read only

0 Likes
2,068

I'm referring to the box in the left corner of the grid.  What you have in your picture labeled 'select all'.  I'm trying to keep the boxes, but drop the select all.