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: 

Read Legacy Database

former_member189817
Active Contributor
0 Kudos

Hi,

I am into functional side need information about SAP - Legacy integeration.My requirment is I want to pull the data directly from Legacy DB instaed of downloading it as flat file.Similar way wan to writel the data into Legacy DB. Pls anyone suggest me best way interfacing methodolgy for this scenario.

Thanks in Advance,

Velmurugan S

3 REPLIES 3

Clemenss
Active Contributor
0 Kudos

Hi Velmurugan,

direct access of external legacy database is possible through native SQL from ABAP using comands like

EXEC SQL. 
  CONNECT TO dbs [AS con] 
ENDEXEC.

Effect

This native SQL statement starts a connection to the database system dbs and makes this the current connection - that is, all the following native SQL statements work with the database system named in dbs. If a connection to the specified database system already exists, then this is used; otherwise, a new connection is set up.

But I would not recommend to do it thisway except for extremely simple purposes.

Usually the permanent interaction between SAP and legacy system should be implemented using IDOC (best) or BAPI.

Regards,

Clemens

0 Kudos

Hi Clemens Li ,

Thanks for your reply,We alraedy tried this Native SQl using DBCO,But worst thing is our Application server is running on UNIX server which is not supported by SAP. So we are looking for alternate method.Pls tell me any other way to do this.

former_member189817
Active Contributor
0 Kudos

Using third party Software we made Interface between the DBs.