Hi All,
I am getting error as "Exception in thread "main" com.jacob.com.ComFailException: Invoke of: OpenConnection
Source: saplgpad Description: SAP Logon connection entry not found" while running my java code using jacob for sapgui automation.
am getting error at below line. can someone please suggest me what could be the reason and also on how to proceed further.
String sapConnectionName = "SAP ERP";
Connection = new ActiveXComponent(
GUIApp.invoke("OpenConnection",sapConnectionName).toDispatch());