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 / lokesh

Please Ignore my earlier Answer ....I regret for that
answer...Please check this one..

If no data is there in ITAB which you are applying for FOR
ALL ENTRIES then select query will fetch all the values
from the DB table which can be real performance issue.

so before making for allentires for a table make a check
that its not empty.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you move on to the next screen in interactive reporting?

564


What is roles and responsibilities of sap hr consultants? : sap abap hr

566


What is the different between abap and ooabap? Why do we use ooabap?

621


What are the function modules used in f4 help?

636


What are the events used in abap in the order of execution?

555






What are the 3 methods that we use in sequence in a batch input session method? : abap bdc

565


1. If I send 5 entries of table from one system to another system, if the only 4 entries there in the target system what I have to do? 2. If I send the customer master IDOC from one SAP system to another system, if one field is missing in target table what is the steps? 3. If I want to access the 4th row 3rd column in the hashed table how to do it? 4. Whether there is any other statement than MODIFY statement to modify the content of internal table?

1406


How to find the return code of a statement in abap programs?

596


If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?

1235


How do you display a data in a detail list?

572


What is asynchronous update?

568


What are system fields for secondary lists?

597


How is conversion of data types done between abap/4 & external level?

560


when do you need to create an internal table with header line ? and with out a header line?

1481


What is an update type with reference to a match code id? : abap data dictionary

574