Setting the Focus
If you use the full-screen display of ALV with IDA, the focus is automatically set in the first cell of the displayed table. This does not happen with the in-container display because the application must first decide which of the available controls receives the focus.
If you want to set the focus on the displayed table with the in-container display, use method:
| Interface | Method |
|---|---|
| IF_SALV_GUI_TABLE_DISPLAY_OPT | set_focus |
Report example: SALV_IDA_DISPLAY_OPTIONS