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 |
BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul
Explain about workbench request and customization requests?
in the final display list how can i change rows to columns and vice versa
how many index created for table
i have executed a report via back ground job, in this report i have used enqueue and dequeue function modules on a table, but before releasing the lock(before dequeue function module is not call) job gives the dump, so the lock is not released the table, here my question is how to set the lock automatically release the there is a short dump before calling the dequeue module?
What is For-period and In-period
what is abap token?
what is sap scriptview ?
whats the difference between ERROR MESSAGE AND WARNING MESSAGE
any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?
What are client dependent objects in ABAP or sap?
There is a Database Table of Student Details with Fields Student Id, Student Name, Class ID and Rank. Now how to fetch the first three students with highest ranks from all Classes.