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