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
Do we have to migrate all sapscript forms to smart forms?
What is the difference between sy-tabix and sy-index? Where it is used?
Explain what is sap script? What is the purpose of sap script?
what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?
What are ranges?
How can we set the tablespaces and extent sizes ?
Where the payroll results are stored
Can we set page headers to details lists?
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 ?
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....
Difference between Read and Get cursor?
Difference between sy-tabix and sy-index?
How to convert the Unit for 'Distance' (The value from one Unit to another).
What does an exec sql statement do in abap?
What is the use of f4if_shlp_exit_example function module ? : sap abap data dictionary