Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding INSERT keyword

Former Member
0 Kudos

Dear all,

could u please help me out from the below.

1. Can we insert data from internal table to DB view ?

2. Can we insert data from internal table to DB table ?

2. If so what is the syntax ?

Regards

Venkat

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

sorry...

INSERT DBTAB FROM TABLE ITAB

regards,

Omkar.

Message was edited by:

Omkaram Yanamala

5 REPLIES 5

Former Member
0 Kudos

Hi,

sorry...

INSERT DBTAB FROM TABLE ITAB

regards,

Omkar.

Message was edited by:

Omkaram Yanamala

Former Member
0 Kudos

Hi,

U can data from internal table to DB table.

INSERT DTAB FROM TABLE ITAB.

Regards,

Sankar

Former Member
0 Kudos

Hi Prasad,

you can insert data data from internal table to DB table.

The syntax is

INSERT DBTAB FROM TABLE ITAB.

And you can also insert data in to a view depending on the maintenance status of the view.

The syntax is same as above(For a table).

The maintenance status of a view controls whether data records can also be changed or inserted in the tables contained in the view.

The maintenance status can be defined as follows:

Read only: Data can only be read through the view.

Read, change, delete, insert: Data of the tables contained in the view can be changed, deleted, and inserted through the view.

see the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ec91446011d189700000e8322d00/frameset.htm

Regards,

Suresh Linga.

Former Member
0 Kudos

hi

good

go through this link

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/insert_d.htm

thanks

mrutyun^