cancel
Showing results for 
Search instead for 
Did you mean: 

how to get SID within a mapping

Former Member
0 Kudos

Hi!

We have a problem:

We want to get the SID of the current PI-System (7.11) within a Mapping.

The problem is, that caused by our high-availability-solution, we can not do it that way:

- getting the hostname: the hostname is not fixed. even the prod-host can hold our test-system if neccessary

- examining the filesystem: this also do not work, because (as written above) prod and test-system could be running on the same system in the case of a disaster.

Hope there is any solution,

Regards

Rene

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Rene,

Create a UDF with:

String SystemID = null;

SystemID = System.getProperty("SAPSYSTEMNAME");

return SystemID;

Regards,

Carme Alentorn

Answers (1)

Answers (1)

Former Member
0 Kudos

Rene,

This thread might help you:

Regards,

Koen