Suppose u r using FOR ALL ENTRIES. What happens when there
is no data in the itab which is using all the entries?
Answer Posted / phani
Hi All,
If we use FOR ALL ENTRIES, first internal table should
have at least one record ( ie, it should not initial ).The
data will fetch from database based on second select
statement,irrespective of first internal table records ,
because first internal table is empty.
It is best practice to use IF NOT I_TAB1[] IS INITIAL.
Because we use FOR ALL ENTRIES statement to avoid the
duplicates entries.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is a function group? : abap modularization
Difference between transparent tables and pooled tables? : abap hr
How do you display a data in a detail list?
What is alv programming in abap?
What is the project you are currently working and work that you are doing
Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...
Events that can be used in both the classical and interactive reports
Explain what are interactive reports?
If I want to execute a bdc program only in background not in foreground is there any option for this? : abap bdc
How will you define posting procedures?
What are the basic components of dialog program?
What is native sql?
What is SAP Data conversion ?
Did you create primary index?
What are aggregated objects : abap data dictionary