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 are the user interfaces of interactive lists?

1043


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

1059


What are the attributes of a field that can be activated or deactivated during runtime?

995


What is the difference between Check and Continue?

1135


How to read files and process BDC's automatically ?

2115


What is PS structure

2181


What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc

1196


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

2254


What are logical data bases used in hr module? : abap hr

1327


What is pass by value and what is pass by reference? Which is better?

1396


Can a posting run be deleted? : sap abap hr

1071


What is meant by hot spots? : abap data dictionary

1091


What are logical databases? : abap hr

1151


What are the parameters in bdc_open_group? : abap bdc

1084


Performance tuning techniques

1351