How to add an Event Handler to a Standart SAP Field
Sebastian Schweer
Hallo Everybody,i want to add an Event Handler to a Standart SAP Field. For Example the Vendor Code in Purchase Order, which is Item "4".
I make the connection to that field by the following Code, but i can't add an Eventhandler to this Field.
Does anybody know how to do it?
Item refField4 = Item.GetFromUID(pVal.Form, "4"); // Vendor Code
Best Regards,
Sebastian
Sebastian Schweer
Ok, i think it will work with the following code:TextEdit.GetFromUID(pVal.Form, "textEditName").AddHandler_LostFocus(SwissAddonFramework.UI.Components.ModeComponent.FormModes.UPDATE, null, LostFocusHandler);
Best Regards,
Sebastian
0
Please sign in to leave a comment.
Comments
0 comments