on 05-08-2008 10:07 AM
Hi Everyone,
I have an issue to fetch the SystemID for my XI devlopment in the message mapping. For example,
If I am working on my XI system named (ABC001) then I need the System ID "ABC" which is to be used in my message mapping. Can anybody help me out on this issue. I guess there should be some standard method to get this value which have to be implemented in the UDF of the mapping.
Helpful answers will be rewarded with points.
regards
Shyam
Hi,
If u r saying that ur sys id is ABC001 and it will always be same then try to use constant function and give the name ABC and map it to target element.
No need to use any UDF.
for ur information u can below Mapping Runtime Constants in UDF.
http://help.sap.com/saphelp_nw04/helpdata/en/e4/028c4057d5701de10000000a1550b0/frameset.htm
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys;
that´s a quite interesting question.
I actually have the same issue.
We are using some property files in message mapping for huge list of FixValue Mappings.
so we created a folder at the XI Server like
development => /usr/.../DXI/.../PropertyFiles
quality => /usr/.../QXI/.../PropertyFiles
production => /usr/.../PXI/.../PropertyFiles
to get the wright file dynamically in the message mapping, we have to determine the System ID for building the path
I will test chandra.k advice.
any other advice how to achieve this?
kind regards
Jochen
You can retrieve any SAP J2EE "instance" profile settings using System.getProperties(propertyName) ...
If you want to get its SYSID, use System.getProperties("SAPSYSTEMNAME"). Look for the most suitable system settings to fulfill your requirement.
I use this in all my JAVA sources, it works perfectly
Chris
hi
below is UDF
String user_login_id = System.getProperty("user.name");
return user_login_id.substring(0,3);
This returns system id since the system users are always
xi0adm / xc0adm or xp0adm.
and check this weblog for reference
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
reward points if found helpfull
regards
chandra.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
System ID will be conatant through out development..
Why don't you simply pass a Constant Value of 'ABC' in mapping where ever you required.
or else
Create a UDF and just
Return "ABC"
and use this UDF where ever you required.
Regards,
Ramesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.