In an IDA-based list you can activate the option to select a single row. A selected row can be read in the application program.
Example report for an in-container display: SALV_IDA_TOOLBAR_FUNCTION