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 |
hi..i hav developed an interactive report in which alv list display in basic list and 1st secondary list in alv grid display.I want to get summation(total) of the columns in the secondary list.I hav used 'do_sum' but i couldnt get.is there any other way to get summation(total) in secondary list which is an alv grid display
What is the difference between refresh and free statements?
What is the significance of hide?
What is the meaning of table buffer? This buffer is used by which type oftable?
how many no of buttons we can create on Apllication tool Bar?
SM35 transaction, How to automate BDC ?
What is a match code? : abap data dictionary
What are pool tables?
What are the restrictions on subscreens?
What is structure?
difference between at selection-screen and at selection-screen output?
what are the Joins used for internal Table?