Extract individual values from a Select-Option or Range table
The other day I was developing a report and I was needing the individual values from a Range table. The range table was as follows:
Position 1: Values from A - B
Position 2: Single value C
Position 3: Values from D - E
What I was needing was ALL the individual values from A to B and also the individual values from D to E.
If the range table contains, let's say, customer numbers (KUNNR) you can get the individual values by getting all the values from table KNA1 which are included in the Select-Option (or RANGE). This is just an example.
I made it that way but I believe that there is a function module that might do the same if we don't have a table like KNA1 which has all the possible values.
Is this right? Does anybody know a way to get all those individual values?
Many thanks in advance.