on 05-23-2013 11:33 PM
Hello everyone,
I am having an issue that tearing me appart, The code where it is blowing is so simple and I'm following as a guide the refUI SDK but I can't understand why this would blow
if (itm.Type == SAPbouiCOM.BoFormItemTypes.it_STATIC)
{
SAPbouiCOM.StaticText miStaticText;
miStaticText = (SAPbouiCOM.StaticText)itm;
cValue = miStaticText.Caption;
}
Can You help me with this issue error 1 says: Unable to cast COM object of type 'System._ComObject' to interface type 'SAPbouiCOM.StaticText'....
Error2 says: System call failed. RPC_E_SYS_CALL_FAILED.
Both errors are attached in a screen shot. Please help me as this issue is so huge as an impact.
Thanks to you in advance.
Mamadou
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What are you trying to do here? Create static and edit text in existing form or from custom form?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bryan,
What I'm trying to do is to get field's value from HR Employee Master Data window, I get the value sometimes but it still blow this error. For instance I need the employee number which has a unique ID of 33 but sometimes different values comes like 4 or 14 and this specifically happpen when I use the Employee Master Data after using an AP window to similar things. It is a very weird issue. Let me know if this makes sense or not.
Again thank you for your reply and contribution.
Mamadou
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
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.