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

can we insert two records in internal table?
if yes give code.

Answer Posted / malathy

Ofcourse we can insert two receods to an internal table.

Here is a sample code.

*Internal table declaration.
Data: ftab like scarr occurs 0.
Data: begin of itab,
carrid like scarr-carrid,
carrname like scarr-carrname,
currcode like scarr-currcode,
end if itab.

itab-carrid = BB.
itab-carrname = British airways.
itab-currcode = HBC.
Append itab to ftab.
clear itab.

itab-carrid = AA.
itab-carrname = American airlines.
itab-currcode = JFC.
Append itab to ftab.
clear itab.


by using append we can insert multiple records to an
internal table.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do we have to migrate all sapscript forms to smart forms?

1046


What is the difference between sy-tabix and sy-index? Where it is used?

1280


Explain what is sap script? What is the purpose of sap script?

1082


what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?

2399


What are ranges?

1022


How can we set the tablespaces and extent sizes ?

985


Where the payroll results are stored

2358


Can we set page headers to details lists?

1015


After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?

1931


how can we use the text randomly or circularly in smartforms.... means... suppose i have 'abap' horizantally... but i want it in vertically... how can... plz any body tell me this....

2082


Difference between Read and Get cursor?

2048


Difference between sy-tabix and sy-index?

1316


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

1961


What does an exec sql statement do in abap?

1160


What is the use of f4if_shlp_exit_example function module ? : sap abap data dictionary

1855