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

Does anybody knows why this SELECT is wrong !

Former Member
0 Likes
539

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
Read only

ThomasZloch
Active Contributor
0 Likes
505

try with brackets

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

Thomas

try with brackets

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

Thomas

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
506

try with brackets

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

Thomas

Read only

0 Likes
505

Thanks Thomas.

Kami