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
When you prefer lsmw?
What is the difference between the function module and a normal abap/4 subroutine?
What is value table? : abap data dictionary
What does the extract statement do in extract datasets? : abap modularization
2)In production what is the user exit?
What is the different type of projects? : sap abap hr
Is it possible to bring select option in module pool screens?
What two statements would be used to exchange data between programs using abap memory?
How to combine multiple billing into one RV document ( Step by Step)?
What is a predefined type in abap?
What is the modification assistant?
when are objects are passed from task to the change request?
How many types of tables exists and what are they in data dictionary?
What is the advantage of structures?
please give the remaining answers.