ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  ERP CRM  >>  SAP  >>  ABAP
 
 


 

 
 Basis interview questions  Basis Interview Questions
 ABAP interview questions  ABAP Interview Questions
 SAPScript interview questions  SAPScript Interview Questions
 SD interview questions  SD Interview Questions
 MM interview questions  MM Interview Questions
 QM interview questions  QM Interview Questions
 PP interview questions  PP Interview Questions
 PM interview questions  PM Interview Questions
 PS interview questions  PS Interview Questions
 FI CO interview questions  FI CO Interview Questions
 HR interview questions  HR Interview Questions
 SAP CRM interview questions  SAP CRM Interview Questions
 SRM interview questions  SRM Interview Questions
 APO interview questions  APO Interview Questions
 Business Warehouse interview questions  Business Warehouse Interview Questions
 Business Workflow interview questions  Business Workflow Interview Questions
 SAP Security interview questions  SAP Security Interview Questions
 SAP Interfaces interview questions  SAP Interfaces Interview Questions
 Netweaver interview questions  Netweaver Interview Questions
 SAP ALE IDocs interview questions  SAP ALE IDocs Interview Questions
 SAP B1 interview questions  SAP B1 Interview Questions
 SAP AllOther interview questions  SAP AllOther Interview Questions
Question
Suppose u r using FOR ALL ENTRIES. What happens when there 
is no data in the itab which is using all the entries?
 Question Submitted By :: Konda78
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 1
If the table on which the For All Entries IN clause is 
based is empty, all rows are selected into the destination 
table. Hence it is advisable to check before-hand that the 
first table is not empty.
 
Is This Answer Correct ?    1 Yes 0 No
Pramod Upadhyay
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 2
all data will upload to main internal table with out any 
checking
 
Is This Answer Correct ?    1 Yes 0 No
Chvpavankumar
 
 
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 3
when you are using for all enteries always check whether 
IF ITAB NOT INITIAL.THis internal table is the one 
used 'for all enteries in itab'.this will prevent from the 
query fetching all data.

IF ITAB NOT INITIAL.
select ... for all enteries in itab.
endif.
 
Is This Answer Correct ?    1 Yes 0 No
Tharun
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 4
If the itab used in for all entries does not have records 
the program will get trapped in an infinite loop.
 
Is This Answer Correct ?    0 Yes 2 No
Naresh Dhakar
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 5
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 ?    3 Yes 0 No
Phani
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 6
If they is no data in itab , the for all entries itab1 will 
not display any data..
because 1st itab should be not initial .
check for initial before going for for all entries.
 
Is This Answer Correct ?    1 Yes 0 No
Lokesh
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 7
Please Ignore my earlier Answer ....I regret for that 
answer...Please check  this one..

If no data is there in ITAB which you are applying for FOR 
ALL ENTRIES then select query will fetch all the values 
from the DB table which can be real performance issue.

so before making for allentires for a table make a check 
that its not empty.
 
Is This Answer Correct ?    0 Yes 0 No
Lokesh
 
  Re: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries?
Answer
# 8
it will retrive all entries of the table on which you are 
performing the for all entries into internal table.
 
Is This Answer Correct ?    0 Yes 0 No
Chowdary
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
What is the exactly definition of Foreign key 2.what is the exactly definition of Value Table. 3)What is the exactly definition of Data element and Domain.Please give the exactly definitions of all above questions without fail....Thanku Bosch2
what will you do in Recording method? Keane-India-Ltd4
What event is trigger wen screen is displayed?Before displaying Initailization and Pressing enter At selection- Screen..............But at the selection displayed and we are entering values naa that time? Bosch1
How can I get the default values (like date, company code) in module pool programming before the screen is displayed?? I dont wanna use VARIENTS... IBM3
while running bdc call transaction method for user defined table, all the records are saved except the last record. whats the problem? can anybody clarify me?  2
In a script, i want to print something at end of last page only.How can i print it? Satyam2
at the checking of sy-subrc after call transaction stmt,if it is zero what is the meaning of that of syn and asynch updates explain. a.)update of database table is success. b.)execution of call transaction is success. For syn update which one is correct? For asyn update which one is correct? HP1
What is the Transaction code for entancements?  2
what is project system Landscape? TCS5
where is security relevent information such as Password for ITS are stored? Accenture1
difference between structure and append structure  2
how to added data in list box? Wipro1
difference between at new and on change of pl its urgent CSC4
How many FM's are there in scripts?  4
WHAT IS THE USE AND DIFF B/W INSERT, UPDATE AND MODIFY WHILE UPDATING THE DATABASE TABLES? Sony3
what is inline documnetation?  1
what are conversion routines  1
how many secondary lists can we create in an ALV? Deloitte8
while creating table in ECC 6.0,it'll ask for enhancement Catagory?What is that? Siemens1
How many sections main window cab be divided in Script? Wipro1
 
For more ABAP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com