‎2007 May 30 1:42 PM
I am executing the following SQL statment in client 10.
data anlz_table type table of anlz.
SELECT bukrs anln1 kostl FROM anlz INTO TABLE anlz_table.
The result set includes records from client 10, as expected.
However, the result set also includes records from other
clients as well.
Why are records of clients other than 10 included?
‎2007 May 30 1:53 PM
hi,
I think table anlz is client independent.
incude client (MANDT)
If the table is client dependent.it will fetch data only from that table.
Reward with points if helpful.
Message was edited by:
Vinutha YV
‎2007 May 30 1:45 PM
hmmm sry not a real clue, it should work the way you do it, i just found one minor bug.
instead of:
SELECT bukrs anln1 kostl FROM anlz INTO TABLE anlz_table
better write:
SELECT bukrs anln1 kostl FROM anlz INTO corresponding fields of TABLE anlz_table
BTW not sure if this is the way to go, but why dont you just specify your client?
Message was edited by:
Florian Kemmer
‎2007 May 30 1:49 PM
HI,
if the table is client independent (i.e, first field in the table is not clnt data type) it will fetch data from other clients also.
may in ur case the table is client independent.
rgds,
bharat.
‎2007 May 30 1:53 PM
‎2007 May 30 1:53 PM
hi,
I think table anlz is client independent.
incude client (MANDT)
If the table is client dependent.it will fetch data only from that table.
Reward with points if helpful.
Message was edited by:
Vinutha YV