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

What are the different types of abap reports in sap?

759


What is dynamic action? : sap abap hr

628


What is pretty printer?

585


What is sap abap data dictionary?

625


In events, start-of-selection is a default event. When we have to use this event explicitly? Why?

566






IN SCRIPTS IF WE HAVE EMPTY SECOND LAYOUT AND IF WE HAVE MENTIONED ABOUT IT IN NEXT PAGE ATTRIBUTE THEN IN OUTPUT HOW WE GET THE SECOND PAGE OUTPUT.

1489


What are screen painter and menu painter? : abap hr

566


What is design pattern? Provide example .Why are we using it?

981


Explain the difference between free and refresh?

579


What are the different software packets available in the market? : sap abap hr

563


How do you take care of performance issues in your ABAP programs?

658


Hat are the different types of mode (run code) in call transaction method?

564


What is the difference between abap and hr abap? : abap hr

607


Can we create field without data element? If yes, how?

688


Explain get cursor field?

663