cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup

Former Member
0 Kudos

Hello,

I have a requirement where am accessing the R/3 Function module via RFC lookup.

But, as of now am hardcoding the development system name, Let me know how to handle the hardcoding in UDF like automatically it should point Development, Testing and Production.

Regards,

Anandh

View Entire Topic
Former Member
0 Kudos

Better to use Key-Value pair.

like

DEV = BS_D

QUA = BS_Q

PRO = BS_P

Now in your UDF apply the logic through which it will read the SID of the systems and based on that it will map the business systems.

this will determine at runtime and you dont have change it in other environemnt. also take care of communication naming also.

thanks

farooq

Edited by: Farooq Farooqui on Sep 4, 2008 4:18 PM

Former Member
0 Kudos

Hello,

Could you light me on how to read the SID in an UDF.

Regards,

Anandh

Former Member
0 Kudos

Hi,

This is my code where i am hardcoding it.

Channel channel = LookupService.getChannel("DEV","CC_RFC_TO_XI");

Now,

Regards,

Anandh