Hi Stefan,
I tried it but not working. Thanks for your time.
1) Is there any other way we can do this?
2) is it possible to call with the username and password. I mean
link sap.OpenConnectionByConnectionString(sapServer, username,password)?
or any other possibilites?