2007 Sep 20 12:30 PM
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.
2007 Sep 20 12:36 PM
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.
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.
2007 Sep 20 12:32 PM
Hi,
You can create a BAPI to write it to an external database.
Regards
2007 Sep 20 12:36 PM
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.
2007 Sep 20 2:09 PM
2007 Sep 20 2:09 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |