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

What are the two statements which are required in an abap program to output an icon using a write statement?

985


In sap script how to print bar code in vertical manner

2848


What are the system fields you have worked with? Explain?

856


PROGRAM TO CREATE INQUIRY IN SD USING BAPI 'BAPI_INQUIRY_CREATEFROMDATA'

3924


Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...

1199


What are the system table used in abap?

810


What are the page windows? How many main windows will be there in a page window?

749


Specify the types of data dictionary objects.

704


While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

988


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

782


What kind of financial periods exist in SAP? What is the relevant table for that?

825


What is the use of table maintenance allowed?

743


Explain how do you use structures in the abap programs?

741


What is IMG in SAP?

938


Why do we use types statement in abap programming?

856