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 |
Which transaction code can I used to analyze the performance of ABAP program.?
what is the syntax for eliminating duplicate values in internal table.
Which function module reads the data for particular infotype ? : abap hr
What is hotspot?
2)what will be the size of transparant table
what are the various types of parameters and how are they distinguished from one another?
Control Break St........i have written At new for customer and in the loop customer came in the 3rd record....weather it'll trigger in the 1st record of the loop or 3rd record ?
how to create f1 help and where f1 help is stored
What do you mean by transparent tables in sap abap? : abap data dictionary
If I forgot some command in sap script e.g.: Suppress zero display – how to do find it?
5. I have two pages, In one page I want address, Header, Main & footer. In the second page I want only Main. How to do it?
Suppose we are transfer data through BDC from legacy to SAP and their is some duplicate data in legacy system but we don’t want this in SAP system .So how can we check that this data is already exist ?