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 different types of parameters?

696


What is the function of the transport system and workbench organiser? : abap data dictionary

713


What is tcode se16?

675


What is step-loop?

760


What is the syntax of packed number?

743






What are number ranges?

725


What are the buffering options in abap?

649


Can we reuse a userexit?

1167


On abap: did you set up a workflow? Are you familiar with all the steps for setting up a workflow?

669


What is the function of a data element?

709


What are the payroll related infotypes? : abap hr

679


1.why dont use top of page. wat is the use? 2. wat is sub screen? 3. why u select the session method in bdc ? how many records wil be updated on that time? 4.why dont use start form in script? 5.wat is difference b/w dilldown and interactive report? 6. wat is pf status interactine report?

2468


What is the modification assistant?

672


What are differences between at selection-screen and at selection-screen output?

860


What are standard layouts sets in the sap script?

643