‎2007 Jun 21 3:33 PM
if internal table used in for all entries is empty then what happens?
‎2007 Jun 21 3:37 PM
Your going to get all data...It's like using a SELECT-OPTION without data....
Greetings,
Blag.
‎2007 Jun 21 3:38 PM
Hi
If internal table is empty then
select statement selects all the fields in the DB table...
Regards
Ravi
‎2007 Jun 21 3:38 PM
Hi Ramnaryana,
1. If internal table is empty,
then <b>ALL RECORDS will come.</b>
2. Hence, we should always use like this.
<b> if ITAB[] is not initial.
select.... query...
endif.</b>
regards,
amit m.
‎2007 Jun 21 3:38 PM
u have to check like this
if itab[] is not initial.
select * from mara into corresponding fields of table itab_2
for all entries in itab
where matnr = itab-matnr.
endif.
Regards
Peram
‎2007 Jun 21 3:38 PM
Hello,
You will get all the information...it will select all the data like an empty where.
Bye
Gabriel