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 |
A database table contains 3 fields(Student_no,Section,Total_marks).I want retrieve top 10 students from each section.Note:(Section contains data like A,B,C.Each section contains more than 10 students).
how do you transport a script and how do you transport a standard texts?
which processor controls the flow logic of an online program?
What is the use of 'for all entries'?
The loop-endloop on extract datasets can be used without any kind of errors. State true or false. : abap modularization
What are the uses of interactive reporting?
Reports: Event functionality.
Difference between Occurs0,occurs10 and occurs100?
how many structures are in sap R/3(ABAP)
what technology used at presentation layer for displaying GUI to SAP user ? and where those files were put?
Can I run normal abap applications in browser?if yes how?
Kindly help me to Know the process of mapping in EDI from R/3 to a convertor(third party which translates IDoc flatfile to EDIFACT /XML / FTP /HTTP ) ?