cancel
Showing results for 
Search instead for 
Did you mean: 

MII Service: How to retrieve MII hostname and SID

Former Member
0 Kudos

Hello all,

I have a requirement to fetch the MII hostname and SID during a transaction call. Do any of you know of any services or of any global properties that contain the MII hostname and SID?

Thanks in advance for your help,

--jtb

Accepted Solutions (1)

Accepted Solutions (1)

former_member185280
Active Contributor
0 Kudos

You can get the SID by calling System.getProperty("SAPSYSTEMNAME"); in a jsp or custom action.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi James,

If you are calling the transaction from irpt page, then you can use the Illuminator service to get the hostname. I am not sure about the SID.

Please go through the link below for the various Illuminator services

http://help.sap.com/saphelp_xmii115/helpdata/en/SAP_xMII_Help.htm#Connectors/IlluminatorSystemConnec...

Hope you get some pointers from this!!

Regards,

Anuj

former_member211944
Active Participant
0 Kudos

Hi James,

URL for getting the host name is "/XMII/PropertyAccessServlet?mode=Retrieve&PropName=Machine&Content-Type=text/xml"

Refer to this threads:

Regards,

Rohit Negi.