on 02-20-2006 12:17 PM
Hi All,
We want to use Mapping Lookup-RFC API in our code.currently we are making JCO call to the ABAP Stack.
However I see that while getting the instance of Channel Class we have to specify the service and the name of the communication channel.
We have a single SLD and 4 different XI systems.After transport the Service name in the destination System changes.Hence we cannot hardcode the Service name in the code.
Can anyone help to let us know how can we use the Mapping-lookup API in different systems after transport.
Regards,
Sulakshana
hi,
you can hardode for all systems
and do and if clause for all systems
(use sender system - which should change)
as an if check
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
sure it can:)
have a look at my weblog (point 2):
/people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi
sender_service is the technical context object
so somehting like this:
String constant;
java.util.Map map;
map = container.getTransformationParameters();
constant = (String) map.get(StreamTransformationConstants.SENDER_SERVICE);
return constant;
Regards,
michal
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.