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 Statement error for Select options variable.

Former Member
0 Likes
787

Hello Friends,

I am getting error in select statement for Select options variable.

Error" The IN operator with "SO_VBELN" is followed neither by an internal table nor by a value list.".

SELECT-OPTIONS: so_vbeln FOR VBAK-VBELN.

This is my select statment.

SELECT VBELN
ERDAT
ERZET
ERNAM
FROM vbak
INTO TABLE it_vbak
WHERE vbeln IN so_vbeln.

Please give me the answer.

Regards,

Tirumala Rao

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
647

Hi ,

I got the solution. I did a mistake in my program. selection screen I put it after form. So I moved selection screen to top include. Now output coming whatever sales orders are given in selection screen.

Thanks,

Tiru

2 REPLIES 2
Read only

Former Member
0 Likes
647

Hi ,

I got the solution. I did a mistake in my program. selection screen I put it after form. So I moved selection screen to top include. Now output coming whatever sales orders are given in selection screen.

Thanks,

Tiru

Read only

Former Member
0 Likes
648

Hi ,

I got the solution. I did a mistake in my program. selection screen I put it after form. So I moved selection screen to top include. Now output coming whatever sales orders are given in selection screen.

Thanks,

Tiru