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

Doubt on select-option multiple option.

Former Member
0 Likes
614

hi friends,

i have a select option called condition type(so_kschl) declared with no intervals. but not with no-extension so user can enter more than one condition type at a time .

the select statement i have written is

select (some fields) from a004 where kschl in so_kschl.

is this select statement for one value ? or can we use this for multiple selection also ,since there are more than one value in select option do we need to use loop .

any sample code will be of great use ..

thank you

with regards,

gokul.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
577

Hi

Your code is correct.

Regards

Raj

hi friends,

i have a select option called condition type(so_kschl) declared with no intervals. but not with no-extension so user can enter more than one condition type at a time .

the select statement i have written is

select (some fields) from a004 where kschl in so_kschl.

is this select statement for one value ? or can we use this for multiple selection also ,since there are more than one value in select option do we need to use loop .

any sample code will be of great use ..

thank you

with regards,

gokul.

3 REPLIES 3
Read only

Former Member
0 Likes
578

Hi

Your code is correct.

Regards

Raj

Read only

Former Member
0 Likes
577

Hi Gokul,

Your statement is correct which can take multiple values for select-options. If will takes single value when specifies both NO-INTERVALS and NO-EXTENSION.

Give some values to the SO_KSCHL in the INITIALIZATION event

<b>INTIALIZATION.</b>

SO_KSCHL-LOW = 'VALUE1'.

APPEND SO_KSCHL.

SO_KSCHL-LOW = 'VALUE2'.

APPEND SO_KSCHL.

SO_KSCHL-LOW = 'VALUE3'.

APPEND SO_KSCHL.

SO_KSCHL-LOW = 'VALUE4'.

APPEND SO_KSCHL.

select (some fields) from a004 where kschl in so_kschl.

Thanks,

Vinay

Read only

Former Member
0 Likes
577

hi,

It works as per your coding ..

REgards,

Santosh