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

when you are using for all enteries always check whether
IF ITAB NOT INITIAL.THis internal table is the one
used 'for all enteries in itab'.this will prevent from the
query fetching all data.

IF ITAB NOT INITIAL.
select ... for all enteries in itab.
endif.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use flow logic control key words in abap/4 and vice-verse?

743


Explain what is sap script? What is the purpose of sap script? Difference between sap script and report?

784


What are multiple use BADIS?

1243


What are different data types in abap/4?

730


What are the organizational related Infotypes

1786


What is the difference between call transaction and session method? : abap bdc

905


What is screen flow logic? What are the sections in it?

820


Can we write the code both call transaction and session method in single program?

836


Explain some essential objects in abap dictionary?

921


What are different abap/4 editors?

827


If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?

1167


How can we omit a leading sign and a leading zero in sapscript?

793


what is call back in alv?

2208


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

836


How do you process errors in call transaction method? : abap bdc

913