Itβs a quite frequent requirement where we need to create ALV report - requirement in which we need to create the output dynamically w.r.t the Selection screen.
Simplest Way to Show Custom Data in F4 Help
If you want to display data for a select option in F4 help corresponding to only the data given in pre-select option in selection screen read how here.