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

How to retrieve table data from one SAP system to another SAP system using Select query?

9,239

Hi everyone,

I am working on ABAP,

I need to retrieve other SAP system table data from my system using select query without using any RFC.

Is there any possibility to get data using Select Query alone?

I searched for it but i could not get.

Please help me on this.

Thanks,

Balasubramanian M

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
3,574

You can use secondary DB connections in Open SQL in order to access other DBs than the central DB of an AS ABAP.

7 REPLIES 7
Read only

Chintu6august
Contributor
0 Kudos
3,574

Hello,

No it's possible to get data using select query alone.

check FM 'RFC_READ_TABLE'

thank you!!

Read only

0 Kudos
3,573

Hi Adi,

We are aware of this function module.

But we have used more select queries and inner joins.

So it is tough to change all the select queries into RFC call.

Can we do data retrial using select query with logical system name or alias? so we can get data of other SAP system using select query alone.

Thank you!!

Read only

3,573

Hi,

it's NOT POSSIBLE to fetch data from other system using SELECT query alone.

You can write all the select queries and inner joins queries within a custom Remote enabled function module(target system) and get the data from your target system.

you can achieve the same using ABAP Proxies.

thank you!!

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
3,573

It is possible with secondary connections.

Read only

matt
Active Contributor
3,573

You could connect to the other SAP system's database directly through a database connection - just as you'd connect to an external MSSQL or Oracle database. Search for DBCON for details

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
3,575

You can use secondary DB connections in Open SQL in order to access other DBs than the central DB of an AS ABAP.

Read only

0 Kudos
3,573

Thanks Keller.

I need basis help i guess.