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

when you are using 2 internal table in program, you have
decided to use for all entries statement to retrieve data
but unfortunately there are no records in the first internal
table. What will be the result? (2nd internal table contains
records).

Answer Posted / lokesh

The driver Internal table 0r First internal Table Must have
records in it , if u use For All Entries . If the First
Internal table is initial (means no records in it) then the
For All entries will fetch all the records from the DB
table , which can be real perfromance Issue.
so before making a 'For all entries" for a table make a
check that its not empty.
eg. code :
select matnr werks from marc
into table t_marc
where matnr = p_matnr.

if t_marc is not initial.

select matnr mbrsh meins matkl from mara
into table t_mara
for all entries in t_marc
where matnr = t_marc-matnr.

else.
write : / 'No data was fetch by t_marc'.
endif.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different database integrities?

986


What are the different attributes that can be assigned to a variant?

983


How to convert the Unit for 'Distance' (The value from one Unit to another).

1918


could anyone tell me what r real time questions been asked in interviews?i am in urgent need..thanks in advance

1850


Can you set up background processing using call transaction?

961


What is projection view?

906


Explain Catch Command in ABAP?

1223


What is the abap program name to process the batch input session automatically? : abap bdc

1142


How do you document ABAP programs? Do you use program documentation menu option?

1075


The loop-endloop on extract datasets can be used without any kind of errors. State true or false. : abap modularization

1056


What is difference between float and packed data type?

1103


What is web dynpro for abap?

1001


What is table buffer?

950


What is match code? : sap abap hr

1159


When the top-of-page event does get triggered?

1087