Skip to Content
0
Former Member
Jul 31, 2007 at 10:32 AM

Synchronisation debugging ?

464 Views

Hi all,

I was wondering if anybody came across this problem: You have an application with several controls and something goes wrong - an uninstanciated object reference, a control that doesn't have a parent container - something like that.

Now, at PBO the system calls function module AC_SYSTEM_FLUSH which at the end calls

CALL FUNCTION 'OLE_FLUSH_CALL'  DESTINATION OLE_DESTINATION

with OLE_DESTINATION = 'SAPGUI'

If this one fails (for whatever reason) you'll get an unhandled exception at the end. Well, fair enough, but is there any way to determine <b>which</b> control actually made the flush fail ? Is there any kind of a log for that (like SM21 or so) ? It can be really nasty to track that one down, especially if this problem occurs only once in a while.

Would be helpful for any hint ... and yes, you'll get points 😉

Frank