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

What is the function of the correction system?

656


Which function module reads the data for particular infotype ? : abap hr

644


data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.

1988


What is abap work bench?

832


Difference between sap script and report?

845






How will you link form with the event driven in sap scripts?

633


What are the restrictions on subscreens?

754


How to create any functions?

651


What is the difference between bdc_okcode and bdc_cursor? : abap bdc

712


What are the domains and data elements?

1062


How do you read files from the presentation server ? : abap bdc

686


What is the difference between commit-work and rollback-work tasks?

742


Explain the difference between a dialog program and a report?

642


Explain how many types of tables exist and what are they in data dictionary?

696


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization

724