‎2006 Sep 21 3:09 PM
I am using one inner join then i got this message.
what does it means ?
The column name "NTGEW" has two meanings. ABAP/4 Open SQL statement.
Plz help me.
‎2006 Sep 21 3:11 PM
‎2006 Sep 21 3:10 PM
‎2006 Sep 21 3:11 PM
‎2006 Sep 21 3:11 PM
hi,
kindly chk the syntax of ur inner join with
the below sample code and let us know.
hi,
table emp
empno name
a sasi
b xxx
c yyy
table sal
empno salary
a 1000
b 2000
Inner join
****************
select eempno ename
s~sal
into table int_table
from emp as e
inner join sal
on
eempno = sempno.
if you made inner join between table a and b by emp no
the selection retrives only if the condition satisfy the output will be
a sasi 1000
b xxx 2000
<b>if both tables have same field, u shuld apecifiaccly mention the table name.
table_name~field_name.</b>
rgds
anver
if helped mark points
‎2006 Sep 21 3:12 PM
Hi,
Probably It means that the NTGEW is available in both the tables you are joining.
Hope this helps.
‎2006 Sep 21 3:13 PM
Sample code for Inner join
<b> SELECT aserviceid aservice b~sp_name
INTO CORRESPONDING FIELDS OF TABLE i_eservprov
FROM eservprov AS a INNER JOIN eservprovt AS b
ON aserviceid = bserviceid
WHERE a~service = '0007'.</b>
Regards,
Prakash.
‎2006 Sep 21 3:17 PM
Hi Adams,
may be NTGEW field exists in the 2 tables that u r joining
so in the join conditions specify from which table u r using that field
eg : t1~NTGEW