OnNewEvent 

This OLE event is fired after an SAP event method has received the last SAP event associated with the method.

For instance, a call to the Logon method will fire this event only once. The Logon method will not fire this event when it receives the SAP events for the copyright and system messages screens, which it automatically dismisses as part of the method call.

Other methods that may receive multiple events in a single method call (e.g., GetEventExtended) work in the same way.

This event is also not fired when an End of Session event is received. In that case, the OnLogoff event is fired instead.