‎2006 Nov 23 9:14 AM
It seems join select does not function from cluster tables. How to avoid that.(maybe you have an example).
I get message:"You cannot use comparisons with column column references in pool and
cluster tables: "KONV~KNUMV". column references in pool and cluster
tables: "KONV~KNUMV". column references in pool and cluster tables:
"KONV~KNUMV". references in pool a..."
when I use SELECT konvknumv konvkposn konvstunr konvkschl konv~kwert
INTO CORRESPONDING FIELDS OF TABLE S000 from konv
JOIN vbrk ON
vbrkknumv = konvknumv
JOIN VBRP ON
VBRPPOSNR = KONVkposn and
vbrpvbeln = vbrKvbeln
WHERE vbrkfkdat le datumhigh and vbrkfkdat ge
datumlow.
modify zresult from table s000.
‎2006 Nov 23 9:16 AM
<b>Hi
U cant use JOIN in POOLED or cluster tables.
Use FOR ALL ENTRIES IN ITAB for that.
SELECT konv-knumv konv-kposn konv-stunr konv-kschl konv-kwert
INTO CORRESPONDING FIELDS OF TABLE S000 from konv.
select * from vbrk into corresponding fields of table itab for all entries in S000 where knumv = s000-knumv
Like this.
Regs
Manas Ranjan Panda</b>
Message was edited by:
MANAS PANDA
Message was edited by:
MANAS PANDA
‎2006 Nov 23 9:17 AM
You cannot use joins on cluster tables.
You will have to select the data individually either by using FOR ALL ENTRIES or SELECT with in the loop.
1. SELECT data from 1 table, SELECT data form 2 table using FOR ALL ENTRIES
2. SELECT data from 1 tab
loop at the internal and get data from the 2nd one.
Regards
Ravi
Note please mark all the helpful answers
‎2006 Nov 23 9:17 AM
Don't think Join will work for Cluster tables.
Go for For all entries statement.
‎2006 Nov 23 9:19 AM
hi,
join will not work for pooled and cluster table.
use <b>FOR ALL ENTRIES</b> insted of JOIN
Rgds
Anver