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 two ways for restricting the value range for a domain? : abap data dictionary

984


In which table the material master data is stored?

1020


What is internal payroll process? : sap abap hr

1071


What are two different ways to add fields to sap tables?

1026


What is its? : abap hr

1051


what are the 2 other types of views, which are not allowed in release 3.0? : abap data dictionary

1039


Why grouping of fields is required? What is the max no of modification groups for each field?

1018


What are secondary indexes. How can we know which index is being used in a select query?

1447


How do you read files from the presentation server ? : abap bdc

1088


How can you manipulate the presentation and attributes of interactive lists?

1164


What is gui status? How to create /edit gui status?

1077


What kind of deliverables you have on a day to day basis?

1418


What is a transaction variant and why are they used?

1076


How are BAPI different from normal function modules?

2178


Define alv programming in abap?

1242