on 07-04-2007 2:49 PM
Hi All,
I am getting this exception:
$exception
{"Unable to cast COM object of type 'System.__ComObject' to interface type 'SAPbouiCOM.EditText'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{AE1C43FF-0F2B-4130-A0B7-40E38D5EC60E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE))."}
System.Exception {System.InvalidCastException}
when I try to read the content of a UDF into a EditText object...
The UDF in SAP is Alphanumeric; in my code, I am trying to read it as:
SAPbouiCOM.EditText u_airline = (SAPbouiCOM.EditText)udfForm.Items.Item("U_Airline").Specific;
Also, I need to read some Date fields in SAP... Any hint how should I read them using DI?
TIA,
Leo
object must be ComboBox
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.