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: 

Regarding RFC destination

Former Member
0 Kudos

Hello,

I need to call a remote enabled APO function module from R/3. In the call i need to specify the RFC destination. The problem is:

The development R/3 system is connected to APO development system only, R/3 testing system to APO testing system only and R/3 production system to APO production system only. I want to write code in such a way that the RFC destination is identified automatically, ie, when it is run the program in R/3 dev system it picks APO dev system and so on.

Can this be achieved through some function module or using some tables. I tried RFCDES table. But it was not helpful. I want to avoid using the if...else check.

Thanks in advance,

CMV

1 REPLY 1

Former Member
0 Kudos

Hi,

Why not create a custom table in which you map the R/3 system to the APO system. You can then read the table with your current R/3 system and get the APO system you need to connect with.

BR,

S.