2011 Mar 17 6:48 AM
Hi ABAP gurus,
There is a select-options for a report like
data : opt1(4) type c.
select-options : g_count for opt1.
g_count would take alphanumeric values like for example
A123 to AB46 . Now it is required to take all the values range
from A123 to AB46 in an internal table .
How do i solvthis .
thanks
ABAP Developer1
2011 Mar 17 6:56 AM
Hi,
Can you pls explain your question.
Your G_COUNT itself acts as an internal table with G_COUNT-LOW as A123 and G_COUNT-HIGH as AB46.
If you are asking to get all the values from A123, A124, A124.....AB46, then I guess it is a little difficult in ABAp to handle this.
Thanks,
guru.
2011 Mar 17 6:59 AM
hi ,
it is not possible for select-option to get values between 'A123' AND 'AB1234' ETC ...
you have to pass those values with static values while passing in selection screen .
OR you can maintain one table with this values and after selecting those values you can pass through ranges .
regards
Deepak.
2011 Mar 17 7:10 AM
Hi,
this is no good idea.
"A1(8" is also in this range, "A2_5", "A3 8" and "A7$§" too. I don't think you want those values in your logic, but only combinations of letters and numbers.
You should look for another way in your programming logic.
Regards,
Klaus