Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

alphanumeric values in Select-Options

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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.

deepak_dhamat
Active Contributor
0 Kudos

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.

former_member195402
Active Contributor
0 Kudos

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