Hi all,
I´m trying to catch the click event on button 3 (Create) in the purchase order confirmation form (65). I can catch the event before the purchase order is created. But not after. The problem is that ActionSuccess is never true.
Next code never gets into the if:
If pVal.FormType = 65 Then If pVal.ItemUID = "3" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK And Not pVal.BeforeAction And pVal.ActionSuccess Then 'Never executes this Dim oForm As SAPbouiCOM.Form oForm = con.Forms.Item(FormUID) GetPrices(oForm) End If End If
Could someone clear me why?
Thanks in advance,
Ibai Peñ
EventFilter turned off?
😉
Ibai, I tryed your code and get the same result.
If I use et_ITEM_PRESSED instead of et_CLICK it works for me.
I could imagine et_CLICK is meant more technically wheter et_ITEM_PRESSED indicates that an action will pass / has passed.
However, does et_ITEM_PRESSED work for you, too?
Flo
Message was edited by: Florian Zeller
Add a comment