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

When you prefer lsmw?

1081


What is the difference between the function module and a normal abap/4 subroutine?

1249


What is value table? : abap data dictionary

1162


What does the extract statement do in extract datasets? : abap modularization

1135


2)In production what is the user exit?

2025


What is the different type of projects? : sap abap hr

961


Is it possible to bring select option in module pool screens?

1015


What two statements would be used to exchange data between programs using abap memory?

1042


How to combine multiple billing into one RV document ( Step by Step)?

2024


What is a predefined type in abap?

1221


What is the modification assistant?

1067


when are objects are passed from task to the change request?

2152


How many types of tables exists and what are they in data dictionary?

1945


What is the advantage of structures?

1152


please give the remaining answers.

2283