Application Development 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: 

Does anybody knows why this SELECT is wrong !

Former Member
0 Kudos

Hi @ll,

I am trying to select two fields and put them in a internal table in which I am looping. If I have only one field e.g. regio it works but not with regio and cityc.

Any idea ?

Thanks

SELECT SINGLE regio cityc INTO i_table-regio

i_table-cityc

FROM t001w

WHERE werks = i_table-werks.

IF sy-subrc = 0.

MODIFY i_table.

ENDIF.

1 ACCEPTED SOLUTION

ThomasZloch
Active Contributor
0 Kudos

try with brackets

> SELECT SINGLE regio cityc INTO (i_table-regio, i_table-cityc)

Thomas

2 REPLIES 2

ThomasZloch
Active Contributor
0 Kudos

try with brackets

> SELECT SINGLE regio cityc INTO (i_table-regio, i_table-cityc)

Thomas

0 Kudos

Thanks Thomas.

Kami