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
Explain how many types of tables exist and what are they in data dictionary?
Can you show multiple alvs on a single screen?
How the at-user command serves mainly in lists?
What is a currency factoring technique?
A function module can be called from a transaction screen outside an abap/4 program. State true or false. : abap modularization
What are clustered tables?
What are the types of subroutines?
dear friends, do you know how to configure web dynpro and adobe into ECC6.0 IDES?
What is the difference between Classic badi and Kernal badi ?
Can a transparent table exist in data dictionary but not in the database physically? : abap data dictionary
What is an Unpack command?
A subroutine can contain nested form and endform blocks. State true or false. : abap modularization
when does a list get sent to the screen on the presentation layer?
What are roles and authorization objects?
Can we make use of flow logic control key words in abap/4 and vice-versa?