Skip to Content
0
Former Member
Dec 18, 2006 at 09:05 AM

ALV Grid Single Row Selection Only

2463 Views

Morning,

I have developed an ALV grid containing header records which permits a user to select a record by either:-

1) Double clicking on the record

2) Positioning the cursor on a row and then pressing a button

The program then goes to another screen which selects the corresponding line items for the header record selected and places them in another ALV grid.

However, on the first ALV grid the user can still select multiple rows. I want the user to be able to select a single row <u>only</u> and then press the same button as in 2) to select the related line items.

If anyone can assist with this it would be appreciated. I have looked for methods and attributes of the CL_GUI_ALV_GRID class but have not found anything suitable. Unfortunately the support documentation for the class is not maintained in English. If anyone can help with this as well that would be great.

Thanks and regards

John.