01-29-2014 11:56 AM
Dear Experts,
Can I use the below statement ???
select a
b
c
from table3
into table it_table3
for all entries in it_table2 it_table3
where<conditions>.
Please suggest whether i can use to internal table name in one for all entries statement or not ?
Kind Regards,
Ajit
01-29-2014 12:11 PM
Hi Ajit -
You can only use one internal table while using for all entries. For all entries are used to avoild nested select.
Also check the internal table to be not blank while using for all entries,
Example -
IF not it_table2 is inital.
select a
b
c
from table3
into table it_table3
for all entries in it_table2
where a = it_table2-a.
ENDIF.
Let us know , in case any further help,
01-29-2014 11:59 AM
I think no..
you can't add more then one Itab with for all entries after that .
01-29-2014 12:00 PM
Ajit,
No. Only one can be used.
Refer help(F1) / ABAPDOCU tcode to understand basic ABAP syntax.
01-29-2014 12:11 PM
Hi Ajit -
You can only use one internal table while using for all entries. For all entries are used to avoild nested select.
Also check the internal table to be not blank while using for all entries,
Example -
IF not it_table2 is inital.
select a
b
c
from table3
into table it_table3
for all entries in it_table2
where a = it_table2-a.
ENDIF.
Let us know , in case any further help,