How to insert data in ternal table?
Answers were Sorted based on User's Feedback
Answer / sasikiranu
There are 2 ways of populating an internal table
1. From Database Table
2. From Work Area of the same line type
1. SELECT <field 1>, <field 2>, ... <field n>
FROM <db table> INTO table <internal table>
WHERE <condition(s)>
2. INSERT <workarea> INTO <internal table> INDEX <position-
to-insert>
OR you can use append to insert ... APPEND <workarea> TO
<internal table>
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / preethi
using append,insert statements u can enter the data into the
internal tables.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / asik
u can use,
SELECT F1 F2 .. FN FROM <DB_TABLE> INTO CORRESPONDING
FIELDS OF TABLE <INTERNAL_TABLE>.
as well.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / indra
To insert data into internal table using the statement
Insert wa into table itab - It inserts the record directly at any position
Insert wa into itab index index-val - It inserts the record at the index position.
Is This Answer Correct ? | 0 Yes | 0 No |
What does the insert statement in extract datasets do?
how can we get what are the exits available for va01 transaction?
can u add a new view to the existing view
What is the tcode for sapscript forms?
diff types of BAPIS?
What are the page windows? How many main windows will be there in a page window?
What is the relationship existing between the various data elements? : abap data dictionary
what are value table and check table ?and what are the difference between them?
what is meant by enhancement category?
How to do find it?
Table events aNd table maintains generation
I have one selection screen field which is meant for only display what will You do?