Selecting and Deselecting Rows in sap

Use

Depending on where the ALV grid control is used, there are various methods for selecting and deselecting cells and rows:

  • If no pushbuttons are displayed on the left edge of the list:
    • You can only select one row at a time.
    • You can select multiple rows.
  • If pushbuttons are displayed on the left edge of the list:
    • You can select several rows or individual cells.
    • You can select several rows as well as several cells or individual cells.

Procedure

  • If no pushbuttons are displayed on the left edge of the list, you select a row by clicking an entry in the row.
  • If pushbuttons are displayed on the left edge of the list, you select a row by clicking the pushbutton on the relevant row.

In this case, you select the relevant cell by selecting the entry in the row.

In both cases:

To select several rows, press the Shift button and choose the cells as described above.

  • Adjacent rows:

Select a row, choose Shift or Control, and select the desired rows,

or

Choose Shift, and select the first and the last of the desired rows,

or

Select a row, keep the mouse button pressed, and pass over the desired rows.

  • Rows that are not adjacent:

Select a row, choose Control, and select the desired rows.

  • All rows:

You can only select all rows at once if pushbuttons are displayed on the left side of your list. To select all rows, choose .

To deselect individual rows, press the Ctrl button and click the relevant row.

Result

The selected cells have an orange background. The position of your cursor is indicated with a yellow background.

No comments:

topics