Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Does anybody knows why this SELECT is wrong !

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.

Tags:
Former Member
replied

try with brackets

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

Thomas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question