cancel
Showing results for 
Search instead for 
Did you mean: 

How to get system Name in Mapping

Former Member
0 Kudos

Hi all,

I need to know the system name in the mapping to do some logical decisions. Can any body please suggest how to get it?

Any help will be appricaited.

Thanks,

Kulwant

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

from this very useful thread,

https://www.sdn.sap.com/irj/sdn/thread?messageID=685416#685416

String user_login_id = System.getProperty("user.name");

return user_login_id.substring(0,3);

Regards,

Bhavesh

Answers (3)

Answers (3)

Former Member
0 Kudos

write a UDF to call the system name

Former Member
0 Kudos

>>write a UDF to call the system name

Biggest mystery in XI unveiled. Thanks!!!

former_member183906
Active Contributor
0 Kudos

This message was moderated.

bhavesh_kantilal
Active Contributor
0 Kudos

Hilarious, you take the reply from my answer and type it out!

Especially the same answer as mine after the thread has had no reply in a long time. Coincidence uh?

Former Member
0 Kudos

Are you trying to Obtain PI's system name?

You can look in Exchange Profile [ com.sap.aii.connect.integrationserver.name] to obtain the value at runtime.

If an IP address is maintained there. Then create a PI-Value mapping [PI-systemName] wherein you can obtain the SystemName.

Regards,

Siva Maranani

Former Member
0 Kudos

Hi,

I can see that but how to bring this in PI mapping in UDF. I mean is there any parameter?

Former Member
0 Kudos

Hey

There are standard functions in message mapping

Sender for sender system

Receiver for receiver system.you can find them under Constants.

Thanx

Aamir