10-12-2007 11:20 AM
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
10-12-2007 11:27 AM
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.