Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Hi All,
If we use FOR ALL ENTRIES, first internal table should
have at least one record ( ie, it should not initial ).The
data will fetch from database based on second select
statement,irrespective of first internal table records ,
because first internal table is empty.

It is best practice to use IF NOT I_TAB1[] IS INITIAL.
Because we use FOR ALL ENTRIES statement to avoid the
duplicates entries.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a database view? : abap data dictionary

1026


What does the ‘suppress dialog’ do?

1401


What are the functional areas? User groups? And how does abap/4 query work in relation to these?

986


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

938


What are different abap/4 editors?

1036


PROGRAM TO CREATE INQUIRY IN SD USING BAPI 'BAPI_INQUIRY_CREATEFROMDATA'

4182


What are the types of data types in the sap abap?

933


Difference between top-of-page and top-of-page during at line- selection?

2296


What are datasets in abap?

1102


Control Break statements- At new...endat.

1341


Differentiate screen painter from menu painter.

1003


What is web dynpro for abap?

999


What is a 'z' report?

1040


While sorting field groups we cannot use more than one key field. State true or false. : abap modularization

985


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

1011