Application Development and Automation 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: 
Read only

Select option

Former Member
0 Likes
919

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
Read only

Former Member
0 Likes
899

Hi,

TABLES : CAT_DP_FOR.

SELECT_OPTIONS :

Pchar TYPE CAT_DP_FOR-EXID.

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

5 REPLIES 5
Read only

Former Member
0 Likes
899

d

Read only

Former Member
0 Likes
900

Hi,

TABLES : CAT_DP_FOR.

SELECT_OPTIONS :

Pchar TYPE CAT_DP_FOR-EXID.

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

Read only

Former Member
0 Likes
899

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

Read only

Former Member
0 Likes
899

Hi Vijay,

actually what is ur requirement.

write ur question clear.

regards,

ravi shankar reddy

Read only

Former Member
0 Likes
899

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