Application Development and Automation 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: 
Read only

Insert statement

Former Member
0 Likes
364

Hi Experts,

Diff between

Insert <d.table> from <int table>

and

Insert <d.table> from table <int table>????

Reply me immediately,

S.Suresh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
345

HI

Insert <d.table> from <int table>

means ITAB is with header line and you want to insert data of header line of ITAB to DB table

correct syntax is Insert <d.table> from <wa_itab>

and

Insert <d.table> from table <int table>

means you want to insert body of ITAB to DB table.

Regards

Aditya

2 REPLIES 2
Read only

Former Member
0 Likes
346

HI

Insert <d.table> from <int table>

means ITAB is with header line and you want to insert data of header line of ITAB to DB table

correct syntax is Insert <d.table> from <wa_itab>

and

Insert <d.table> from table <int table>

means you want to insert body of ITAB to DB table.

Regards

Aditya

Read only

Former Member
0 Likes
345

hi suresh,

the main difference is in first one it copies the structure of the table

in the second one it movies the fields of the other table

regards,

sindhu.