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
What is roll area?
What do you understand by work area and internal tables in abap? Why do we use it?
What is the diff between database view and maintenance view?
Explain what are the different functions used in sap script? What are the parameters used in each function?
In which time constraint does the infotype records depend on the subtype ? : abap hr
What is its? : abap hr
What are the differences between the table and the structure in the data dictionary in the sap abap?
How do I find the output type of a table or a program?
how to genernate 21 sencondary index
What is is a match code? : abap data dictionary
What is the differrences between structure and table in data dictionary in abap? : abap hr
Why do we need to code a loop statement in both the pbo and pai events for each table in the screen?
What are the differences between interactive and drill down reports?
what is leave to TRANSACTION?
What is modularization and its benefits?