Skip to Content
avatar image
Former Member

Select Statement error for Select options variable.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 27, 2017 at 01:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2017 at 01:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded