on 06-25-2008 10:31 AM
Hi,
we have a Java-function in a mapping step.
There we need an identification if it runs in our Test- or Production-system.
Currently we use a property file in the Java-Package for realizing this.
But this is not a very good solution. The last time we transport the archive to our production system somebody forgot to change this property file and therefore we had some trouble in our production.
Does anybody have an idea how we can identify the system name of the XI-system in a Java-Mapping?
Is there perhaps any constant we can use of the Map input-parameter?
In the documentation I didn't found anything about this.
Best Regards,
Thorsten
Thorsten,
Try using System.getProperty("SAPSYSTEMNAME") in your Java function.
Regards,
Jaishankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.