Skip to Content
Former Member
Jan 29, 2007 at 08:19 PM

Unable to get any buttons from Good Receipt PO form


here's the code and there's nothing wrong with this as I know of

SAPbouiCOM.Item oCopyFromButton = (SAPbouiCOM.Item)oGoodReceiptPOForm.Items.Item("29").Specific;

This gives the error

Unable to cast COM object of type 'System.__ComObject' to interface type 'SAPbouiCOM.Item. This operation failed because the QueryInterface call on the COM component for the interface with IID 'BLABLA' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

the oGoodReceiptPOForm is the right form. I've checked all the properties for it

Any idea ?