srinivas reddy


{ City } hyderabad
< Country > india
* Profession * consultanat
User No # 70043
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 9
Users Marked my Answers as Wrong # 2
Questions / { srinivas reddy }
Questions Answers Category Views Company eMail




Answers / { srinivas reddy }

Question { 9652 }

what is the difference between FOR ALL ENTRIES and SELECT *
FROM ?


Answer

For all entries is used to join the one or more tables based on condition.Select * from is used to fetch the data from db
table,but don't use select * from due to performance standards. The code like this
select vbeln
erdat
ernam
vkorg from vbak into table it_vbak
where vbeln eq v_vbeln.
select vbeln
posnr
matnr
matkl from vbap into table it_vbap
for all entrie in it_vbak
where vbeln eq it_vbak-vbeln.

The sequence of fields used in select query must be same as
the sequence of fields in internal table.
thanks,i hpoe this is corrct...........

Is This Answer Correct ?    9 Yes 2 No