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: 

external Database?

Former Member
0 Kudos

Hello, I'm a beginner. How can I write my files into external database?

Is it correct?

Thank you!!

REPORT Z_AA.

tables: ZAATEST.

parameters: x type i.

data: workarea1 like ZAATEST.

data: table1 like table of workarea1 with header line.

workarea1-x = x.

append workarea1 to table1.

write: / workarea1-x.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Andrei,

If you want to add the data's from Internal table to Data Base table means you should use Insert Command.

Example.

Data : begin of wa,

name(10) type c,

age type I,

end of wa.

data : Itab like table of wa with header line.

Itab-name = 'abc'.

Itab-age = '25'.

insert into "dbname" from table Itab.

Thanks,

Reward If Helpful.

4 REPLIES 4

Former Member
0 Kudos

Hi,

You can create a BAPI to write it to an external database.

Regards

Former Member
0 Kudos

Hi Andrei,

If you want to add the data's from Internal table to Data Base table means you should use Insert Command.

Example.

Data : begin of wa,

name(10) type c,

age type I,

end of wa.

data : Itab like table of wa with header line.

Itab-name = 'abc'.

Itab-age = '25'.

insert into "dbname" from table Itab.

Thanks,

Reward If Helpful.

0 Kudos

Thank you!!!!

Former Member
0 Kudos

Answered