SAP B1 JCO二次开发
Exception in thread "main" com.sap.smb.sbo.wrapper.com.ComFailException: Invoke of: GetBusinessObject
Source: SAPbobsCOM.Company.88.0
Description: The logged-on user does not have permission to use this object
at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Native Method)
at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Unknown Source)
at com.sap.smb.sbo.wrapper.com.Dispatch.callN(Unknown Source)
at com.sap.smb.sbo.wrapper.com.Dispatch.call(Unknown Source)
at com.sap.smb.sbo.api.Company.getBusinessObject(Unknown Source)
at SAPB1JCO.main(SAPB1JCO.java:37)
连接数据库成功,登录的用户没有权限使用该对象,同样的登陆方式用C#调用没有报错,求解