Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

connection with DI is failed

Hi Experts,

I have created a simple addon program. In which i want to conect with UI and DI both It conect with UI properly but when it connect wih DI it show the following message.

Unable to cast COM object of type 'SAPbobsCOM.CompanyClass' to interface type 'SAPbouiCOM.Company'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{195BCB8E-4D2F-4950-947C-9E3523929229}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Thank in Advance

Former Member
Former Member replied


The most probable cause is that you havnt update the DI-API.

May be you update the version of B1 but not adding the latest SAPBobs to your code

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question