2008 Sep 19 2:48 PM
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.
2008 Sep 19 2:53 PM
try with brackets
> SELECT SINGLE regio cityc INTO (i_table-regio, i_table-cityc)
Thomas
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.
2008 Sep 19 2:53 PM
try with brackets
> SELECT SINGLE regio cityc INTO (i_table-regio, i_table-cityc)
Thomas
2008 Sep 19 2:57 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |