what is the difference between FOR ALL ENTRIES and SELECT *
FROM ?
Answers were Sorted based on User's Feedback
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 |
Answer / surya
For all entries means: select query will be fetch the
records based on the records which are in the internal
table fields using for all entries.it gives the better
performance,while fetching records from the database.
select * from : it will fetch the records of all the fields
in the database table.it consumes the time .performace
problem.
Is This Answer Correct ? | 4 Yes | 0 No |
How do you set up background jobs in sap? What are the steps?
Can I write COMMIT and ROLLBACK in user-exit?
Read statement..
Example of Pooled and Cluster tables ?
what is the role of extended syntax check in performance tuning?
How do we handle multiple line items in BDC's.
In selection screen I have three fields- Plant, Material No, and Material group.If i insert plant how do i get the material no and material group based on plant dynamically?
What is meant by search help? : sap abap data dictionary
Performance tuning techniques
A function group contains globally defined internal tables and function modules defined in it. FMOD1 populates itab1 and when FMOD2 is called will itab1 contains those values being populated by FMOD1?
what are nodes in smart forms?
Explain the different types of mode (run code) in call transaction method?