on 06-11-2011 12:44 PM
Hi experts,
we developed addons for our client in 2007 B version.
Recently we upgraded our client server from SAP 2007B to 8.8.
The addons worked fine in 2007B.when we upgraded to 8.8 the error is occuring like
"Item-could not commit action because item is currently in focus [66000-23]"
when i disable a textbox(already it is focus) in my form the above error is occuring.
But this error was not happened with 2007B.
Please tell me is there any solution with out changing the code(i am unable to change the code).
Thanks in advance.
Edited by: vivek.Y on Jun 11, 2011 5:15 PM
Please close your thread if your issue has been resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vivek.Y,
Did you resolved the problem?,
If you did please write how to set an item unfocus, please...
Jonathan Cuesto.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonathan,
Besides setting the focus and trying to disable the control, it was still throwing exception. So I tried a following:
Work around for this issue.
Try
oForm.Items.Item("ControlWithFocus").Enabled = False
Catch ex As Exception
Dim oItem As Item = oForm.Items.Item("AnyOtherItem")
oItem.Click(BoCellClickType.ct_Regular)
oForm.Items.Item("ControlWithFocus").Enabled = False
End Try
This is a trick where you can set focus to another control and set enable to false.
Hope this helps.
Regards,
Kashif Ali
Edited by: Kashif Ali on Sep 21, 2011 11:43 AM
Hi,
I am afraid you must change the code. At least do a recompile. Who developed the add-on?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
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.