How to insert data in ternal table?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization

712


How many types of tables exists and what are they in data dictionary?

932


How many types of views are there? : abap data dictionary

556


Suppose there is a secondary index on 4 non-key fields A,B,C & D. There are 3 select queries :- a) one on basis of A, B, C , D b) Second on basis of A, B, C c) Third on basis of D, C,B, A In which all situations , the above secondary index will be used?

1069


What is the difference between open_form and close_form?

621






what is bapi,badi,bdc,ale idocs?

1636


What is the difference between field-group header and other field groups? : abap modularization

571


What are two methods of modifying sap standard tables?

583


Explain what is the significance of hide?

533


Program lines for the radio button selection and unabling some input variables in section screen

915


What are the uses of table pool or table cluster.

535


Explain the Types of Select statements?

652


Explain the types of bdc's?

599


How many types of data classes are there in sap?

580


What is the length of function code at user-command?

755