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 is the exact code that shoud be implimented in sap note

1968


What is roll area?

566


Did you use buffering?

590


Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?

912


How many types of data classes are there in sap abap? : abap data dictionary

550






What are pool tables?

649


What are dml commands in abap?

641


What are the components of sapscript?

621


What are the other modules integrated with om? : sap abap hr

540


What are internal tables? How do you get the number of lines in an internal table?

629


What are the disadvantages of using explicit enhancement?

1367


ALV Report that will show the details of order like order no, order date, customer, product code & description, order quantity and value along with the details of dispatch of those orders like invoice no, invoice date, invoice quantity and pending order quantity. plz mention the detail coding Tahnks, Rahul

2169


What are the requirements a dialog program must fulfill?

635


Why do we declare a method of a class final? What can be the purpose? Give a scenario.

890


Name the abap/4 modularization techniques?

644