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

Generate a selection table

Former Member
0 Likes
627

HEY THERE !

Is there a Function, which generates an selection table ?

I need for example a function which recognizes an "*" in my search string and automaticly changes the operator from "BT" to "CP".

best regards,

Sven

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
602

Take a look at FM COMPLEX_SELECTIONS_DIALOG.

Regards.

5 REPLIES 5
Read only

Former Member
0 Likes
602

sorry i am not clear enough about your requirement but i think when you are giving any input to select-options as 123* the system automatically taking it as CP no need to worry about that...

regards

shiba dutta

Read only

RaymondGiuseppi
Active Contributor
0 Likes
603

Take a look at FM COMPLEX_SELECTIONS_DIALOG.

Regards.

Read only

0 Likes
602

does this also work under webdynpro ?

What I forgot to say was, that it's an webdynpro application.

Read only

0 Likes
602

If you're looking to access a database table try something like:

types tt_r_matnr type range of matnr.

data l_it_r_matnr type tt_r_matnr.

data l_count type i

select count(*)

into l_count

from mara

where matnr in l_it_r_matnr

l_it_r_matnr is a selection option table, and I think this is OO compatible.

Read only

Former Member
0 Likes
602

I need an function which checks my search fields, and automaticly uses the correct operator.

Like the selection-screen...

But in webdynpro, I can't use the selection-screen