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
How will you insert record in a sorted table
Is it possible to bring select option in module pool screens?
How to copy table across clients?
What are critical issues you have faced in your project
What are data classes? What are the various data classes available for selection? : abap data dictionary
How can we set the table spaces and extent sizes? : abap data dictionary
How to specify a client for database table processing?
How did you test the form you developed? How did you taken print?
What are the buffering options in abap?
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain?
Define batch input session?
What is a size category? : abap data dictionary
function modules are also external subroutines. State true or false. : abap modularization
ALV Report that will show the details of order like order no, order date, customer, product code & description, order quantity and value along with the details of dispatch of those orders like invoice no, invoice date, invoice quantity and pending order quantity. plz mention the detail coding Tahnks, Rahul
Explain how is batch input process different from processing on line?