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...

what is the use of FOR ALL ENTRIES in an internal table?

Answer Posted / kotireddy5

1. This statement is used to replace select with joins.
2. Because JOINS statement cannot be used for more than three tables.
3. If we use more than three tables it puts heavy load on the Database, because the data has to be selected by comparing each table in the database server.
4. So it takes the long time for execution.
5. In such cases we go for SELECT FOR ALL ENTRIES.
6. This statement will never put load on the database. Because only two tables (Internal table and database tables) are compared
SYNTAX:
Select F1 F2 F3…..
From <DB. Table1>
Into table <ITAB1> Where <conditions>.
If ITAB1[] is not initial.
Select F1 F2 F3…..
From <DB.Table2>
Into table <ITAB2>
For all entries in <ITAB1>
Where F1 = <ITAB1-F1> AND F2 = <ITAB1-F2>.
Endif.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are client dependent objects in abap/sap?

1022


How to debug a script in abap?

1075


What do you do when the system crashes in the middle of a BDC batch session?

1126


How can we determine a vendor is Bloc/Unblock from the table LFA1?

2037


How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc

1124


What was the requirement of IDoc in your project? How it was working?

1986


Explain the differences between se01, se09 and se10?

1028


How would you set the formatting options statically and dynamically within a report?

1030


What is table buffer?

950


Specify the types of data dictionary objects.

943


What are the list of screen elements?

950


Describe data classes? : abap hr

1071


What is the step-by-step process to create a table in data dictionary? : abap data dictionary

1121


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

2314


What is protect & endprotect?

960