cancel
Showing results for 
Search instead for 
Did you mean: 

To get server and channel name at runtime

Former Member
0 Kudos

Hi Friends,

I am using Mapping Lookup RFC API in which we have to hardcode server name and channel name as:

Channel channel = LookupService.getChannel("GXD","RFC_Receiver_CC");

Is there any UDF for getting Server and channel name at run time so that we can make this API generic?

Please suggest...

Regards

Pravesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks...It's done with value mapping.

Pravesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can use value mapping and set it in directory

(for example - businesSystem = GXD) on DEV

(for example - businesSystem = GXT) on QAT

etc

and just set it in directory

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi michal,

Thanks for ur quick reply.

Is there any way other than using value mapping for this problem.

Pravesh

bhavesh_kantilal
Active Contributor
0 Kudos

Value Mapping is the simplest way to do this.

Regards

Bhavesh