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

error in using select option

Former Member
0 Likes
513

hi,

i have used some fields in import in se37. I want that fields to be a select-options. so i gave associated type as selopt.

but when i write a select query in source code it shows an error

the IN operation with 'BSTYP' is followed neither by an internal table nor by a value list.

SELECT ebeln bukrs lifnr aedat FROM ekko INTO CORRESPONDING FIELDS OF TABLE i_ekko WHERE bstyp IN bstyp

AND

lifnr IN lifnr AND ekorg IN ekorg

AND bukrs IN bukrs AND aedat IN aedat.

pls tell me a solution

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
474

Hi,

Instead declare all your Import fields in Tables .

This works.

Regards,

Srini.

3 REPLIES 3
Read only

Former Member
0 Likes
474

Hi,

Please see SCN Rules before posting.

With Regards,

Sumodh.P

Read only

Former Member
0 Likes
474

Hi,

tables: ekpo.

ranges: bstyp for ekpo-bstyp.

bstyp-sign = 'I'.

bstyp-option = 'EQ'

bstyp-low = 'X'.

append bstyp.'

bstyp-low = 'Y'.

append bstyp.'

By Jan

Read only

Former Member
0 Likes
475

Hi,

Instead declare all your Import fields in Tables .

This works.

Regards,

Srini.