10-12-2006 2:09 PM
Hi,
I am getting problem in select statement.
Plz let me know what's the problem
SELECT SINGLE KUNNR LAND1 NAME1
INTO (LV_KUNNR, LV_LAND1, LV_NAME1)
FROM KNA1.
10-12-2006 2:12 PM
Hi Salil,
I don't see any issue with the Select statement.
Hope you have defined the variables properly.
May be some issue before this statement. Check.
Manish
Message was edited by: Manish Kumar
10-12-2006 2:13 PM
10-12-2006 2:17 PM
Hi Singh,
I dont find any problem with this select.have u decleared LV_KUNNR, LV_LAND1, LV_NAME1 these variables?
Thanks
Vikranth Khimavath
10-12-2006 2:19 PM
with or without space it's the same.
2 possibilities :
you did have a LV Structure so the field is LV-KUNNR
you did forget to define LV_KUNNR and the other 2.
the Statement is correct. check your coding before the select statement.
10-12-2006 2:33 PM
Hi Salil
I copied your code and wrote it in abap editor and i am getting the output , see the below code
data: lv_kunnr like kna1-kunnr.
data: lv_land1 like kna1-land1.
data: lv_name1 like kna1-name1.
select single kunnr land1 name1
into (lv_kunnr, lv_land1, lv_name1)
from kna1.
write: / lv_kunnr,
lv_land1,
lv_name1.
Thanks