cancel
Showing results for 
Search instead for 
Did you mean: 

JCO connection parameters in sld??

Former Member
0 Kudos

We want jco code to dynamically determine the connection parameters. Someone had mentioned about maintaining the parameters in a prop file in sld. Does anyone has a step by step guide for this?

Thanks.

Karma

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi Karma,

There are gethostname and getclientname methods in JCO calls. SO you can use this. So for this no need of storing in a properties file and read it.

Check these links to retrieve the dynamic values of the XI box- There are many methods on the same

http://www.huihoo.org/openweb/jco_api/com/sap/mw/jco/JCO.Client.html

http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/content.htm

Storing in a properties file and accessing the same is another way of doing the same.

http://searchsap.techtarget.com/general/0,295582,sid21_gci1108075,00.html

Hope this helps,

regards,

Moorthy