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: 

Select option

Former Member
0 Kudos
107

Hi All

i have a character P1.Now i need to give it in SELECT-OPTIONS.How can i ?And P1 dosent belong to any table.It is just a character.

Vijay

1 ACCEPTED SOLUTION

Former Member
0 Kudos
87

Hi,

TABLES : CAT_DP_FOR.

SELECT_OPTIONS :

Pchar TYPE CAT_DP_FOR-EXID.

Don't forget to reward if useful....

5 REPLIES 5

Former Member
0 Kudos
87

d

Former Member
0 Kudos
88

Hi,

TABLES : CAT_DP_FOR.

SELECT_OPTIONS :

Pchar TYPE CAT_DP_FOR-EXID.

Don't forget to reward if useful....

Former Member
0 Kudos
87

Hi,

yes u can give that variable in select options as

select-options: P1 type c.

now select option will form a internal table of this variable over 4 parameters that are sign ,option, high and low and it will treate it as range.

Thanks:

Please reward points

ravishankar_reddy2
Active Participant
0 Kudos
87

Hi Vijay,

actually what is ur requirement.

write ur question clear.

regards,

ravi shankar reddy

Former Member
0 Kudos
87

Hi,

U CAN USE THE TABLE CAT_DP_FOR

the field for character being EXID

just use it in your code and then use select options syntax as u do

example

SELECT_OPTIONS :

Pchar TYPE CAT_DP_FOR-EXID.

Do Reward If Useful